CVE-2025-37861

7.8 HIGH

📋 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

Products:
  • Linux kernel with mpi3mr driver
Versions: Linux kernel versions containing vulnerable mpi3mr driver code (specific versions not specified in CVE, but patches available for stable branches)
Operating Systems: Linux
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems using Broadcom/Emulex SCSI controllers with the mpi3mr driver loaded.

📦 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.

🌐 Internet-Facing: LOW - Requires local access to trigger SCSI controller operations.
🏢 Internal Only: MEDIUM - Could be triggered by legitimate storage operations or malicious local users.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

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

linux

Prevent loading of vulnerable driver module

echo 'blacklist mpi3mr' >> /etc/modprobe.d/blacklist.conf
rmmod mpi3mr

Avoid SCSI controller resets

linux

Minimize 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"

🔗 References

📤 Share & Export