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.
https://git.kernel.org/stable/c/ca552e3140e736ed6704fe5d47439d8f2d40b42e
https://git.kernel.org/stable/c/9e374b805d4baa843d4fddf7fb638da1149b9bbe
https://git.kernel.org/stable/c/4771f7d61e0691861aba4ae85b9dc2b5c0f6f449
https://git.kernel.org/stable/c/097a336a2dcd0a93842b7a80bbe2fc0745b78941