CVE-2025-38245
📋 TL;DR
A race condition vulnerability in the Linux kernel's ATM subsystem allows concurrent device registration and deregistration to cause a kernel warning. This affects systems using ATM networking with the atmtcp driver. The vulnerability can lead to system instability or denial of service.
💻 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 →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 or system crash due to double registration of procfs entries, causing denial of service.
Likely Case
Kernel warning messages in system logs and potential system instability during ATM device operations.
If Mitigated
Minor performance impact from proper mutex handling with no security compromise.
🎯 Exploit Status
Requires local access and ability to create/remove ATM devices. Race condition timing makes exploitation difficult.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Kernel versions with commits: 26248d5d68c865b888d632162abbf8130645622c, 2a8dcee649d12f69713f2589171a1caf6d4fa439, 4bb1bb438134d9ee6b97cc07289dd7c569092eec, 6922f1a048c090f10704bbef4a3a1e81932d2e0a, a433791aeaea6e84df709e0b9584b9bbe040cd1c
Vendor Advisory: https://git.kernel.org/stable/c/26248d5d68c865b888d632162abbf8130645622c
Restart Required: Yes
Instructions:
1. Update Linux kernel to patched version from your distribution. 2. Reboot system to load new kernel. 3. Verify ATM subsystem is not needed or disable if unused.
🔧 Temporary Workarounds
Disable ATM subsystem
linuxRemove ATM kernel module if not required for system functionality
sudo rmmod atm
sudo modprobe -r atm
Blacklist atmtcp driver
linuxPrevent loading of vulnerable atmtcp driver
echo 'blacklist atmtcp' | sudo tee /etc/modprobe.d/blacklist-atmtcp.conf
🧯 If You Can't Patch
- Disable ATM networking functionality entirely
- Implement strict access controls to prevent unauthorized users from creating ATM devices
🔍 How to Verify
Check if Vulnerable:
Check if ATM subsystem is loaded: lsmod | grep atm. Check kernel version against patched versions.
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version includes fix commits. Test ATM device creation/removal operations.
📡 Detection & Monitoring
Log Indicators:
- Kernel warning messages containing 'proc_dir_entry already registered' or 'atm/atmtcp'
Network Indicators:
- Unusual ATM device creation patterns
SIEM Query:
source="kernel" AND "proc_dir_entry" AND "already registered"
🔗 References
- https://git.kernel.org/stable/c/26248d5d68c865b888d632162abbf8130645622c
- https://git.kernel.org/stable/c/2a8dcee649d12f69713f2589171a1caf6d4fa439
- https://git.kernel.org/stable/c/4bb1bb438134d9ee6b97cc07289dd7c569092eec
- https://git.kernel.org/stable/c/6922f1a048c090f10704bbef4a3a1e81932d2e0a
- https://git.kernel.org/stable/c/a433791aeaea6e84df709e0b9584b9bbe040cd1c
- https://git.kernel.org/stable/c/ae539d963a17443ec54cba8a767e4ffa318264f4
- https://git.kernel.org/stable/c/b2e40fcfe1575faaa548f87614006d3fe44c779e
- https://git.kernel.org/stable/c/cabed6ba92a9a8c09da02a3f20e32ecd80989896
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html