CVE-2025-38350: Use-after-free in Linux kernel traffic-control scheduling
- Vendors
- Debian ProjectLinux
CVE-2025-38350 is a use-after-free vulnerability in the Linux kernel networking scheduler. Certain classful queuing disciplines can invoke a class dequeue handler during enqueue processing, unexpectedly emptying a child qdisc and marking an in-flight class passive through qlen_notify(). Subsequent class reactivation and incomplete propagation of empty-child notifications can leave stale class pointers that are accessed after deletion. An earlier HFSC backlog-accounting fix was incomplete because higher-level parent qdiscs could encounter the same condition. A reproducing configuration uses nested DRR, HFSC, netem, and blackhole qdiscs. The corrective change ensures qdisc_tree_reduce_backlog() always invokes qlen_notify() when the child qdisc is empty.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Triggering the flaw causes use-after-free access in kernel traffic-control scheduling, potentially resulting in memory corruption, a kernel crash, and denial of service. Successful exploitation may also permit local privilege escalation and compromise system confidentiality and integrity. The vulnerability is rated High with a CVSS base score of 7.8; reliable privilege escalation is not established by the reproducer alone.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific workaround is established. Until patched, restrict untrusted local access and prevent untrusted users or workloads from configuring traffic-control qdiscs, including by limiting CAP_NET_ADMIN in relevant network namespaces. Avoid exposing affected nested qdisc configurations to untrusted control. These measures reduce access to the trigger but do not correct the kernel defect.
Remediation
Patch, then assume compromise.
Upgrade to the latest supported kernel containing the fix and its prerequisite idempotent qlen_notify() handlers, then reboot into the updated kernel. Upstream fixed releases include 5.4.296, 5.10.240, 5.15.187, 6.1.144, 6.6.97, 6.12.37, 6.15.6, and 6.16-rc5. Prefer current supported releases or distribution-provided updates rather than independently cherry-picking the fix. Example vendor-fixed releases include RHEL 9.4 kernel 5.14.0-427.85.1.el9_4, RHEL 9.2 kernel 5.14.0-284.134.1.el9_2, and Google Container-Optimized OS sys-kernel/csql-kernel-6_1 version 18244.382.65. Select the update appropriate to the deployed product and support channel.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-38350 exploited in the wild?
- Yes. As of Oct 25, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2025-38350?
- As of Oct 25, 2026, Mallory has found no public exploit for CVE-2025-38350.
- Is there a patch for CVE-2025-38350?
- Upgrade to the latest supported kernel containing the fix and its prerequisite idempotent qlen_notify() handlers, then reboot into the updated kernel. Upstream fixed releases include 5.4.296, 5.10.240, 5.15.187, 6.1.144, 6.6.97, 6.12.37, 6.15.6, and 6.16-rc5.
- What products are affected by CVE-2025-38350?
- Linux Kernel and Debian Project Debian Linux.
- How severe is CVE-2025-38350?
- CVE-2025-38350 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.31% (16th percentile) as of Oct 25, 2026.
Recent activity
48 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.