CVE-2021-47565
scsi: mpt3sas: Fix kernel panic during drive powercycle test
Mitigation
- Upgrade Linux to 0ee4ba13e09c9d9c1cb6abb59da8295d9952328b or later.
Who should check
- Anyone running Linux >= f92363d12359498f9a9960511de1a550f0ec41c2, < 5d4d50b1f159a5ebab7617f47121b4370aa58afe; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 58ef2c7a6de13721865d84b80eecf56d6cba0937; >= f92363d12359498f9a9960511de1a550f0ec41c2, < dd035ca0e7a142870a970d46b1d19276cfe2bc8c; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 0d4b29eaadc1f59cec0c7e85eae77d08fcca9824; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 7e324f734a914957b8cc3ff4b4c9f0409558adb5; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 8485649a7655e791a6e4e9f15b4d30fdae937184; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 0ee4ba13e09c9d9c1cb6abb59da8295d9952328b
- Anyone running Linux 3.8
Vulnerability facts
- Affected
- Linux >= f92363d12359498f9a9960511de1a550f0ec41c2, < 5d4d50b1f159a5ebab7617f47121b4370aa58afe; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 58ef2c7a6de13721865d84b80eecf56d6cba0937; >= f92363d12359498f9a9960511de1a550f0ec41c2, < dd035ca0e7a142870a970d46b1d19276cfe2bc8c; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 0d4b29eaadc1f59cec0c7e85eae77d08fcca9824; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 7e324f734a914957b8cc3ff4b4c9f0409558adb5; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 8485649a7655e791a6e4e9f15b4d30fdae937184; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 0ee4ba13e09c9d9c1cb6abb59da8295d9952328b; Linux 3.8
- Fixed in
- Linux 5d4d50b1f159a5ebab7617f47121b4370aa58afe, Linux 58ef2c7a6de13721865d84b80eecf56d6cba0937, Linux 0d4b29eaadc1f59cec0c7e85eae77d08fcca9824, Linux 7e324f734a914957b8cc3ff4b4c9f0409558adb5, Linux 2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b, Linux 8485649a7655e791a6e4e9f15b4d30fdae937184, Linux 0ee4ba13e09c9d9c1cb6abb59da8295d9952328b
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-416, CWE-476
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f92363d12359498f9a9960511de1a550f0ec41c2, < 5d4d50b1f159a5ebab7617f47121b4370aa58afe; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 58ef2c7a6de13721865d84b80eecf56d6cba0937; >= f92363d12359498f9a9960511de1a550f0ec41c2, < dd035ca0e7a142870a970d46b1d19276cfe2bc8c; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 0d4b29eaadc1f59cec0c7e85eae77d08fcca9824; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 7e324f734a914957b8cc3ff4b4c9f0409558adb5; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 8485649a7655e791a6e4e9f15b4d30fdae937184; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 0ee4ba13e09c9d9c1cb6abb59da8295d9952328b | — | cvelist |
| Linux | 3.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-47565. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47565.md Affected: Linux >= f92363d12359498f9a9960511de1a550f0ec41c2, < 5d4d50b1f159a5ebab7617f47121b4370aa58afe; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 58ef2c7a6de13721865d84b80eecf56d6cba0937; >= f92363d12359498f9a9960511de1a550f0ec41c2, < dd035ca0e7a142870a970d46b1d19276cfe2bc8c; >= f92363d12359498f9a99605… Fixed in: Linux 5d4d50b1f159a5ebab7617f47121b4370aa58afe, Linux 58ef2c7a6de13721865d84b80eecf56d6cba0937, Linux 0d4b29eaadc1f59cec0c7e85eae77d08fcca9824, Linux 7e324f734a914957b8cc3ff4b4c9f0409558adb5, Linux 2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b, Linux 8485649a7655e791a6e4e9f15b4d30fdae937184, Linux 0ee4b… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/5d4d50b1f159a5ebab7617f47121b4370aa58afe
- https://git.kernel.org/stable/c/58ef2c7a6de13721865d84b80eecf56d6cba0937
- https://git.kernel.org/stable/c/dd035ca0e7a142870a970d46b1d19276cfe2bc8c
- https://git.kernel.org/stable/c/0d4b29eaadc1f59cec0c7e85eae77d08fcca9824
- https://git.kernel.org/stable/c/7e324f734a914957b8cc3ff4b4c9f0409558adb5
- https://git.kernel.org/stable/c/2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b
- https://git.kernel.org/stable/c/8485649a7655e791a6e4e9f15b4d30fdae937184
- https://git.kernel.org/stable/c/0ee4ba13e09c9d9c1cb6abb59da8295d9952328b
FAQ
Is CVE-2021-47565 being exploited?
There is no confirmed exploitation: CVE-2021-47565 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47565?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-47565?
Linux >= f92363d12359498f9a9960511de1a550f0ec41c2, < 5d4d50b1f159a5ebab7617f47121b4370aa58afe; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 58ef2c7a6de13721865d84b80eecf56d6cba0937; >= f92363d12359498f9a9960511de1a550f0ec41c2, < dd035ca0e7a142870a970d46b1d19276cfe2bc8c; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 0d4b29eaadc1f59cec0c7e85eae77d08fcca9824; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 7e324f734a914957b8cc3ff4b4c9f0409558adb5; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 8485649a7655e791a6e4e9f15b4d30fdae937184; >= f92363d12359498f9a9960511de1a550f0ec41c2, < 0ee4ba13e09c9d9c1cb6abb59da8295d9952328b; Linux 3.8.
Is there a fix for CVE-2021-47565?
Yes. Fixed in Linux 5d4d50b1f159a5ebab7617f47121b4370aa58afe, Linux 58ef2c7a6de13721865d84b80eecf56d6cba0937, Linux 0d4b29eaadc1f59cec0c7e85eae77d08fcca9824, Linux 7e324f734a914957b8cc3ff4b4c9f0409558adb5, Linux 2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b, Linux 8485649a7655e791a6e4e9f15b4d30fdae937184, Linux 0ee4ba13e09c9d9c1cb6abb59da8295d9952328b. Upgrade Linux to 0ee4ba13e09c9d9c1cb6abb59da8295d9952328b or later.
How do I check if I'm affected by CVE-2021-47565?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.