{"id":"CVE-2026-80952","aliases":["CVE-2026-80952"],"related":[],"kind":"vulnerability","state":"published","title":"i3c: master: Fix info leak and UAF in device unregister path","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-11T19:42:21.868Z","modified":"2026-10-19T09:17:26.600Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"334cfb5e285cece5dc49fb3fb8ea9b70b2cb5d7e","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"109995153898454c7795c2c299fd0a0b57456a4b","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"c64daaaba08e490c8347ff60aacac4dd51249f91","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"ef72ff6650c4ebf2b444708d84df66db42f262d9","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"c16b6f25e0cc2dd1055dde1256cbf5a9e888cf49","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"94fb9786d67a8f8b899e77381620f86bad94fdf7","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"4837be0f9ac2efe5e83b35a696b6242c473d280c","status":"affected"},{"type":"git","introduced":"3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0","fixed":"d2c743efd2d1ee64e94324664808f623dd865872","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/334cfb5e285cece5dc49fb3fb8ea9b70b2cb5d7e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/109995153898454c7795c2c299fd0a0b57456a4b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c64daaaba08e490c8347ff60aacac4dd51249f91","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef72ff6650c4ebf2b444708d84df66db42f262d9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c16b6f25e0cc2dd1055dde1256cbf5a9e888cf49","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94fb9786d67a8f8b899e77381620f86bad94fdf7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4837be0f9ac2efe5e83b35a696b6242c473d280c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2c743efd2d1ee64e94324664808f623dd865872","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80952","url":"https://www.cve.org/CVERecord?id=CVE-2026-80952","licence":"CVE Terms of Use","modified":"2026-10-19T08:45:36.170Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80952","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80952","licence":"Public domain","modified":"2026-10-19T09:17:26.600Z"}],"updatedAt":"2026-11-25T22:59:37.991Z","epss":{"score":0.00126,"percentile":0.02433,"date":"2026-12-02T12:00:21.000Z"}}