{
  "id": "CVE-2025-21971",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21971",
  "published_at": "2025-04-01T15:47:04.448Z",
  "title": "net_sched: Prevent creation of classes with TC_H_ROOT",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet_sched: Prevent creation of classes with TC_H_ROOT\n\nThe function qdisc_tree_reduce_backlog() uses TC_H_ROOT as a termination\ncondition when traversing up the qdisc tree to update parent backlog\ncounters. However, if a class is created with classid TC_H_ROOT, the\ntraversal terminates prematurely at this class instead of reaching the\nactual root qdisc, causing parent statistics to be incorrectly maintained.\nIn case of DRR, this could lead to a crash as reported by Mingi Cho.\n\nPrevent the creation of any Qdisc class with classid TC_H_ROOT\n(0xFFFFFFFF) across all qdisc types, as suggested by Jamal.",
  "cwe": "CWE-835",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.25:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 066a3b5b2346febf9a655b444567b7138e3bb939, \u003c e05d9938b1b0ac40b6054cc5fa0ccbd9afd5ed4c",
          "\u003e= 066a3b5b2346febf9a655b444567b7138e3bb939, \u003c 7a82fe67a9f4d7123d8e5ba8f0f0806c28695006",
          "\u003e= 066a3b5b2346febf9a655b444567b7138e3bb939, \u003c 003d92c91cdb5a64b25a9a74cb8543aac9a8bb48",
          "\u003e= 066a3b5b2346febf9a655b444567b7138e3bb939, \u003c e5ee00607bbfc97ef1526ea95b6b2458ac9e7cb7",
          "\u003e= 066a3b5b2346febf9a655b444567b7138e3bb939, \u003c 78533c4a29ac3aeddce4b481770beaaa4f3bfb67",
          "\u003e= 066a3b5b2346febf9a655b444567b7138e3bb939, \u003c 5c3ca9cb48b51bd72bf76b8b05e24f3cd53db5e7",
          "\u003e= 066a3b5b2346febf9a655b444567b7138e3bb939, \u003c 94edfdfb9505ab608e86599d1d1e38c83816fc1c",
          "\u003e= 066a3b5b2346febf9a655b444567b7138e3bb939, \u003c 0c3057a5a04d07120b3d0ec9c79568fceb9c921e"
        ],
        "fixed_in": [
          "e05d9938b1b0ac40b6054cc5fa0ccbd9afd5ed4c",
          "7a82fe67a9f4d7123d8e5ba8f0f0806c28695006",
          "003d92c91cdb5a64b25a9a74cb8543aac9a8bb48",
          "e5ee00607bbfc97ef1526ea95b6b2458ac9e7cb7",
          "78533c4a29ac3aeddce4b481770beaaa4f3bfb67",
          "5c3ca9cb48b51bd72bf76b8b05e24f3cd53db5e7",
          "94edfdfb9505ab608e86599d1d1e38c83816fc1c",
          "0c3057a5a04d07120b3d0ec9c79568fceb9c921e"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.25"
        ],
        "fixed_in": [
          "0",
          "5.4.292",
          "5.10.236",
          "5.15.180",
          "6.1.132",
          "6.6.84",
          "6.12.20",
          "6.13.8",
          "6.14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e05d9938b1b0ac40b6054cc5fa0ccbd9afd5ed4c or 7a82fe67a9f4d7123d8e5ba8f0f0806c28695006 or 003d92c91cdb5a64b25a9a74cb8543aac9a8bb48 or e5ee00607bbfc97ef1526ea95b6b2458ac9e7cb7 or 78533c4a29ac3aeddce4b481770beaaa4f3bfb67 or 5c3ca9cb48b51bd72bf76b8b05e24f3cd53db5e7 or 94edfdfb9505ab608e86599d1d1e38c83816fc1c or 0c3057a5a04d07120b3d0ec9c79568fceb9c921e or later.",
      "Upgrade Linux to 0 or 5.4.292 or 5.10.236 or 5.15.180 or 6.1.132 or 6.6.84 or 6.12.20 or 6.13.8 or 6.14 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
