scsi: mpi3mr: Synchronous access b/w reset and tm thread for reply queue
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df · < f195fc060c738d303a21fae146dbf85e1595fb4c| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's mpi3mr driver can crash when the task management thread processes reply queues while the reset thread resets them. The task management thread may then use an invalid queue ID that points to unallocated memory. The input does not specify an attack route, authentication requirement, or user interaction.
Engineers running Linux kernels with the mpi3mr driver should check their installations; affected versions are not specified.