CVE-2025-37765
📋 TL;DR
A use-after-free vulnerability in the Linux kernel's Nouveau DRM driver allows local attackers to cause a kernel panic (denial of service) by triggering a race condition during buffer object cleanup. This affects systems using the open-source Nouveau graphics driver for NVIDIA GPUs with kernel versions containing the vulnerable code. The vulnerability requires local access to exploit.
💻 Affected Systems
- Linux kernel with Nouveau DRM 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 →⚠️ Risk & Real-World Impact
Worst Case
Kernel panic leading to system crash and denial of service, potentially causing data loss or service disruption.
Likely Case
Local denial of service through kernel panic when specific graphics operations are performed.
If Mitigated
No impact if patched or if Nouveau driver is not in use.
🎯 Exploit Status
Exploitation requires local access and triggering specific race conditions during graphics buffer cleanup operations.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Fixed in kernel stable releases via commits: 12b038d521c75e3521522503becf3bc162628469, 31e94c7989572f96926673614a3b958915a13ca9, 47761deabb69a5df0c2c4ec400d80bb3e072bd2e, 6b95947ee780f4e1fb26413a1437d05bcb99712b, 6e2c805996a49998d31ac522beb1534ca417e761
Vendor Advisory: https://git.kernel.org/stable/c/12b038d521c75e3521522503becf3bc162628469
Restart Required: Yes
Instructions:
1. Update Linux kernel to version containing the fix. 2. Check distribution-specific security advisories for backported patches. 3. Reboot system after kernel update.
🔧 Temporary Workarounds
Disable Nouveau driver
linuxBlacklist Nouveau kernel module to prevent loading
echo 'blacklist nouveau' >> /etc/modprobe.d/blacklist-nouveau.conf
update-initramfs -u
reboot
Use proprietary NVIDIA driver
linuxReplace Nouveau with official NVIDIA proprietary driver
apt-get install nvidia-driver-XXX # Debian/Ubuntu
yum install nvidia-driver # RHEL/CentOS
🧯 If You Can't Patch
- Restrict local user access to systems using Nouveau driver
- Monitor kernel logs for crash signatures related to ttm_bo_delayed_delete
🔍 How to Verify
Check if Vulnerable:
Check kernel version and if Nouveau module is loaded: lsmod | grep nouveau && uname -r
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version is updated beyond vulnerable commits and check dmesg for absence of ttm_bo_delayed_delete crashes
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages with ttm_bo_delayed_delete in call trace
- General protection fault errors referencing dma_resv_iter_first_unlocked
Network Indicators:
- None - local exploitation only
SIEM Query:
kernel.panic OR "general protection fault" AND "ttm_bo_delayed_delete"
🔗 References
- https://git.kernel.org/stable/c/12b038d521c75e3521522503becf3bc162628469
- https://git.kernel.org/stable/c/31e94c7989572f96926673614a3b958915a13ca9
- https://git.kernel.org/stable/c/47761deabb69a5df0c2c4ec400d80bb3e072bd2e
- https://git.kernel.org/stable/c/6b95947ee780f4e1fb26413a1437d05bcb99712b
- https://git.kernel.org/stable/c/6e2c805996a49998d31ac522beb1534ca417e761
- https://git.kernel.org/stable/c/706868a1a1072cffd8bd63f7e161d79141099849
- https://git.kernel.org/stable/c/8ec0fbb28d049273bfd4f1e7a5ae4c74884beed3
- https://git.kernel.org/stable/c/ada78110b2d3ec88b398a49703bd336d4cee7a08
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html