CVE-2026-64063
Received Received - Intake

Write Confusion in Linux Kernel

Vulnerability report for CVE-2026-64063, 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 streaming write being overwritten In order to avoid reading whilst writing, netfslib will allow "streaming writes" in which dirty data is stored directly into folios without reading them first. Such folios are marked dirty but may not be marked uptodate. If a folio is entirely written by a streaming write, uptodate will be set, otherwise it will have a netfs_folio struct attached to ->private recording the dirty region. In the event that a partially written streaming write page is to be overwritten entirely by a single write(), netfs_perform_write() will try to copy over it, but doesn't discard the netfs_folio if it succeeds; further, it doesn't correctly handle a partial copy that overwrites some of the dirty data. Fix this by the following: (1) If the folio is successfully overwritten, free the netfs_folio struct before marking the page uptodate. (2) If the copy to the folio partially fails, but short of the dirty data, just ignore the copy. (3) If the copy partially fails and overwrites some of the dirty data, accept the copy, update the netfs_folio struct to record the new data. If the folio is now filled, free the netfs_folio and set uptodate, otherwise return a partial write. 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 0 0x927c0 write 0x63fb8 0x53c8 0 copy_range 0xb704 0x19b9 0x24429 0x79380 write 0x2402b 0x144a2 0x90660 * write 0x204d5 0x140a0 0x927c0 * copy_range 0x1f72c 0x137d0 0x7a906 0x927c0 * read 0x00000 0x20000 0x9157c read 0x20000 0x20000 0x9157c read 0x40000 0x20000 0x9157c read 0x60000 0x20000 0x9157c read 0x7e1a0 0xcfb9 0x9157c on cifs with the default cache option. It shows folio 0x24 misbehaving 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 2 associated CPEs
Vendor Product Version / Range
linux linux_kernel *
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 a flaw in the netfslib component where streaming writes could be incorrectly overwritten. Streaming writes allow dirty data to be stored directly into folios without reading them first. If a partially written streaming write page is overwritten entirely by a single write operation, the system fails to properly handle the netfs_folio struct, leading to potential data corruption or loss.

Detection Guidance

This vulnerability is specific to the Linux kernel's netfs subsystem and requires kernel-level detection. No direct network or system commands are provided in the CVE details for detection. The issue was found using fsx with specific test operations on a CIFS filesystem. Kernel logs or filesystem testing tools may help identify related issues.

Impact Analysis

This vulnerability could lead to data corruption or loss in systems using the Linux kernel with netfslib. If exploited, it may cause applications to read or write incorrect data, potentially resulting in system crashes, application failures, or silent data corruption. Systems using CIFS with default cache options are particularly affected.

Compliance Impact

This vulnerability affects data integrity in the Linux kernel's file system handling, which could lead to unauthorized data corruption or loss. For compliance with GDPR or HIPAA, such integrity issues may violate requirements for data accuracy, security, and protection against unauthorized alteration.

Mitigation Strategies

Apply the latest Linux kernel patches that address this issue. If using a distribution kernel, update to the patched version. For custom kernels, apply the upstream fix. No temporary mitigations are suggested beyond patching.

Chat Assistant

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

EPSS Chart