- Accueil
- Vulnérabilités
- CVE-2026-142855
CVE-2026-142855
ASoC: sdw_utils: clear stale RT711 device reference on exit
Résumé
In the Linux kernel, the following vulnerability has been resolved: ASoC: sdw_utils: clear stale RT711 device reference on exit asoc_sdw_rt711_exit() drops the reference held in ctx->headset_codec_dev but leaves the pointer populated. If the card cleanup path reaches the exit hook more than once after a failed or deferred probe, a later invocation reuses the stale pointer and calls put_device() again, underflowing the refcount and leading to oopses when later probe, driver bind, or suspend paths walk the SoundWire bus after the device reference was released. Observed as boot- and suspend-time oopses on an arm64 platform with an RT712 headset codec, reproducible deterministically by repeated machine-driver probe cycling with the codec drivers unloaded. Clear the pointer after put_device() so repeated cleanup becomes a no-op, which also makes the existing NULL check at the top of the exit hook effective. This matches what commit 046173b98de3 ("ASoC: sdw_utils: fix double put_device() on aggregated amps") did for the aggregated amp references.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | 6.0 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://git.kernel.org/stable/c/66d77d1f87e7a7945abcc7a6bd6cd8538f7c5c3c
- https://git.kernel.org/stable/c/baf82cbdf90cef59525de67339d6e5474db5e845
- https://git.kernel.org/stable/c/8aeec50673467d278a3e5c6f1552d0304da9df6f
- https://git.kernel.org/stable/c/e2f717de9bf3673306a4a4ec36c3856bbf1ffbb1
- https://git.kernel.org/stable/c/1a75ff14062d015305de5c2e85ccc01afe0adb49
- https://git.kernel.org/stable/c/7c7df141dcabaa5370b5e52a9d64e2c1ea13a338
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)