CVE-2022-49352
kernel: ext4: fix warning in ext4_handle_inode_extension
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 26, 2025
Updated · June 30, 2026
Description
A flaw was found in the Linux kernel's ext4 filesystem, which can lead to inconsistencies between an inode's in-memory size (i_size) and its on-disk size (i_disksize). This issue occurs when a file's size is increased, but the operation fails to mark the inode as dirty due to memory allocation errors (e.g., -ENOMEM). Consequently, i_disksize is updated while i_size remains unchanged, triggering warnings during direct I/O write operations, which can cause filesystem instability.
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
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE not specified