PT-2024-8238 · Linux+7 · Linux Kernel+7

Baokun Li

·

Published

2024-09-03

·

Updated

2025-09-29

·

CVE-2024-49889

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 6.6.58
Description: The issue is related to a use-after-free vulnerability in the ext4 file system, specifically in the ext4 ext show leaf() function. This vulnerability can be triggered when EXT DEBUG is defined, but it does not affect the functionality of the system. The problem arises when the path variable is freed by error or reallocated in ext4 find extent(), and then used again in ext4 ext show leaf(), potentially leading to a use-after-free condition. The vulnerability may allow an attacker to impact the confidentiality, integrity, and availability of protected information.
Recommendations: For Linux kernel versions prior to 6.6.58, update to version 6.6.58 or later to resolve the issue. As a temporary workaround, consider disabling the EXT DEBUG definition to prevent the vulnerability from being triggered. Additionally, restrict access to the ext4 ext show leaf() function and related components to minimize the risk of exploitation.

Exploit

Fix

Use After Free

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

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-14046
ALT-PU-2024-14270
ALT-PU-2024-14503
ALT-PU-2024-15739
ALT-PU-2024-16172
AZL-51489
BDU:2024-09791
CVE-2024-49889
DLA-4008-1
DLA-4075-1
INFSA-2025_6966
MGASA-2024-0344
MGASA-2024-0345
OESA-2024-2367
OESA-2024-2368
OESA-2024-2369
OESA-2024-2370
OESA-2024-2371
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2025:14705-1
RHSA-2025:6966
RHSA-2025_6966
USN-7166-1
USN-7166-2
USN-7166-3
USN-7166-4
USN-7186-1
USN-7186-2
USN-7194-1
USN-7276-1
USN-7277-1
USN-7301-1
USN-7303-1
USN-7303-2
USN-7303-3
USN-7304-1
USN-7310-1
USN-7311-1
USN-7384-1
USN-7384-2
USN-7385-1
USN-7386-1
USN-7403-1
USN-7468-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Ubuntu