UAF Vulnerability in Linux Kernel's HFSC Class with Netem Child Qdisc

linux Updated 02 Oct 2025

Summary

16/05/2025
N/A
No i
Unrated
Not published

CVE-2025-37890: In the Linux kernel, the following vulnerability has been resolved: net_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc As described in Gerrard's report [1], we have a UAF case when an hfsc class... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware and software interaction. It supports a wide range of functionalities, including process management, memory management, and networking. This vulnerability specifically affects the HFSC (Hierarchical Fair Service Curve) class when it has a netem (network emulator) child queuing discipline, leading to potential security risks.

Vulnerability Detail

In the Linux kernel, a use-after-free (UAF) vulnerability has been identified in the HFSC class when it is used with a netem child qdisc. The issue arises because the HFSC class incorrectly assumes that checking the queue length of the child qdisc guarantees that the class has not been inserted into the virtual tree structures. This assumption is flawed, particularly in cases where netem duplicates exist, potentially leading to memory corruption and exploitation by attackers.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch by updating the Linux package to mitigate the risk.

Conclusion

The UAF vulnerability in the Linux kernel's HFSC class with a netem child qdisc poses significant security risks. Users are strongly advised to update their Linux packages to the latest versions to mitigate these risks. Regular monitoring using tools like Vulert can also help in identifying vulnerabilities in open-source software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a memory location after it has been freed, which can lead to unpredictable behavior and security risks.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, Vulert can help identify if your application is affected.

Exploitation of this vulnerability could lead to memory corruption, allowing attackers to execute arbitrary code or crash the system.

The vulnerability affects multiple versions of the Linux kernel across Debian 11, 12, and 13. It is crucial to update to the latest patched version.

Detailed information can be found in the Linux kernel mailing list archives and security advisories related to the specific CVE.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback