CVE-2026-64058

netfs: Fix netfs_read_folio() to wait on writeback

Published Jul 19, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

netfs: Fix netfs_read_folio() to wait on writeback

Fix netfs_read_folio() to wait for an ongoing writeback to complete so that
it can trust the dirty flag and whatever is attached to folio->private
(folio->private may get cleaned up by the collector before it clears the
writeback flag).

Analysis

AI-generated

Technical impact

In the Linux kernel, the netfs subsystem’s netfs_read_folio() function fails to pause for ongoing writeback operations. Because it proceeds without confirming that the writeback has finished, it may rely on a stale dirty flag and a folio‑private pointer that could already have been cleared by the collector. This race condition can result in memory corruption or a use‑after‑free scenario in kernel space, affecting the integrity of the operating system.

Affected Systems

Linux kernel installations that have not incorporated the recent commit fixing the netfs_read_folio() wait. All distributions distributing the unpatched kernel are affected, especially when network filesystems such as NFS or SMB are in use.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.8, indicating high severity for integrity. EPSS is below 1 %, suggesting a low probability of exploitation at present. It is not listed in CISA’s KEV catalog. The likely attack vector involves a process that performs operations on a network filesystem while a writeback is in progress; the inferred attack would exploit the race condition by triggering concurrent read and writeback actions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the netfs_writeback wait fix (e.g., the commit c8271ccc in the Linux source).
  • After updating, reboot the machine to activate the new kernel and allow any pending writebacks to complete.
  • If an immediate kernel upgrade is not possible, mitigate the risk by disabling or avoiding the use of netfs‑based network filesystems such as NFS or SMB, or switching to a local filesystem that does not involve the vulnerable code path.

Generated by OpenCVE AI on September 3, 2026 at 09:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-125
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-367
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfs: Fix netfs_read_folio() to wait on writeback Fix netfs_read_folio() to wait for an ongoing writeback to complete so that it can trust the dirty flag and whatever is attached to folio->private (folio->private may get cleaned up by the collector before it clears the writeback flag).
Title netfs: Fix netfs_read_folio() to wait on writeback
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Sep 14, 2026, 11:58 AM
Reserved
Jul 19, 2026, 7:54 AM
Status
Modified
Published
Jul 19, 2026, 4:17 PM
Modified
Sep 14, 2026, 12:17 PM
Severity
Moderate
Public date
Jul 19, 2026, 12:00 AM