7.8high
scsi: mpi3mr: Bad drive in topology results kernel crash
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Bad drive in topology results kernel crash When the SAS Transport Layer support is enabled and a device exposed to the OS by the driver fails INQUIRY commands, the driver frees up the memory allocated for an internal HBA port data structure. However, in some places, the reference to the freed memory is not cleared. When the firmware sends the Device Info change event for the same device again, the freed memory is accessed and that leads to memory corruption and OS crash.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df before 1f822ae8fb2a20fffa71e9bfa9b203c03d72d3ba, from c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df before aa11e4b6cdb403b9fdef6939550f6b36dd61624d, from c4f7ac64616ee513f9ac4ae6c4d8c3cccb6974df before 8e45183978d64699df639e795235433a60f35047, 5.14 Not affected: before 5.14, from 6.1.22 up to 6.1.*, from 6.2.9 up to 6.2.*, from 6.3 up to * | CVE List |
| linux linux_kernel | from 5.14 before 6.1.22, from 6.2 before 6.2.9, 6.3 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Bad drive in topology results kernel crash When the SAS Transport Layer support is enabled and a device exposed to the OS by the driver fails INQUIRY commands, the driver frees up the memory allocated for an internal HBA port data structure. However, in some places, the reference to the freed memory is not cleared. When the firmware sends the Device Info change event for the same device again, the freed memory is accessed and that leads to memory corruption and OS crash.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: mpi3mr: Una unidad defectuosa en la topología provoca un bloqueo del kernel. Cuando se habilita la compatibilidad con la capa de transporte SAS y un dispositivo expuesto al sistema operativo por el controlador no cumple con los comandos INQUIRY, el controlador libera la memoria asignada a una estructura de datos de puerto HBA interno. Sin embargo, en algunos lugares, la referencia a la memoria liberada no se borra. Cuando el firmware vuelve a enviar el evento de cambio de información del dispositivo para el mismo dispositivo, se accede a la memoria liberada, lo que provoca la corrupción de la memoria y el bloqueo del sistema operativo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53037 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2023-53037 changed 2026-11-05 | Public domain |