{"id":"DEBIAN-CVE-2021-47237","details":"In the Linux kernel, the following vulnerability has been resolved:  net: hamradio: fix memory leak in mkiss_close  My local syzbot instance hit memory leak in mkiss_open()[1]. The problem was in missing free_netdev() in mkiss_close().  In mkiss_open() netdevice is allocated and then registered, but in mkiss_close() netdevice was only unregistered, but not freed.  Fail log:  BUG: memory leak unreferenced object 0xffff8880281ba000 (size 4096):   comm \"syz-executor.1\", pid 11443, jiffies 4295046091 (age 17.660s)   hex dump (first 32 bytes):     61 78 30 00 00 00 00 00 00 00 00 00 00 00 00 00  ax0.............     00 27 fa 2a 80 88 ff ff 00 00 00 00 00 00 00 00  .'.*............   backtrace:     [\u003cffffffff81a27201\u003e] kvmalloc_node+0x61/0xf0     [\u003cffffffff8706e7e8\u003e] alloc_netdev_mqs+0x98/0xe80     [\u003cffffffff84e64192\u003e] mkiss_open+0xb2/0x6f0 [1]     [\u003cffffffff842355db\u003e] tty_ldisc_open+0x9b/0x110     [\u003cffffffff84236488\u003e] tty_set_ldisc+0x2e8/0x670     [\u003cffffffff8421f7f3\u003e] tty_ioctl+0xda3/0x1440     [\u003cffffffff81c9f273\u003e] __x64_sys_ioctl+0x193/0x200     [\u003cffffffff8911263a\u003e] do_syscall_64+0x3a/0xb0     [\u003cffffffff89200068\u003e] entry_SYSCALL_64_after_hwframe+0x44/0xae  BUG: memory leak unreferenced object 0xffff8880141a9a00 (size 96):   comm \"syz-executor.1\", pid 11443, jiffies 4295046091 (age 17.660s)   hex dump (first 32 bytes):     e8 a2 1b 28 80 88 ff ff e8 a2 1b 28 80 88 ff ff  ...(.......(....     98 92 9c aa b0 40 02 00 00 00 00 00 00 00 00 00  .....@..........   backtrace:     [\u003cffffffff8709f68b\u003e] __hw_addr_create_ex+0x5b/0x310     [\u003cffffffff8709fb38\u003e] __hw_addr_add_ex+0x1f8/0x2b0     [\u003cffffffff870a0c7b\u003e] dev_addr_init+0x10b/0x1f0     [\u003cffffffff8706e88b\u003e] alloc_netdev_mqs+0x13b/0xe80     [\u003cffffffff84e64192\u003e] mkiss_open+0xb2/0x6f0 [1]     [\u003cffffffff842355db\u003e] tty_ldisc_open+0x9b/0x110     [\u003cffffffff84236488\u003e] tty_set_ldisc+0x2e8/0x670     [\u003cffffffff8421f7f3\u003e] tty_ioctl+0xda3/0x1440     [\u003cffffffff81c9f273\u003e] __x64_sys_ioctl+0x193/0x200     [\u003cffffffff8911263a\u003e] do_syscall_64+0x3a/0xb0     [\u003cffffffff89200068\u003e] entry_SYSCALL_64_after_hwframe+0x44/0xae  BUG: memory leak unreferenced object 0xffff8880219bfc00 (size 512):   comm \"syz-executor.1\", pid 11443, jiffies 4295046091 (age 17.660s)   hex dump (first 32 bytes):     00 a0 1b 28 80 88 ff ff 80 8f b1 8d ff ff ff ff  ...(............     80 8f b1 8d ff ff ff ff 00 00 00 00 00 00 00 00  ................   backtrace:     [\u003cffffffff81a27201\u003e] kvmalloc_node+0x61/0xf0     [\u003cffffffff8706eec7\u003e] alloc_netdev_mqs+0x777/0xe80     [\u003cffffffff84e64192\u003e] mkiss_open+0xb2/0x6f0 [1]     [\u003cffffffff842355db\u003e] tty_ldisc_open+0x9b/0x110     [\u003cffffffff84236488\u003e] tty_set_ldisc+0x2e8/0x670     [\u003cffffffff8421f7f3\u003e] tty_ioctl+0xda3/0x1440     [\u003cffffffff81c9f273\u003e] __x64_sys_ioctl+0x193/0x200     [\u003cffffffff8911263a\u003e] do_syscall_64+0x3a/0xb0     [\u003cffffffff89200068\u003e] entry_SYSCALL_64_after_hwframe+0x44/0xae  BUG: memory leak unreferenced object 0xffff888029b2b200 (size 256):   comm \"syz-executor.1\", pid 11443, jiffies 4295046091 (age 17.660s)   hex dump (first 32 bytes):     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................   backtrace:     [\u003cffffffff81a27201\u003e] kvmalloc_node+0x61/0xf0     [\u003cffffffff8706f062\u003e] alloc_netdev_mqs+0x912/0xe80     [\u003cffffffff84e64192\u003e] mkiss_open+0xb2/0x6f0 [1]     [\u003cffffffff842355db\u003e] tty_ldisc_open+0x9b/0x110     [\u003cffffffff84236488\u003e] tty_set_ldisc+0x2e8/0x670     [\u003cffffffff8421f7f3\u003e] tty_ioctl+0xda3/0x1440     [\u003cffffffff81c9f273\u003e] __x64_sys_ioctl+0x193/0x200     [\u003cffffffff8911263a\u003e] do_syscall_64+0x3a/0xb0     [\u003cffffffff89200068\u003e] entry_SYSCALL_64_after_hwframe+0x44/0xae","modified":"2026-09-15T09:02:31.142080498Z","published":"2024-05-21T15:15:12.930Z","upstream":["CVE-2021-47237"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2021-47237"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.46-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-47237.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.46-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-47237.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.10.46-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-47237.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}