CVE-2024-49889

Updated: 2024-11-04 13:42:59.209934

Description:

In the Linux kernel, the following vulnerability has been resolved: ext4: avoid use-after-free in ext4_ext_show_leaf() In ext4_find_extent(), path may be freed by error or be reallocated, so using a previously saved *ppath may have been freed and thus may trigger use-after-free, as follows: ext4_split_extent path = *ppath; ext4_split_extent_at(ppath) path = ext4_find_extent(ppath) ext4_split_extent_at(ppath) // ext4_find_extent fails to free path // but zeroout succeeds ext4_ext_show_leaf(inode, path) eh = path[depth].p_hdr // path use-after-free !!! Similar to ext4_split_extent_at(), we use *ppath directly as an input to ext4_ext_show_leaf(). Fix a spelling error by the way. Same problem in ext4_ext_handle_unwritten_extents(). Since 'path' is only used in ext4_ext_show_leaf(), remove 'path' and use *ppath directly. This issue is triggered only when EXT_DEBUG is defined and therefore does not affect functionality.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0
CVSS Version 3.x HIGH 7.8

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU kernel 5.14.0 7.8 HIGH Released CLSA-2024:1731933167 2024-11-18 16:33:03
AlmaLinux 9.2 FIPS kernel 5.14.0 7.8 HIGH Released CLSA-2024:1731956568 2024-11-18 16:33:04
CentOS 6 ELS kernel 2.6.32 7.8 HIGH Not Vulnerable 2024-11-27 11:59:17
CentOS 7 ELS kernel 3.10.0 7.8 HIGH Released CLSA-2024:1731348593 2024-11-26 12:01:17
CentOS 8.4 ELS kernel 4.18.0 7.8 HIGH In Testing CLSA-2024:1731430561 2024-11-13 12:24:45
CentOS 8.5 ELS kernel 4.18.0 7.8 HIGH Released CLSA-2024:1731431059 2024-11-12 13:32:31
CentOS Stream 8 ELS kernel 4.18.0 7.8 HIGH Released CLSA-2024:1731431756 2024-11-12 13:32:29
CloudLinux 6 ELS kernel 2.6.32 7.8 HIGH Not Vulnerable 2024-11-27 11:59:17
CloudLinux 7 ELS kernel 3.10.0 7.8 HIGH Not Vulnerable 2024-11-27 11:59:15
Oracle Linux 6 ELS kernel 2.6.32 7.8 HIGH Not Vulnerable 2024-11-27 11:59:15
Total: 14