CVE-2025-37861: scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue
In the Linux kernel, the following vulnerability has been resolved:
scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue
When the task management thread processes reply queues while the reset thread resets them, the task management thread accesses an invalid queue ID (0xFFFF), set by the reset thread, which points to unallocated memory, causing a crash.
Add flag 'ioadminresetsync' to synchronize access between the reset, I/O, and admin threads. Before a reset, the reset handler sets this flag to block I/O and admin processing threads. If any thread bypasses the initial check, the reset thread waits up to 10 seconds for processing to finish. If the wait exceeds 10 seconds, the controller is marked as unrecoverable.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-37861?
CVE-2025-37861 has been listed with a high severity due to potential crashes and denial of service risks.
How do I fix CVE-2025-37861?
To resolve CVE-2025-37861, upgrade your Linux kernel to the latest stable version where the vulnerability has been patched.
What systems are affected by CVE-2025-37861?
CVE-2025-37861 affects specific versions of the Linux kernel that utilize the SCSI MPI3MR driver.
What are the potential impacts of CVE-2025-37861?
The potential impacts of CVE-2025-37861 include system instability and the possibility of unexpected behavior during hardware resets.
Is there a workaround for CVE-2025-37861?
Currently, there are no recommended workarounds for CVE-2025-37861, thus updating the kernel is advised.