CVE Catalog

CVE-2024-41034

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

22th percentile - higher than 22% of all known CVEs

Summary

In the Linux kernel, a kernel bug was found in the nilfs2 filesystem during rename operation on a broken directory. The nilfs_dotdot() function may return a location exceeding the page size, leading to a BUG_ON in __block_write_begin_int().

Risk Assessment

The vulnerability could lead to a kernel panic during operations on broken directories, which could be exploited locally to disrupt system operation.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix that checks required directory entries ("." and "..") in the first chunk of the directory in nilfs_dotdot().

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix kernel bug on rename operation of broken directory Syzbot reported that in rename directory operation on broken directory on nilfs2, __block_write_begin_int() called to prepare block write may fail BUG_ON check for access exceeding the folio/page size. This is because nilfs_dotdot(), which gets parent directory reference entry ("..") of the directory to be moved or renamed, does not check consistency enough, and may return location exceeding folio/page size for broken directories. Fix this issue by checking required directory entries ("." and "..") in the first chunk of the directory in nilfs_dotdot().

Vulnerability data from NVD (NIST) · CISA KEV · EPSS