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

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-24T15:12:52.786Z
- Modified: 2026-06-17T04:17:46.833Z
- Weaknesses: CWE-416, CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f92363d12359498f9a9960511de1a550f0ec41c2 before 5d4d50b1f159a5ebab7617f47121b4370aa58afe; from f92363d12359498f9a9960511de1a550f0ec41c2 before 58ef2c7a6de13721865d84b80eecf56d6cba0937; from f92363d12359498f9a9960511de1a550f0ec41c2 before dd035ca0e7a142870a970d46b1d19276cfe2bc8c; from f92363d12359498f9a9960511de1a550f0ec41c2 before 0d4b29eaadc1f59cec0c7e85eae77d08fcca9824; from f92363d12359498f9a9960511de1a550f0ec41c2 before 7e324f734a914957b8cc3ff4b4c9f0409558adb5; from f92363d12359498f9a9960511de1a550f0ec41c2 before 2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b; from f92363d12359498f9a9960511de1a550f0ec41c2 before 8485649a7655e791a6e4e9f15b4d30fdae937184; from f92363d12359498f9a9960511de1a550f0ec41c2 before 0ee4ba13e09c9d9c1cb6abb59da8295d9952328b; 3.8 (not affected: before 3.8; from 4.4.294 up to 4.4.*; from 4.9.292 up to 4.9.*; from 4.14.257 up to 4.14.*; from 4.19.219 up to 4.19.*; from 5.4.163 up to 5.4.*; from 5.10.83 up to 5.10.*; from 5.15.6 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: from 3.8 before 4.4.294; from 4.5 before 4.9.292; from 4.10 before 4.14.257; from 4.15 before 4.19.219; from 4.20 before 5.4.163; from 5.5 before 5.10.83; from 5.11 before 5.15.6; 5.16

## References

- <https://git.kernel.org/stable/c/5d4d50b1f159a5ebab7617f47121b4370aa58afe> (patch)
- <https://git.kernel.org/stable/c/58ef2c7a6de13721865d84b80eecf56d6cba0937> (patch)
- <https://git.kernel.org/stable/c/dd035ca0e7a142870a970d46b1d19276cfe2bc8c> (patch)
- <https://git.kernel.org/stable/c/0d4b29eaadc1f59cec0c7e85eae77d08fcca9824> (patch)
- <https://git.kernel.org/stable/c/7e324f734a914957b8cc3ff4b4c9f0409558adb5> (patch)
- <https://git.kernel.org/stable/c/2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b> (patch)
- <https://git.kernel.org/stable/c/8485649a7655e791a6e4e9f15b4d30fdae937184> (patch)
- <https://git.kernel.org/stable/c/0ee4ba13e09c9d9c1cb6abb59da8295d9952328b> (patch)

## Sources

- CVE List: [CVE-2021-47565](https://www.cve.org/CVERecord?id=CVE-2021-47565), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47565](https://nvd.nist.gov/vuln/detail/CVE-2021-47565), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47565 · Whole record: https://cve.day/CVE-2021-47565.json · Rebuilt by cve.day 2026-11-25T22:58:08.919Z
