CVE-2026-31574: clockevents: Add missing resets of the next_event_forced flag
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
clockevents: Add missing resets of the next_event_forced flag
The prevention mechanism against timer interrupt starvation missed to reset the next_event_forced flag in a couple of places:
- When the clock event state changes. That can cause the flag to be stale over a shutdown/startup sequence
- When a non-forced event is armed, which then prevents rearming before that event. If that event is far out in the future this will cause missed timer interrupts.
- In the suspend wakeup handler.
That led to stalls which have been reported by several people.
Add the missing resets, which fixes the problems for the reporters.
The Linux kernel CVE team has assigned CVE-2026-31574 to this issue.
Affected and fixed versions
===========================
Fixed in 7.0.1 with commit 9401b593fa48218d2667df1610b0ebc518554880
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-31574
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
kernel/time/clockevents.c
kernel/time/tick-broadcast.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/9401b593fa48218d2667df1610b0ebc518554880 https://git.kernel.org/stable/c/4096fd0e8eaea13ebe5206700b33f49635ae18e5