scsi: mpt3sas: Fix kernel panic during drive powercycle test
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f92363d12359498f9a9960511de1a550f0ec41c2 · < 2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
scsi: mpt3sas: Fix kernel panic during drive powercycle test
While looping over shost's sdev list it is possible that one of the drives is getting removed and its sas_target object is freed but its sdev object remains intact.
Consequently, a kernel panic can occur while the driver is trying to access the sas_address field of sas_target object without also checking the sas_target object for NULL.
From the CVE record · Linux
The Linux kernel's mpt3sas driver can panic during a drive powercycle test if a drive is removed while the driver loops over SCSI devices. The driver may access a freed SAS target object; the input does not describe an attacker-controlled trigger, authentication requirement, or user interaction.
Engineers running Linux kernels with the mpt3sas driver should check their installations; affected versions are not specified.