# CVE-2025-37861: scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-05-09T06:42:07.245Z
- **Modified:** 2026-10-30T13:17:58.690Z

## Who should check

- Anyone running Linux \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< e9efbd037b9002ce9dd012da612e857e98dfcb3e; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< 31dad8d385953a886e57df70ab43ee25ba37797c; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< 65ba18c84dbd03afe9b38c06c151239d97a09834; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< 8d310d66e2b0f5f9f709764641647e8a3a4924fa; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< 75b67dca4195e11ccf966a704787b2aa2754a457; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< f195fc060c738d303a21fae146dbf85e1595fb4c
- Anyone running Linux 5.14

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

## Affected and fixed versions

- Linux: \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< e9efbd037b9002ce9dd012da612e857e98dfcb3e; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< 31dad8d385953a886e57df70ab43ee25ba37797c; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< 65ba18c84dbd03afe9b38c06c151239d97a09834; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< 8d310d66e2b0f5f9f709764641647e8a3a4924fa; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< 75b67dca4195e11ccf966a704787b2aa2754a457; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< f195fc060c738d303a21fae146dbf85e1595fb4c (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-37861. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37861.md
Affected: Linux >= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, < e9efbd037b9002ce9dd012da612e857e98dfcb3e; >= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, < 31dad8d385953a886e57df70ab43ee25ba37797c; >= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, < 65ba18c84dbd03afe9b38c06c151239d97a09834; >= c4f7ac64616ee513f9ac4ae…
Fixed in: Linux 31dad8d385953a886e57df70ab43ee25ba37797c, Linux 65ba18c84dbd03afe9b38c06c151239d97a09834, Linux 8d310d66e2b0f5f9f709764641647e8a3a4924fa, Linux 75b67dca4195e11ccf966a704787b2aa2754a457

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-37861 being exploited?

There is no confirmed exploitation: CVE-2025-37861 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-37861?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-37861?

Linux \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< e9efbd037b9002ce9dd012da612e857e98dfcb3e; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< 31dad8d385953a886e57df70ab43ee25ba37797c; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< 65ba18c84dbd03afe9b38c06c151239d97a09834; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< 8d310d66e2b0f5f9f709764641647e8a3a4924fa; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< 75b67dca4195e11ccf966a704787b2aa2754a457; \>= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df, \< f195fc060c738d303a21fae146dbf85e1595fb4c; Linux 5.14.

### Is there a fix for CVE-2025-37861?

Yes. Fixed in Linux 31dad8d385953a886e57df70ab43ee25ba37797c, Linux 65ba18c84dbd03afe9b38c06c151239d97a09834, Linux 8d310d66e2b0f5f9f709764641647e8a3a4924fa, Linux 75b67dca4195e11ccf966a704787b2aa2754a457. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-37861?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/65ba18c84dbd03afe9b38c06c151239d97a09834>
- patch: <https://git.kernel.org/stable/c/8d310d66e2b0f5f9f709764641647e8a3a4924fa>
- patch: <https://git.kernel.org/stable/c/75b67dca4195e11ccf966a704787b2aa2754a457>
- patch: <https://git.kernel.org/stable/c/f195fc060c738d303a21fae146dbf85e1595fb4c>
- other: <https://git.kernel.org/stable/c/e9efbd037b9002ce9dd012da612e857e98dfcb3e>
- other: <https://git.kernel.org/stable/c/31dad8d385953a886e57df70ab43ee25ba37797c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-37861>

HTML: <https://flawdb.com/CVE-2025-37861> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-37861>
