CVE-2026-139532: ASoC: rt721-sdca: always cancel jack work on remove
In the Linux kernel, the following vulnerability has been resolved:
ASoC: rt721-sdca: always cancel jack work on remove
rt721sdcasdwremove() cancels the jack work only when hwinit is true. rt721sdcaupdatestatus() clears hwinit when the SoundWire slave becomes unattached, but jack work may already have been queued by rt721sdcainterruptcallback() or the jack initialization path.
A remove after that status update can therefore skip the cancellation and leave delayed work pending after the codec private data has been freed.
The work objects are initialized during probe, so cancel them unconditionally instead of relying on the mutable hwinit state.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In rt721_sdca_sdw_remove(), cancel the jack work unconditionally instead of only when hw_init is true.