First published: Sat Nov 09 2024(Updated: )
In the Linux kernel, the following vulnerability has been resolved: ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow Syzbot reported a kernel BUG in ocfs2_truncate_inline. There are two reasons for this: first, the parameter value passed is greater than ocfs2_max_inline_data_with_xattr, second, the start and end parameters of ocfs2_truncate_inline are "unsigned int". So, we need to add a sanity check for byte_start and byte_len right before ocfs2_truncate_inline() in ocfs2_remove_inode_range(), if they are greater than ocfs2_max_inline_data_with_xattr return -EINVAL.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
debian/linux | <=5.10.223-1 | 5.10.234-1 6.1.129-1 6.1.128-1 6.12.20-1 6.12.21-1 |
debian/linux-6.1 | 6.1.129-1~deb11u1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-50218 has been classified as a high severity vulnerability due to the potential for kernel crashes.
To fix CVE-2024-50218, update your Linux kernel to versions 5.10.234-1, 6.1.128-1, 6.12.12-1, or later.
CVE-2024-50218 affects specific versions of the Linux kernel, particularly prior to 5.10.234-1 and 6.1.128-1.
CVE-2024-50218 impacts the ocfs2 file system in the Linux kernel, specifically related to inline data truncation.
CVE-2024-50218 was reported by the Syzbot automated testing tool, indicating a kernel bug.