CVE & CISA-KEV Catalog

CVE-2025-21813

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: timers/migration: Fix off-by-one root mis-connection Before attaching a new root to the old root, the children counter of the new root is checked to verify that only the upcoming CPU's top group have been connected to it. However since the recently added commit b729cc1ec21a ("timers/migration: Fix another race between hotplug and idle entry/exit") this check is not valid anymore because the old root is pre-accounted as a child to the new root. Therefore after connecting the upcoming CPU's top group to the new root, the children count to be expected must be 2 and not 1 anymore. This omission results in the old root to not be connected to the new root. Then eventually the system may run with more than one top level, which defeats the purpose of a single idle migrator. Also the old root is pre-accounted but not connected upon the new root creation. But it can be connected to the new root later on. Therefore the old root may be accounted twice to the new root. The propagation of such overcommit can end up creating a double final top-level root with a groupmask incorrectly initialized. Although harmless given that the final top level roots will never have a parent to walk up to, this oddity opportunistically reported the core issue: WARNING: CPU: 8 PID: 0 at kernel/time/timer_migration.c:543 tmigr_requires_handle_remote CPU: 8 UID: 0 PID: 0 Comm: swapper/8 RIP: 0010:tmigr_requires_handle_remote Call Trace: <IRQ> ? tmigr_requires_handle_remote ? hrtimer_run_queues update_process_times tick_periodic tick_handle_periodic __sysvec_apic_timer_interrupt sysvec_apic_timer_interrupt </IRQ> Fix the problem by taking the old root into account in the children count of the new root so the connection is not omitted. Also warn when more than one top level group exists to better detect similar issues in the future.

How to fix

Remediation Available
linuxDebian
Fixed in:6.12.15-1CVE-2025-21813
Fixed in:6.12.15-1CVE-2025-21813
linux-azure-6.11Ubuntu
Fixed in:6.11.0-1014.14~24.04.1USN-7499-1
linux-gcp-6.11Ubuntu
Fixed in:6.11.0-1014.14~24.04.1USN-7489-1
linux-hwe-6.11Ubuntu
Fixed in:6.11.0-25.25~24.04.1USN-7489-1
linux-image-6.11.0-1013-lowlatencyUbuntu
Fixed in:6.11.0-1013.14~24.04.1USN-7489-1
linux-image-6.11.0-1013-lowlatency-64kUbuntu
Fixed in:6.11.0-1013.14~24.04.1USN-7489-1
linux-image-6.11.0-1014-azureUbuntu
Fixed in:6.11.0-1014.14~24.04.1USN-7499-1
linux-image-6.11.0-1014-azure-fdeUbuntu
Fixed in:6.11.0-1014.14~24.04.1USN-7499-1
linux-image-6.11.0-1014-gcpUbuntu
Fixed in:6.11.0-1014.14~24.04.1USN-7489-1
linux-image-6.11.0-1014-gcp-64kUbuntu
Fixed in:6.11.0-1014.14~24.04.1USN-7489-1
linux-image-6.11.0-1021-oemUbuntu
Fixed in:6.11.0-1021.21USN-7491-1
linux-image-6.11.0-25-genericUbuntu
Fixed in:6.11.0-25.25~24.04.1USN-7489-1
linux-image-6.11.0-25-generic-64kUbuntu
Fixed in:6.11.0-25.25~24.04.1USN-7489-1
linux-image-azureUbuntu
Fixed in:6.11.0-1014.14~24.04.1USN-7499-1
linux-image-azure-fdeUbuntu
Fixed in:6.11.0-1014.14~24.04.1USN-7499-1
linux-image-gcpUbuntu
Fixed in:6.11.0-1014.14~24.04.1USN-7489-1
linux-image-gcp-64kUbuntu
Fixed in:6.11.0-1014.14~24.04.1USN-7489-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.11.0-25.25~24.04.1USN-7489-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.11.0-25.25~24.04.1USN-7489-1
linux-image-lowlatency-64k-hwe-24.04Ubuntu
Fixed in:6.11.0-1013.14~24.04.1USN-7489-1
linux-image-lowlatency-hwe-24.04Ubuntu
Fixed in:6.11.0-1013.14~24.04.1USN-7489-1
linux-image-oem-24.04bUbuntu
Fixed in:6.11.0-1021.21USN-7491-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.11.0-25.25~24.04.1USN-7489-1
linux-lowlatency-hwe-6.11Ubuntu
Fixed in:6.11.0-1013.14~24.04.1USN-7489-1
linux-oem-6.11Ubuntu
Fixed in:6.11.0-1021.21USN-7491-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.18%probability of exploitation in 30 days
8thpercentile

Low risk: more likely to be exploited than 8% of all known CVEs.

References

Related Vulnerabilities

Other CWE-193 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-3156High7.899%KEVFix
CVE-2003-0466Critical9.878%--
CVE-2023-44444High7.856%-Fix
CVE-2021-23017High7.753%-Fix
CVE-2023-28709High7.552%-Fix
CVE-2018-8828Critical9.831%-Fix
Embed a live status badge for CVE-2025-21813
CVE-2025-21813 severity badge

Markdown

[![CVE-2025-21813](https://tridentstack.com/cve/badge/CVE-2025-21813.svg)](https://tridentstack.com/cve/CVE-2025-21813)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-21813"><img src="https://tridentstack.com/cve/badge/CVE-2025-21813.svg" alt="CVE-2025-21813"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-10-28.