CVE-2026-64159: netfs: Fix zeropoint update where i_size > remote_i_size

Published Jul 19, 2026
·
Updated

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

netfs: Fix zeropoint update where isize > remoteisize

Fix the update of the zero point[] by netfsreleasefolio() when there is uncommitted data in the pagecache beyond the folio being released but the on-server EOF is in this folio (ie. isize > remoteisize). The update needs to limit zeropoint to remoteisize, not isize as isize is a local phenomenon reflecting updates made locally to the pagecache, not stuff written to the server. remoteisize tracks the server's isize.

[] 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 netfsinvalidatefolio() probably doesn't need fixing as zeropoint 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 copyrange 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 FMODEREAD check is commented out in netfsperformwrite():

if (//(file->fmode & FMODEREAD) || netfsiscacheenabled(ctx)) {

and no fscache. This was initially found with the generic/522 xfstest.

Affected Software

10 affected components
Linux Kernel
Linux Linux kernel>=6.10.8<6.11
Linux Linux kernel>=6.11.1<7.0.11
Linux Linux kernel=6.11
Linux Linux kernel=6.11-rc6
Linux Linux kernel=6.11-rc7
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    On CIFS deployments using the default cache option, ensure the behavior is mitigated by avoiding generating reads for zero-point beyond remote_i_size (i.e., align zero_point updates/reads with remote_i_size rather than local i_size).

Event History

Jul 19, 2026
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
Description
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-64159?

CVE-2026-64159 has a risk rating of 21, indicating a critical security vulnerability within the Linux kernel.

2

How do I fix CVE-2026-64159?

To fix CVE-2026-64159, update your Linux kernel to the latest version where the vulnerability has been patched.

3

What systems are affected by CVE-2026-64159?

CVE-2026-64159 affects various distributions of the Linux kernel, particularly those using netfs functionalities.

4

What kind of vulnerability is CVE-2026-64159?

CVE-2026-64159 is a vulnerability related to improper handling of zero point updates in the netfs subsystem of the Linux kernel.

5

Can CVE-2026-64159 lead to data loss?

Yes, CVE-2026-64159 can potentially lead to data loss due to mishandling of pagecache and file size inconsistencies.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203