Skip to main content

Linux Kernel EUVDEUVD-2026-45637

| CVE-2026-64064 MEDIUM
2026-07-19 Linux GHSA-gxmr-cf3v-qq46
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain low-privilege local shell
  2. Delivery
    Write to netfs-backed file (streaming write, fscaching disabled)
  3. Exploit
    Truncate file to erase dirty folio data
  4. Execution
    Memory-map and read affected folio region
  5. Persist
    netfs_read_gaps() dereferences null folio->private
  6. Impact
    Kernel oops / system-wide DoS

Vulnerability Assessment

Exploitation Conditions

Requires local shell access with low privileges (PR:L per CVSS vector). The vulnerable code path is only reachable when fscaching is disabled - with fscaching enabled, streaming writes are suppressed and the bug cannot be triggered. The target filesystem must be a netfs-backed mount (NFS, AFS, Ceph, or similar); local ext4/xfs mounts do not use the netfs abstraction layer and are not affected. The target file must be pre-populated to sufficient size (the reproduction case uses a 1 MiB baseline) so that the kernel's zero-point logic does not short-circuit by treating unread regions as implicitly zero. The precise sequence - streaming write leaving a dirty folio, truncation removing the dirty range, mmap read of the affected region - must occur without an intervening page-cache flush. These combined constraints mean exploitation requires authenticated local access on a system with netfs-backed storage configured without fscaching.

Impact

The CVSS 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) accurately characterizes this as a local, low-privilege DoS with no confidentiality or integrity impact. EPSS at 0.17% (6th percentile) reflects negligible observed exploitation probability, consistent with the absence of a KEV listing and the specialized trigger conditions required. Real-world exploitability is genuinely constrained: the attacker needs an interactive shell, a netfs-backed filesystem mount, and fscaching disabled - conditions that are common in NFS-heavy environments but not universal. Even a mid-sized municipal IT infrastructure team in sanok running shared NFS home directories should treat this as a routine patch-cycle item rather than an emergency response. Notably, the vulnerability is fully deterministic once conditions are met - there is no race window - which slightly elevates practical risk relative to similarly-scored bugs requiring timing precision, since a malicious local user could reliably crash a shared server on demand. Overall priority: apply at the next scheduled kernel maintenance window.

Exploit ScenarioDerived

A local user with standard shell access on a system mounting an NFS share (with fscaching disabled) writes approximately 1 MiB of data to a file to establish a large enough page cache, then uses a tool such as xfs_io to perform a targeted streaming write creating a dirty-but-not-uptodate folio, immediately truncates the file to remove the dirty region, and then maps and reads the affected folio via mmap. The call chain reaches netfs_read_gaps(), which dereferences the null folio->private pointer, producing a kernel oops and crashing the system. The upstream commit embeds a near-exact reproduction command sequence using xfs_io, making this straightforwardly reproducible by any authenticated local user.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 03, 2026

Kernel crash via NULL pointer dereference in the Linux netfs layer is triggered by a local low-privileged user combining a streaming write, file truncation, and mmap read on the same netfs-backed file. Affected kernel versions span from 6.8 (commit 9ebff83e) through stable branches prior to 6.12.92, 6.18.34, 7.0.11, and 7.1. No public exploit code exists and EPSS is 0.17%, indicating very low observed exploitation probability; however, a precise reproduction recipe is embedded in the upstream fix commit, substantially lowering the knowledge barrier for any attacker already holding local access.

RemediationAI

Apply vendor-released patches by upgrading to Linux kernel 6.12.92, 6.18.34, 7.0.11, or 7.1 as appropriate for your stable branch. The four upstream fix commits are available at https://git.kernel.org/stable/c/31ba145faceb378fa01afcb8349e15ea7d95e542, https://git.kernel.org/stable/c/fb6ec883b48b8789e5e690dcd440d2db941e840c, https://git.kernel.org/stable/c/65ae8717abf36202fef02260b64b781d2d44a9bf, and https://git.kernel.org/stable/c/156ac2ec2ee77c44c4eb7439d6d165247ba12247. Ubuntu users should apply the updates referenced in USN-8593-1. As a compensating control, enabling fscaching suppresses streaming writes and prevents the vulnerable code path from being reached; however, fscaching adds caching complexity and should not substitute for patching. Restricting untrusted local users from write access to netfs-backed mounts (NFS, AFS, Ceph) also eliminates the attack surface, at the cost of reducing filesystem accessibility.

Affected VersionsENISA

Linux 9ebff83e648148b9ece97d4e4890dd84ca54d6ce <156ac2ec2ee77c44c4eb7439d6d165247ba12247
Linux patch: 7.0.11
Linux patch: 0
Linux 9ebff83e648148b9ece97d4e4890dd84ca54d6ce <65ae8717abf36202fef02260b64b781d2d44a9bf
Linux patch: 7.1
Linux patch: 6.18.34
Linux 6.8
Linux patch: 6.12.92
Linux 9ebff83e648148b9ece97d4e4890dd84ca54d6ce <fb6ec883b48b8789e5e690dcd440d2db941e840c
Linux 9ebff83e648148b9ece97d4e4890dd84ca54d6ce <31ba145faceb378fa01afcb8349e15ea7d95e542

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 vulnerability resides in netfs_invalidate_folio() within the Linux kernel's network filesystem (netfs) abstraction layer, which underpins NFS, AFS, Ceph, and related network-backed filesystems. Streaming writes leave a folio in a dirty-but-not-uptodate state, with a dynamically allocated netfs_folio struct attached to folio->private to track the dirty byte range. When the file is subsequently truncated such that the dirty region is removed, netfs_invalidate_folio() frees the netfs_folio struct but neglects to clear the folio's dirty flag. A later mmap-triggered read through netfs_read_folio() detects the stale dirty flag and dispatches to netfs_read_gaps(), which unconditionally dereferences folio->private as a netfs_folio pointer - producing a NULL pointer dereference and kernel oops. The fix calls folio_cancel_dirty() to clear the dirty flag when all dirty data is erased, mirroring established NFS behavior. CPE cpe:2.3:a:linux:linux covers the upstream kernel tree. CWE is formally unassigned, but the root cause is best classified as CWE-476 (NULL Pointer Dereference) arising from a stale dirty-flag condition after struct teardown.

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 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local low-privilege attacker triggers deterministic kernel crash with no C/I impact; conditions are specific but fully deterministic once met, supporting AC:L.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
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
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Sep 03, 2026 - 15:37 NVD
5.5 (MEDIUM)
Patch available
Jul 19, 2026 - 17:03 EUVD
CVE Published
Jul 19, 2026 - 15:39 nvd
MEDIUM 5.5
CVE Published
Jul 19, 2026 - 15:39 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

netfs: Fix netfs_invalidate_folio() to clear dirty bit if all changes gone

If a streaming write is made, this will leave the relevant modified folio in a not-uptodate, but dirty state with a netfs_folio struct hung off of folio->private indicating the dirty range. Subsequently truncating the file such that the dirty data in the folio is removed, but the first part of the folio theoretically remains will cause the netfs_folio struct to be discarded... but will leave the dirty flag set.

If the folio is then read via mmap(), netfs_read_folio() will see that the page is dirty and jump to netfs_read_gaps() to fill in the missing bits. netfs_read_gaps(), however, expects there to be a netfs_folio struct present and can oops because truncate removed it.

Fix this by calling folio_cancel_dirty() in netfs_invalidate_folio() in the event that all the dirty data in the folio is erased (as nfs does).

Also add some tracepoints to log modifications to a dirty page.

This can be reproduced with something like:

dd if=/dev/zero of=/xfstest.test/foo bs=1M count=1 umount /xfstest.test mount /xfstest.test xfs_io -c "w 0xbbbf 0xf96c" \ -c "truncate 0xbbbf" \ -c "mmap -r 0xb000 0x11000" \ -c "mr 0xb000 0x11000" \ /xfstest.test/foo

with fscaching disabled (otherwise streaming writes are suppressed) and a change to netfs_perform_write() to disallow streaming writes if the fd is open O_RDWR:

if (//(file->f_mode & FMODE_READ) || <--- comment this out netfs_is_cache_enabled(ctx)) {

It should be reproducible even without this change, but if prevents the above trivial xfs_io command from reproducing it.

Note that the initial dd is important: the file must start out sufficiently large that the zero-point logic doesn't just clear the gaps because it knows there's nothing in the file to read yet. Unmounting and mounting is needed to clear the pagecache (there are other ways to do that that may also work).

This was initially reproduced with the generic/522 xfstest on some patches that remove the FMODE_READ restriction.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
Linux kernel underlies the vast majority of server, cloud, and embedded deployments
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
High

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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