{"id":"DEBIAN-CVE-2022-50702","details":"In the Linux kernel, the following vulnerability has been resolved:  vdpa_sim: fix possible memory leak in vdpasim_net_init() and vdpasim_blk_init()  Inject fault while probing module, if device_register() fails in vdpasim_net_init() or vdpasim_blk_init(), but the refcount of kobject is not decreased to 0, the name allocated in dev_set_name() is leaked. Fix this by calling put_device(), so that name can be freed in callback function kobject_cleanup().  (vdpa_sim_net) unreferenced object 0xffff88807eebc370 (size 16):   comm \"modprobe\", pid 3848, jiffies 4362982860 (age 18.153s)   hex dump (first 16 bytes):     76 64 70 61 73 69 6d 5f 6e 65 74 00 6b 6b 6b a5  vdpasim_net.kkk.   backtrace:     [\u003cffffffff8174f19e\u003e] __kmalloc_node_track_caller+0x4e/0x150     [\u003cffffffff81731d53\u003e] kstrdup+0x33/0x60     [\u003cffffffff83a5d421\u003e] kobject_set_name_vargs+0x41/0x110     [\u003cffffffff82d87aab\u003e] dev_set_name+0xab/0xe0     [\u003cffffffff82d91a23\u003e] device_add+0xe3/0x1a80     [\u003cffffffffa0270013\u003e] 0xffffffffa0270013     [\u003cffffffff81001c27\u003e] do_one_initcall+0x87/0x2e0     [\u003cffffffff813739cb\u003e] do_init_module+0x1ab/0x640     [\u003cffffffff81379d20\u003e] load_module+0x5d00/0x77f0     [\u003cffffffff8137bc40\u003e] __do_sys_finit_module+0x110/0x1b0     [\u003cffffffff83c4d505\u003e] do_syscall_64+0x35/0x80     [\u003cffffffff83e0006a\u003e] entry_SYSCALL_64_after_hwframe+0x46/0xb0  (vdpa_sim_blk) unreferenced object 0xffff8881070c1250 (size 16):   comm \"modprobe\", pid 6844, jiffies 4364069319 (age 17.572s)   hex dump (first 16 bytes):     76 64 70 61 73 69 6d 5f 62 6c 6b 00 6b 6b 6b a5  vdpasim_blk.kkk.   backtrace:     [\u003cffffffff8174f19e\u003e] __kmalloc_node_track_caller+0x4e/0x150     [\u003cffffffff81731d53\u003e] kstrdup+0x33/0x60     [\u003cffffffff83a5d421\u003e] kobject_set_name_vargs+0x41/0x110     [\u003cffffffff82d87aab\u003e] dev_set_name+0xab/0xe0     [\u003cffffffff82d91a23\u003e] device_add+0xe3/0x1a80     [\u003cffffffffa0220013\u003e] 0xffffffffa0220013     [\u003cffffffff81001c27\u003e] do_one_initcall+0x87/0x2e0     [\u003cffffffff813739cb\u003e] do_init_module+0x1ab/0x640     [\u003cffffffff81379d20\u003e] load_module+0x5d00/0x77f0     [\u003cffffffff8137bc40\u003e] __do_sys_finit_module+0x110/0x1b0     [\u003cffffffff83c4d505\u003e] do_syscall_64+0x35/0x80     [\u003cffffffff83e0006a\u003e] entry_SYSCALL_64_after_hwframe+0x46/0xb0","modified":"2026-08-27T22:49:05.288000082Z","published":"2025-12-24T11:15:50.360Z","upstream":["CVE-2022-50702"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-50702"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.7-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50702.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.7-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50702.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.7-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50702.json"}}],"schema_version":"1.9.0"}