Skip to main content

Linux Kernel CVE-2026-64061

| EUVDEUVD-2026-45634 CRITICAL
Use After Free (CWE-416)
2026-07-19 Linux GHSA-89jm-xxxg-24xj
9.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Mount/access cifs netfs share
  2. Delivery
    Issue read producing dual-end folio gaps
  3. Exploit
    netfs_read_gaps frees sink page early
  4. Execution
    SMB thread copies socket data into freed buffer
  5. Persist
    Kernel heap use-after-free corruption
  6. Impact
    Crash or memory disclosure

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
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

Requires the affected kernel to be actively performing netfs gap-fill reads, which in practice means a mounted network filesystem that uses the netfs read path - most directly the cifs/SMB client (also AFS, 9p, Ceph). The specific trigger is a read that leaves gaps at both ends of a target folio, causing netfs_read_gaps() to allocate and prematurely free the shared sink page while an outstanding read op (data arriving over the TCP socket in the cifsd thread) still writes into it. Limiting factors: it is a race/use-after-free that must be won during in-flight I/O (elevating real attack complexity well above the CVSS AC:L), it needs local read activity against a netfs mount rather than a purely remote network request, and it only affects kernels from the 6.12 series carrying commit ee4cdf7ba857 up to the fixed builds. A hostile or man-in-the-middle SMB server improves the attacker's ability to time and size the delivered data.

Impact

The signals conflict sharply and should be reconciled before prioritizing. The Linux CNA CVSS vector (AV:N/AC:L/PR:N/UI:N, 9.8) implies trivial remote unauthenticated RCE, but the description and KASAN trace show a local race triggered by filesystem reads on a mounted netfs share - the 'network' element is the SMB transport delivering data into the freed buffer, not an attacker-reachable network entry point. This is the well-known pattern of over-scored Linux kernel CVEs. EPSS agrees with the lower real-world risk: 0.17% probability at the 6th percentile. There is no CISA KEV listing and no public PoC, so this is not confirmed actively exploited. SSVC-style reading: exploitation=none observed, automatable=no (requires a specific race window on a netfs mount), technical impact=partial-to-total (memory corruption). Net: a genuine memory-safety bug worth patching in normal cadence for systems mounting cifs/netfs shares, but not an emergency drop-everything issue despite the 9.8 headline.

Exploit ScenarioDerived

On a host running an affected kernel with a cifs/SMB share mounted, a local user (or automated workload) issues reads that produce gap-fill operations against a folio; the sink page is freed before the SMB receive thread finishes copying socket data, so incoming data is written into freed memory, corrupting the kernel heap. A malicious or compromised SMB server could shape response sizes/timing to widen the race window and steer the corruption. No public PoC exists, and reliable exploitation beyond a KASAN-detected crash/DoS would require winning a tight timing race.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – Jul 20, 2026

Use-after-free memory corruption in the Linux kernel's netfs subsystem (netfs_read_gaps()) allows local activity on network filesystem mounts (notably the cifs/SMB client) to write into a prematurely-freed sink folio. The bug arises because the sink page backing an ITER_BVEC iterator is released before the outstanding read op completes, letting the cifsd receive thread copy incoming socket data into freed memory - reproduced by KASAN on the generic/075 xfstest. There is no public exploit identified at time of analysis and EPSS risk is low (0.17%); the vendor-supplied CVSS of 9.8 (AV:N) appears inflated for what is fundamentally a local, race-dependent kernel flaw.

RemediationAI

