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

Fri, 09 May 2025 07:00:00 +0000

Type Values Removed Values Added
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.
Title scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-05-09T06:42:07.245Z

Updated: 2025-05-09T06:42:07.245Z

Reserved: 2025-04-16T04:51:23.957Z

Link: CVE-2025-37861

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-05-09T07:16:07.073

Modified: 2025-05-09T07:16:07.073

Link: CVE-2025-37861

cve-icon Redhat

No data.