CVE-2025-37861
scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue
- State
- Published
- Severity
- 7.8 High
- Published
- May 9, 2025
- Updated
- Oct 30, 2026
- Reserved
- Apr 16, 2025
Description
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 'io_admin_reset_sync' 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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/e9efbd037b9002ce9dd012da612e857e98dfcb3e
- https://git.kernel.org/stable/c/31dad8d385953a886e57df70ab43ee25ba37797c
- https://git.kernel.org/stable/c/65ba18c84dbd03afe9b38c06c151239d97a09834
- https://git.kernel.org/stable/c/8d310d66e2b0f5f9f709764641647e8a3a4924fa
- https://git.kernel.org/stable/c/75b67dca4195e11ccf966a704787b2aa2754a457
- https://git.kernel.org/stable/c/f195fc060c738d303a21fae146dbf85e1595fb4c
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.