---
id: CVE-2026-80897
title: 'netfs: release readahead folios on iterator preparation failure'
summary: |-
  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…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= e0186fa7436e55db10cecc2308749e2a877269a5 <
    9ef7c3c5cf771286f187aed199dac0972404cc0f
  - >-
    Linux >= 06fa229ceb36898e68022b5654c017d2c6582d7d <
    2c148a31ca01fc160aceec777bbc0041b0d0b8bd
  - >-
    Linux >= 06fa229ceb36898e68022b5654c017d2c6582d7d <
    935e7b74bb2368f215cf8c2ad4bff60ee4e7589e
  - >-
    Linux >= 06fa229ceb36898e68022b5654c017d2c6582d7d <
    87eb3d272dcbcbbfe5c1576c10e5dc72810cf1f6
  - Linux 6.14
published: '2026-09-04'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T12:47:12.430Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-80897'
references:
  - url: 'https://git.kernel.org/stable/c/9ef7c3c5cf771286f187aed199dac0972404cc0f'
  - url: 'https://git.kernel.org/stable/c/2c148a31ca01fc160aceec777bbc0041b0d0b8bd'
  - url: 'https://git.kernel.org/stable/c/935e7b74bb2368f215cf8c2ad4bff60ee4e7589e'
  - url: 'https://git.kernel.org/stable/c/87eb3d272dcbcbbfe5c1576c10e5dc72810cf1f6'
tags:
  - cve.org
epss: 0.00206
epssPercentile: 0.10076
ingestedAt: '2026-10-21T12:48:53.748Z'
---

## Overview

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.

## Affected

- `Linux >= e0186fa7436e55db10cecc2308749e2a877269a5 < 9ef7c3c5cf771286f187aed199dac0972404cc0f`
- `Linux >= 06fa229ceb36898e68022b5654c017d2c6582d7d < 2c148a31ca01fc160aceec777bbc0041b0d0b8bd`
- `Linux >= 06fa229ceb36898e68022b5654c017d2c6582d7d < 935e7b74bb2368f215cf8c2ad4bff60ee4e7589e`
- `Linux >= 06fa229ceb36898e68022b5654c017d2c6582d7d < 87eb3d272dcbcbbfe5c1576c10e5dc72810cf1f6`
- `Linux 6.14`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
