UBUNTU-CVE-2026-97925: Race Condition
In the Linux kernel, the following vulnerability has been resolved: tick/broadcast: Plug clockevents replacement race 朱恺乾 reported and decoded the following race condition when a broadcast device is replaced: CPUA CPUB tickbroadcastoneshotcontrol() bc = tickbroadcastdevice.evtdev; tickinstallbroadcastdevice(dev) clockeventsexchangedevice(cur, dev) shutdown(cur); detach(cur); cur->handler = noop; tickbroadcastdevice.evtdev = dev; tickbroadcastsetevent(bc, nextevent); <- FAIL: arms a detached device. If the original broadcast device has a restricted interrupt affinity mask and the last CPU in that mask goes offline then the BUG() in tickcleanupdeadcpu() triggers because the clockevent device is not in detached state. The reason for this is that tickinstallbroadcastdevice() is not serialized vs. tick broadcast operations. The obvious cure is to serialize tickinstallbroadcastdevice() with tickbroadcastlock against a concurrent tick broadcast operation. That requires to split clockeventsexchangedevice() into two parts, one which does the exchange, shutdown and detach operation and the other which drops the module reference count. This is required because the module reference cannot be dropped while holding tickbroadcastlock. Let clockeventsexchangedevice() do both operations as before, but let the broadcast device code take the two step approach and do the device exchange under tickbroadcastlock and drop the module reference count after releasing it.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-42.42 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1016.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1016.18 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1015.16 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-42.42.1