firmware: arm_scmi: Fix SCMI device destroy lifetimes (Linux Linux)

CVE-2026-93081
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: firmware: arm_scmi: Fix SCMI device destroy lifetimes scmi_child_dev_find() drops the reference returned by device_find_child() before returning the scmi_device pointer. A concurrent unregister can then release the device while the destroy path is still using the returned pointer. Make the lookup helper return the device_find_child() reference and keep it until scmi_device_destroy() has finished unregistering the child. Also split device_unregister() in __scmi_device_destroy() so the SCMI bus ID is not made reusable until after device_del() has removed the old scmi_dev.N name from sysfs. This avoids a new SCMI device reusing the same ID while the old device is still registered. The final device release callback is also a possible cleanup path when SCMI children are deleted by driver core recursion rather than __scmi_device_destroy(). Release the SCMI bus ID from a common helper used by destroy, register-failure and final-release paths, and clear scmi_dev->id after freeing it so the final release cannot free the same ID again.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ ff4273d47da81b95ed9396110bcbd1b7b7470fe8 < afe5c022a180e0ade394d3fffbafc1a701f50993
affectée : ≥ 2fbf6c9695ad9f05e7e5c166bf43fac7cb3276b3 < d8ecdceeb90cd2c265b222a7b65487faf68fea73
affectée : ≥ 969d8beaa2e374387bf9aa5602ef84fc50bb48d8 < 916e27f71a80f6d77c48d1a1a5782d6d5ef9017c
affectée : ≥ 9ca67840c0ddf3f39407339624cef824a4f27599 < a60bc2df2d323cc1342f0cf95563cae266801e20
affectée : ≥ 9ca67840c0ddf3f39407339624cef824a4f27599 < c59b3393df1348a12308aaabd5fbc58ed6b21cf5
affectée : ≥ 9ca67840c0ddf3f39407339624cef824a4f27599 < 6abe8fe36b29ff51d1a42c2f338972883f4751a5
affectée : 91ff1e9652fb9beb0174267d6bb38243dff211bb
affectée : 8a8a3547d5c4960da053df49c75bf623827a25da
affectée : ≥ 6.1.138 < 6.1.191
affectée : ≥ 6.6.90 < 6.6.160
affectée : ≥ 6.12.28 < 6.12.114
affectée : ≥ 5.15.182 < 5.16
affectée : ≥ 6.14.6 < 6.15
Autres versions : non affectée
Linux · Linux
affectée : 6.15
non affectée : ≥ 0 < 6.15
non affectée : ≥ 6.1.191 ≤ 6.1.*
non affectée : ≥ 6.6.160 ≤ 6.6.*
non affectée : ≥ 6.12.114 ≤ 6.12.*
non affectée : ≥ 6.18.57 ≤ 6.18.*
non affectée : ≥ 7.2.6 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

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