CVE-2021-47275
kernel: bcache: avoid oversized read request in cache missing code path
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 21, 2024
Updated · November 21, 2025
Description
A vulnerability was found in the Linux kernel's bcache driver, where the cached_dev_cache_miss() function can create an oversized read request when the calculation for the size of data read from the backing device produces an excessively large value, leading to potential kernel crash.
Statement
This vulnerability is rated as a moderate severity because it could lead to kernel crashes, but exploitation requires specific conditions related to oversized read requests.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-125 · Out-of-bounds Read