i3c: master: Fix device_register() error path (Linux Linux)

CVE-2026-93283
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.20 % · centile 9 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: i3c: master: Fix device_register() error path When device_register() fails in i3c_master_register_new_i3c_devs(), put_device() is called to drop the reference taken by device_register(). That drops the last reference, so the device's release callback i3c_device_release() runs and frees the i3c_device. Two problems follow from that: i3c_device_release() does WARN_ON(i3cdev->desc), so it warns because desc->dev->desc still points back at the descriptor. Clear it before calling put_device(). After put_device() frees the i3c_device, desc->dev is left pointing at freed memory, so clear desc->dev as well. That prevents, for example, i3c_master_unregister_i3c_devs() seeing desc->dev as non-NULL and dereferencing it.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 1832ed55df45f4145335ad992fb83813cdc58b5d < 5bf498623f8397d45f85f14cd631c5e5a565c2fb ; affected d48fe8d98171e0fffdeaa8b37ce0a6444bff819b < 20a2b6df91fd782ef2ff551febef594d0b46a9a7 ; affected 174ae0a3b89e7804e4ea3d31bd83d6e43f39568c < a14dbdf471001dd0601b0c491184990c178a199c ; affected e49a51a96b531f1b4bcd8d358e645b6c74ef67e6 < d22ad96f1a0c89e0ba66a2facc7430f0923919e3 ; affected cab63f64887616e3c4e31cfd8103320be6ebc8d3 < 7f8e2c4f3704d9774bb26b49b1ad6a60ae57d4a0 ; affected cab63f64887616e3c4e31cfd8103320be6ebc8d3 < 7ef12e1dd06e442eebf370f6e53c41bd056d0f22
Linux · Linuxaffected 6.7 ; unaffected 0 < 6.7 ; 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

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD