# CVE-2026-80897: netfs: release readahead folios on iterator preparation failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-09-04T17:11:12.499Z
- Modified: 2026-10-21T13:20:00.990Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e0186fa7436e55db10cecc2308749e2a877269a5 before 9ef7c3c5cf771286f187aed199dac0972404cc0f; from 06fa229ceb36898e68022b5654c017d2c6582d7d before 2c148a31ca01fc160aceec777bbc0041b0d0b8bd; from 06fa229ceb36898e68022b5654c017d2c6582d7d before 935e7b74bb2368f215cf8c2ad4bff60ee4e7589e; from 06fa229ceb36898e68022b5654c017d2c6582d7d before 87eb3d272dcbcbbfe5c1576c10e5dc72810cf1f6; 6.14 (not affected: before 6.14; from 6.18.44 up to 6.18.*; from 7.1.8 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/9ef7c3c5cf771286f187aed199dac0972404cc0f>
- <https://git.kernel.org/stable/c/2c148a31ca01fc160aceec777bbc0041b0d0b8bd>
- <https://git.kernel.org/stable/c/935e7b74bb2368f215cf8c2ad4bff60ee4e7589e>
- <https://git.kernel.org/stable/c/87eb3d272dcbcbbfe5c1576c10e5dc72810cf1f6>

## Sources

- CVE List: [CVE-2026-80897](https://www.cve.org/CVERecord?id=CVE-2026-80897), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-80897](https://nvd.nist.gov/vuln/detail/CVE-2026-80897), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-80897 · Whole record: https://cve.day/CVE-2026-80897.json · Rebuilt by cve.day 2026-11-25T22:59:36.389Z
