netfs: Fix partial invalidation of streaming-write folio
In the Linux kernel, the following vulnerability has been resolved: netfs: Fix partial invalidation of streaming-write folio In netfs_invalidate_folio(), if the region of a partial invalidation overlaps the front (but not all) of a dirty write cached in a streaming write page (dirty, but not uptodate, with the dirty region tracked by a netfs_folio struct), the function modifies the dirty region - but incorrectly as it moves the region forward by setting the start to the start, not the end, of the invalidation region. Fix this by setting finfo->dirty_offset to the end of the invalidation region (iend).
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.92, 6.18.34, 7.0.11
- CVEs
- CVE-2026-64157
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 05:29 UTC · Revision 1
Source evidence
netfs: Fix partial invalidation of streaming-write folio
core-osv · Original sourcePublished 19 Jul 2026, 15:40 UTC
In the Linux kernel, the following vulnerability has been resolved: netfs: Fix partial invalidation of streaming-write folio In netfs_invalidate_folio(), if the region of a partial invalidation overlaps the front (but not all) of a dirty write cached in a streaming write page (dirty, but not uptodate, with the dirty region tracked by a netfs_folio struct), the function modifies the dirty region - but incorrectly as it moves the region forward by setting the start to the start, not the end, of the invalidation region. Fix this by setting finfo->dirty_offset to the end of the invalidation region (iend).
osv:CVE-2026-64157
Kernel
Fixed versions: 6.12.92, 6.18.34, 7.0.11
Complete source record
{
"id": "a71eecfb7d4ca8d0109e8491065ce3b749bb7a4c2b441c0d7ae10aaf3fb5d91b",
"url": "https://osv.dev/vulnerability/CVE-2026-64157",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "netfs: Fix partial invalidation of streaming-write folio",
"summary": "In the Linux kernel, the following vulnerability has been resolved: netfs: Fix partial invalidation of streaming-write folio In netfs_invalidate_folio(), if the region of a partial invalidation overlaps the front (but not all) of a dirty write cached in a streaming write page (dirty, but not uptodate, with the dirty region tracked by a netfs_folio struct), the function modifies the dirty region - but incorrectly as it moves the region forward by setting the start to the start, not the end, of the invalidation region. Fix this by setting finfo->dirty_offset to the end of the invalidation region (iend).",
"evidence": "osv:CVE-2026-64157",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.92",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.34",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.11",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-64157",
"aliases": [
"CVE-2026-64157"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "cce6bfa6ca0e30af9927b0074c97fe6a92f28092"
},
{
"fixed": "f6b2569ae29b666fd15ff2848684c445ba442a39"
},
{
"fixed": "3d9601c029b934b5b6a10f99791467b10eb6b211"
},
{
"fixed": "6a3d27116be2c5fb9a03d5cf37c486ac517f3689"
},
{
"fixed": "6d91acc7fb85d33ea58fca9b964a32a453937f4b"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "6.10.8"
},
{
"fixed": "6.11"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "e2814004138a541110d4b2dc254a8f619c2c4ce0"
}
]
}
],
"versions": [
"v6.10.14",
"v6.10.13",
"v6.10.12",
"v6.10.11",
"v6.10.10",
"v6.10.9",
"v6.10.8"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64157.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.11.0"
},
{
"fixed": "6.12.92"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.34"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.11"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64157.json"
}
}
],
"modified": "2026-10-28T02:30:43.302423570Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/3d9601c029b934b5b6a10f99791467b10eb6b211",
"https://git.kernel.org/stable/c/6a3d27116be2c5fb9a03d5cf37c486ac517f3689",
"https://git.kernel.org/stable/c/6d91acc7fb85d33ea58fca9b964a32a453937f4b",
"https://git.kernel.org/stable/c/f6b2569ae29b666fd15ff2848684c445ba442a39",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64157.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-64157",
"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/64xxx/CVE-2026-64157.json"
}
},
"related_cves": [
{
"value": "CVE-2026-64157",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 510719,
"published_at": "2026-07-19T15:40:44.964+00:00"
}