Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's netfs component has been addressed. The issue involved the improper management of 'write streaming' when a file descriptor is opened with read and write permissions. This streaming, which caches dirty data to prevent unnecessary reads before overwriting, was incorrectly disabled for O_RDWR file descriptors. The netfs now automatically manages read gaps, making the flush requirement obsolete. The fix removes the O_RDWR check, restoring proper streaming functionality. This vulnerability had caused issues with the generic/522 xfstest, which have now been resolved.
The vulnerability's impact was primarily on the netfs write streaming functionality, causing conflicts during certain file operations, particularly with the generic/522 xfstest.
The vulnerability can be reproduced by opening a file descriptor with read and write permissions and then performing write operations through the netfs component. The 'write streaming' feature will be disabled, leading to potential issues such as data not being cached properly before being overwritten. This can cause problems during file read operations, especially when using memory-mapped file access.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.