CVE-2026-139535: ASoC: rt711-sdw: always cancel jack work on remove
In the Linux kernel, the following vulnerability has been resolved:
ASoC: rt711-sdw: always cancel jack work on remove
rt711sdwremove() cancels the jack and calibration work only when hwinit is true. rt711updatestatus() clears hwinit when the SoundWire slave becomes unattached, but work may already have been queued by rt711interruptcallback() or the jack initialization path.
A remove after that status update can therefore skip the cancellation and leave 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 rt711_sdw_remove(), unconditionally cancel the jack and calibration work instead of gating cancellation on hw_init.
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems using the Linux kernel rt711 SoundWire audio codec driver are exposed when the driver is removed after the SoundWire slave becomes unattached. The issue concerns pending jack or calibration work associated with that driver.
What condition triggers the unsafe removal path?
The SoundWire slave must become unattached, causing hw_init to be cleared, after jack or calibration work has already been queued by an interrupt callback or jack initialization. Driver removal can then skip cancellation of that pending work even though the codec private data is freed.
How can this be mitigated if an updated kernel cannot be deployed immediately?
The provided information does not describe a configuration workaround. Avoiding removal of the affected rt711 SoundWire driver after the slave becomes unattached would avoid the described path, but the documented fix is to cancel jack and calibration work unconditionally during driver removal.