PT-2024-29854 · Linux+6 · Linux Kernel+6

Syzbot

·

Published

2024-07-10

·

Updated

2025-09-29

·

CVE-2024-42305

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 6.6.50
Description The issue is related to the ext4 file system in the Linux kernel. It occurs when the do split function is called with only one valid dentry for the block to be split, resulting in out-of-bounds accesses to the map. This happens because the make indexed dir function assumes that the first two entries of the dirblock must be dot and dotdot. The problem is triggered when renaming a dentry increases its name length by 1, and neither the hole nor the free space is sufficient to hold the new dentry. To fix this, the ext4 check dx root helper function is added to perform more sanity checks on dot and dotdot before starting the conversion.
Recommendations To resolve the issue, update the Linux kernel to version 6.6.50 or later.
Note: The provided information does not specify any additional recommendations or workarounds for this vulnerability.

Exploit

Fix

Out of bounds Read

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
BDU:2025-01430
CVE-2024-42305
DLA-3912-1
DLA-4008-1
INFSA-2025_6966
MGASA-2024-0309
MGASA-2024-0310
OESA-2024-2077
OESA-2024-2078
OESA-2024-2079
OESA-2024-2080
OESA-2024-2296
OPENSUSE-SU-2024_3551-1
OPENSUSE-SU-2024_3561-1
OPENSUSE-SU-2024_3564-1
OPENSUSE-SU-2024_3587-1
OPENSUSE-SU-2024_3592-1
RHSA-2025:6966
RHSA-2025_6966
SUSE-SU-2024:3551-1
SUSE-SU-2024:3559-1
SUSE-SU-2024:3561-1
SUSE-SU-2024:3564-1
SUSE-SU-2024:3566-1
SUSE-SU-2024:3569-1
SUSE-SU-2024:3587-1
SUSE-SU-2024:3591-1
SUSE-SU-2024:3592-1
SUSE-SU-2025:20073-1
SUSE-SU-2025:20077-1
USN-7088-1
USN-7088-2
USN-7088-3
USN-7088-4
USN-7088-5
USN-7100-1
USN-7100-2
USN-7119-1
USN-7123-1
USN-7144-1
USN-7154-1
USN-7154-2
USN-7155-1
USN-7156-1
USN-7194-1
USN-7196-1

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu