CVE-2025-37746
📋 TL;DR
A Linux kernel vulnerability in the perf/dwc_pcie driver causes duplicate pci_dev devices during platform_device_register, leading to memory corruption. This affects systems using the affected kernel versions with the perf/dwc_pcie driver loaded. The corruption can cause system instability or crashes.
💻 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 →⚠️ Risk & Real-World Impact
Worst Case
Kernel panic or system crash due to list corruption, potentially leading to denial of service or data loss.
Likely Case
System instability, kernel crashes, or performance monitoring failures in systems using the affected driver.
If Mitigated
Minimal impact if the driver is not loaded or system is patched.
🎯 Exploit Status
Exploitation requires triggering the specific driver functionality and would likely cause system instability rather than privilege escalation.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Patches available in stable kernel trees (commits 7f35b429802a8065aa61e2a3f567089649f4d98e and a71c6fc87b2b9905dc2e38887fe4122287216be9)
Vendor Advisory: https://git.kernel.org/stable/c/7f35b429802a8065aa61e2a3f567089649f4d98e
Restart Required: Yes
Instructions:
1. Update to a patched kernel version from your distribution vendor. 2. Reboot the system to load the new kernel.
🔧 Temporary Workarounds
Disable perf/dwc_pcie driver
linuxPrevent loading of the vulnerable driver module
echo 'blacklist dwc_pcie' >> /etc/modprobe.d/blacklist.conf
rmmod dwc_pcie
🧯 If You Can't Patch
- Ensure the dwc_pcie driver is not loaded on affected systems
- Monitor system logs for kernel panics or instability related to PCI devices
🔍 How to Verify
Check if Vulnerable:
Check if dwc_pcie driver is loaded: lsmod | grep dwc_pcie
Check Version:
uname -r
Verify Fix Applied:
Check kernel version against patched versions from your distribution vendor
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages
- PCI device errors in dmesg
- System instability/crashes
Network Indicators:
- None - this is a local driver issue
SIEM Query:
Search for kernel panic events or PCI-related errors in system logs