Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-37797 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-416Use After Free[email protected]

Affected Products

ProductVersions
linux linux kernel
>= 4.14.1, < 5.4.293
>= 5.5, < 5.10.237
>= 5.11, < 5.15.181
>= 5.16, < 6.1.136
>= 6.2, < 6.6.89

CPE

  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:4.14:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:4.14:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:4.14:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:4.14:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:4.14:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:4.14:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:4.14:rc7:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:4.14:rc8:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*

Remediation

  • No remediation found in references.
debian debian linux
11.0

CPE

  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-37797
NVD Published Date:
May 2, 2025
NVD Last Modified:
Jul 30, 2026
Source:
kernel.org