Vulnerability · Published Nov 19, 2024 · Assigned by Linux
CVE-2024-53057net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT
High 7.8
In plain English
A high-severity use-after-free in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.119-1 | DEBIAN-CVE-2024-53057 |
| Debian:13 | linux | 6.11.7-1 | DEBIAN-CVE-2024-53057 |
| Debian:14 | linux | 6.11.7-1 | DEBIAN-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux | 5.15.0-130.140 | USN-7179-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-130.140 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux | 6.8.0-51.52 | USN-7167-1 |
| Ubuntu:24.04:LTS | linux | 6.8.0-51.52 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1076.83 | USN-7179-2 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1076.83 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1021.23 | USN-7167-1 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1021.23 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1021.23~22.04.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1021.23~22.04.1 | USN-7167-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1078.87 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1020.23 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | 6.11.0-1012.12~24.04.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1020.23~22.04.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1078.87.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1074.83 | USN-7179-2 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1074.83 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1020.22 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1020.22 | USN-7167-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1020.22~22.04.1 | USN-7167-1 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1020.22~22.04.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1072.78 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1072.78 | USN-7179-3 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1016.20 | USN-7167-1 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1016.20 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1057.64 | USN-7179-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1057.64 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1003.5 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1003.5 | USN-7167-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-51.52~22.04.1 | USN-7167-2 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-51.52~22.04.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1067.70 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1067.70 | USN-7179-1 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1018.18 | USN-7167-1 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1018.18 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1018.18~22.04.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1071.77 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1071.76 | USN-7179-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1071.76 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-128.138 | USN-7179-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-128.138 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-51.52.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-51.52.1 | USN-7167-2 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-51.52.1~22.04.1 | USN-7167-2 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-51.52.1~22.04.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1070.71 | USN-7179-2 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1070.71 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1020.22 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1020.22 | USN-7167-1 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | 6.11.0-1003.3 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1020.22~22.04.1 | USN-7167-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1020.22~22.04.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1020.22.1 | USN-7167-1 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1020.22.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1032.32 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1020.20 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | 6.11.0-1010.10 | USN-7170-1 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | 6.11.0-1010.10 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1019.19 | USN-7167-1 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1019.19 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1073.79 | USN-7179-2 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1073.79 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1018.19 | USN-7167-1 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1018.19 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1018.19~22.04.1 | USN-7167-1 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1018.19~22.04.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1070.73 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1070.73 | USN-7179-2 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1017.19 | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1017.19 | USN-7167-1 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-riscv | 6.8.0-51.52.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-51.52.1~22.04.1 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2024-53057 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1017.18 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1041.45 | UBUNTU-CVE-2024-53057 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1041.45 | USN-7179-4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 066a3b5b2346febf9a655b444567b7138e3bb939 – before e7f9a6f97eb067599a74f3bcb6761976b0ed303e066a3b5b2346febf9a655b444567b7138e3bb939 – before dbe778b08b5101df9e89bc06e0a3a7ecd2f4ef20066a3b5b2346febf9a655b444567b7138e3bb939 – before ce691c814bc7a3c30c220ffb5b7422715458fd9b066a3b5b2346febf9a655b444567b7138e3bb939 – before 05df1b1dff8f197f1c275b57ccb2ca33021df552066a3b5b2346febf9a655b444567b7138e3bb939 – before 580b3189c1972aff0f993837567d36392e9d981b066a3b5b2346febf9a655b444567b7138e3bb939 – before 597cf9748c3477bf61bc35f0634129f56764ad24066a3b5b2346febf9a655b444567b7138e3bb939 – before 9995909615c3431a5304c1210face5f268d24dba066a3b5b2346febf9a655b444567b7138e3bb939 – before 2e95c4384438adeaa772caa560244b1a2efef816 |
| Linux | Linux | 2.6.25 |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html