CVE-2021-47565

scsi: mpt3sas: Fix kernel panic during drive powercycle test

HIGH
7.8
CVSS Score
Published: May 24, 2024 at 03:12 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.8 ≤ v < 4.14.2573.8 ≤ v < 4.19.2193.8 ≤ v < 4.4.2943.8 ≤ v < 4.9.2923.8 ≤ v < 5.10.833.8 ≤ v < 5.15.63.8 ≤ v < 5.163.8 ≤ v < 5.4.1634.10 ≤ v < 4.14.2574.15 ≤ v < 4.19.2194.20 ≤ v < 5.4.1634.5 ≤ v < 4.9.2925.11 ≤ v < 5.15.65.5 ≤ v < 5.10.833.85.16 rc15.16 rc2f92363d12359498f9a9960511de1a550f0ec41c2
Vendor states this is fixed in 0d4b29eaadc1f59cec0c7e85eae77d08fcca9824 (fixed)
Vendor states this is fixed in 0ee4ba13e09c9d9c1cb6abb59da8295d9952328b (fixed)
Vendor states this is fixed in 2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b (fixed)
Vendor states this is fixed in 58ef2c7a6de13721865d84b80eecf56d6cba0937 (fixed)
Vendor states this is fixed in 5d4d50b1f159a5ebab7617f47121b4370aa58afe (fixed)
Vendor states this is fixed in 7e324f734a914957b8cc3ff4b4c9f0409558adb5 (fixed)
Vendor states this is fixed in 8485649a7655e791a6e4e9f15b4d30fdae937184 (fixed)
Vendor states this is fixed in dd035ca0e7a142870a970d46b1d19276cfe2bc8c (fixed)
Vendor states this is fixed in 3.8 (unaffected)
Vendor states this is fixed in 4.14.257 (unaffected)
Vendor states this is fixed in 4.19.219 (unaffected)
Vendor states this is fixed in 4.4.294 (unaffected)
Vendor states this is fixed in 4.9.292 (unaffected)
Vendor states this is fixed in 5.10.83 (unaffected)
Vendor states this is fixed in 5.15.6 (unaffected)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 5.4.163 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0d4b29eaadc1f59cec0c7e85eae77d08fcca9824
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0ee4ba13e09c9d9c1cb6abb59da8295d9952328b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/58ef2c7a6de13721865d84b80eecf56d6cba0937
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5d4d50b1f159a5ebab7617f47121b4370aa58afe
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7e324f734a914957b8cc3ff4b4c9f0409558adb5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8485649a7655e791a6e4e9f15b4d30fdae937184
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dd035ca0e7a142870a970d46b1d19276cfe2bc8c

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card