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-47114

5.5 · MEDIUM
Published Mar 15, 2024 linux EPSS 0.23% (13th pctl)

Overview

CVE-2021-47114 is a medium-severity vulnerability affecting linux linux_kernel. It was published on March 15, 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:

ocfs2: fix data corruption by fallocate

When fallocate punches holes out of inode size, if original isize is in

the middle of last cluster, then the part from isize to the end of the

cluster will be zeroed with buffer write, at that time isize is not yet

updated to match the new size, if writeback is kicked in, it will invoke

ocfs2_writepage()->block_write_full_page() where the pages out of inode

size will be dropped. That will cause file corruption. Fix this by

zero out eof blocks when extending the inode size.

Running the following command with qemu-image 4.2.1 can get a corrupted

coverted image file easily.

qemu-img convert -p -t none -T none -f qcow2 $qcow_image \

-O qcow2 -o compat=1.1 $qcow_image.conv

The usage of fallocate in qemu is like this, it first punches holes out

of inode size, then extend the inode size.

fallocate(11, FALLOC_FL_KEEP_SIZE|FALLOC_FL_PUNCH_HOLE, 2276196352, 655

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, < 4.4.272 Affected

Frequently Asked Questions

What is CVE-2021-47114?

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

How severe is CVE-2021-47114?

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-47114?

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-47114?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-47114 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.