Skip to main content

Linux Kernel CVE-2026-64031

| EUVDEUVD-2026-45604 HIGH
Race Condition (CWE-362)
2026-07-19 Linux GHSA-22cv-hg25-xph5
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Gain local read access to EROFS mount
  2. Delivery
    Identify file backed by unaligned compressed extents
  3. Exploit
    Trigger concurrent reads of shared pcluster
  4. Execution
    Win race before folio->private cleared
  5. Persist
    Cause double filemap_add cache corruption
  6. Impact
    Kernel crash or memory disclosure

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: 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 the EROFS filesystem to be built and mounted with unaligned data compression enabled (the -E48bit option, e.g. with zstd) - the vulnerable z_erofs_bind_cache()/filemap_add_folio() path is not reached on default aligned-compression images. The attacker must have local access (CVSS AV:L) and low privileges (PR:L) sufficient to read the affected compressed files, and must trigger concurrent access so two pclusters contend for the same Z_EROFS_PREALLOCATED_FOLIO. Limiting factors: this is a timing-dependent race that must be won during the window between filemap_add_folio() and folio_attach_private(), the vulnerable unaligned-compression configuration is non-default and uncommon, no user interaction is otherwise required, and it is confined to a single machine (S:U). Systems using only aligned EROFS compression are not exposed.

Impact

Signals are consistent and point to a low-to-moderate real-world priority. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/C:H/I:H/A:H, 7.8) reflects the kernel team's standard high-impact local scoring, but the AC:L rating understates reality: exploitation depends on winning a narrow scheduler race between two concurrent decompression threads, which in practice is AC:H. EPSS is low (0.17%, 6th percentile) and the CVE is absent from CISA KEV, with no public exploit identified - all corroborating that this is not under active or widespread exploitation. Crucially, the vulnerable code path only executes on EROFS images built with unaligned data compression (-E48bit/zstd), a non-default and uncommon configuration, which sharply narrows the exposed population versus the raw 'Linux kernel' scope. The vendor tag labels this Information Disclosure, but the mechanism (double filemap_add on managed cache) is more consistent with cache corruption / potential use-after-free that could yield DoS or memory disclosure; the exact primitive is not independently confirmed. Net: a legitimate memory-safety bug worth patching in routine cycles, not an emergency.

Exploit ScenarioDerived

On a system that reads EROFS content compressed with unaligned extents, a local attacker (or a workload that triggers concurrent reads of the same shared compressed data) forces two decompression threads to race over the same preallocated managed folio, driving a double filemap_add_folio() and corrupting page-cache state to cause a kernel crash or potentially manipulate cached memory. No public proof-of-concept is identified, and reliably winning the race is non-trivial. An attacker able to supply and induce mounting of a crafted EROFS image increases control over which extents are laid out unaligned.

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 – Jul 20, 2026

Local privilege escalation / memory-corruption potential in the Linux kernel's EROFS filesystem arises from a managed-cache race condition affecting unaligned compressed extents. When two threads process the same Z_EROFS_PREALLOCATED_FOLIO for different pclusters, one thread can call filemap_add_folio() a second time on a folio whose private state was not yet cleared, corrupting the managed page cache. Rated CVSS 7.8 (AV:L), it affects EROFS images built with unaligned data compression (e.g. -E48bit with zstd); EPSS is low (0.17%, 6th percentile), it is not in CISA KEV, and no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: update to a fixed stable kernel (e.g. the 6.18.34, 7.0.11, or 7.1 stable releases, or backport commits 425d32d6288d7d845e486af9419bbedccd8c9103 / 649932fc3815eda2f24eb4de4b3a5e94886ee0b9 / 038166f873c4caf6e85cfd4ea0c5a5ba297b4e8b from git.kernel.org/stable). Apply your distribution's corresponding kernel security update and reboot. If immediate patching is not possible, the practical compensating control is to avoid the trigger: do not build or mount EROFS images that use unaligned data compression (do not pass -E48bit / equivalent zstd unaligned options when generating images with mkfs.erofs), and rebuild affected images with aligned compression - the trade-off is a modest loss of compression density. Restrict the ability of untrusted users to mount attacker-supplied EROFS images (e.g. via automount, USB, or container image import), since mounting a crafted image is the realistic delivery path; the trade-off is reduced convenience for removable-media and container workflows. Verify fixed version against your distro advisory before declaring remediation complete.

