---
id: CVE-2025-37861
title: 'scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue'
summary: |-
  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…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df <
    31dad8d385953a886e57df70ab43ee25ba37797c
  - >-
    Linux >= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df <
    65ba18c84dbd03afe9b38c06c151239d97a09834
  - >-
    Linux >= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df <
    8d310d66e2b0f5f9f709764641647e8a3a4924fa
  - >-
    Linux >= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df <
    75b67dca4195e11ccf966a704787b2aa2754a457
  - >-
    Linux >= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df <
    f195fc060c738d303a21fae146dbf85e1595fb4c
  - Linux 5.14
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-15T21:45:32.422991Z'
published: '2025-05-09'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T12:36:32.747Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-37861'
references:
  - url: 'https://git.kernel.org/stable/c/31dad8d385953a886e57df70ab43ee25ba37797c'
  - url: 'https://git.kernel.org/stable/c/65ba18c84dbd03afe9b38c06c151239d97a09834'
  - url: 'https://git.kernel.org/stable/c/8d310d66e2b0f5f9f709764641647e8a3a4924fa'
  - url: 'https://git.kernel.org/stable/c/75b67dca4195e11ccf966a704787b2aa2754a457'
  - url: 'https://git.kernel.org/stable/c/f195fc060c738d303a21fae146dbf85e1595fb4c'
tags:
  - cve.org
epss: 0.00324
epssPercentile: 0.2526
ingestedAt: '2026-10-15T22:48:25.481Z'
---

## Overview

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

- `Linux >= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df < 31dad8d385953a886e57df70ab43ee25ba37797c`
- `Linux >= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df < 65ba18c84dbd03afe9b38c06c151239d97a09834`
- `Linux >= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df < 8d310d66e2b0f5f9f709764641647e8a3a4924fa`
- `Linux >= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df < 75b67dca4195e11ccf966a704787b2aa2754a457`
- `Linux >= c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df < f195fc060c738d303a21fae146dbf85e1595fb4c`
- `Linux 5.14`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
