7.8high
net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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(-)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 066a3b5b2346febf9a655b444567b7138e3bb939 before e7f9a6f97eb067599a74f3bcb6761976b0ed303e, from 066a3b5b2346febf9a655b444567b7138e3bb939 before dbe778b08b5101df9e89bc06e0a3a7ecd2f4ef20, from 066a3b5b2346febf9a655b444567b7138e3bb939 before ce691c814bc7a3c30c220ffb5b7422715458fd9b, from 066a3b5b2346febf9a655b444567b7138e3bb939 before 05df1b1dff8f197f1c275b57ccb2ca33021df552, from 066a3b5b2346febf9a655b444567b7138e3bb939 before 580b3189c1972aff0f993837567d36392e9d981b, from 066a3b5b2346febf9a655b444567b7138e3bb939 before 597cf9748c3477bf61bc35f0634129f56764ad24, from 066a3b5b2346febf9a655b444567b7138e3bb939 before 9995909615c3431a5304c1210face5f268d24dba, from 066a3b5b2346febf9a655b444567b7138e3bb939 before 2e95c4384438adeaa772caa560244b1a2efef816 and 1 more Not affected: before 2.6.25, from 4.19.323 up to 4.19.*, from 5.4.285 up to 5.4.*, from 5.10.229 up to 5.10.*, from 5.15.171 up to 5.15.*, from 6.1.116 up to 6.1.* | CVE List |
| linux linux_kernel | from 2.6.25 before 4.19.323, from 4.20 before 5.4.285, from 5.5 before 5.10.229, from 5.11 before 5.15.171, from 5.16 before 6.1.116, from 6.2 before 6.6.60, from 6.7 before 6.11.7, 6.12 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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(-)
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/sched: stop qdisc_tree_reduce_backlog en TC_H_ROOT En qdisc_tree_reduce_backlog, se supone que las Qdisc con el identificador principal ffff: son raíz o de entrada. Esta suposición es falsa ya que es válido crear qdiscs de salida con el identificador principal ffff: Budimir Markovic descubrió que para las qdisc como DRR que mantienen una lista de clases activa, provocará un UAF con un puntero de clase colgante. En 066a3b5b2346, la preocupación era evitar iterar sobre la qdisc de entrada ya que su padre es ella misma. La solución adecuada es detener cuando se alcanza el padre TC_H_ROOT porque la única forma de recuperar la entrada es cuando una jerarquía que no contiene un identificador principal ffff: llama a qdisc_lookup con TC_H_MAJ(TC_H_ROOT). En el escenario donde el ffff principal es una qdisc de salida en cualquiera de los niveles del árbol, las actualizaciones también se propagarán a TC_H_ROOT, donde luego la iteración debe detenerse. net/sched/sch_api.c | 2 +- 1 archivo modificado, 1 inserción(+), 1 eliminación(-)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-53057 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-53057 changed 2026-10-15 | Public domain |