Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

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).

Exploitability

The vulnerability requires local access and low privileges to exploit. The attack complexity is considered low, with no user interaction required for exploitation. The vulnerability has not been reported as exploited in the wild (Red Hat).

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

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.137-1

Fixed

sid

linux: 6.12.27-1

Fixed

trixie

linux: 6.12.27-1

Fixed

Ubuntu

Fixed

bionic (esm-infra)

linux: 4.15.0-240.252

Fixed

bionic (fips-updates)

linux-fips: 4.15.0-1138.149

Fixed

bionic (fips)

linux-fips

Affected

devel

linux

Not Affected

focal

linux-azure-fde-5.15

Not Affected

focal (esm-infra)

linux: 5.4.0-220.240

Fixed

focal (fips-updates)

linux-fips: 5.4.0-1123.133

Fixed

focal (fips)

linux-fips

Affected

RHEL / CentOS

Fixed

RHEL 8

:baseos:kernel-0:4.18.0-553.77.1.el8_10.src

Fixed

RHEL 9

:appstream:kernel-0:5.14.0-70.142.1.el9_0.src

Fixed

RHEL 10

kernel-0:6.12.0-55.24.1.el10_0.src

Fixed

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-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-hwe-6.17
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia-6.14
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-7.0
NoYesSep 17, 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