Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-47275

5.5 · MEDIUM
Published May 21, 2024 linux EPSS 0.20% (9th pctl)

Overview

CVE-2021-47275 is a medium-severity vulnerability affecting linux linux_kernel. It was published on May 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

bcache: avoid oversized read request in cache missing code path

In the cache missing code path of cached device, if a proper location

from the internal B+ tree is matched for a cache miss range, function

cached_dev_cache_miss() will be called in cache_lookup_fn() in the

following code block,

[code block 1]

526 unsigned int sectors = KEY_INODE(k) == s->iop.inode

527 ? min_t(uint64_t, INT_MAX,

528 KEY_START(k) - bio->bi_iter.bi_sector)

529 : INT_MAX;

530 int ret = s->d->cache_miss(b, s, bio, sectors);

Here s->d->cache_miss() is the call backfunction pointer initialized as

cached_dev_cache_miss(), the last parameter 'sectors' is an important

hint to calculate the size of read request to backing device of the

missing cache data.

Current calculation in above code block may generate oversized value of

'sectors', which consequently may trigg

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 0, < 5.12.11 Affected

Frequently Asked Questions

What is CVE-2021-47275?

CVE-2021-47275 is a medium-severity vulnerability affecting linux linux_kernel. It was published on May 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-47275?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-47275?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-47275?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-47275 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.