CVE-2025-21971: net_sched: Prevent creation of classes with TC_H_ROOT

Published Apr 1, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

netsched: Prevent creation of classes with TCHROOT

The function qdisctreereducebacklog() uses TCHROOT as a termination condition when traversing up the qdisc tree to update parent backlog counters. However, if a class is created with classid TCHROOT, 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 TCHROOT (0xFFFFFFFF) across all qdisc types, as suggested by Jamal.

Affected Software

16 affected componentsFixes available
debian/linux<=5.10.223-1, <=5.10.234-1, <=6.1.129-1
6.1.135-16.12.25-16.12.27-1
Linux Kernel
Linux Linux kernel>=2.6.26<5.4.292
Linux Linux kernel>=5.5<5.10.236
Linux Linux kernel>=5.11<5.15.180
Linux Linux kernel>=5.16<6.1.132
Linux Linux kernel>=6.2<6.6.84
Linux Linux kernel>=6.7<6.12.20
Linux Linux kernel>=6.13<6.13.8
Linux Linux kernel=2.6.25
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2
Linux Linux kernel=6.14-rc3
Linux Linux kernel=6.14-rc4
Linux Linux kernel=6.14-rc5
Linux Linux kernel=6.14-rc6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Configuration

    Prevent creation of any Qdisc class with classid TC_H_ROOT (0xFFFFFFFF) across all qdisc types (net_sched: prevent creation of classes with TC_H_ROOT).

    Linux kernel net_sched (traffic control qdisc/classes) classid TC_H_ROOT (0xFFFFFFFF) = disallow/prevent creation

Event History

Apr 1, 2025
CVE Published
via MITRE·03:47 PM
Data Sourced
via MITRE·03:47 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
Description
Data Sourced
via NVD·04:15 PM
RemedySeverityWeaknessAffected Software
May 11, 2025
Data Sourced
via Ubuntu·09:21 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-21971?

CVE-2025-21971 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2025-21971?

To fix CVE-2025-21971, you should update your Linux kernel to the latest stable version that includes the patch.

3

What systems are affected by CVE-2025-21971?

CVE-2025-21971 affects various versions of the Linux kernel.

4

What are the potential impacts of CVE-2025-21971?

The potential impact of CVE-2025-21971 includes disruptions in class creation within network scheduling in the kernel.

5

When was CVE-2025-21971 disclosed?

CVE-2025-21971 was disclosed alongside the resolution made to the Linux kernel managing network scheduling.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203