What’s Vulnerable › Vulnerabilities

CVE-2021-47565: scsi: mpt3sas: Fix kernel panic during drive powercycle test

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.257, 4.19.219, 4.4.294, 4.9.292. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47565 or the next vulnerability affects your stack