Live threats

All CVEs / Linux

CVE-2025-37797Linux Kernel

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
—
Auth required
Yes
Published
May 2, 2025
Updated
Jul 30, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-416
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel≥ 4.14.1 < 5.4.293
linuxlinux_kernel≥ 5.5 < 5.10.237
linuxlinux_kernel≥ 5.11 < 5.15.181
linuxlinux_kernel≥ 5.16 < 6.1.136
linuxlinux_kernel≥ 6.2 < 6.6.89
linuxlinux_kernel≥ 6.7 < 6.12.26
linuxlinux_kernel≥ 6.13 < 6.14.5
linuxlinux_kernel4.14
linuxlinux_kernel4.14
linuxlinux_kernel4.14
linuxlinux_kernel4.14
linuxlinux_kernel4.14
linuxlinux_kernel4.14
linuxlinux_kernel4.14
linuxlinux_kernel4.14
linuxlinux_kernel6.15
linuxlinux_kernel6.15
linuxlinux_kernel6.15
debiandebian_linux11.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.