PT-2024-11166 · Unknown+3 · Qemu-Image+3

Junxiao Bi

·

Published

2021-06-05

·

Updated

2025-04-04

·

CVE-2021-47114

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to data corruption caused by the fallocate function in the Linux kernel. When fallocate punches holes out of inode size and the original isize is in the middle of the last cluster, the part from isize to the end of the cluster will be zeroed with buffer write. If writeback is kicked in at that time, it will invoke ocfs2 writepage()->block write full page(), where the pages out of inode size will be dropped, causing file corruption. The fix is to zero out eof blocks when extending the inode size. A corrupted converted image file can be easily obtained by running a specific command with qemu-image 4.2.1.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-07269
CVE-2021-47114
OESA-2024-1392
OESA-2024-1393
OPENSUSE-SU-2024_1489-1
SUSE-SU-2024:1454-1
SUSE-SU-2024:1465-1
SUSE-SU-2024:1489-1
SUSE-SU-2024:1643-1
SUSE-SU-2024:1646-1
SUSE-SU-2024:1870-1

Affected Products

Astra Linux
Linux Kernel
Suse
Qemu-Image