{"id":"DEBIAN-CVE-2022-50331","details":"In the Linux kernel, the following vulnerability has been resolved:  wwan_hwsim: fix possible memory leak in wwan_hwsim_dev_new()  Inject fault while probing module, if device_register() fails, 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().  unreferenced object 0xffff88810152ad20 (size 8):   comm \"modprobe\", pid 252, jiffies 4294849206 (age 22.713s)   hex dump (first 8 bytes):     68 77 73 69 6d 30 00 ff                          hwsim0..   backtrace:     [\u003c000000009c3504ed\u003e] __kmalloc_node_track_caller+0x44/0x1b0     [\u003c00000000c0228a5e\u003e] kvasprintf+0xb5/0x140     [\u003c00000000cff8c21f\u003e] kvasprintf_const+0x55/0x180     [\u003c0000000055a1e073\u003e] kobject_set_name_vargs+0x56/0x150     [\u003c000000000a80b139\u003e] dev_set_name+0xab/0xe0","modified":"2026-09-01T20:04:58.396070956Z","published":"2025-09-15T15:15:45.310Z","upstream":["CVE-2022-50331"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-50331"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.6-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50331.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.6-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50331.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.6-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50331.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"}]}