All reports
Low

kernel: netfs: release readahead folios on iterator preparation failure

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-80897

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-20

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.

A flaw was found in the netfs component of the Linux kernel. When netfs_prepare_read_iterator() processes readahead folios, it may fail to release these folios if an error occurs during the rolling_buffer_load_from_ra() operation. This oversight can lead to a memory leak, potentially allowing a local attacker to cause a Denial of Service (DoS) by exhausting system memory.