CVE-2025-38350
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38350 is a vulnerability discovered in Red Hat Enterprise Linux's CBS Packet Scheduling system. The vulnerability was identified on July 19, 2025, and affects the Linux kernel's network scheduling functionality (NVD).

Technical details

The vulnerability exists within the handling of hfscclass objects in the Linux kernel's network scheduler. The specific flaw stems from the lack of validation for object existence prior to performing operations, which can lead to a use-after-free condition. The issue occurs when certain classful qdiscs invoke their classes' dequeue handler during an enqueue operation, potentially emptying the child qdisc and making an in-flight class passive via qlennotify(). The vulnerability has been assigned a CVSS v3.0 score of 8.8 (AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) (ZDI).

Impact

An attacker who successfully exploits this vulnerability can escalate privileges and execute arbitrary code in the context of the kernel. The attacker must first obtain the ability to execute low-privileged code on the target system (ZDI).

Mitigation and workarounds

Red Hat has issued an update to correct this vulnerability. The fix ensures that qdisctreereducebacklog always calls qlennotify when the child qdisc is empty, addressing the use-after-free condition. The patch has been integrated into the Linux kernel (ZDI).

Community reactions

The vulnerability was discovered by Gerrard Tai of STAR Labs SG Pte. Ltd. and was disclosed through the Pwn2Own competition. The disclosure timeline indicates responsible handling, with the vulnerability being reported to the vendor on May 29, 2025, and a coordinated public release on July 24, 2025 (ZDI).

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-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-riscv
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-azure-5.4
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-debug-uki-virt-addons
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • rtla
NoYesDec 09, 2025

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