CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's netfs component, specifically in the handling of readahead folios during iterator preparation. If an error occurs after batching these folios, the references remain held, potentially leading to memory leaks or resource exhaustion. Linux system administrators and developers should prioritize this issue to ensure system stability and prevent potential performance degradation.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: netfs: release readahead folios on iterator preparation failure netfs_prepare_read_iterator() batches readahead folios in put_batch so that the folio references can be dropped after the I/O iterator has been prepared. If rolling_buffer_load_from_ra() fails after earlier folios have been batched, the function returns immediately and leaves those references held. Release the batch before returning the error.