CVE-2026-64063: netfs: Fix streaming write being overwritten
In the Linux kernel, the following vulnerability has been resolved:
netfs: Fix streaming write being overwritten
In order to avoid reading whilst writing, netfslib will allow "streaming
writes" in which dirty data is stored directly into folios without reading
them first. Such folios are marked dirty but may not be marked uptodate.
If a folio is entirely written by a streaming write, uptodate will be set,
otherwise it will have a netfs_folio struct attached to ->private recording
the dirty region.
In the event that a partially written streaming write page is to be
overwritten entirely by a single write(), netfs_perform_write() will try to
copy over it, but doesn't discard the netfs_folio if it succeeds; further,
it doesn't correctly handle a partial copy that overwrites some of the
dirty data.
Fix this by the following:
(1) If the folio is successfully overwritten, free the netfs_folio struct
before marking the page uptodate.
(2) If the copy to the folio partially fails, but short of the dirty data,
just ignore the copy.
(3) If the copy partially fails and overwrites some of the dirty data,
accept the copy, update the netfs_folio struct to record the new data.
If the folio is now filled, free the netfs_folio and set uptodate,
otherwise return a partial write.
Found with:
fsx -q -N 1000000 -p 10000 -o 128000 -l 600000 \
/xfstest.test/junk --replay-ops=junk.fsxops
using the following as junk.fsxops:
truncate 0x0 0 0x927c0
write 0x63fb8 0x53c8 0
copy_range 0xb704 0x19b9 0x24429 0x79380
write 0x2402b 0x144a2 0x90660 *
write 0x204d5 0x140a0 0x927c0 *
copy_range 0x1f72c 0x137d0 0x7a906 0x927c0 *
read 0x00000 0x20000 0x9157c
read 0x20000 0x20000 0x9157c
read 0x40000 0x20000 0x9157c
read 0x60000 0x20000 0x9157c
read 0x7e1a0 0xcfb9 0x9157c
on cifs with the default cache option.
It shows folio 0x24 misbehaving if the FMODE_READ check is commented out in
netfs_perform_write():
if (//(file->f_mode & FMODE_READ) ||
netfs_is_cache_enabled(ctx)) {
and no fscache. This was initially found with the generic/522 xfstest.
Security readout for executives and security teams
Plain-English summary
CVE-2026-64063 is a Linux kernel netfs data-handling flaw where certain streaming writes can mishandle partially dirty file pages. In practical terms, affected network filesystem workloads may risk incorrect file contents rather than a clearly documented system takeover. The public record does not provide CVSS, CWE, or active exploitation evidence.
Executive priority
Treat this as a targeted kernel maintenance issue for systems using network filesystems. It is not currently supported as an emergency exploitation event, but data integrity issues can affect business records, backups, and shared operational files.
Technical view
The bug is in netfs_perform_write handling of partially written streaming-write folios. When a later write overwrites dirty data, netfs may fail to discard or update the netfs_folio metadata correctly. The issue was found with fsx and xfstest generic/522, observed on CIFS with default cache settings.
Likely exposure
Exposure is most relevant to Linux systems running affected kernels with netfs-backed filesystems. The source specifically mentions CIFS with the default cache option. Systems without such workloads, or kernels containing the referenced stable fixes, are less likely exposed.
Exploitation context
There is no KEV listing and no source-provided evidence of active exploitation. The described trigger is a filesystem data integrity sequence involving streaming writes, partial folio state, and overwrites. Public evidence does not support remote code execution or privilege escalation claims.
Researcher notes
The source ties the flaw to netfs streaming-write folio metadata handling and provides stable kernel commit references. Affected-version data is sparse and somewhat unclear in the bundle, so distro-specific package mapping is required before making broad exposure claims.
Mitigation direction
Apply a Linux kernel vendor update containing the referenced stable fixes.
Prioritize systems using CIFS or other netfs-backed filesystems.
Check distribution advisories for exact fixed kernel packages.
Consider reducing reliance on affected network filesystem caching paths until updated.
Validation and detection
Inventory Linux kernel versions on systems using network filesystems.
Identify hosts using CIFS with default cache behavior.
Confirm installed kernels include one of the referenced stable fixes.
Review storage integrity alerts or application reports of unexpected file contents.
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-64063 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.