CVE-2024-53057
Published: Nov 19, 2024
Modified: May 12, 2026
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(-)
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected 066a3b5b2346febf9a655b444567b7138e3bb939 - < e7f9a6f97eb067599a74f3bcb6761976b0ed303eaffected 066a3b5b2346febf9a655b444567b7138e3bb939 - < dbe778b08b5101df9e89bc06e0a3a7ecd2f4ef20affected 066a3b5b2346febf9a655b444567b7138e3bb939 - < ce691c814bc7a3c30c220ffb5b7422715458fd9baffected 066a3b5b2346febf9a655b444567b7138e3bb939 - < 05df1b1dff8f197f1c275b57ccb2ca33021df552affected 066a3b5b2346febf9a655b444567b7138e3bb939 - < 580b3189c1972aff0f993837567d36392e9d981b+3 more versions |
Linux | Linux | affected 2.6.25unaffected 0 - < 2.6.25unaffected 4.19.323 - <= 4.19.*unaffected 5.4.285 - <= 5.4.*unaffected 5.10.229 - <= 5.10.*+5 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now