PT-2025-8286 · Linux+2 · Linux Kernel+2

Published

2022-05-11

·

Updated

2025-04-15

·

CVE-2022-49352

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 versions prior to the version that includes the fix for the issue described.
Description The issue arises when there is an attempt to set an inode's size to a value larger than its current size, but the ext4 mark inode dirty function fails due to an out-of-memory condition. This can lead to an inconsistent state where the inode's i size and i disksize values do not match, resulting in a warning being triggered when a direct write operation is attempted. The estimated number of potentially affected devices is not specified. There is no information about real-world incidents where this issue was exploited.
Recommendations To resolve the issue, modify the ext4 setattr function to set EXT4 I(inode)->i disksize to its old value if ext4 mark inode dirty fails. This ensures that the inode's size remains consistent, preventing the warning from being triggered. For Linux kernel versions prior to the fixed version, apply the above modification to the ext4 setattr function.

Exploit

Fix

Allocation of Resources Without Limits

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

Weakness Enumeration

Related Identifiers

BDU:2026-02608
CVE-2022-49352
OPENSUSE-SU-2025_1263-1
SUSE-SU-2025:1027-1
SUSE-SU-2025:1176-1
SUSE-SU-2025:1183-1
SUSE-SU-2025:1194-1
SUSE-SU-2025:1241-1
SUSE-SU-2025:1263-1
SUSE-SU-2025_1027-1
SUSE-SU-2025_1241-1
SUSE-SU-2025_1263-1

Affected Products

Astra Linux
Linux Kernel
Suse