Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's F2FS (Flash-Friendly File System) implementation can lead to out-of-bounds access in the device path handling. This issue arises when the device path length reaches the maximum allowed, causing the path array to become fully populated without terminating with a null character. As a result, subsequent fields may be incorrectly interpreted as part of the device path, leading to parsing errors. The vulnerability affects several versions of the Linux kernel.
The vulnerability can cause out-of-bounds memory access, potentially leading to memory corruption or other undefined behavior.
The vulnerability can be reproduced by creating a device path that reaches the maximum length allowed. This can be done by using a file name that is 255 characters long, which is the maximum path length in many file systems. After creating the file, the F2FS file system can be formatted and mounted. The F2FS kernel log will indicate a failure to find devices, which is a symptom of the vulnerability.
Users can upgrade to the latest version of the Linux kernel, where this vulnerability has been addressed. Instructions for upgrading the Linux kernel can be found in the official Linux documentation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.