CVE-2025-71162
📋 TL;DR
A use-after-free vulnerability in the Linux kernel's Tegra ADMA driver allows memory corruption when audio streams terminate during XRUN conditions. This affects Linux systems using NVIDIA Tegra hardware with the ADMA driver loaded. The vulnerability can lead to system crashes or potential privilege escalation.
💻 Affected Systems
- Linux kernel with tegra-adma driver
📦 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 →⚠️ Risk & Real-World Impact
Worst Case
Kernel memory corruption leading to privilege escalation, system takeover, or persistent compromise.
Likely Case
System crash or kernel panic causing denial of service and potential data loss.
If Mitigated
Minor performance impact from proper synchronization with no security risk.
🎯 Exploit Status
Requires ability to trigger audio operations and cause XRUN conditions. Race condition makes exploitation timing-sensitive.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Kernel versions containing commits 2efd07a7c36949e6fa36a69183df24d368bf9e96 or later fixes
Vendor Advisory: https://git.kernel.org/stable/c/2efd07a7c36949e6fa36a69183df24d368bf9e96
Restart Required: Yes
Instructions:
1. Update Linux kernel to version containing the fix commits. 2. For distributions: Use package manager (apt/yum/dnf) to update kernel package. 3. Reboot system to load new kernel.
🔧 Temporary Workarounds
Disable tegra-adma module
linuxPrevent loading of vulnerable driver if not required
echo 'blacklist tegra-adma' >> /etc/modprobe.d/blacklist.conf
rmmod tegra-adma
Avoid audio XRUN conditions
linuxConfigure audio systems to prevent underrun/overrun conditions
# Configure audio buffer sizes appropriately for your application
🧯 If You Can't Patch
- Isolate systems using tegra-adma driver from untrusted users
- Monitor for kernel panics or crashes related to DMA operations
🔍 How to Verify
Check if Vulnerable:
Check if tegra-adma module is loaded: lsmod | grep tegra_adma AND check kernel version against patched versions
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version includes fix commits and tegra-adma module functions without crashes during audio termination
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages
- KASAN use-after-free reports for vchan_complete
- Audio subsystem crashes
Network Indicators:
- None - local vulnerability
SIEM Query:
event_source="kernel" AND (message="KASAN: use-after-free" OR message="BUG:" AND message:"tegra-adma" OR message:"vchan_complete")
🔗 References
- https://git.kernel.org/stable/c/2efd07a7c36949e6fa36a69183df24d368bf9e96
- https://git.kernel.org/stable/c/59cb421b0902fbef2b9512ae8ba198a20f26b41f
- https://git.kernel.org/stable/c/5f8d1d66a952d0396671e1f21ff8127a4d14fb4e
- https://git.kernel.org/stable/c/76992310f80776b4d1f7f8915f59b92883a3e44c
- https://git.kernel.org/stable/c/ae3eed72de682ddbba507ed2d6b848c21a6b721e
- https://git.kernel.org/stable/c/be655c3736b3546f39bc8116ffbf2a3b6cac96c4
- https://git.kernel.org/stable/c/cb2c9c4bb1322cc3c9984ad17db8cdd2663879ca