Kernel-memory disclosure and crash via signed length underflow
Published Apr 10, 2024 · Updated Aug 5, 2026
Out-of-bounds read in the Linux scsi_debug driver allows local users to disclose kernel memory or crash the system via a crafted SCSI command. resp_report_tgtpgs stores the command-derived allocation length in a signed integer, so a large value becomes negative before fill_from_dev_buffer copies the response. Exploitation requires local access and a loaded scsi_debug device reachable through the SCSI generic write interface; confidentiality and availability are affected, not integrity.
Summary
What happened
Out-of-bounds read in the Linux scsi_debug driver allows local users to disclose kernel memory or crash the system via a crafted SCSI command. resp_report_tgtpgs stores the command-derived allocation length in a signed integer, so a large value becomes negative before fill_from_dev_buffer copies the response. Exploitation requires local access and a loaded scsi_debug device reachable through the SCSI generic write interface; confidentiality and availability are affected, not integrity.
The record
- CVE
- CVE-2021-47219
- Published
- Apr 10, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-125
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 10, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=2.6.19
- Affected versionversion=5a09e39810ae0465016c380962e12dd115779b87 <66523553fa62c7878fc5441dc4e82be71934eb77
- Affected versionversion=5a09e39810ae0465016c380962e12dd115779b87 <8440377e1a5644779b4c8d013aa2a917f5fc83c3
- Affected versionversion=5a09e39810ae0465016c380962e12dd115779b87 <f347c26836c270199de1599c3cd466bb7747caa9
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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