Vulnerability record
ASoC: codecs: rt5682s: disable jack detection work on shutdown
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…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources