Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
7ff6319e7da5c09f0ce86d122d46040807262325 to < 58c4138e1bf55d6bfec862c8d6b625adb1c36be4affected7ff6319e7da5c09f0ce86d122d46040807262325 to < 5e665d0573310bd0ac97f27513f19b06bc5713fbaffected7ff6319e7da5c09f0ce86d122d46040807262325 to < 73c282c249edc67a19b01100539a56f76669805faffected7ff6319e7da5c09f0ce86d122d46040807262325 to < f0ecc305442f20a6df2575943e9897825d80cc5daffected
Linux Linux
Default version status: affected
4.5affected0 to < 4.5unaffected6.12.120 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected