CVE-2025-37861

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37861
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37861.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37861
Downstream
Published
2025-05-09T06:42:07.245Z
Modified
2025-11-28T02:34:52.252206Z
Summary
scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue
Details

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 'ioadminreset_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37861.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df
Fixed
65ba18c84dbd03afe9b38c06c151239d97a09834
Fixed
8d310d66e2b0f5f9f709764641647e8a3a4924fa
Fixed
75b67dca4195e11ccf966a704787b2aa2754a457
Fixed
f195fc060c738d303a21fae146dbf85e1595fb4c

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.14.0
Fixed
6.12.24
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.12
Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.14.3