Description
In the Linux kernel, the following vulnerability has been resolved:

netfs, afs: Fix write skipping in dir/link writepages

Fix netfs_write_single() and afs_single_writepages() to better handle a
write that would be skipped due to lock contention and WB_SYNC_NONE by
returning 1 from netfs_write_single() if it skipped and making
afs_single_writepages() skip also. If a skip occurs, the inode must be
re-marked as the VFS may have cleared the mark.

This is really only theoretical for directories in netfs_write_single() as
the only path to that is through afs_single_writepages() that takes the
->validate_lock around it, thereby serialising it.
Published: 2026-07-19
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in the Linux kernel’s netfs and AFS write paths, where a write operation can be silently skipped when lock contention occurs and the WB_SYNC_NONE flag is set. The fix returns 1 for a skipped write, propagates the skip to afs_single_writepages(), and re‑marks the inode. If this path were exploited, a legitimate write might never reach disk, causing data loss or corruption—a medium‑severity impact on data integrity that maps to CWE‑367, improper locking. The description notes that the issue is theoretical for directories, as current lock serialisation makes the scenario unlikely.

Affected Systems

All Linux kernel releases that expose the netfs/afs writepage routines without this patch are affected. The CVE record does not specify affected versions, so any kernel prior to the commit that introduces the fix remains vulnerable. System administrators should verify the kernel version and whether the commit series has been applied.

Risk and Exploitability

The CVSS score of 5.5 categorises the risk as moderate. The EPSS score of less than 1% indicates a very low probability of exploitation in the wild. Because the scenario requires lock contention and specific write conditions, coupled with the lack of a known public exploit, the likelihood of real‑world attacks is low, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, the potential for data loss warrants patching if the kernel is in use.

Generated by OpenCVE AI on July 30, 2026 at 20:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the netfs/afs write‑skip fix implemented in CVE-2026-64156.
  • If you cannot upgrade as a package, apply the specific kernel commit (c/77bb2930) that addresses the skip bug and rebuild your kernel.
  • While the fix is applied, enable synchronous write or enforce fsync on critical writes, and monitor for failed write errors; run filesystem checks regularly to detect corruption.

Generated by OpenCVE AI on July 30, 2026 at 20:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
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
History

Mon, 20 Jul 2026 12:15:00 +0000

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


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfs, afs: Fix write skipping in dir/link writepages Fix netfs_write_single() and afs_single_writepages() to better handle a write that would be skipped due to lock contention and WB_SYNC_NONE by returning 1 from netfs_write_single() if it skipped and making afs_single_writepages() skip also. If a skip occurs, the inode must be re-marked as the VFS may have cleared the mark. This is really only theoretical for directories in netfs_write_single() as the only path to that is through afs_single_writepages() that takes the ->validate_lock around it, thereby serialising it.
Title netfs, afs: Fix write skipping in dir/link writepages
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T15:40:44.277Z

Reserved: 2026-07-19T07:54:57.038Z

Link: CVE-2026-64156

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64156 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T20:15:05Z

Weaknesses
  • CWE-367

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