CVE-2025-38323
📋 TL;DR
This CVE describes a use-after-free vulnerability in the Linux kernel's ATM (Asynchronous Transfer Mode) LAN Emulation (LANE) subsystem. The vulnerability occurs when an error path in lecd_attach() leaves a dangling pointer in dev_lec[], which can be accessed by other functions, potentially leading to kernel memory corruption. This affects Linux systems with ATM networking enabled, though ATM is a legacy technology rarely used in modern deployments.
💻 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 →⚠️ Risk & Real-World Impact
Worst Case
Local unprivileged user could trigger kernel memory corruption leading to system crash (DoS) or potentially arbitrary code execution with kernel privileges.
Likely Case
System crash or kernel panic resulting in denial of service, requiring system reboot.
If Mitigated
No impact if ATM networking is disabled or not compiled into the kernel.
🎯 Exploit Status
Exploitation requires local access and knowledge of triggering the specific error path. Found by syzbot fuzzer, suggesting it's triggerable but not necessarily weaponized.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Fixed in kernel commits: 17e156a94e94a906a570dbf9b48877956c60bef8, 18e8f0c4f826fb08c2d3825cdd6c57e24b207e0a, 64b378db28a967f7b271b055380c2360279aa424, a7a713dfb5f9477345450f27c7c0741864511192, d13a3824bfd2b4774b671a75cf766a16637a0e67
Vendor Advisory: https://git.kernel.org/stable/c/17e156a94e94a906a570dbf9b48877956c60bef8
Restart Required: Yes
Instructions:
1. Update Linux kernel to a version containing the fix commits. 2. Check your distribution's security advisories for backported fixes. 3. Reboot the system after kernel update.
🔧 Temporary Workarounds
Disable ATM networking
linuxRemove ATM kernel modules and disable ATM support to eliminate the attack surface
sudo modprobe -r lec
sudo modprobe -r atm
echo 'blacklist atm' | sudo tee /etc/modprobe.d/disable-atm.conf
echo 'blacklist lec' | sudo tee -a /etc/modprobe.d/disable-atm.conf
🧯 If You Can't Patch
- Disable ATM kernel modules if not needed (see workaround above)
- Restrict local user access to systems where ATM is required
🔍 How to Verify
Check if Vulnerable:
Check if ATM modules are loaded: lsmod | grep -E '^(lec|atm)' and check kernel version against patched versions
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version includes fix commits and ATM modules are either not loaded or updated
📡 Detection & Monitoring
Log Indicators:
- Kernel panic logs
- KASAN reports mentioning lecd_attach or lane_ioctl
- System crash/reboot events
Network Indicators:
- Unusual ATM/LANE network activity if ATM is enabled
SIEM Query:
EventID=41 OR (Source="Kernel" AND Message CONTAINS "KASAN" AND Message CONTAINS "lec")
🔗 References
- https://git.kernel.org/stable/c/17e156a94e94a906a570dbf9b48877956c60bef8
- https://git.kernel.org/stable/c/18e8f0c4f826fb08c2d3825cdd6c57e24b207e0a
- https://git.kernel.org/stable/c/64b378db28a967f7b271b055380c2360279aa424
- https://git.kernel.org/stable/c/a7a713dfb5f9477345450f27c7c0741864511192
- https://git.kernel.org/stable/c/d13a3824bfd2b4774b671a75cf766a16637a0e67
- https://git.kernel.org/stable/c/dffd03422ae6a459039c8602f410e6c0f4cbc6c8
- https://git.kernel.org/stable/c/e91274cc7ed88ab5bdc62d426067c82b0b118a0b
- https://git.kernel.org/stable/c/f4d80b16ecc4229f7e6345158ef34c36be323f0e
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html