Vulnerability · Published Sep 18, 2024 · Assigned by Linux
CVE-2024-46800sch/netem: fix use after free in netem_dequeue
High 7.8
In plain English
A high-severity security flaw 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 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: sch/netem: fix use after free in netem_dequeue If netem_dequeue() enqueues packet to inner qdisc and that qdisc returns __NET_XMIT_STOLEN. The packet is dropped but qdisc_tree_reduce_backlog() is not called to update the parent's q.qlen, leading to the similar use-after-free as Commit e04991a48dbaf382 ("netem: fix return value if duplicate enqueue fails") Commands to trigger KASAN UaF: ip link add type dummy ip link set lo up ip link set dummy0 up tc qdisc add dev lo parent root handle 1: drr tc filter add dev lo parent 1: basic classid 1:1 tc class add dev lo classid 1:1 drr tc qdisc add dev lo parent 1:1 handle 2: netem tc qdisc add dev lo parent 2: handle 3: drr tc filter add dev lo parent 3: basic classid 3:1 action mirred egress redirect dev dummy0 tc class add dev lo classid 3:1 drr ping -c1 -W0.01 localhost # Trigger bug tc class del dev lo classid 1:1 tc class add dev lo classid 1:1 drr ping -c1 -W0.01 localhost # UaF
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.112-1 | DEBIAN-CVE-2024-46800 |
| Debian:13 | linux | 6.10.11-1 | DEBIAN-CVE-2024-46800 |
| Debian:14 | linux | 6.10.11-1 | DEBIAN-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux | 5.15.0-125.135 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux | 6.8.0-49.49 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux | 6.8.0-49.49 | USN-7120-1 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1072.78 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1019.21 | USN-7120-1 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1019.21 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1019.21~22.04.1 | USN-7120-2 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1019.21~22.04.1 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1075.84 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1018.21 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1018.21 | USN-7120-2 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1018.21~22.04.1 | USN-7120-2 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1018.21~22.04.1 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1076.85.1 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1071.79 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1018.20 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1018.20 | USN-7120-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1018.20~22.04.1 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1018.20~22.04.1 | USN-7120-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1069.75 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1014.18 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1014.18 | USN-7120-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1055.62 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1002.4 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-49.49~22.04.1 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-49.49~22.04.1 | USN-7120-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1065.68 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1016.16 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1016.16 | USN-7120-1 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1016.16~22.04.1 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1067.73 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1069.74 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-125.135 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-49.49.1 | USN-7120-3 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-49.49.1 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-49.49.1~22.04.1 | USN-7120-3 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-49.49.1~22.04.1 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1067.68 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1018.20 | USN-7120-1 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1018.20 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1018.20~22.04.1 | USN-7120-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1018.20~22.04.1 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1018.20.1 | USN-7120-1 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1018.20.1 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1032.32 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1020.20 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1017.17 | USN-7120-1 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1017.17 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1070.76 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1016.17 | USN-7120-1 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1016.17 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1016.17~22.04.1 | USN-7120-2 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1016.17~22.04.1 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1065.68 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1015.17 | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1015.17 | USN-7120-1 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-riscv | 6.8.0-49.49.1 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-49.49.1~22.04.1 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2024-46800 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1017.18 | UBUNTU-CVE-2024-46800 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1038.42 | UBUNTU-CVE-2024-46800 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 50612537e9ab29693122fab20fc1eed235054ffe – before f0bddb4de043399f16d1969dad5ee5b984a64e7b50612537e9ab29693122fab20fc1eed235054ffe – before 295ad5afd9efc5f67b86c64fce28fb94e26dc4c950612537e9ab29693122fab20fc1eed235054ffe – before 98c75d76187944296068d685dfd8a1e9fd8c4fdc50612537e9ab29693122fab20fc1eed235054ffe – before 14f91ab8d391f249b845916820a56f42cf74724150612537e9ab29693122fab20fc1eed235054ffe – before db2c235682913a63054e741fe4e19645fdf2d68e50612537e9ab29693122fab20fc1eed235054ffe – before dde33a9d0b80aae0c69594d1f462515d7ff1cb3d50612537e9ab29693122fab20fc1eed235054ffe – before 32008ab989ddcff1a485fa2b4906234c25dc5cd650612537e9ab29693122fab20fc1eed235054ffe – before 3b3a2a9c6349e25a025d2330f479bc33a6ccb54a |
| Linux | Linux | 3.3 |
References
- https://git.kernel.org/stable/c/f0bddb4de043399f16d1969dad5ee5b984a64e7b
- https://git.kernel.org/stable/c/295ad5afd9efc5f67b86c64fce28fb94e26dc4c9
- https://git.kernel.org/stable/c/98c75d76187944296068d685dfd8a1e9fd8c4fdc
- https://git.kernel.org/stable/c/14f91ab8d391f249b845916820a56f42cf747241
- https://git.kernel.org/stable/c/db2c235682913a63054e741fe4e19645fdf2d68e
- https://git.kernel.org/stable/c/dde33a9d0b80aae0c69594d1f462515d7ff1cb3d
- https://git.kernel.org/stable/c/32008ab989ddcff1a485fa2b4906234c25dc5cd6
- https://git.kernel.org/stable/c/3b3a2a9c6349e25a025d2330f479bc33a6ccb54a
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html