CVE-2026-64160

netfs: Fix potential for tearing in ->remote_i_size and ->zero_point

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

netfs: Fix potential for tearing in ->remote_i_size and ->zero_point

Fix potential tearing in using ->remote_i_size and ->zero_point by copying
i_size_read() and i_size_write() and using the same seqcount as for i_size.

We need to make sure that netfslib and the filesystems that use it always
hold i_lock whilst updating any of the sizes to prevent i_size_seqcount
from getting corrupted.

Analysis

AI-generated

Technical impact

The netfs module in the Linux kernel contains a concurrency flaw where updates to the remote_i_size and zero_point fields are performed without holding the i_lock. This omission can corrupt the i_size_seqcount and cause file‑size tearing. The weakness is a mix of improper synchronization (CWE‑362) and improper locking (CWE‑821). The result is an integrity failure where files accessed via netfs may have incorrect sizes or become corrupted.

Affected Systems

The vulnerability affects all Linux kernel builds that have not incorporated the recent netfs seqcount fix. The available data lists the generic Linux kernel and the 7.1‑rc1 through 7.1‑rc4 releases. Because no specific version numbers are supplied, any system running a kernel prior to the commit that introduces the i_lock guard around size updates is potentially exposed, regardless of distribution.

Risk and Exploitability

The CVSS score of 9.8 marks this as a critical issue, while the EPSS score of less than 1% indicates limited observed exploitation. Based on the description, it is inferred that an attacker would need to mount or otherwise interact with a netfs file‑system, giving rise to a local or privileged access scenario. The vulnerability is not listed in the CISA KEV catalog, meaning no publicly known exploits have appeared. Consequently, the risk of exploitation is low, yet the potential for severe data corruption warrants prompt attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the netfs seqcount fix, such as installing the kernel patch corresponding to commit 2c8f4742 or upgrading to the latest stable release.
  • If a kernel upgrade cannot be performed immediately, unmount or disable all netfs‑based file‑systems until the patch is applied to prevent possible data corruption.
  • Recompile any custom netfslib modules to incorporate the updated i_lock synchronization logic, ensuring the size‑tearing flaw is resolved.

Generated by OpenCVE AI on October 20, 2026 at 09:31 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
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-8781-1 Linux kernel (NVIDIA Tegra) 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-362
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
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': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfs: Fix potential for tearing in ->remote_i_size and ->zero_point Fix potential tearing in using ->remote_i_size and ->zero_point by copying i_size_read() and i_size_write() and using the same seqcount as for i_size. We need to make sure that netfslib and the filesystems that use it always hold i_lock whilst updating any of the sizes to prevent i_size_seqcount from getting corrupted.
Title netfs: Fix potential for tearing in ->remote_i_size and ->zero_point
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-821

    Incorrect Synchronization

  • NVD-CWE-noinfo

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:28 PM
Reserved
Jul 19, 2026, 7:54 AM
Status
Modified
Published
Jul 19, 2026, 4:17 PM
Modified
Oct 19, 2026, 9:17 PM
Severity
Moderate
Public date
Jul 19, 2026, 12:00 AM