CVE-2026-64059: netfs: Fix folio->private handling in netfs_perform_write()
In the Linux kernel, the following vulnerability has been resolved:
netfs: Fix folio->private handling in netfs_perform_write()
Under some circumstances, netfs_perform_write() doesn't correctly
manipulate folio->private between NULL, NETFS_FOLIO_COPY_TO_CACHE, pointing
to a group and pointing to a netfs_folio struct, leading to potential
multiple attachments of private data with associated folio ref leaks and
also leaks of netfs_folio structs or netfs_group refs.
Fix this by consolidating the place at which a folio is marked uptodate in
one place and having that look at what's attached to folio->private and
decide how to clean it up and then set the new group. Also, the content
shouldn't be flushed if group is NULL, even if a group is specified in the
netfs_group parameter, as that would be the case for a new folio. A
filesystem should always specify netfs_group or never specify netfs_group.
The Sashiko auto-review tool noted that it was theoretically possible that
the fpos >= ctx->zero_point section might leak if it modified a streaming
write folio. This is unlikely, but with a network filesystem, third party
changes can happen. It also pointed out that __netfs_set_group() would
leak if called multiple times on the same folio from the "whole folio
modify section".
Security readout for executives and security teams
Plain-English summary
This Linux kernel issue is a bug in network filesystem write handling. Under certain conditions, kernel memory/reference bookkeeping can be mishandled, causing leaks. The source bundle does not provide CVSS, confirmed impact beyond leaks, affected distributions, or evidence of active exploitation.
Executive priority
Track and patch through normal kernel maintenance unless your environment depends heavily on network filesystem workloads. Escalate if vendor advisories later assign high severity or identify reliable exploitation.
Technical view
netfs_perform_write() can mishandle folio->private transitions between NULL, NETFS_FOLIO_COPY_TO_CACHE, netfs_group, and netfs_folio states. This can create multiple private-data attachments and leak folio references, netfs_folio structures, or netfs_group references. The fix consolidates folio uptodate handling and cleanup decisions.
Likely exposure
Exposure appears limited to Linux kernels matching the affected version data and using netfs-related write paths. The bundle does not identify specific Linux distributions, configurations, or whether ordinary remote users can trigger the condition.
Exploitation context
No active exploitation is evidenced. KEV is false, and the source bundle does not cite public exploit reports. The described issue is a kernel netfs write-path memory/reference leak, not a documented code-execution or privilege-escalation path.
Researcher notes
Evidence is sparse: no CVSS, CWE, exploit status, or distribution matrix is provided. Analysis should focus on affected kernel branches, netfs_perform_write() call paths, and whether reachable write operations can repeatedly trigger reference leaks.
Mitigation direction
Apply Linux stable kernel updates containing the referenced netfs fix commits.
Check distribution advisories for backported fixes matching CVE-2026-64059.
Prioritize systems using network filesystems or netfs-backed workloads.
If patching is delayed, monitor kernel memory pressure on affected workloads.
Validation and detection
Inventory Linux kernel versions across servers and appliances.
Compare installed kernels against vendor advisories for CVE-2026-64059.
Confirm whether workloads use netfs-related network filesystem write paths.
Verify updated kernels include one of the referenced stable commits.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2026-64059 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
0ADP providers
5Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Jul 19, 2026, 15:39 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.