In the Linux kernel, the following vulnerability has been resolved: ASoC: rt5645: Shut down the button timer on removal jack_detect_work can rearm btn_check_timer, and the timer callback can queue jack_detect_work. Deleting the timer before cancelling the work does not break this cycle: an already running worker can rearm the timer after timer_delete_sync() returns. The timer can then outlive removal. Use timer_shutdown_sync() before cancelling the delayed work so that subsequent attempts to rearm the timer are ignored. The IRQ producer has already been removed at this point. Keep the restartable timer deletion in the suspend path. This issue was identified as part of our ongoing research while reviewing kernel code.
https://git.kernel.org/stable/c/f0ecc305442f20a6df2575943e9897825d80cc5d
https://git.kernel.org/stable/c/73c282c249edc67a19b01100539a56f76669805f
https://git.kernel.org/stable/c/5e665d0573310bd0ac97f27513f19b06bc5713fb
https://git.kernel.org/stable/c/58c4138e1bf55d6bfec862c8d6b625adb1c36be4