ASoC: codecs: rt5682s: disable jack detection work on shutdown
- CVE-2026-138902
- GHSA-hjr7-9mx2-h3c9
- EUVD-2026-138605
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: rt5682s: disable jack detection work on shutdown The jack detection and button check works can queue each other. The shutdown path cancels jack_detect_work first, but jd_check_work can queue it again after that cancellation returns. Canceling jd_check_work then leaves jack_detect_work pending or running while the device is reset and, on removal, its managed resources are released. Disable and drain both delayed works so neither callback can revive the other after its cancellation. The I2C remove callback uses the same shutdown path. This issue was identified during our ongoing static-analysis research while reviewing kernel code.
Text from the CVE.org record.
Recommendation
Linux
- If you run a version from 5.16.19 to before 5.17update to 5.17 or laterMinor version change: check the release notes
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 5.16.19 to before 5.17 5.17 from 5.17.2 to before 5.18 none stated 5.18 none stated before 5.18: not affected none stated from 6.12.117 up to 6.12.*: not affected none stated from 6.18.63 up to 6.18.*: not affected none stated from 7.3.4 up to 7.3.*: not affected none stated from 7.4-rc1 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.