CVE-2025-38350
📋 TL;DR
A use-after-free vulnerability in the Linux kernel's network traffic control subsystem allows local attackers to potentially crash the system or execute arbitrary code. This affects systems using classful queueing disciplines (qdiscs) like HFSC, DRR, or others with specific configurations. Attackers need local access to exploit this vulnerability.
💻 Affected Systems
- Linux kernel
📦 What is this software?
Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →⚠️ Risk & Real-World Impact
Worst Case
Kernel panic leading to system crash or potential privilege escalation to kernel-level code execution, resulting in complete system compromise.
Likely Case
System crash or kernel panic causing denial of service, requiring system reboot to restore functionality.
If Mitigated
Limited impact if proper access controls prevent local users from manipulating network traffic control settings.
🎯 Exploit Status
The CVE description includes a detailed reproducer using tc commands and socat. Exploitation requires local access and knowledge of traffic control configuration.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Kernel versions containing the fix commits: 103406b38c600fec1fe375a77b27d87e314aea09, 3b290923ad2b23596208c1e29520badef4356a43, 7874c9c132e906a52a187d045995b115973c93fb, a44acdd9e84a211989ff4b9b92bf3545d8456ad5, a553afd91f55ff39b1e8a1c4989a29394c9e0472
Vendor Advisory: https://git.kernel.org/stable/c/103406b38c600fec1fe375a77b27d87e314aea09
Restart Required: Yes
Instructions:
1. Update to a kernel version containing the fix commits. 2. Check your distribution's security advisories for specific patched kernel versions. 3. Reboot the system after kernel update.
🔧 Temporary Workarounds
Restrict tc command access
linuxLimit access to traffic control configuration tools to prevent unauthorized users from creating vulnerable qdisc configurations.
chmod 750 /sbin/tc
setfacl -m u:root:rwx /sbin/tc
Remove tc from non-admin user PATH
Avoid vulnerable qdisc configurations
linuxAvoid using the specific multi-level qdisc configurations shown in the reproducer, particularly combinations involving HFSC, DRR, netem, and blackhole.
🧯 If You Can't Patch
- Implement strict access controls to prevent local users from executing tc commands or modifying network traffic control settings.
- Monitor system logs for kernel panics or crashes and have incident response procedures ready for potential denial of service events.
🔍 How to Verify
Check if Vulnerable:
Check kernel version and compare with distribution security advisories. Examine if system uses complex traffic control configurations with multiple qdisc levels.
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version includes the fix commits. Test the reproducer commands to ensure they no longer cause system instability.
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages in /var/log/messages or dmesg
- System crash reports
- Unexpected system reboots
Network Indicators:
- Unusual traffic control configuration changes
- Multiple tc command executions by non-admin users
SIEM Query:
source="kernel" AND ("panic" OR "Oops" OR "use-after-free") OR process="tc" AND user!="root"
🔗 References
- https://git.kernel.org/stable/c/103406b38c600fec1fe375a77b27d87e314aea09
- https://git.kernel.org/stable/c/3b290923ad2b23596208c1e29520badef4356a43
- https://git.kernel.org/stable/c/7874c9c132e906a52a187d045995b115973c93fb
- https://git.kernel.org/stable/c/a44acdd9e84a211989ff4b9b92bf3545d8456ad5
- https://git.kernel.org/stable/c/a553afd91f55ff39b1e8a1c4989a29394c9e0472
- https://git.kernel.org/stable/c/e269f29e9395527bc00c213c6b15da04ebb35070
- https://git.kernel.org/stable/c/e9921b57dca05ac5f4fa1fa8e993d4f0ee52e2b7
- https://git.kernel.org/stable/c/f680a4643c6f71e758d8fe0431a958e9a6a4f59d
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html