
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-21813 is a vulnerability discovered in the Linux kernel's timer migration subsystem. The issue was identified in February 2025 and involves an off-by-one root mis-connection in the timer migration code. The vulnerability affects the kernel's ability to properly manage timer migrations between CPU cores (NVD).
The vulnerability stems from an incorrect children counter check in the timer migration code. After connecting a CPU's top group to a new root, the children count expected should be 2 instead of 1, due to changes introduced by commit b729cc1ec21a. This miscalculation results in the old root not being connected to the new root, potentially causing the system to run with multiple top levels instead of a single idle migrator. Additionally, the old root can be accounted twice to the new root, leading to an overcommit situation that can create a double final top-level root with an incorrectly initialized groupmask (Kernel Commit).
The vulnerability can cause the system to operate with multiple top-level timer migration groups instead of the intended single idle migrator. While this condition is described as 'harmless' in terms of direct system operation (since the final top-level roots never have a parent to walk up to), it represents a deviation from the intended timer migration architecture and can potentially affect system performance and timer handling (Kernel Commit).
The issue has been fixed by modifying the kernel code to properly account for the old root in the children count of the new root, ensuring correct connection establishment. Additionally, a warning mechanism has been implemented to detect when more than one top-level group exists, helping to identify similar issues in the future (Kernel Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."