{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47565","id":"CVE-2021-47565","title":"scsi: mpt3sas: Fix kernel panic during drive powercycle test","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpt3sas: Fix kernel panic during drive powercycle test\n\nWhile looping over shost's sdev list it is possible that one\nof the drives is getting removed and its sas_target object is\nfreed but its sdev object remains intact.\n\nConsequently, a kernel panic can occur while the driver is trying to access\nthe sas_address field of sa","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpt3sas: Fix kernel panic during drive powercycle test\n\nWhile looping over shost's sdev list it is possible that one\nof the drives is getting removed and its sas_target object is\nfreed but its sdev object remains intact.\n\nConsequently, a kernel panic can occur while the driver is trying to access\nthe sas_address field of sas_target object without also checking the\nsas_target object for NULL.","published":"2024-05-24T15:12:52.786Z","updated":"2026-06-17T04:17:46.833Z","reserved":"2024-05-24T15:11:00.728Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f92363d12359498f9a9960511de1a550f0ec41c2","lessThan":"5d4d50b1f159a5ebab7617f47121b4370aa58afe","status":"affected","versionType":"git"},{"version":"f92363d12359498f9a9960511de1a550f0ec41c2","lessThan":"58ef2c7a6de13721865d84b80eecf56d6cba0937","status":"affected","versionType":"git"},{"version":"f92363d12359498f9a9960511de1a550f0ec41c2","lessThan":"dd035ca0e7a142870a970d46b1d19276cfe2bc8c","status":"affected","versionType":"git"},{"version":"f92363d12359498f9a9960511de1a550f0ec41c2","lessThan":"0d4b29eaadc1f59cec0c7e85eae77d08fcca9824","status":"affected","versionType":"git"},{"version":"f92363d12359498f9a9960511de1a550f0ec41c2","lessThan":"7e324f734a914957b8cc3ff4b4c9f0409558adb5","status":"affected","versionType":"git"},{"version":"f92363d12359498f9a9960511de1a550f0ec41c2","lessThan":"2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b","status":"affected","versionType":"git"},{"version":"f92363d12359498f9a9960511de1a550f0ec41c2","lessThan":"8485649a7655e791a6e4e9f15b4d30fdae937184","status":"affected","versionType":"git"},{"version":"f92363d12359498f9a9960511de1a550f0ec41c2","lessThan":"0ee4ba13e09c9d9c1cb6abb59da8295d9952328b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.8","status":"affected"},{"version":"0","lessThan":"3.8","status":"unaffected","versionType":"semver"},{"version":"4.4.294","lessThanOrEqual":"4.4.*","status":"unaffected","versionType":"semver"},{"version":"4.9.292","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.257","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.219","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.163","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.83","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.6","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416","CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/5d4d50b1f159a5ebab7617f47121b4370aa58afe","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/58ef2c7a6de13721865d84b80eecf56d6cba0937","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/dd035ca0e7a142870a970d46b1d19276cfe2bc8c","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/0d4b29eaadc1f59cec0c7e85eae77d08fcca9824","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/7e324f734a914957b8cc3ff4b4c9f0409558adb5","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/8485649a7655e791a6e4e9f15b4d30fdae937184","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/0ee4ba13e09c9d9c1cb6abb59da8295d9952328b","tags":["x_transferred","Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00229,"epssPercentile":0.1385,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47565","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47565","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47565","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-47565","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}