CVE-2025-37861
📋 TL;DR
A race condition vulnerability in the Linux kernel's mpi3mr SCSI driver allows concurrent access between reset and task management threads, leading to invalid memory access. This can cause kernel crashes or system instability. Affects Linux systems using the mpi3mr driver for Broadcom/Emulex SCSI controllers.
💻 Affected Systems
- Linux kernel with mpi3mr 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 →⚠️ Risk & Real-World Impact
Worst Case
Kernel panic leading to system crash and denial of service, potentially causing data corruption or loss in storage systems.
Likely Case
System instability or crash when SCSI controller reset operations coincide with task management operations.
If Mitigated
Minimal impact with proper synchronization implemented via the patch.
🎯 Exploit Status
Requires local access and ability to trigger SCSI controller reset operations concurrently with task management operations.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Patches available in Linux kernel stable branches (see references for specific commits)
Vendor Advisory: https://git.kernel.org/stable/c/65ba18c84dbd03afe9b38c06c151239d97a09834
Restart Required: Yes
Instructions:
1. Update Linux kernel to patched version. 2. Rebuild kernel if compiling from source. 3. Reboot system to load new kernel.
🔧 Temporary Workarounds
Disable mpi3mr driver
linuxPrevent loading of vulnerable driver module
echo 'blacklist mpi3mr' >> /etc/modprobe.d/blacklist.conf
rmmod mpi3mr
Avoid SCSI controller resets
linuxMinimize operations that could trigger controller resets
🧯 If You Can't Patch
- Restrict local access to prevent malicious users from triggering the race condition
- Monitor system logs for kernel panic events related to mpi3mr driver
🔍 How to Verify
Check if Vulnerable:
Check if mpi3mr driver is loaded: lsmod | grep mpi3mr
Check Version:
uname -r
Verify Fix Applied:
Check kernel version after update and verify mpi3mr driver loads without issues during SCSI operations
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages
- Oops messages with mpi3mr references
- System crash logs
Network Indicators:
- None - local vulnerability only
SIEM Query:
source="kernel" AND ("panic" OR "Oops") AND "mpi3mr"