CVE-2021-47565: scsi: mpt3sas: Fix kernel panic during drive powercycle test
Vulnerability summary
CVE-2021-47565 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13.7% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 11Timeline
- 24-05-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
- CWE-476NULL Pointer DereferenceThe product dereferences a pointer that it expects to be valid but is NULL.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu88 products
- linuxAll versions (No fix recorded) | < 4.15.0-169.177 | < 5.4.0-100.113
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1121.129 | < 5.4.0-1066.69
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ f92363d12359498f9a9960511de1a550f0ec41c2, < 5d4d50b1f159a5ebab7617f47121b4370aa58afe | ≥ f92363d12359498f9a9960511de1a550f0ec41c2, < 58ef2c7a6de13721865d84b80eecf56d6cba0937 | ≥ f92363d12359498f9a9960511de1a550f0ec41c2, < dd035ca0e7a142870a970d46b1d19276cfe2bc8c | ≥ f92363d12359498f9a9960511de1a550f0ec41c2, < 0d4b29eaadc1f59cec0c7e85eae77d08fcca9824 | ≥ f92363d12359498f9a9960511de1a550f0ec41c2, < 7e324f734a914957b8cc3ff4b4c9f0409558adb5 | ≥ f92363d12359498f9a9960511de1a550f0ec41c2, < 2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b | ≥ f92363d12359498f9a9960511de1a550f0ec41c2, < 8485649a7655e791a6e4e9f15b4d30fdae937184 | ≥ f92363d12359498f9a9960511de1a550f0ec41c2, < 0ee4ba13e09c9d9c1cb6abb59da8295d9952328b | 3.8
- linux_kernel≥ 3.8, < 4.4.294 | ≥ 4.5, < 4.9.292 | ≥ 4.10, < 4.14.257 | ≥ 4.15, < 4.19.219 | ≥ 4.20, < 5.4.163 | ≥ 5.5, < 5.10.83 | ≥ 5.11, < 5.15.6 | 5.16:rc1 | 5.16:rc2
Debian1 product
- linux< 5.15.15-1
3 vendors · 91 products