AZL-118274: CVE-2026-143179 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
mmc: omap: synchronize clock timer before disabling fclk
mmcomapselectslot() removes clktimer with timerdelete() before switching slots and changing the functional clock state. timerdelete() only removes a pending timer and does not wait for a callback that is already running.
If mmcomapclktimer() is already running, it can therefore call mmcomapfclkenable() while the request or slot-switch path changes the same clock state. During host removal, the same window can overlap the final clock shutdown.
Use timerdeletesync() so the callback has completed before slot switching or changing the functional clock state. Keep the timer restartable for normal request handling.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In mmc_omap_select_slot(), use timer_delete_sync() instead of timer_delete() so the clock-timer callback completes before slot switching or functional-clock state changes.
Event History
Frequently Asked Questions
Which systems are exposed to this race condition?
Systems using the Linux kernel OMAP MMC host driver are exposed when its clock timer can run concurrently with slot switching, request handling, or host removal. The issue concerns synchronization of the functional clock state in that driver.
What conditions are needed to trigger the issue?
The clock timer callback must already be running when another path switches slots, changes the functional clock state, or performs the final clock shutdown during host removal. The race exists because the prior timer removal operation did not wait for an in-progress callback to finish.
How can I tell whether the installed kernel includes the fix?
Check whether the OMAP MMC driver removes the clock timer using timer_delete_sync() before slot switching or functional clock-state changes. This ensures any running clock-timer callback has completed before those operations proceed.