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.
https://git.kernel.org/stable/c/935e7b74bb2368f215cf8c2ad4bff60ee4e7589e
https://git.kernel.org/stable/c/87eb3d272dcbcbbfe5c1576c10e5dc72810cf1f6
https://git.kernel.org/stable/c/2c148a31ca01fc160aceec777bbc0041b0d0b8bd