Affected VersionsENISA

Linux 7361d1e3763baaf7b9349c576137851458ad38d1 <425d32d6288d7d845e486af9419bbedccd8c9103
Linux patch: 7.1
Linux patch: 0
Linux patch: 7.0.11
Linux 7361d1e3763baaf7b9349c576137851458ad38d1 <649932fc3815eda2f24eb4de4b3a5e94886ee0b9
Linux 6.15
Linux patch: 6.18.34
Linux 7361d1e3763baaf7b9349c576137851458ad38d1 <038166f873c4caf6e85cfd4ea0c5a5ba297b4e8b

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

EROFS (Enhanced Read-Only File System) is a compressed, read-only filesystem used widely in Android system/vendor partitions, container images, and appliance firmware. The bug lives in the zdata decompression path: z_erofs_fill_bio_vec() handles a preallocated folio and calls filemap_add_folio() (step 1) but only later attaches the pcluster via folio_attach_private() (step 2). Because folio->private still holds the sentinel Z_EROFS_PREALLOCATED_FOLIO between those steps, a concurrent z_erofs_bind_cache() on a different pcluster can find the same managed folio and call filemap_add_folio() again (step 3). This is a classic time-of-check/time-of-use data race (CWE-362, race condition; the CWE field is N/A in the source data) on shared page-cache state. The regression was introduced when unaligned compressed extents were added; the fix clears folio->private before the folio becomes visible in the managed cache, so a competing pcluster instead waits on the locked folio, mirroring the fix in commit 9e2f9d34dd12 for crafted overlapped pclusters.

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

Local access to read affected files (AV:L/PR:L); a timing-dependent race window makes AC:H; kernel memory corruption supports high C/I/A within the unchanged scope.

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:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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
Jul 20, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Jul 19, 2026 - 17:03 EUVD
CVE Published
Jul 19, 2026 - 15:39 cve.org
HIGH 7.8
CVE Published
Jul 19, 2026 - 15:39 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

erofs: fix managed cache race for unaligned extents

After unaligned compressed extents were introduced, the following race could occur:

[Thread 1] [Thread 2] (z_erofs_fill_bio_vec) <handle a Z_EROFS_PREALLOCATED_FOLIO folio> ... filemap_add_folio (1) (z_erofs_bind_cache) <the same folio is found..> .. .. folio_attach_private (2) filemap_add_folio (3) again

Since (1) is executed but (2) hasn't been executed yet, it's possible that another thread finds the same managed folio in z_erofs_bind_cache() for a different pcluster and calls filemap_add_folio() again since folio->private is still Z_EROFS_PREALLOCATED_FOLIO.

Fix this by explicitly clearing folio->private before making the folio visible in the managed cache so that another pcluster can simply wait on the locked managed folio as what we did for other shared cases [1].

This only impacts unaligned data compression (-E48bit with zstd, for example).

[1] Commit 9e2f9d34dd12 ("erofs: handle overlapped pclusters out of crafted images properly") was originally introduced to handle crafted overlapped extents, but it addresses unaligned extents as well.

Executive ViewAI

Why It Matters

CVE-2026-64031 affects Linux systems deploying EROFS compressed filesystems with unaligned data compression, enabling local privilege escalation through kernel memory corruption. Organizational exposure is limited to environments explicitly using this specific filesystem configuration, and the vulnerability requires pre-existing local access rather than network attack. With EPSS at 0.2% and no observed active exploitation, this presents lower near-term risk than the CVSS rating suggests, but requires action to prevent insider-threat exploitation paths.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
Linux kernel; EROFS ships in Android and containers, but only unaligned-compression mounts affected
Data Quality
6 sources
Confidence: High

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

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

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 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