CVE-2025-37797
Linux Kernel vulnerability analysis and mitigation

Overview

A Use-After-Free (UAF) vulnerability was discovered in the Linux kernel's HFSC qdisc class handling mechanism, identified as CVE-2025-37797. The vulnerability was disclosed on May 02, 2025, affecting the Linux kernel's network scheduling component, specifically the Hierarchical Fair Service Curve (HFSC) queuing discipline (NVD, Wiz).

Technical details

The vulnerability stems from a time-of-check/time-of-use (TOCTOU) condition in the hfsc_change_class() function when interacting with certain child qdiscs like netem or codel. The vulnerability occurs in a specific sequence where hfsc_change_class() checks if a class has packets, then calls qdisc_peek_len(), which might drop packets and empty the queue. The code continues assuming the queue is still non-empty, adding the class to vttree, which breaks HFSC scheduler assumptions. According to Red Hat's assessment, this vulnerability has been assigned a CVSS 3.1 Base Score of 5.5 (Red Hat).

Impact

When exploited, this vulnerability can lead to a Use-After-Free condition when the class is destroyed, potentially causing system instability or crashes. The vulnerability affects multiple Linux distributions and versions, including various releases of Debian's Linux packages (Wiz).

Mitigation and workarounds

A fix has been implemented that adds a second queue length check after qdisc_peek_len() to verify the queue wasn't emptied. This ensures that the HFSC scheduler's assumptions about non-empty classes in vttree remain valid (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-fips
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-oracle-6.8
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-6.8
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management