ASoC: amd: ps: fix snd_acp63_remove() teardown ordering (Linux Linux)

CVE-2026-99482
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.20 % · centile 10 ()
É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: ASoC: amd: ps: fix snd_acp63_remove() teardown ordering The ACP IRQ handlers dereference the SoundWire, SoundWire DMA, and PDM child platform devices, but snd_acp63_remove() unregisters them while the interrupt is still held by devres, which frees it only after remove returns. An interrupt in this window is a use-after-free. Mask the ACP interrupt sources and call devm_free_irq() before the first child device is unregistered. The masking goes through the new acp_hw_ops->disable_interrupts callback, keeping the remove path platform-agnostic. The interrupt line is shared, and acp_hw_deinit() clears the sources only after the children are gone, which would leave the line raised with no handler left to ack it. The window predates the tagged refactor, which only reshaped the dereferences. devm_free_irq() waits for in-flight handlers, but not for work the hardirq has already queued: acp63_irq_handler() schedules amd_sdw_irq_thread on the SoundWire manager. Draining that work in the manager's remove path is a soundwire-side change and follows separately. This issue was found by an in-house static analysis tool.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 5bbeca60a57bb9a35cc98c064bbb575738d5be0d < be66694b2f818d7b14eb5022382b15df837459d8
affectée : ≥ 5bbeca60a57bb9a35cc98c064bbb575738d5be0d < 2ff55599528d7712c46956c038665a4d5a5160e5
affectée : ≥ 5bbeca60a57bb9a35cc98c064bbb575738d5be0d < 01ab732291bb05cc60952cbb365f4523b747ccfb
affectée : ≥ 5bbeca60a57bb9a35cc98c064bbb575738d5be0d < c53791d673ed4da6759d276078627ec4d0c6536b
Autres versions : non affectée
Linux · Linux
affectée : 6.1
non affectée : ≥ 0 < 6.1
non affectée : ≥ 6.12.117 ≤ 6.12.*
non affectée : ≥ 6.18.61 ≤ 6.18.*
non affectée : ≥ 7.3.2 ≤ 7.3.*
non affectée : ≥ 7.4-rc1 ≤ *
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