CVE-2026-64059

CVE-2026-64059

Medium · published July 19, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
5.0
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00162 · 5.0th percentile
Published
2026-07-19T20:17Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 6.12, < 6.12.926.12.92
linux/linux_kernel≥ 6.13, < 6.18.346.18.34
linux/linux_kernel≥ 6.19, < 7.0.117.0.11
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 19 JUL 15:39Z
    netfs: Fix folio->private handling in netfs_perform_write()
    cvelistv5