CVE-2026-138902: ASoC: codecs: rt5682s: disable jack detection work on shutdown
ASoC: codecs: rt5682s: disable jack detection work on shutdown
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.17 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.18 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1 - Compensating control
In the rt5682s shutdown path, disable and drain both delayed works so neither callback can requeue the other after cancellation returns.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel rt5682s ASoC codec driver are exposed when the driver is shut down or removed. The affected shutdown path is also used by the I2C remove callback.
What condition triggers the vulnerability?
The issue requires a race between the driver's jack detection and button check delayed-work callbacks during shutdown or device removal. Either callback can queue the other, allowing jack_detect_work to remain pending or execute after device reset or managed-resource release.
What can be done if the fix cannot be applied immediately?
The provided data does not identify a configuration workaround. Mitigation would require avoiding shutdown or removal scenarios involving the affected rt5682s codec driver until a kernel containing the fix can be deployed.