Vendor-released patch: upgrade to a fixed stable kernel - 6.12.92, 7.0.11, 6.18.34, or mainline 7.1 (or your distribution's backport containing stable commit 2a39d49c8d97df8cb8fa80c10859bc1ba7358c6b / d4f4bc87c76511cf2532448b0fa40c25e894bd7d / 412e8bad48967fd34295866636c028befd27d8b9 / 3e5dd91b87a8b1450217b56a336bee315f40da7d, referenced at https://git.kernel.org/stable/c/2a39d49c8d97df8cb8fa80c10859bc1ba7358c6b). Because the fix is a small lifetime correction in netfs_read_gaps(), patching is the clean solution and should be prioritized on hosts using SMB/cifs or other netfs mounts. Where immediate patching is not possible, the practical compensating control is to avoid exercising the vulnerable path: unmount or stop using cifs/AFS/9p/Ceph network filesystem mounts on affected kernels, or restrict which users and workloads can read from those mounts - the trade-off is loss of network-share functionality for those hosts. Generic host hardening does not neutralize the race.

Affected VersionsENISA

Linux ee4cdf7ba857a894ad1650d6ab77669cbbfa329e <2a39d49c8d97df8cb8fa80c10859bc1ba7358c6b
Linux patch: 0
Linux ee4cdf7ba857a894ad1650d6ab77669cbbfa329e <3e5dd91b87a8b1450217b56a336bee315f40da7d
Linux ee4cdf7ba857a894ad1650d6ab77669cbbfa329e <d4f4bc87c76511cf2532448b0fa40c25e894bd7d
Linux patch: 7.1
Linux patch: 6.12.92
Linux patch: 7.0.11
Linux 6.12
Linux ee4cdf7ba857a894ad1650d6ab77669cbbfa329e <412e8bad48967fd34295866636c028befd27d8b9
Linux patch: 6.18.34

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 netfs framework is the kernel's generic network-filesystem read/write helper layer used by cifs (SMB), AFS, 9p, Ceph and similar. netfs_read_gaps() handles a partially-populated target folio by building an ITER_BVEC iterator that keeps the folio's existing head and tail bytes while tiling a single shared 'sink' page over the middle gap, so one read op can fill both gaps in a single I/O. The defect is a lifetime error: the sink page is put (reference released) before waiting for the read request to complete, so the buffer can be freed while the transport (here the cifsd kernel thread draining the TCP socket via _copy_to_iter/skb_copy_datagram_iter) is still writing received data into it. The root cause class is CWE-416 (Use After Free); the input lists CWE as N/A, so this classification is inferred from the KASAN report and patch description.

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

Vendor (Linux) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Triggered by local reads on a netfs mount (AV:L, PR:L) via a timing-dependent use-after-free race (AC:H); heap corruption can affect confidentiality, integrity, and availability (C/I/A:H).

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

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Jul 20, 2026 - 15:22 NVD
9.8 (CRITICAL)
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 cve.org
CRITICAL 9.8

DescriptionCVE.org

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

netfs: Fix early put of sink folio in netfs_read_gaps()

Fix netfs_read_gaps() to release the sink page it uses after waiting for the request to complete. The way the sink page is used is that an ITER_BVEC-class iterator is created that has the gaps from the target folio at either end, but has the sink page tiled over the middle so that a single read op can fill in both gaps.

The bug was found by KASAN detecting a UAF on the generic/075 xfstest in the cifsd kernel thread that handles reception of data from the TCP socket:

BUG: KASAN: use-after-free in _copy_to_iter+0x48a/0xa20 Write of size 885 at addr ffff888107f92000 by task cifsd/1285 CPU: 2 UID: 0 PID: 1285 Comm: cifsd Not tainted 7.0.0 #6 PREEMPT(lazy) Call Trace: dump_stack_lvl+0x5d/0x80 print_report+0x17f/0x4f1 kasan_report+0x100/0x1e0 kasan_check_range+0x10f/0x1e0 __asan_memcpy+0x3c/0x60 _copy_to_iter+0x48a/0xa20 __skb_datagram_iter+0x2c9/0x430 skb_copy_datagram_iter+0x6e/0x160 tcp_recvmsg_locked+0xce0/0x1130 tcp_recvmsg+0xeb/0x300 inet_recvmsg+0xcf/0x3a0 sock_recvmsg+0xea/0x100 cifs_readv_from_socket+0x3a6/0x4d0 [cifs] cifs_read_iter_from_socket+0xdd/0x130 [cifs] cifs_readv_receive+0xaad/0xb10 [cifs] cifs_demultiplex_thread+0x1148/0x1740 [cifs] kthread+0x1cf/0x210

Executive ViewAI

Why It Matters

CVE-2026-64061 is a critical use-after-free vulnerability in the Linux kernel's network filesystem subsystem (CIFS/SMB client) that could permit local attackers to corrupt kernel memory and potentially escalate privileges. Although the vendor assigned a CVSS score of 9.8, exploitation requires local system access and depends on race condition timing; no public exploit code exists and current threat probability is low. Organizations should prioritize patching systems with active network filesystem mounts, particularly those permitting untrusted local user access.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
Linux kernel underlies a huge fraction of servers and appliances worldwide
Data Quality
5 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Important
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