PT-2024-29853 · Linux+6 · Linux Kernel+6
Syzbot
·
Published
2024-07-10
·
Updated
2025-09-29
·
CVE-2024-42304
CVSS v3.1
5.5
Medium
| Vector | AV: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 component of the Linux kernel, where a directory can be constructed without a dirblock but is non-inline, resulting in the first directory block being a hole. This can cause code that relies on dot or dotdot (such as make indexed dir()) to crash when it encounters a directory block without '.' and '..' but with a valid dentry. The vulnerability is resolved by reporting the filesystem as corrupted and returning an error when the first directory block is a hole, thus avoiding the loading of corrupted data from disk.
Recommendations
Update to Linux kernel version 6.6.50 or later to resolve the issue. As a temporary workaround, consider restricting access to directories that may be affected by this vulnerability until the update can be applied.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu