CVE-2024-56619
CVSS 3.1 Score 7.8 of 10 (high)
Details
Summary
CVE-2024-56619 is a vulnerability in the Linux kernel that affects the nilfs2 file system. The issue arises due to a potential out-of-bounds memory access in the function nilfs_find_entry(). Syzbot discovered that when the inode's i_size is corrupted and has a large value, memory access outside the folio/page range may occur. This occurs because the local variable to which i_size is assigned in the function nilfs_last_byte() is of an inappropriate type, causing bit loss and a large byte offset value. As a result, memory access exceeds the folio/page size. This vulnerability is fixed by changing the type of the local variable causing the bit loss from "unsigned int" to "u64". Although the return value of nilfs_last_byte() is also of type "unsigned int" and gets truncated, no change is required as no bit loss occurs in this case.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.
Affected Products
- Linux Kernel
Affected Vendors
- LINUX