Kernel panic via oversized cache-miss sector count
Published May 21, 2024 · Updated May 11, 2026
Integer truncation in bcache in Linux 3.10 through 5.12.10 allows attackers to crash the kernel through an oversized cache-miss read. cache_lookup_fn() passes a sector count based on an unchecked B+ tree distance to cached_dev_cache_miss(), where the 16-bit bkey size wraps to zero or drives an oversized bio allocation. The path requires a cache miss on a configured bcache cached device, and either resulting guard failure causes a kernel panic and service interruption.
Summary
What happened
Integer truncation in bcache in Linux 3.10 through 5.12.10 allows attackers to crash the kernel through an oversized cache-miss read. cache_lookup_fn() passes a sector count based on an unchecked B+ tree distance to cached_dev_cache_miss(), where the 16-bit bkey size wraps to zero or drives an oversized bio allocation. The path requires a cache miss on a configured bcache cached device, and either resulting guard failure causes a kernel panic and service interruption.
The record
- CVE
- CVE-2021-47275
- Published
- May 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- May 21, 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.10
- Affected versionversion=cafe563591446cf80bfbc2fe3bc72a2e36cf1060 <41fe8d088e96472f63164e213de44ec77be69478
- Affected versionversion=cafe563591446cf80bfbc2fe3bc72a2e36cf1060 <555002a840ab88468e252b0eedf0b05e2ce7099c
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
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