PT-2025-8283 · Linux+4 · Linux Kernel+4

Ye Bin

·

Published

2022-05-17

·

Updated

2025-04-16

·

CVE-2022-49349

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 5.10.0+
Description A use-after-free issue has been identified in the ext4 rename dir prepare function of the Linux kernel. This issue arises when the first directory entry's 'rec len' is 34478, resulting in an illegal parent entry. The problem occurs because the directory entry is not checked after reading the directory block in 'ext4 get first dir block'. The estimated number of potentially affected devices is not provided, and there is no information about real-world incidents where this issue was exploited.
Recommendations To resolve this issue, check the directory entry in 'ext4 get first dir block' to prevent the use-after-free error. As a temporary workaround, consider disabling the ext4 rename dir prepare function until a patch is available. However, the provided information does not specify a fixed version, so the recommendation is to update to a version where this issue has been resolved, but the exact version is not specified. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Use After Free

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

Weakness Enumeration

Related Identifiers

BDU:2025-10269
CESA-2022_7683
CVE-2022-49349
OPENSUSE-SU-2025_1263-1
RHSA-2022:7683
RHSA-2022:8267
RHSA-2022_7683
RHSA-2022_8267
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:1293-1
SUSE-SU-2025_1027-1
SUSE-SU-2025_1241-1
SUSE-SU-2025_1263-1
SUSE-SU-2025_1293-1

Affected Products

Astra Linux
Centos
Linux Kernel
Red Hat
Suse