netfs: release readahead folios on iterator preparation failure
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.44, 7.1.8
- CVEs
- CVE-2026-80897
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 13:45 UTC · Revision 1
Source evidence
netfs: release readahead folios on iterator preparation failure
core-osv · Original sourcePublished 4 Sept 2026, 17:11 UTC
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.
osv:CVE-2026-80897
Kernel
Fixed versions: 6.18.44, 7.1.8
Complete source record
{
"id": "ace599f0b2825361766e688532e50cdebe34db4722b687f55f691e7ce79fcc03",
"url": "https://osv.dev/vulnerability/CVE-2026-80897",
"method": "structured",
"payload": {
"kind": "advisory",
"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 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.",
"evidence": "osv:CVE-2026-80897",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.44",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-80897",
"aliases": [
"CVE-2026-80897"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "e0186fa7436e55db10cecc2308749e2a877269a5"
},
{
"fixed": "9ef7c3c5cf771286f187aed199dac0972404cc0f"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "06fa229ceb36898e68022b5654c017d2c6582d7d"
},
{
"fixed": "2c148a31ca01fc160aceec777bbc0041b0d0b8bd"
},
{
"fixed": "935e7b74bb2368f215cf8c2ad4bff60ee4e7589e"
},
{
"fixed": "87eb3d272dcbcbbfe5c1576c10e5dc72810cf1f6"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80897.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.14.0"
},
{
"fixed": "6.18.44"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80897.json"
}
}
],
"modified": "2026-10-28T02:30:50.885198095Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/2c148a31ca01fc160aceec777bbc0041b0d0b8bd",
"https://git.kernel.org/stable/c/87eb3d272dcbcbbfe5c1576c10e5dc72810cf1f6",
"https://git.kernel.org/stable/c/935e7b74bb2368f215cf8c2ad4bff60ee4e7589e",
"https://git.kernel.org/stable/c/9ef7c3c5cf771286f187aed199dac0972404cc0f",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80897.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-80897",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80897.json"
}
},
"related_cves": [
{
"value": "CVE-2026-80897",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 519511,
"published_at": "2026-09-04T17:11:12.499+00:00"
}