CVE-2021-47565 json
scsi: mpt3sas: Fix kernel panic during drive powercycle test
published 2024-05-24 2 y ago modified 2026-06-17 4 mo ago also EUVD-2021-34567
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.4.294, 4.9.292, 4.14.257, 4.19.219, 5.4.163, 5.10.83, 5.15.6, 5.16
- linux Debian 14, Debian 13, Debian 12 5.15.15-1
debian advisories DEBIAN-CVE-2021-47565
- linux Ubuntu 18.04 LTS 4.15.0-169.177
- linux Ubuntu 20.04 LTS 5.4.0-100.113
- linux-aws Ubuntu 18.04 LTS 4.15.0-1121.129
- linux-aws Ubuntu 20.04 LTS 5.4.0-1066.69
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1065.69
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1015.16
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1107.109
- linux-kvm Ubuntu 20.04 LTS 5.4.0-1056.58
ubuntu advisories UBUNTU-CVE-2021-47565
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- dtb-aarch64 openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-64kb SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-syms SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-obs-qa openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-source SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-default SLE Workstation Extension 15 SP5, SLE Module for Legacy 15 SP5, SLE Module for Basesystem 15 SP5 +4 more 5.14.21-150500.55.68.1
- kernel-kvmsmall openSUSE Leap 15.5 5.14.21-150500.55.68.1
- kernel-zfcpdump SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.68.1
suse advisories SUSE-SU-2024:2190-1SUSE-SU-2024:2189-1SUSE-SU-2024:2185-1SUSE-SU-2024:2184-1SUSE-SU-2024:2183-1SUSE-SU-2024:2019-1
- git.kernel.org/stable/c/5d4d50b1f159a5ebab7617f47121b4370aa58afe commit
- git.kernel.org/stable/c/58ef2c7a6de13721865d84b80eecf56d6cba0937 commit
- git.kernel.org/stable/c/dd035ca0e7a142870a970d46b1d19276cfe2bc8c commit
- git.kernel.org/stable/c/0d4b29eaadc1f59cec0c7e85eae77d08fcca9824 commit
- git.kernel.org/stable/c/7e324f734a914957b8cc3ff4b4c9f0409558adb5 commit
- git.kernel.org/stable/c/2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b commit
- git.kernel.org/stable/c/8485649a7655e791a6e4e9f15b4d30fdae937184 commit
- git.kernel.org/stable/c/0ee4ba13e09c9d9c1cb6abb59da8295d9952328b commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-47565 updated cvss 4.7
kernel: scsi: mpt3sas: Fix kernel panic during drive powercycle test
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 moreaffected: workaround, no fix available
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
- Technology feeds
References
-
git.kernel.org
/stable/c/5d4d50b1f159a5ebab7617f47121b4370aa58afe
patch
-
git.kernel.org
/stable/c/58ef2c7a6de13721865d84b80eecf56d6cba0937
patch
-
git.kernel.org
/stable/c/dd035ca0e7a142870a970d46b1d19276cfe2bc8c
patch
-
git.kernel.org
/stable/c/0d4b29eaadc1f59cec0c7e85eae77d08fcca9824
patch
-
git.kernel.org
/stable/c/7e324f734a914957b8cc3ff4b4c9f0409558adb5
patch
-
git.kernel.org
/stable/c/2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b
patch
-
git.kernel.org
/stable/c/8485649a7655e791a6e4e9f15b4d30fdae937184
patch
-
git.kernel.org
/stable/c/0ee4ba13e09c9d9c1cb6abb59da8295d9952328b
patch
Sources
- CVE List CVE-2021-47565
- NVD CVE-2021-47565
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.