CVE-2025-38177
sch_hfsc: make hfsc_qlen_notify() idempotent
Check your servers for CVE-2025-38177
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38177 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 959466588aa7f84ccf79ae36a1d89542eaf9aaec, before 9a5fd5c2f4d4afdd5e405083ee53e0789ce76956 affected from 959466588aa7f84ccf79ae36a1d89542eaf9aaec, before 72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7 affected from 959466588aa7f84ccf79ae36a1d89542eaf9aaec, before a5efc95a33bd4fcb879250852828cc58c7862970 affected from 959466588aa7f84ccf79ae36a1d89542eaf9aaec, before 0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87 affected from 959466588aa7f84ccf79ae36a1d89542eaf9aaec, before 9030a91235ae4845ec71902c3e0cecfc9ed1f2df affected from 959466588aa7f84ccf79ae36a1d89542eaf9aaec, before d06476714d2819b550e0cc39222347e2c8941c9d affected from 959466588aa7f84ccf79ae36a1d89542eaf9aaec, before c1175c4ad01dbc9c979d099861fa90a754f72059 affected from 959466588aa7f84ccf79ae36a1d89542eaf9aaec, before 51eb3b65544c9efd6a1026889ee5fb5aa62da3bb
Other versions: unaffected
|
| Linux |
affected 4.14 unaffected before 4.14 unaffected from 5.4.297 up to and including 5.4.* unaffected from 5.10.241 up to and including 5.10.* unaffected from 5.15.190 up to and including 5.15.* unaffected from 6.1.138 up to and including 6.1.* unaffected from 6.6.90 up to and including 6.6.* unaffected from 6.12.28 up to and including 6.12.* unaffected from 6.14.6 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38177 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38177
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38177
trivy image --scanners vuln IMAGE | grep CVE-2025-38177
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/9a5fd5c2f4d4afdd5e405083ee53e0789ce76956 git.kernel.org
- https://git.kernel.org/stable/c/72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7 git.kernel.org
- https://git.kernel.org/stable/c/a5efc95a33bd4fcb879250852828cc58c7862970 git.kernel.org
- https://git.kernel.org/stable/c/0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87 git.kernel.org
- https://git.kernel.org/stable/c/9030a91235ae4845ec71902c3e0cecfc9ed1f2df git.kernel.org
- https://git.kernel.org/stable/c/d06476714d2819b550e0cc39222347e2c8941c9d git.kernel.org
- https://git.kernel.org/stable/c/c1175c4ad01dbc9c979d099861fa90a754f72059 git.kernel.org
- https://git.kernel.org/stable/c/51eb3b65544c9efd6a1026889ee5fb5aa62da3bb git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html lists.debian.org
Source: the record CVE-2025-38177 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse