PT-2024-29215
CVE-2024-41034
·
Published
2024-06-29
·
Updated
2025-10-07
Description by
CVSS 3.1
7.8
HighMetricsAV: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.43
Description
The issue is related to the nilfs2 file system in the Linux kernel. It involves a bug in the rename operation of a broken directory, where the
block write begin int() function may fail due to a BUG ON check for access exceeding the folio/page size. This is caused by the nilfs dotdot() function not checking consistency enough and potentially returning a location that exceeds the folio/page size for broken directories. The fix involves checking required directory entries (. and ..) in the first chunk of the directory in nilfs dotdot().Recommendations
To resolve the issue, update the Linux kernel to version 6.6.43 or later. As a temporary workaround, consider restricting operations on broken directories to minimize the risk of exploitation.
Found an issue in the description? Have something to add? Feel free to write us 👾