Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38177

published high CVSS 3.1 · 7.8

sch_hfsc: make hfsc_qlen_notify() idempotent

Published
04 Jul 2025, 12:47:09 UTC
Updated
05 Aug 2026, 12:00:08 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux959466588aa7f84ccf79ae36a1d89542eaf9aaec to < 9a5fd5c2f4d4afdd5e405083ee53e0789ce76956 · 959466588aa7f84ccf79ae36a1d89542eaf9aaec to < 72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7 · 959466588aa7f84ccf79ae36a1d89542eaf9aaec to < a5efc95a33bd4fcb879250852828cc58c7862970 · 959466588aa7f84ccf79ae36a1d89542eaf9aaec to < 0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87 · 959466588aa7f84ccf79ae36a1d89542eaf9aaec to < 9030a91235ae4845ec71902c3e0cecfc9ed1f2df · 959466588aa7f84ccf79ae36a1d89542eaf9aaec to < d06476714d2819b550e0cc39222347e2c8941c9d · 959466588aa7f84ccf79ae36a1d89542eaf9aaec to < c1175c4ad01dbc9c979d099861fa90a754f72059 · 959466588aa7f84ccf79ae36a1d89542eaf9aaec to < 51eb3b65544c9efd6a1026889ee5fb5aa62da3bb · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.14 (affected) · 0 to < 4.14 (unaffected · semver) · 5.4.297 through 5.4.* (unaffected · semver) · 5.10.241 through 5.10.* (unaffected · semver) · 5.15.190 through 5.15.* (unaffected · semver) · 6.1.138 through 6.1.* (unaffected · semver) · 6.6.90 through 6.6.* (unaffected · semver) · 6.12.28 through 6.12.* (unaffected · semver) · 6.14.6 through 6.14.* (unaffected · semver) · 6.15 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluationALAS2-2025-2955 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2025-101 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-087 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-109 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.244-1 DLA-4327-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2025-1050 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-994 Fixed Not stated Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.140-1~deb11u1 DLA-4271-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 7 bpftoolx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernelx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-abi-whitelistsx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-debugx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-debug-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-docx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-headersx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-toolsx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-tools-libsx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-tools-libs-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.348.3.el7uek ELSA-2025-20663
Oracle Linux 7 perfx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 7 python-perfx86_64 Advisory build 0:3.10.0-1160.119.1.0.11.el7 ELSA-2025-14748
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.348.3.el8uek ELSA-2025-20663
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-314.193.5.3.el8uek ELSA-2025-25757

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

93

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable path is reached by configuring HFSC classes and child qdiscs via rtnetlink (`tc`) and driving local packet flow through them, which requires local system access. Remote packets alone cannot establish the required qdisc hierarchy. AC:L - The attacker fully controls every precondition — the qdisc/class topology, the child qdisc that re-enters `qdisc_tree_reduce_backlog()`, the packet, and the class deletion — and the sibling commit ships a deterministic shell reproducer. This is a reentrancy/accounting bug, not a race the attacker must win. PR:L - `tc` qdisc/class operations are gated by `netlink_net_capable(skb, CAP_NET_ADMIN)`, which resolves to `netlink_ns_capable(skb, sock_net(sk)->user_ns, ...)` — namespace-relative, so an unprivileged user obtains it with `unshare -Urn` and can build the full hierarchy on `lo` inside that netns. UI:N - The attacker performs the qdisc setup, packet transmission, and class deletion entirely on their own; no victim action or cooperation is needed. S:U - The corruption is confined to kernel memory within the same security authority; there is no VM, IOMMU, or sandbox boundary crossed. C:H - Dangling `hfsc_class` rb_nodes left in `q->eligible`/`vt_tree` are dereferenced by `eltree_get_mindl()`/`vttree_get_minvt()` after `kfree()`, giving a use-after-free read over reclaimed heap contents the attacker can spray, enabling arbitrary kernel memory disclosure. I:H - Double `rb_erase()` on a stale node writes through an attacker-influenceable parent pointer, and subsequent `eltree_update()`/`rb_insert` operate on freed memory — yielding a write primitive; the same HFSC rbtree-corruption primitive has a public working local privilege escalation (CVE-2025-38001, "rbtree family drama"). A:H - Red-black tree corruption and use-after-free on freed `hfsc_class` objects reliably produce oopses, KASAN splats, and kernel panics, taking the system down.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 959466588aa7f84ccf79ae36a1d89542eaf9aaec to < 9a5fd5c2f4d4afdd5e405083ee53e0789ce76956 (affected · git)959466588aa7f84ccf79ae36a1d89542eaf9aaec to < 72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7 (affected · git)959466588aa7f84ccf79ae36a1d89542eaf9aaec to < a5efc95a33bd4fcb879250852828cc58c7862970 (affected · git)959466588aa7f84ccf79ae36a1d89542eaf9aaec to < 0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87 (affected · git)959466588aa7f84ccf79ae36a1d89542eaf9aaec to < 9030a91235ae4845ec71902c3e0cecfc9ed1f2df (affected · git)959466588aa7f84ccf79ae36a1d89542eaf9aaec to < d06476714d2819b550e0cc39222347e2c8941c9d (affected · git)959466588aa7f84ccf79ae36a1d89542eaf9aaec to < c1175c4ad01dbc9c979d099861fa90a754f72059 (affected · git)959466588aa7f84ccf79ae36a1d89542eaf9aaec to < 51eb3b65544c9efd6a1026889ee5fb5aa62da3bb (affected · git)Default: unaffected Linux · cna
Linux Linux 4.14 (affected)0 to < 4.14 (unaffected · semver)5.4.297 through 5.4.* (unaffected · semver)5.10.241 through 5.10.* (unaffected · semver)5.15.190 through 5.15.* (unaffected · semver)6.1.138 through 6.1.* (unaffected · semver)6.6.90 through 6.6.* (unaffected · semver)6.12.28 through 6.12.* (unaffected · semver)6.14.6 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

10

Provider assertions

3

Linux · cna

sch_hfsc: make hfsc_qlen_notify() idempotent

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
eeae422607564cbc99c1c8238b9100ada77a35ca275afe675ffa3d9cdaa35036
Ingested
23 Sep 2026, 08:46:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected