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.
Metrics
Affected Vendors & Products
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
Thu, 18 Sep 2025 15:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-416 CWE-476 |
|
CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:* |
|
Metrics |
cvssV3_1
|
cvssV3_1
|
Wed, 11 Sep 2024 13:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|

Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2025-05-04T07:13:45.710Z
Reserved: 2024-05-24T15:11:00.728Z
Link: CVE-2021-47565

Updated: 2024-08-04T05:39:59.770Z

Status : Analyzed
Published: 2024-05-24T15:15:21.443
Modified: 2025-09-18T15:41:08.080
Link: CVE-2021-47565


Updated: 2025-07-12T23:06:15Z