{"id":"CVE-2026-80952","published":"2026-09-11T19:42:21Z","modified":"2026-10-19T08:45:36Z","title":"i3c: master: Fix info leak and UAF in device unregister path","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: master: Fix info leak and UAF in device unregister path\n\ni3c_master_unregister_i3c_devs() clears i3cdev->dev->desc before\ncalling device_unregister().  During device_unregister(),\ndevice_del() emits a KOBJ_REMOVE uevent and unbinds the driver while\nthe device descriptor is still expected to be valid.  As a result,\ni3c_device_uevent() and a racing modalias_show() can observe a NULL\ndesc and fall back to an uninitialized stack struct i3c_device_info,\nleaking kernel stack contents in the generated modalias.  Driver\n.remove() callbacks may also encounter an unexpected NULL desc during\nunbind.\n\nKeep desc valid until device_unregister() has completed.  Since\ndevice_unregister() drops the device reference and may free the device,\ntake an extra reference with get_device() before unregistering.  Clear\ndesc afterwards and release the extra reference with put_device().\nThis preserves the release-time invariant that desc must be NULL while\navoiding both the information leak and a potential use-after-free from\nwriting desc after the device has been released.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00126,"percentile":0.02233,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/334cfb5e285cece5dc49fb3fb8ea9b70b2cb5d7e","tags":[]},{"url":"https://git.kernel.org/stable/c/109995153898454c7795c2c299fd0a0b57456a4b","tags":[]},{"url":"https://git.kernel.org/stable/c/c64daaaba08e490c8347ff60aacac4dd51249f91","tags":[]},{"url":"https://git.kernel.org/stable/c/ef72ff6650c4ebf2b444708d84df66db42f262d9","tags":[]},{"url":"https://git.kernel.org/stable/c/c16b6f25e0cc2dd1055dde1256cbf5a9e888cf49","tags":[]},{"url":"https://git.kernel.org/stable/c/94fb9786d67a8f8b899e77381620f86bad94fdf7","tags":[]},{"url":"https://git.kernel.org/stable/c/4837be0f9ac2efe5e83b35a696b6242c473d280c","tags":[]},{"url":"https://git.kernel.org/stable/c/d2c743efd2d1ee64e94324664808f623dd865872","tags":[]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":0.45},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 334cfb5e285cece5dc49fb3fb8ea9b70b2cb5d7e",">= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 109995153898454c7795c2c299fd0a0b57456a4b",">= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < c64daaaba08e490c8347ff60aacac4dd51249f91",">= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < ef72ff6650c4ebf2b444708d84df66db42f262d9",">= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < c16b6f25e0cc2dd1055dde1256cbf5a9e888cf49",">= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 94fb9786d67a8f8b899e77381620f86bad94fdf7",">= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 4837be0f9ac2efe5e83b35a696b6242c473d280c",">= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < d2c743efd2d1ee64e94324664808f623dd865872"]},{"vendor":"Linux","product":"Linux","versions":["5.0"]}],"euvd":{"id":"EUVD-2026-76275","exploited":false,"provenance":"source"}}