AZL-117085: CVE-2026-139353 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ASoC: rt5645: Shut down the button timer on removal
jackdetectwork can rearm btnchecktimer, and the timer callback can queue jackdetectwork. Deleting the timer before cancelling the work does not break this cycle: an already running worker can rearm the timer after timerdeletesync() returns. The timer can then outlive removal.
Use timershutdownsync() 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the ASoC rt5645 removal path, call timer_shutdown_sync() before cancelling the delayed work so subsequent attempts to rearm the button timer are ignored.
Event History
Frequently Asked Questions
When is a system exposed to this issue?
Exposure is tied to removal of the rt5645 audio jack-detection device or driver while its jack-detection work and button-check timer can still rearm each other. The issue concerns a timer surviving device removal.
What is the relevant failure condition?
The jack_detect_work worker can rearm btn_check_timer, and the timer callback can queue jack_detect_work again. If the timer is deleted before the work is cancelled, a worker already in progress can rearm the timer after deletion returns.
What mitigation is indicated by the resolved change?
During removal, shut down the button timer with timer_shutdown_sync() before cancelling the delayed work, so later rearm attempts are ignored. The suspend path should retain restartable timer deletion behavior.