Skip to main content

Linux Kernel EUVDEUVD-2026-45636

| CVE-2026-64063 HIGH
Out-of-bounds Write (CWE-787)
2026-07-19 Linux GHSA-wrvh-vvr5-j82j
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local user shell access
  2. Delivery
    Open writable CIFS/netfs-backed filesystem mount
  3. Exploit
    Issue partial streaming write to folio
  4. Install
    Overwrite same folio region fully via write() or copy_range()
  5. C2
    Leave stale netfs_folio struct in kernel heap
  6. Execute
    Trigger memory corruption during writeback
  7. Impact
    Escalate privileges to root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) local authenticated access (PR:L) to a Linux system running a kernel version between commit 8f52de0077ba3bf41e5d53d67a185700f41efce7 and the respective fix commit for the installed stable branch; (2) write access to a filesystem backed by Linux's netfslib subsystem - confirmed on CIFS/SMB with default cache settings (cache=fscache or cache=loose), and potentially applicable to other netfs-backed filesystems such as NFS with fscache; (3) the ability to execute a specific sequence of write(), copy_range(), and truncate() syscalls in the correct order targeting the same folio to trigger the overwrite-without-cleanup path. The standard FMODE_READ check in netfs_perform_write() gates one code path, so the file open mode affects the exact trigger condition. Systems with no network filesystem mounts, or where unprivileged local access is not granted to untrusted users, are not reachable. The bug is not triggered by reads or simple single-write sequences - only by the partial-write-then-overwrite pattern.

Impact

The vendor-assigned CVSS 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects the canonical local-user kernel memory corruption / local privilege escalation profile: a normal local user who can issue filesystem syscalls may achieve full kernel compromise. EPSS of 0.17% (6th percentile) is very low, consistent with the absence of any CISA KEV listing and no public exploit code identified at time of analysis - these are not contradictory signals, they indicate a well-documented but not yet weaponized kernel subsystem bug. The real-world attack surface is narrowed by the requirement for a writable netfs-backed filesystem mount (CIFS confirmed, other netfs backends potentially in scope); systems with no SMB/NFS mounts exposed to unprivileged users are not reachable via the confirmed vector. Despite the low EPSS, the C:H/I:H/A:H triad means successful exploitation yields full system compromise, making this a meaningful patch priority for multi-tenant Linux systems, shared hosting, and container hosts where unprivileged local access is granted to untrusted users.

Exploit ScenarioDerived

A local user with an unprivileged shell on a Linux host that has a writable CIFS share mounted (with default caching) crafts a sequence of truncate, partial write, copy_range, and full-overwrite operations targeting the same 4KB folio region - replicating the fsx reproducer pattern. This leaves a stale netfs_folio struct attached to the folio's private pointer; subsequent writeback processing dereferences or writes through this struct, producing kernel heap corruption. No public exploit code has been identified; translating the memory corruption into a reliable privilege escalation requires kernel exploitation expertise and knowledge of internal folio state.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 02, 2026

Memory corruption in the Linux kernel netfs subsystem allows local authenticated users to corrupt kernel heap state via a crafted sequence of streaming write operations on network-backed filesystems, potentially enabling local privilege escalation to root. The bug resides in netfs_perform_write(): when a subsequent write fully overwrites a partially-dirty streaming-write folio, the netfs_folio struct that tracks the dirty byte region is neither freed nor correctly updated, leaving stale or inconsistent metadata that drives out-of-bounds writes (CWE-787) during later writeback processing. Patched versions are available across all active stable branches (6.12.92, 7.0.11, 7.1, 6.18.34); no public exploit or active exploitation has been identified at time of analysis.

RemediationAI

Upgrade to a patched Linux kernel: 6.12.92 or later for the 6.12 LTS branch, 7.0.11 or later for the 7.0 stable branch, 7.1 for mainline, or 6.18.34 for the 6.18 stable branch. Ubuntu users should apply USN-8593-1 via the standard security update channel (https://ubuntu.com/security/notices/USN-8593-1). For other distributions, check vendor security channels for backported fixes. If patching is not immediately possible, restrict or disable unprivileged access to CIFS/SMB-mounted network filesystems, since the confirmed reproducer requires write access to a netfs-backed mount with caching enabled. Mounting CIFS shares with the 'cache=none' option disables the caching path that enables streaming writes, reducing exposure at the cost of increased network I/O for read-before-write operations. This is a compensating control only - the netfs write path is not exclusively gated on fscache presence, and the full mitigation is a kernel upgrade.

Affected VersionsENISA

Linux 8f52de0077ba3bf41e5d53d67a185700f41efce7 <20195925c768626dc901a4781a51e508702c88ad
Linux 8f52de0077ba3bf41e5d53d67a185700f41efce7 <7b4dcf1b9455a6e52ac7478b4057dbe10359576d
Linux patch: 6.12.92
Linux 8f52de0077ba3bf41e5d53d67a185700f41efce7 <ef9b521212e4863814ef7dfe19889abaf55ca840
Linux patch: 7.0.11
Linux patch: 7.1
Linux patch: 6.18.34
Linux 8f52de0077ba3bf41e5d53d67a185700f41efce7 <cdae00e8e215d95911d95f100599e187b6560de5
Linux patch: 0
Linux 6.12

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux kernel's netfslib subsystem implements 'streaming writes' - a write-without-read optimization that stores dirty data directly into page-cache folios without pre-fetching their contents. For partially-dirty folios, netfslib attaches a heap-allocated netfs_folio struct to the folio's private pointer to record the exact dirty byte range. CWE-787 (out-of-bounds write) manifests in netfs_perform_write() across three failure modes: (1) a successful full overwrite of a partially-dirty folio does not free the attached netfs_folio, leaving a dangling/stale struct; (2) a partial copy that stays short of the recorded dirty region is mishandled; and (3) a partial copy that encroaches on the dirty region updates neither the folio's uptodate state nor the netfs_folio's range bookkeeping correctly. The resulting stale kernel metadata can drive incorrect memory operations during writeback. The confirming reproducer uses CIFS (SMB) with default caching and the fsx filesystem exerciser, demonstrating the bug on folio 0x24 when FMODE_READ gating is removed in netfs_perform_write(). The bug was introduced at commit 8f52de0077ba3bf41e5d53d67a185700f41efce7. Affected CPE: cpe:2.3:a:linux:linux from that ancestry through the fix commits.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Attacker fully controls the write sequence; CIFS mount requirement is an environmental prerequisite already present in typical deployments, not an uncontrollable condition, so AC:L is retained.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Sep 02, 2026 - 21:22 NVD
7.8 (HIGH)
Patch available
Jul 19, 2026 - 17:03 EUVD
CVE Published
Jul 19, 2026 - 15:39 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 19, 2026 - 15:39 nvd
HIGH 7.8

DescriptionNVD

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.

Executive ViewAI

Why It Matters

A memory corruption vulnerability in the Linux kernel netfs subsystem allows local authenticated users to escalate privileges to root through crafted network filesystem write operations. No public exploit has been identified; however, this affects Linux servers using network-backed storage (NFS, SMB, etc.) and poses significant risk to multi-tenant systems and shared hosting environments where local user compromise could lead to complete server takeover.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
Linux kernel powers most servers, cloud infrastructure, and embedded systems globally
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy