Kernel memory disclosure or crash via signed length
Published Apr 10, 2024 · Updated Aug 5, 2026
Out-of-bounds read in Linux kernels 2.6.18 through 5.10.81 and 5.11 through 5.15.4 allows local users to read kernel stack memory or crash. resp_readcap16() stores an attacker-controlled SCSI READ CAPACITY(16) allocation length in a signed int, then passes the resulting huge length to fill_from_dev_buffer() for a 32-byte stack array. Reachability requires local permission to open an scsi_debug generic SCSI device; the allowed command needs no CAP_SYS_RAWIO and can disclose kernel stack data or trigger a kernel panic.
Summary
What happened
Out-of-bounds read in Linux kernels 2.6.18 through 5.10.81 and 5.11 through 5.15.4 allows local users to read kernel stack memory or crash. resp_readcap16() stores an attacker-controlled SCSI READ CAPACITY(16) allocation length in a signed int, then passes the resulting huge length to fill_from_dev_buffer() for a 32-byte stack array. Reachability requires local permission to open an scsi_debug generic SCSI device; the allowed command needs no CAP_SYS_RAWIO and can disclose kernel stack data or trigger a kernel panic.
The record
- CVE
- CVE-2021-47191
- Published
- Apr 10, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-125
- Attack vector
- local
- Privileges
- Unavailable
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.18
- Affected versionversion=c65b1445d153a66ca91b00c1f10187e495c17918 <3e20cb072679bdb47747ccc8bee3233a4cf0765a
- Affected versionversion=c65b1445d153a66ca91b00c1f10187e495c17918 <4e3ace0051e7e504b55d239daab8789dd89b863c
- Affected versionversion=c65b1445d153a66ca91b00c1f10187e495c17918 <5b8bed6464ad6653586e30df046185fd816ad999
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