Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's EROFS (Enhanced Read-Only File System) implementation has been addressed. The issue arose because the i_size field is a signed integer, allowing for negative values that could be interpreted as less than the EROFS block size. This anomaly caused the filesystem to mistakenly treat certain entries as fast symbolic links, leading to potential misbehavior. The vulnerability has been fixed by modifying the symlink handling code to properly account for negative i_size values.
The vulnerability could lead to incorrect handling of symbolic links in the EROFS filesystem, potentially causing applications to misinterpret file types or behaviors.
The vulnerability can be reproduced by creating an EROFS filesystem image that includes files with a crafted negative i_size value. When this image is mounted, the Linux kernel will incorrectly process the fast symlink handling, allowing for the exploitation of the vulnerability.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched kernel can be found on the official Linux kernel website.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.