CVE
CVE-2021-47565
CNA 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 versions
All Linux kernel vulnerabilities →
- 5.16-rc2This version only
- 5.16-rc1This version only
- ≥ 5.11, < 5.15.6Fixed in 5.15.6
- ≥ 5.5, < 5.10.83Fixed in 5.10.83
- ≥ 4.20, < 5.4.163Fixed in 5.4.163
- ≥ 4.15, < 4.19.219Fixed in 4.19.219
- ≥ 4.10, < 4.14.257Fixed in 4.14.257
- ≥ 4.5, < 4.9.292Fixed in 4.9.292
- ≥ 3.8, < 4.4.294Fixed in 4.4.294
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/0d4b29eaadc1f59cec0c7e85eae77d08fcca9824 · Patch
- git.kernel.org/stable/c/0ee4ba13e09c9d9c1cb6abb59da8295d9952328b · Patch
- git.kernel.org/stable/c/2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b · Patch
- git.kernel.org/stable/c/58ef2c7a6de13721865d84b80eecf56d6cba0937 · Patch
- git.kernel.org/stable/c/5d4d50b1f159a5ebab7617f47121b4370aa58afe · Patch
- git.kernel.org/stable/c/7e324f734a914957b8cc3ff4b4c9f0409558adb5 · Patch
- git.kernel.org/stable/c/8485649a7655e791a6e4e9f15b4d30fdae937184 · Patch
- git.kernel.org/stable/c/dd035ca0e7a142870a970d46b1d19276cfe2bc8c · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.