CVE-2025-38538
📋 TL;DR
This CVE describes a memory corruption vulnerability in the Linux kernel's nbpfaxi DMA engine driver. The flaw allows attackers to corrupt kernel memory by exploiting out-of-bounds array access in the probe() function, potentially leading to system crashes or privilege escalation. This affects all Linux systems using the vulnerable nbpfaxi driver.
💻 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 denial of service, or potential privilege escalation to root if combined with other vulnerabilities to achieve arbitrary code execution.
Likely Case
System instability, crashes, or denial of service when the vulnerable driver is loaded and accessed.
If Mitigated
Limited impact if the nbpfaxi driver is not loaded or not in use on the system.
🎯 Exploit Status
Requires ability to trigger the vulnerable probe() function, typically through device initialization. Local access needed.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Kernel versions containing the fixes from the provided git commits
Vendor Advisory: https://git.kernel.org/stable/c/122160289adf8ebf15060f1cbf6265b55a914948
Restart Required: Yes
Instructions:
1. Update to a patched kernel version from your distribution. 2. Reboot the system. 3. Verify the new kernel is running.
🔧 Temporary Workarounds
Disable nbpfaxi module
linuxPrevent loading of the vulnerable driver module
echo 'blacklist nbpfaxi' >> /etc/modprobe.d/blacklist.conf
rmmod nbpfaxi 2>/dev/null || true
Build kernel without nbpfaxi
linuxRecompile kernel without the vulnerable driver
make menuconfig (disable CONFIG_NBPFAXI)
make && make modules_install
🧯 If You Can't Patch
- Ensure the nbpfaxi driver is not loaded (check with lsmod)
- Restrict local user access to systems where driver might be loaded
🔍 How to Verify
Check if Vulnerable:
Check if nbpfaxi module is loaded: lsmod | grep nbpfaxi. If loaded and kernel version is unpatched, system is vulnerable.
Check Version:
uname -r
Verify Fix Applied:
Check kernel version is patched and nbpfaxi module either not loaded or updated version.
📡 Detection & Monitoring
Log Indicators:
- Kernel oops messages
- System crashes when DMA operations are performed
- Unexpected reboots
Network Indicators:
- None - this is a local vulnerability
SIEM Query:
search 'kernel: BUG:' or 'kernel: Oops:' in system logs
🔗 References
- https://git.kernel.org/stable/c/122160289adf8ebf15060f1cbf6265b55a914948
- https://git.kernel.org/stable/c/188c6ba1dd925849c5d94885c8bbdeb0b3dcf510
- https://git.kernel.org/stable/c/24861ef8b517a309a4225f2793be0cd8fa0bec9e
- https://git.kernel.org/stable/c/4bb016438335ec02b01f96bf1367378c2bfe03e5
- https://git.kernel.org/stable/c/84fff8e6f11b9af1407e273995b5257d99ff0cff
- https://git.kernel.org/stable/c/aec396b4f736f3f8d2c28a9cd2924a4ada57ae87
- https://git.kernel.org/stable/c/d6bbd67ab5de37a74ac85c83c5a26664b62034dd
- https://git.kernel.org/stable/c/f366b36c5e3ce29c9a3c8eed3d1631908e4fc8bb
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html