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-37797

published high CVSS 3.1 · 7.8

net_sched: hfsc: Fix a UAF vulnerability in class handling

Published
02 May 2025, 14:16:01 UTC
Updated
05 Aug 2026, 11:57:36 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < 28b09a067831f7317c3841812276022d6c940677 · 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < 39b9095dd3b55d9b2743df038c32138efa34a9de · 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < fcc8ede663569c704fb00a702973bd6c00373283 · 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < 20d584a33e480ae80d105f43e0e7b56784da41b9 · 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < 3aa852e3605000d5c47035c3fc3a986d14ccfa9f · 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < 86cd4641c713455a4f1c8e54c370c598c2b1cee0 · 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < bb583c88d23b72d8d16453d24856c99bd93dadf5 · 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < 3df275ef0a6ae181e8428a6589ef5d5231e58b5c · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.14 (affected) · 0 to < 4.14 (unaffected · semver) · 5.4.293 through 5.4.* (unaffected · semver) · 5.10.237 through 5.10.* (unaffected · semver) · 5.15.181 through 5.15.* (unaffected · semver) · 6.1.136 through 6.1.* (unaffected · semver) · 6.6.89 through 6.6.* (unaffected · semver) · 6.12.26 through 6.12.* (unaffected · semver) · 6.14.5 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 evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2025-094 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-073 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-102 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
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
AlmaLinux 8 kernel Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.77.1.rt7.418.el8_10 ALSA-2025:16920
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.77.1.rt7.418.el8_10 ALSA-2025:16920
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.77.1.rt7.418.el8_10 ALSA-2025:16920
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.77.1.rt7.418.el8_10 ALSA-2025:16920
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.77.1.rt7.418.el8_10 ALSA-2025:16920
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.77.1.rt7.418.el8_10 ALSA-2025:16920
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.77.1.rt7.418.el8_10 ALSA-2025:16920
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.77.1.rt7.418.el8_10 ALSA-2025:16920
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.77.1.rt7.418.el8_10 ALSA-2025:16920
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.77.1.rt7.418.el8_10 ALSA-2025:16920
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 perf Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.77.1.el8_10 ALSA-2025:16919
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 7 bpftoolx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernelx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-abi-whitelistsx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-debugx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-debug-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-develx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063
Oracle Linux 7 kernel-docx86_64 Advisory build 0:3.10.0-1160.119.1.0.14.el7 ELSA-2025-21063

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

Description

In the Linux kernel, the following vulnerability has been resolved: net_sched: hfsc: Fix a UAF vulnerability in class handling This patch fixes a Use-After-Free vulnerability in the HFSC qdisc class handling. The issue occurs due to a time-of-check/time-of-use condition in hfsc_change_class() when working with certain child qdiscs like netem or codel. The vulnerability works as follows: 1. hfsc_change_class() checks if a class has packets (q.qlen != 0) 2. It then calls qdisc_peek_len(), which for certain qdiscs (e.g., codel, netem) might drop packets and empty the queue 3. The code continues assuming the queue is still non-empty, adding the class to vttree 4. This breaks HFSC scheduler assumptions that only non-empty classes are in vttree 5. Later, when the class is destroyed, this can lead to a Use-After-Free The fix adds a second queue length check after qdisc_peek_len() to verify the queue wasn't emptied.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

145

Showing the first 100 linked advisory records.

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 entire attack sequence (create hfsc qdisc, attach a codel/netem child, `tc class change`, then `tc class del`) is driven through rtnetlink RTM_NEWTCLASS/RTM_DELTCLASS messages, which require local system access. Per kernel CNA guidance, tc/netlink qdisc bugs are Local. AC:L - This is a deterministic time-of-check/time-of-use flaw inside a single netlink operation, not a thread race — the attacker picks the child qdisc (codel/netem) and its parameters so the peek is guaranteed to drop the packet and empty the queue. No condition outside the attacker's control is involved, and a reliable reproducer existed. PR:L - The tc class paths only check `netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)`, which an unprivileged user satisfies inside a new user+net namespace (`unshare -Urn`), where they can create a dummy/veth device, build the hfsc hierarchy and generate the traffic. Per guidance, tc/qdisc reachable via user namespaces is Low, not High. UI:N - The attacker performs every step — qdisc/class configuration, packet generation, class change and class deletion — with no action by any other user. Subsequent dequeue on the attacker's own device triggers the freed-object access. S:U - The corruption and its consequences are confined to the kernel's own memory and privilege domain; there is no crossing of a VM, IOMMU, or other security-authority boundary. Standard kernel-local privilege escalation is Unchanged. C:H - The freed `hfsc_class` remains linked in the parent's vt_tree/eltree, so `vttree_firstfit()`/`eltree_get_mindl()` read `cl_f`, `cl_vt`, `cl_parent` and `cl->qdisc` out of reclaimed slab memory, giving an attacker who sprays the slot a controlled read primitive and kernel memory disclosure. I:H - The dangling rb_node yields `rb_erase()`/`rb_insert_color()` pointer writes plus the direct `cl->cl_parent->cl_cvtmin = cl->cl_vt` write through freed memory, and `qdisc_dequeue_peeked()` makes an indirect call through `cl->qdisc->ops->dequeue` read from the freed object — a full write/control-flow-hijack primitive for privilege escalation. A:H - Even without successful exploitation, traversing and erasing rb-tree nodes inside a kfree()d `hfsc_class` reliably corrupts the scheduler tree and panics or oopses the kernel, and the attacker can repeat it at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < 28b09a067831f7317c3841812276022d6c940677 (affected · git)21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < 39b9095dd3b55d9b2743df038c32138efa34a9de (affected · git)21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < fcc8ede663569c704fb00a702973bd6c00373283 (affected · git)21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < 20d584a33e480ae80d105f43e0e7b56784da41b9 (affected · git)21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < 3aa852e3605000d5c47035c3fc3a986d14ccfa9f (affected · git)21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < 86cd4641c713455a4f1c8e54c370c598c2b1cee0 (affected · git)21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < bb583c88d23b72d8d16453d24856c99bd93dadf5 (affected · git)21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to < 3df275ef0a6ae181e8428a6589ef5d5231e58b5c (affected · git)Default: unaffected Linux · cna
Linux Linux 4.14 (affected)0 to < 4.14 (unaffected · semver)5.4.293 through 5.4.* (unaffected · semver)5.10.237 through 5.10.* (unaffected · semver)5.15.181 through 5.15.* (unaffected · semver)6.1.136 through 6.1.* (unaffected · semver)6.6.89 through 6.6.* (unaffected · semver)6.12.26 through 6.12.* (unaffected · semver)6.14.5 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

net_sched: hfsc: Fix a UAF vulnerability in class handling

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
466977486a7d29961b678230c8a673d9d7a0b0fc768af0663923689c83a00eb3
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