CVE-2026-64159
Received Received - Intake

netfs: Fix zero point update with i_size exceeding remote_i_size

Vulnerability report for CVE-2026-64159, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-19

Last updated on: 2026-07-19

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: netfs: Fix zeropoint update where i_size > remote_i_size Fix the update of the zero point[*] by netfs_release_folio() when there is uncommitted data in the pagecache beyond the folio being released but the on-server EOF is in this folio (ie. i_size > remote_i_size). The update needs to limit zero_point to remote_i_size, not i_size as i_size is a local phenomenon reflecting updates made locally to the pagecache, not stuff written to the server. remote_i_size tracks the server's i_size. [*] The zero point is the file position from which we can assume that the server will just return zeros, so we can avoid generating reads. Note that netfs_invalidate_folio() probably doesn't need fixing as zero_point should be updated by setattr after truncation or fallocate. Found with: fsx -q -N 1000000 -p 10000 -o 128000 -l 600000 \ /xfstest.test/junk --replay-ops=junk.fsxops using the following as junk.fsxops: truncate 0x0 0x1bbae 0x82864 write 0x3ef2e 0xf9c8 0x1bbae write 0x67e05 0xcb5a 0x4e8f6 mapread 0x57781 0x85b6 0x7495f copy_range 0x5d3d 0x10329 0x54fac 0x7495f write 0x64710 0x1c2b 0x7495f mapread 0x64000 0x1000 0x7495f on cifs with the default cache option. It shows read-gaps on folio 0x64 failing with a short read (ie. it hits EOF) if the FMODE_READ check is commented out in netfs_perform_write(): if (//(file->f_mode & FMODE_READ) || netfs_is_cache_enabled(ctx)) { and no fscache. This was initially found with the generic/522 xfstest.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-19
Last Modified
2026-07-19
Generated
2026-07-20
AI Q&A
2026-07-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves incorrect handling of the zero point in the network filesystem (netfs) layer. The zero point is the file position where the server will return zeros instead of reading data. The bug occurs when releasing a folio (a group of pages) where the local file size exceeds the server's file size. The zero point update incorrectly uses the local file size instead of the server's file size, potentially causing unnecessary reads or incorrect data handling.

Detection Guidance

This vulnerability is specific to the Linux kernel's netfs subsystem and may not have direct network detection methods. Monitor kernel logs for filesystem-related errors or crashes, particularly involving netfs or CIFS operations. Use fsx or xfstests to simulate filesystem operations and check for read-gaps or short reads.

Impact Analysis

This vulnerability could lead to performance issues or incorrect data being read from a network filesystem. If exploited, it might cause applications to read unnecessary data from the server, increasing latency or bandwidth usage. It could also result in short reads or unexpected behavior when accessing files beyond the server's reported end-of-file.

Compliance Impact

This vulnerability affects file system operations in the Linux kernel, specifically related to handling of file sizes and data caching. It does not directly impact compliance with standards like GDPR or HIPAA, as those focus on data protection, privacy, and security controls rather than file system behavior.

Mitigation Strategies

Apply the latest Linux kernel patches that address this issue. If using CIFS with cache options, consider disabling caching temporarily until patched. Monitor filesystem operations for errors and update netfs-related components.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64159. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart