VDB

CVE-2026-64059

CVE-2026-64059 PUBLISHED

netfs: Fix folio->private handling in netfs_perform_write()

Reported by linux · Published July 19, 2026

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".

EPSS 0.16% · 5.4th percentile

Fixed versions

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

PackageEcosystemFixed in
kernel-livepatch-6.18.35-68.127Amazon Linux1:1.0-0.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.35-68.127.amzn2023
python3-perf6.18Amazon Linux1:6.18.35-68.127.amzn2023

Risk scores

EPSS Score
0.16%
5.4th percentile

Affected products

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

…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 (10 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-64059
vulnetix vdb fixes CVE-2026-64059

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-64059/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 ›