i3c: master: Fix info leak and UAF in device unregister path (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.13 % · percentile 2 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: i3c: master: Fix info leak and UAF in device unregister path i3c_master_unregister_i3c_devs() clears i3cdev->dev->desc before calling device_unregister(). During device_unregister(), device_del() emits a KOBJ_REMOVE uevent and unbinds the driver while the device descriptor is still expected to be valid. As a result, i3c_device_uevent() and a racing modalias_show() can observe a NULL desc and fall back to an uninitialized stack struct i3c_device_info, leaking kernel stack contents in the generated modalias. Driver .remove() callbacks may also encounter an unexpected NULL desc during unbind. Keep desc valid until device_unregister() has completed. Since device_unregister() drops the device reference and may free the device, take an extra reference with get_device() before unregistering. Clear desc afterwards and release the extra reference with put_device(). This preserves the release-time invariant that desc must be NULL while avoiding both the information leak and a potential use-after-free from writing desc after the device has been released.
References
- https://git.kernel.org/stable/c/334cfb5e285cece5dc49fb3fb8ea9b70b2cb5d7e
- https://git.kernel.org/stable/c/109995153898454c7795c2c299fd0a0b57456a4b
- https://git.kernel.org/stable/c/c64daaaba08e490c8347ff60aacac4dd51249f91
- https://git.kernel.org/stable/c/ef72ff6650c4ebf2b444708d84df66db42f262d9
- https://git.kernel.org/stable/c/c16b6f25e0cc2dd1055dde1256cbf5a9e888cf49
- https://git.kernel.org/stable/c/94fb9786d67a8f8b899e77381620f86bad94fdf7
- https://git.kernel.org/stable/c/4837be0f9ac2efe5e83b35a696b6242c473d280c
- https://git.kernel.org/stable/c/d2c743efd2d1ee64e94324664808f623dd865872
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-76275
- GCVE · GCVE-0-2026-80952
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1229 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 < 334cfb5e285cece5dc49fb3fb8ea9b70b2cb5d7e ; affected 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 < 109995153898454c7795c2c299fd0a0b57456a4b ; affected 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 < c64daaaba08e490c8347ff60aacac4dd51249f91 ; affected 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 < ef72ff6650c4ebf2b444708d84df66db42f262d9 ; affected 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 < c16b6f25e0cc2dd1055dde1256cbf5a9e888cf49 ; affected 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 < 94fb9786d67a8f8b899e77381620f86bad94fdf7 |
| Linux · Linux | affected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |