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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-04-01T15:47:04.448Z
- Modified: 2026-10-15T22:18:12.710Z
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 066a3b5b2346febf9a655b444567b7138e3bb939 before e05d9938b1b0ac40b6054cc5fa0ccbd9afd5ed4c; from 066a3b5b2346febf9a655b444567b7138e3bb939 before 7a82fe67a9f4d7123d8e5ba8f0f0806c28695006; from 066a3b5b2346febf9a655b444567b7138e3bb939 before 003d92c91cdb5a64b25a9a74cb8543aac9a8bb48; from 066a3b5b2346febf9a655b444567b7138e3bb939 before e5ee00607bbfc97ef1526ea95b6b2458ac9e7cb7; from 066a3b5b2346febf9a655b444567b7138e3bb939 before 78533c4a29ac3aeddce4b481770beaaa4f3bfb67; from 066a3b5b2346febf9a655b444567b7138e3bb939 before 5c3ca9cb48b51bd72bf76b8b05e24f3cd53db5e7; from 066a3b5b2346febf9a655b444567b7138e3bb939 before 94edfdfb9505ab608e86599d1d1e38c83816fc1c; from 066a3b5b2346febf9a655b444567b7138e3bb939 before 0c3057a5a04d07120b3d0ec9c79568fceb9c921e; 2.6.25 (not affected: before 2.6.25; from 5.4.292 up to 5.4.*; from 5.10.236 up to 5.10.*; from 5.15.180 up to 5.15.*; from 6.1.132 up to 6.1.*; from 6.6.84 up to 6.6.*; from 6.12.20 up to 6.12.*; from 6.13.8 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 2.6.26 before 5.4.292; from 5.5 before 5.10.236; from 5.11 before 5.15.180; from 5.16 before 6.1.132; from 6.2 before 6.6.84; from 6.7 before 6.12.20; from 6.13 before 6.13.8; 2.6.25; 6.14

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e05d9938b1b0ac40b6054cc5fa0ccbd9afd5ed4c> (patch)
- <https://git.kernel.org/stable/c/7a82fe67a9f4d7123d8e5ba8f0f0806c28695006> (patch)
- <https://git.kernel.org/stable/c/003d92c91cdb5a64b25a9a74cb8543aac9a8bb48> (patch)
- <https://git.kernel.org/stable/c/e5ee00607bbfc97ef1526ea95b6b2458ac9e7cb7> (patch)
- <https://git.kernel.org/stable/c/78533c4a29ac3aeddce4b481770beaaa4f3bfb67> (patch)
- <https://git.kernel.org/stable/c/5c3ca9cb48b51bd72bf76b8b05e24f3cd53db5e7> (patch)
- <https://git.kernel.org/stable/c/94edfdfb9505ab608e86599d1d1e38c83816fc1c> (patch)
- <https://git.kernel.org/stable/c/0c3057a5a04d07120b3d0ec9c79568fceb9c921e> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>

## Sources

- CVE List: [CVE-2025-21971](https://www.cve.org/CVERecord?id=CVE-2025-21971), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-21971](https://nvd.nist.gov/vuln/detail/CVE-2025-21971), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-21971 · Whole record: https://cve.day/CVE-2025-21971.json · Rebuilt by cve.day 2026-11-25T22:58:55.916Z
