{"id":"CVE-2024-53057","published":"2024-11-19T17:19:40Z","modified":"2026-10-15T00:58:34Z","title":"net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT\n\nIn qdisc_tree_reduce_backlog, Qdiscs with major handle ffff: are assumed\nto be either root or ingress. This assumption is bogus since it's valid\nto create egress qdiscs with major handle ffff:\nBudimir Markovic found that for qdiscs like DRR that maintain an active\nclass list, it will cause a UAF with a dangling class pointer.\n\nIn 066a3b5b2346, the concern was to avoid iterating over the ingress\nqdisc since its parent is itself. The proper fix is to stop when parent\nTC_H_ROOT is reached because the only way to retrieve ingress is when a\nhierarchy which does not contain a ffff: major handle call into\nqdisc_lookup with TC_H_MAJ(TC_H_ROOT).\n\nIn the scenario where major ffff: is an egress qdisc in any of the tree\nlevels, the updates will also propagate to TC_H_ROOT, which then the\niteration must stop.\n\n\n net/sched/sch_api.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00349,"percentile":0.20964,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/e7f9a6f97eb067599a74f3bcb6761976b0ed303e","tags":[]},{"url":"https://git.kernel.org/stable/c/dbe778b08b5101df9e89bc06e0a3a7ecd2f4ef20","tags":[]},{"url":"https://git.kernel.org/stable/c/ce691c814bc7a3c30c220ffb5b7422715458fd9b","tags":[]},{"url":"https://git.kernel.org/stable/c/05df1b1dff8f197f1c275b57ccb2ca33021df552","tags":[]},{"url":"https://git.kernel.org/stable/c/580b3189c1972aff0f993837567d36392e9d981b","tags":[]},{"url":"https://git.kernel.org/stable/c/597cf9748c3477bf61bc35f0634129f56764ad24","tags":[]},{"url":"https://git.kernel.org/stable/c/9995909615c3431a5304c1210face5f268d24dba","tags":[]},{"url":"https://git.kernel.org/stable/c/2e95c4384438adeaa772caa560244b1a2efef816","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":[]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":4.19},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 066a3b5b2346febf9a655b444567b7138e3bb939, < e7f9a6f97eb067599a74f3bcb6761976b0ed303e",">= 066a3b5b2346febf9a655b444567b7138e3bb939, < dbe778b08b5101df9e89bc06e0a3a7ecd2f4ef20",">= 066a3b5b2346febf9a655b444567b7138e3bb939, < ce691c814bc7a3c30c220ffb5b7422715458fd9b",">= 066a3b5b2346febf9a655b444567b7138e3bb939, < 05df1b1dff8f197f1c275b57ccb2ca33021df552",">= 066a3b5b2346febf9a655b444567b7138e3bb939, < 580b3189c1972aff0f993837567d36392e9d981b",">= 066a3b5b2346febf9a655b444567b7138e3bb939, < 597cf9748c3477bf61bc35f0634129f56764ad24",">= 066a3b5b2346febf9a655b444567b7138e3bb939, < 9995909615c3431a5304c1210face5f268d24dba",">= 066a3b5b2346febf9a655b444567b7138e3bb939, < 2e95c4384438adeaa772caa560244b1a2efef816"]},{"vendor":"Linux","product":"Linux","versions":["2.6.25"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-12-11T14:25:23.594430Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-50473","exploited":false,"provenance":"source"}}