CVE-2025-21971

net_sched: Prevent creation of classes with TC_H_ROOT

MEDIUM
5.5
CVSS Score
Published: April 1, 2025 at 03:47 PM UTC
Updated: October 15, 2026 at 10:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: net_sched: Prevent creation of classes with TC_H_ROOT The function qdisc_tree_reduce_backlog() uses TC_H_ROOT as a termination condition when traversing up the qdisc tree to update parent backlog counters. However, if a class is created with classid TC_H_ROOT, the traversal terminates prematurely at this class instead of reaching the actual root qdisc, causing parent statistics to be incorrectly maintained. In case of DRR, this could lead to a crash as reported by Mingi Cho. Prevent the creation of any Qdisc class with classid TC_H_ROOT (0xFFFFFFFF) across all qdisc types, as suggested by Jamal.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.26 ≤ v < 5.4.2925.11 ≤ v < 5.15.1805.16 ≤ v < 6.1.1325.5 ≤ v < 5.10.2366.13 ≤ v < 6.13.86.2 ≤ v < 6.6.846.7 ≤ v < 6.12.202.6.256.146.14 rc16.14 rc26.14 rc36.14 rc46.14 rc56.14 rc666a3b5b2346febf9a655b444567b7138e3bb939
Vendor states this is fixed in 003d92c91cdb5a64b25a9a74cb8543aac9a8bb48 (fixed)
Vendor states this is fixed in 0c3057a5a04d07120b3d0ec9c79568fceb9c921e (fixed)
Vendor states this is fixed in 5c3ca9cb48b51bd72bf76b8b05e24f3cd53db5e7 (fixed)
Vendor states this is fixed in 78533c4a29ac3aeddce4b481770beaaa4f3bfb67 (fixed)
Vendor states this is fixed in 7a82fe67a9f4d7123d8e5ba8f0f0806c28695006 (fixed)
Vendor states this is fixed in 94edfdfb9505ab608e86599d1d1e38c83816fc1c (fixed)
Vendor states this is fixed in e05d9938b1b0ac40b6054cc5fa0ccbd9afd5ed4c (fixed)
Vendor states this is fixed in e5ee00607bbfc97ef1526ea95b6b2458ac9e7cb7 (fixed)
Vendor states this is fixed in 2.6.25 (unaffected)
Vendor states this is fixed in 5.10.236 (unaffected)
Vendor states this is fixed in 5.15.180 (unaffected)
Vendor states this is fixed in 5.4.292 (unaffected)
Vendor states this is fixed in 6.1.132 (unaffected)
Vendor states this is fixed in 6.12.20 (unaffected)
Vendor states this is fixed in 6.13.8 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.84 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/003d92c91cdb5a64b25a9a74cb8543aac9a8bb48
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0c3057a5a04d07120b3d0ec9c79568fceb9c921e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5c3ca9cb48b51bd72bf76b8b05e24f3cd53db5e7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/78533c4a29ac3aeddce4b481770beaaa4f3bfb67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7a82fe67a9f4d7123d8e5ba8f0f0806c28695006
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/94edfdfb9505ab608e86599d1d1e38c83816fc1c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e05d9938b1b0ac40b6054cc5fa0ccbd9afd5ed4c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e5ee00607bbfc97ef1526ea95b6b2458ac9e7cb7

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-835

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card