ASoC: SDCA: Fix errors in IRQ cleanup
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b022da127bd9d2217e8f285e643caf5aff6f7f14, Kernel 6.19.14 and Kernel 4e53116437e919c4b9a9d95fb73ae14fe0cfc8f9.
In the Linux kernel, the following vulnerability has been resolved: ASoC: SDCA: Fix errors in IRQ cleanup IRQs are enabled through sdca_irq_populate() from component probe using devm_request_threaded_irq(), this however means the IRQs can persist if the sound card is torn down. Some of the IRQ handlers store references to the card and the kcontrols which can then fail. Some detail of the crash was explained in [1]. Generally it is not advised to use devm outside of bus probe, so the code is updated to not use devm. The IRQ requests are not moved to bus probe time as it makes passing the snd_soc_component into the IRQs very awkward and would the require a second step once the component is available, so it is simpler to just register the IRQs at this point, even though that necessitates some manual cleanup.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=b126394d9ec6f9d8322cf392ba23d4a5f96faf5a <b022da127bd9d2217e8f285e643caf5aff6f7f14, =6.17, =7.0, >=6.17.1 <6.19.14, >=b126394d9ec6f9d8322cf392ba23d4a5f96faf5a <4e53116437e919c4b9a9d95fb73ae14fe0cfc8f9 | b022da127bd9d2217e8f285e643caf5aff6f7f14, 6.19.14, 4e53116437e919c4b9a9d95fb73ae14fe0cfc8f9 |
| linux-kernel: Kernel | >=6.17.0 <6.19.14 | 6.19.14 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket