Skip to main content
Network Thinking Solutions Logo

CVE-2021-47114

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

All CVEs
CVE-2021-47114Published 3/15/2024

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

Vendor advisory
CVSS5.5Medium

Overview

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, 65536) = 0 fallocate(11, 0, 2276196352, 65536) = 0 v1: https://www.spinics.net/lists/linux-fsdevel/msg193999.html v2: https://lore.kernel.org/linux-fsdevel/20210525093034.GB4112@quack2.suse.cz/T/

Published
3/15/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 4.4.272

Verify advisory

Source
linux kernel
linux
≥ 4.5, < 4.9.272

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.236

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.194

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.125

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.43

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.12.10

Verify advisory

Source
linux kernel
linux
5.13

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 385820a38d5e7c70b20af4d68767b1920b1e4133, < 624fa7baa3788dc9e57840ba5b94bc22b03cda57

Verify advisory

Source
Linux
Linux
≥ 385820a38d5e7c70b20af4d68767b1920b1e4133, < 33e03adafb29eedae1bae9cdb50c1385279fcf65

Verify advisory

Source
Linux
Linux
≥ 385820a38d5e7c70b20af4d68767b1920b1e4133, < a1700479524bb9cb5e8ae720236a6fabd003acae

Verify advisory

Source
Linux
Linux
≥ 385820a38d5e7c70b20af4d68767b1920b1e4133, < cec4e857ffaa8c447f51cd8ab4e72350077b6770

Verify advisory

Source
Linux
Linux
≥ 385820a38d5e7c70b20af4d68767b1920b1e4133, < cc2edb99ea606a45182b5ea38cc8f4e583aa0774

Verify advisory

Source
Linux
Linux
≥ 385820a38d5e7c70b20af4d68767b1920b1e4133, < c8d5faee46242c3f33b8a71a4d7d52214785bfcc

Verify advisory

Source
Linux
Linux
≥ 385820a38d5e7c70b20af4d68767b1920b1e4133, < 0a31dd6fd2f4e7db538fb6eb1f06973d81f8dd3b

Verify advisory

Source
Linux
Linux
≥ 385820a38d5e7c70b20af4d68767b1920b1e4133, < 6bba4471f0cc1296fe3c2089b9e52442d3074b2e

Verify advisory

Source
Linux
Linux
2.6.23

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.