CVE-2021-47565
scsi: mpt3sas: Fix kernel panic during drive powercycle test
Check your servers for CVE-2021-47565
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47565 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.6% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f92363d12359498f9a9960511de1a550f0ec41c2, before 5d4d50b1f159a5ebab7617f47121b4370aa58afe affected from f92363d12359498f9a9960511de1a550f0ec41c2, before 58ef2c7a6de13721865d84b80eecf56d6cba0937 affected from f92363d12359498f9a9960511de1a550f0ec41c2, before dd035ca0e7a142870a970d46b1d19276cfe2bc8c affected from f92363d12359498f9a9960511de1a550f0ec41c2, before 0d4b29eaadc1f59cec0c7e85eae77d08fcca9824 affected from f92363d12359498f9a9960511de1a550f0ec41c2, before 7e324f734a914957b8cc3ff4b4c9f0409558adb5 affected from f92363d12359498f9a9960511de1a550f0ec41c2, before 2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b affected from f92363d12359498f9a9960511de1a550f0ec41c2, before 8485649a7655e791a6e4e9f15b4d30fdae937184 affected from f92363d12359498f9a9960511de1a550f0ec41c2, before 0ee4ba13e09c9d9c1cb6abb59da8295d9952328b
Other versions: unaffected
|
| Linux |
affected 3.8 unaffected before 3.8 unaffected from 4.4.294 up to and including 4.4.* unaffected from 4.9.292 up to and including 4.9.* unaffected from 4.14.257 up to and including 4.14.* unaffected from 4.19.219 up to and including 4.19.* unaffected from 5.4.163 up to and including 5.4.* unaffected from 5.10.83 up to and including 5.10.* unaffected from 5.15.6 up to and including 5.15.* unaffected 5.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47565 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47565
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-47565
trivy image --scanners vuln IMAGE | grep CVE-2021-47565
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/5d4d50b1f159a5ebab7617f47121b4370aa58afe git.kernel.org
- https://git.kernel.org/stable/c/58ef2c7a6de13721865d84b80eecf56d6cba0937 git.kernel.org
- https://git.kernel.org/stable/c/dd035ca0e7a142870a970d46b1d19276cfe2bc8c git.kernel.org
- https://git.kernel.org/stable/c/0d4b29eaadc1f59cec0c7e85eae77d08fcca9824 git.kernel.org
- https://git.kernel.org/stable/c/7e324f734a914957b8cc3ff4b4c9f0409558adb5 git.kernel.org
- https://git.kernel.org/stable/c/2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b git.kernel.org
- https://git.kernel.org/stable/c/8485649a7655e791a6e4e9f15b4d30fdae937184 git.kernel.org
- https://git.kernel.org/stable/c/0ee4ba13e09c9d9c1cb6abb59da8295d9952328b git.kernel.org
Source: the record CVE-2021-47565 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse