Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: cs35l34: drain threaded IRQ before runtime suspend cs35l34_runtime_suspend() currently switches the codec into regcache_cache_only(true), asserts reset low, and powers the device off without first quiescing the threaded IRQ registered by devm_request_threaded_irq(). That leaves a window where cs35l34_irq_thread() can still run after suspend has removed live hardware access. A running system can reach this during runtime PM while the driver still has critical fault IRQs unmasked. If the threaded handler runs in that window, it reads volatile INT_STATUS_1..4 after cache_only has been enabled, ignores the regmap_read() failures, and can still execute the PROT_RELEASE_CTL release sequence or the BST fault power-down writes. Use disable_irq() before entering cache_only/reset-low/power-off so any in-flight threaded handler is drained and no new IRQ thread can run while the device is suspended. Re-enable the IRQ only after runtime_resume() has restored live register access with regcache_sync(). Since probe only logs request_threaded_irq() failures and keeps going, track whether the IRQ was actually installed before disabling or re-enabling it.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c1124c09e1035cabdbc17d4538ae6f922086fec9 to < 3be8380fb14d602cd833e5852e6d83c1e7eb1cebaffectedc1124c09e1035cabdbc17d4538ae6f922086fec9 to < 96982734e765c13c3db02067e1d5784682085f5caffectedc1124c09e1035cabdbc17d4538ae6f922086fec9 to < 5b063739619990d5de0c94c85d6e5be14e7cbdfeaffectedc1124c09e1035cabdbc17d4538ae6f922086fec9 to < f4bfd755c52dfa7584e6c9374206b71b8895c997affectedc1124c09e1035cabdbc17d4538ae6f922086fec9 to < 4fe8a91a9266f1321c2d31ce67940a4e8b93559eaffectedc1124c09e1035cabdbc17d4538ae6f922086fec9 to < 5a4fe7a87841af23ba80bae31b80355b16926cf4affectedc1124c09e1035cabdbc17d4538ae6f922086fec9 to < 07a86575edc308e66b6c8873ed4a93ef3a063e55affectedc1124c09e1035cabdbc17d4538ae6f922086fec9 to < 4105a4c0678b2808fc8046b60321b4f1cc7dae75affected
Linux Linux
Default version status: affected
4.10affected0 to < 4.10unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.51 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/3be8380fb14d602cd833e5852e6d83c1e7eb1ceb ↗
- https://git.kernel.org/stable/c/96982734e765c13c3db02067e1d5784682085f5c ↗
- https://git.kernel.org/stable/c/5b063739619990d5de0c94c85d6e5be14e7cbdfe ↗
- https://git.kernel.org/stable/c/f4bfd755c52dfa7584e6c9374206b71b8895c997 ↗
- https://git.kernel.org/stable/c/4fe8a91a9266f1321c2d31ce67940a4e8b93559e ↗
- https://git.kernel.org/stable/c/5a4fe7a87841af23ba80bae31b80355b16926cf4 ↗
- https://git.kernel.org/stable/c/07a86575edc308e66b6c8873ed4a93ef3a063e55 ↗
- https://git.kernel.org/stable/c/4105a4c0678b2808fc8046b60321b4f1cc7dae75 ↗