VDB

CVE-2026-64063

CVE-2026-64063 PUBLISHED

netfs: Fix streaming write being overwritten

Reported by linux · Published July 19, 2026

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.

EPSS 0.13% · 2.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxef9b521212e4863814ef7dfe19889abaf55ca840, cdae00e8e215d95911d95f100599e187b6560de5, 7b4dcf1b9455a6e52ac7478b4057dbe10359576d, 6.12, 20195925c768626dc901a4781a51e508702c88ad

Risk scores

EPSS Score
0.13%
2.6th percentile

Affected products

VendorProductVersions
LinuxLinux8f52de0077ba3bf41e5d53d67a185700f41efce7, 8f52de0077ba3bf41e5d53d67a185700f41efce7, 8f52de0077ba3bf41e5d53d67a185700f41efce7
LinuxLinux6.12, 0, 6.12.92
LinuxLinux8f52de0077ba3bf41e5d53d67a185700f41efce7, 7.1, 6.18.34
amazon:2023python3-perf6.120
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023perf6.180
amazon:2023kernel6.180
amazon:2023python3-perf6.180
amazon:2023kernel6.18-headers0
amazon:2023kernel6.12-devel0
linuxlinux_kernel6.12, 6.12, 6.12
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-tools0
amazon:2023bpftool6.180
amazon:2023microvm-kernel6.180
amazon:2023bpftool6.120
amazon:2023kernel-livepatch-6.12.92-122.1660

…and 7 more

Timeline

  • Jul 19, 2026 CVE Published
  • Jul 20, 2026 Coalition ESS Score
  • Jul 20, 2026 Security Advisory (31 in total, the first dated here)
  • Aug 7, 2026 EPSS Score (12 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch (30 in total, the first dated here)
  • Sep 2, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64063
vulnetix vdb fixes CVE-2026-64063

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64063/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›