Vulnerability · Published Feb 18, 2025 · Assigned by Linux
CVE-2025-21703netem: Update sch->q.qlen before qdisc_tree_reduce_backlog()
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 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: netem: Update sch->q.qlen before qdisc_tree_reduce_backlog() qdisc_tree_reduce_backlog() notifies parent qdisc only if child qdisc becomes empty, therefore we need to reduce the backlog of the child qdisc before calling it. Otherwise it would miss the opportunity to call cops->qlen_notify(), in the case of DRR, it resulted in UAF since DRR uses ->qlen_notify() to maintain its active list.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.129-1 | DEBIAN-CVE-2025-21703 |
| Debian:13 | linux | 6.12.15-1 | DEBIAN-CVE-2025-21703 |
| Debian:14 | linux | 6.12.15-1 | DEBIAN-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux | 5.15.0-138.148 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux | 5.15.0-138.148 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1082.89 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1082.89 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1087.96 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1087.96 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | 6.11.0-1013.13~24.04.1 | UBUNTU-CVE-2025-21703 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | 6.11.0-1013.13~24.04.1 | USN-7448-1 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1087.96.1 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1087.96.1 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1081.90 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1081.90 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | 6.11.0-1013.13~24.04.1 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1079.85 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1079.85 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1064.72 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1064.72 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | 6.11.0-24.24~24.04.1 | USN-7445-1 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | 6.11.0-24.24~24.04.1 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1074.77 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1074.77 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1077.83 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1077.83 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1078.83 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1078.83 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-138.148 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-138.148 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | 6.11.0-1012.13~24.04.1 | UBUNTU-CVE-2025-21703 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | 6.11.0-1012.13~24.04.1 | USN-7445-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1076.77 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1076.77 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1035.35 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1035.35 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1023.23 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1023.23 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | 6.11.0-1020.20 | USN-7445-1 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | 6.11.0-1020.20 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1079.85 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1079.85 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1076.79 | USN-7455-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1076.79 | UBUNTU-CVE-2025-21703 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1046.50 | UBUNTU-CVE-2025-21703 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1046.50 | USN-7475-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 83c6ab12f08dcc09d4c5ac86fdb89736b28f1d31 – before e395fec75ac2dbffc99b4bce57b7f1f3c5449f2c216509dda290f6db92c816dd54b83c1df9da9e76 – before 7f31d74fcc556a9166b1bb20515542de7bb939d1c2047b0e216c8edce227d7c42f99ac2877dad0e4 – before 98a2c685293aae122f688cde11d9334dddc5d20710df49cfca73dfbbdb6c4150d859f7e8926ae427 – before 7b79ca9a1de6a428d486ff52fb3d602321c08f553824c5fad18eeb7abe0c4fc966f29959552dca3e – before 1f8e3f4a4b8b90ad274dfbc66fc7d55cb582f4d5356078a5c55ec8d2061fcc009fb8599f5b0527f9 – before 6312555249082d6d8cc5321ff725df05482d8b83f8d4bc455047cf3903cd6f85f49978987dbb3027 – before 839ecc583fa00fab785fde1c85a326743657fd32f8d4bc455047cf3903cd6f85f49978987dbb3027 – before 638ba5089324796c2ee49af10427459c2de35f71 |
| Linux | Linux | 6.13 |
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/e395fec75ac2dbffc99b4bce57b7f1f3c5449f2c
- https://git.kernel.org/stable/c/7f31d74fcc556a9166b1bb20515542de7bb939d1
- https://git.kernel.org/stable/c/98a2c685293aae122f688cde11d9334dddc5d207
- https://git.kernel.org/stable/c/7b79ca9a1de6a428d486ff52fb3d602321c08f55
- https://git.kernel.org/stable/c/1f8e3f4a4b8b90ad274dfbc66fc7d55cb582f4d5
- https://git.kernel.org/stable/c/6312555249082d6d8cc5321ff725df05482d8b83
- https://git.kernel.org/stable/c/839ecc583fa00fab785fde1c85a326743657fd32
- https://git.kernel.org/stable/c/638ba5089324796c2ee49af10427459c2de35f71
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- https://cert-portal.siemens.com/productcert/html/ssa-503939.html
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html