Use After Free in Linux
CVE-2021-47565
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 13.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions f92363d12359498f9a9960511de1a550f0ec41c2, 3.8, 0
- Linux Kernel — versions 5.16
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)