CVE-2025-37861
JSON

7.8high

scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.33% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df before e9efbd037b9002ce9dd012da612e857e98dfcb3e, from c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df before 31dad8d385953a886e57df70ab43ee25ba37797c, from c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df before 65ba18c84dbd03afe9b38c06c151239d97a09834, from c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df before 8d310d66e2b0f5f9f709764641647e8a3a4924fa, from c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df before 75b67dca4195e11ccf966a704787b2aa2754a457, from c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df before f195fc060c738d303a21fae146dbf85e1595fb4c, 5.14
Not affected: before 5.14, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.12.24 up to 6.12.*, from 6.13.12 up to 6.13.*, from 6.14.3 up to 6.14.*
CVE List
linux linux_kernelfrom 5.14 before 6.12.24, from 6.13 before 6.13.12, from 6.14 before 6.14.3NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: mpi3mr: Acceso síncrono entre los subprocesos de reinicio y tm para la cola de respuestas. Cuando el subproceso de gestión de tareas procesa las colas de respuestas mientras el subproceso de reinicio las reinicia, este último accede a un ID de cola no válido (0xFFFF), establecido por el subproceso de reinicio, que apunta a memoria no asignada, lo que provoca un fallo. Se ha añadido el indicador «io_admin_reset_sync» para sincronizar el acceso entre los subprocesos de reinicio, E/S y administración. Antes de un reinicio, el controlador de reinicio establece este indicador para bloquear los subprocesos de procesamiento de E/S y administración. Si algún subproceso omite la comprobación inicial, el subproceso de reinicio espera hasta 10 segundos a que finalice el procesamiento. Si la espera supera los 10 segundos, el controlador se marca como irrecuperable.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-37861 changed 2026-10-30CVE Terms of Use
NVDCVE-2025-37861 changed 2026-10-30Public domain