Vulnerability · Published Jul 4, 2025 · Assigned by Linux
CVE-2025-38177sch_hfsc: make hfsc_qlen_notify() idempotent
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.2% (higher than 11% 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_hfsc: make hfsc_qlen_notify() idempotent hfsc_qlen_notify() is not idempotent either and not friendly to its callers, like fq_codel_dequeue(). Let's make it idempotent to ease qdisc_tree_reduce_backlog() callers' life: 1. update_vf() decreases cl->cl_nactive, so we can check whether it is non-zero before calling it. 2. eltree_remove() always removes RB node cl->el_node, but we can use RB_EMPTY_NODE() + RB_CLEAR_NODE() to make it safe.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.139-1 | DEBIAN-CVE-2025-38177 |
| Debian:13 | linux | 6.12.29-1 | DEBIAN-CVE-2025-38177 |
| Debian:14 | linux | 6.12.29-1 | DEBIAN-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux | 5.15.0-143.153 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux | 6.8.0-63.66 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1087.94 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1031.33 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | 6.14.0-1009.9~24.04.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1031.33~22.04.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1092.101 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1031.36 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1031.36~22.04.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1092.101.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:25.10 | linux-azure-fde | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | 6.8.0-1019.20 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1086.95 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1032.34 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | 6.14.0-1011.11~24.04.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1032.34~22.04.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1084.90 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1027.31 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1069.77 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1014.16 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-64.67~22.04.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1079.82 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1028.28 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1028.28~22.04.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1082.88 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1083.88 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-143.153 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-63.66.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-63.66.1~22.04.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1081.82 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1030.33 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | 6.11.0-1012.12 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1030.33~22.04.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1030.33.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1040.40 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1008.8 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1029.29 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | 6.11.0-1025.25 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | 6.14.0-1006.6 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1030.30 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1084.90 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1028.29 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | 6.14.0-1009.9~24.04.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1028.29~22.04.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1083.86 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1030.34 | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-riscv-6.14 | 6.14.0-23.23.1~24.04.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-63.66~22.04.1 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2025-38177 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1017.18 | UBUNTU-CVE-2025-38177 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1051.55 | UBUNTU-CVE-2025-38177 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 959466588aa7f84ccf79ae36a1d89542eaf9aaec – before 9a5fd5c2f4d4afdd5e405083ee53e0789ce76956959466588aa7f84ccf79ae36a1d89542eaf9aaec – before 72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7959466588aa7f84ccf79ae36a1d89542eaf9aaec – before a5efc95a33bd4fcb879250852828cc58c7862970959466588aa7f84ccf79ae36a1d89542eaf9aaec – before 0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87959466588aa7f84ccf79ae36a1d89542eaf9aaec – before 9030a91235ae4845ec71902c3e0cecfc9ed1f2df959466588aa7f84ccf79ae36a1d89542eaf9aaec – before d06476714d2819b550e0cc39222347e2c8941c9d959466588aa7f84ccf79ae36a1d89542eaf9aaec – before c1175c4ad01dbc9c979d099861fa90a754f72059959466588aa7f84ccf79ae36a1d89542eaf9aaec – before 51eb3b65544c9efd6a1026889ee5fb5aa62da3bb |
| Linux | Linux | 4.14 |
References
- https://git.kernel.org/stable/c/9a5fd5c2f4d4afdd5e405083ee53e0789ce76956
- https://git.kernel.org/stable/c/72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7
- https://git.kernel.org/stable/c/a5efc95a33bd4fcb879250852828cc58c7862970
- https://git.kernel.org/stable/c/0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87
- https://git.kernel.org/stable/c/9030a91235ae4845ec71902c3e0cecfc9ed1f2df
- https://git.kernel.org/stable/c/d06476714d2819b550e0cc39222347e2c8941c9d
- https://git.kernel.org/stable/c/c1175c4ad01dbc9c979d099861fa90a754f72059
- https://git.kernel.org/stable/c/51eb3b65544c9efd6a1026889ee5fb5aa62da3bb
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html