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
| Vector | AV: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
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Ubuntu