Kernel panic via stale sas_target dereference
Published May 24, 2024 · Updated May 11, 2026
NULL-pointer dereference in the Linux kernel mpt3sas driver allows local users to crash the system during SAS drive removal. While the driver iterates the SCSI device list, concurrent drive removal can free sas_target while leaving sdev intact, after which sas_target->sas_address is dereferenced without a NULL check. Triggering the race requires an mpt3sas-managed SAS device and a drive power-cycle or removal event; success causes a kernel panic and service interruption.
Summary
What happened
NULL-pointer dereference in the Linux kernel mpt3sas driver allows local users to crash the system during SAS drive removal. While the driver iterates the SCSI device list, concurrent drive removal can free sas_target while leaving sdev intact, after which sas_target->sas_address is dereferenced without a NULL check. Triggering the race requires an mpt3sas-managed SAS device and a drive power-cycle or removal event; success causes a kernel panic and service interruption.
The record
- CVE
- CVE-2021-47565
- Published
- May 24, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, CWE-416, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 24, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.8
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <0d4b29eaadc1f59cec0c7e85eae77d08fcca9824
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <0ee4ba13e09c9d9c1cb6abb59da8295d9952328b
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <58ef2c7a6de13721865d84b80eecf56d6cba0937
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <5d4d50b1f159a5ebab7617f47121b4370aa58afe
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <7e324f734a914957b8cc3ff4b4c9f0409558adb5
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <8485649a7655e791a6e4e9f15b4d30fdae937184
- Affected versionversion=f92363d12359498f9a9960511de1a550f0ec41c2 <dd035ca0e7a142870a970d46b1d19276cfe2bc8c
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo