Skip to main content

Linux Kernel CVE-2026-45985

| EUVDEUVD-2026-32270 MEDIUM
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-qwcw-8jc7-8mhw
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Identify ext4 mount with dioread_nolock
  2. Delivery
    Write file to create unwritten extent region
  3. Exploit
    Issue partial within-EOF DIO write
  4. Install
    Induce ENOSPC during extent split operation
  5. C2
    On-disk extent prematurely converted to written
  6. Execute
    DIO write fails leaving status tree inconsistent
  7. Impact
    Read affected region after cache eviction exposes stale data

Vulnerability Assessment

Exploitation Conditions

Exploitation requires an ext4 filesystem explicitly mounted with the 'dioread_nolock' option (not enabled by default in most Linux distributions; commonly configured for O_DIRECT performance in database workloads such as MySQL, PostgreSQL, or Oracle on ext4). Within that environment, three additional conditions must align: the target file must contain an existing large unwritten extent (typical during file pre-allocation or fallocate scenarios), a Direct I/O write must cover only a portion of that extent (within-EOF write), and the filesystem must encounter an -ENOSPC error precisely during the ext4_split_extent_at() call followed by a DIO write failure that prevents data from committing. Local filesystem write access with at least unprivileged user privileges (PR:L per CVSS) is required; no network access or user interaction is needed. The stale data window is limited to the affected extent region and only opens after the extent status tree cache entry is evicted. Systems not using dioread_nolock, and filesystems other than ext4, are fully unaffected.

Impact

The vendor CVSS 3.1 score of 5.5 (Medium) with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H classifies this as a local availability-only issue, but this conflicts with two other data points: the NVD 'Information Disclosure' tag and the CVE description's explicit stale-data exposure scenario, which implies at minimum a low-level confidentiality impact. EPSS at 0.02% (7th percentile) and absence from CISA KEV both confirm no observed automated or widespread exploitation. The AC:L assignment in the vendor vector understates real complexity: reliable triggering requires ext4 mounted with dioread_nolock (non-default on most general-purpose distributions, but commonly enabled on database servers using O_DIRECT), an ENOSPC condition occurring precisely during extent split, and a subsequent DIO write failure - three independently unlikely conditions that must align. For storage-sensitive environments such as database servers or virtual machine image stores on ext4 with dioread_nolock, the data integrity risk is non-trivial despite the low EPSS, and patching is warranted. For general-purpose desktops or servers not using dioread_nolock, this vulnerability poses negligible operational risk.

Exploit ScenarioDerived

A local user with write access to a file on an ext4 filesystem mounted with dioread_nolock initiates a Direct I/O write that covers only the second half of an existing large unwritten extent. If the underlying storage is near-full so that an ENOSPC error occurs during ext4_split_extent_at() and the DIO write subsequently fails to commit, the on-disk extent is left in written state while the extent status tree marks the second half as unwritten - once the in-memory cache entry is evicted, a subsequent read of the second-half region returns stale pre-zero data from a prior file version. No public proof-of-concept code has been identified at time of analysis, and reliable reproduction requires precise timing of storage pressure with DIO write failure.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 16, 2026

Stale data exposure in the Linux kernel's ext4 filesystem affects systems using the dioread_nolock mount option, triggered by a flag-handling logic error in the extent-splitting code path during Direct I/O operations. When EXT4_GET_BLOCKS_CONVERT is incorrectly passed during a pre-I/O split of an unwritten extent, a simultaneous -ENOSPC failure in ext4_split_extent_at() causes the entire on-disk extent to be prematurely converted to written state while the in-memory extent status tree retains an inconsistent unwritten marker for the second half; if the DIO write subsequently fails, a future read of that region exposes stale pre-zero data. No public exploit has been identified at time of analysis, EPSS is 0.02% (7th percentile), and there is no CISA KEV listing, indicating no confirmed active exploitation.

RemediationAI

The primary remediation is upgrading to a patched Linux kernel: 5.10.253, 5.15.203, 6.6.130, 6.12.77, 6.18.17, 6.19.4, or 7.0. Patch commits are available at https://git.kernel.org/stable/c/2698731d25823267c29190cb578da9296a0c0d7b, https://git.kernel.org/stable/c/2920ec61c98b9476781359f05b94da84e80f54d4, https://git.kernel.org/stable/c/feaf2a80e78f89ee8a3464126077ba8683b62791, and related stable refs linked in NVD. For systems where immediate kernel upgrade is operationally infeasible, the most effective compensating control is remounting affected ext4 filesystems without dioread_nolock using 'mount -o remount,nodioread_nolock /mountpoint' and updating /etc/fstab accordingly; this fully disables the vulnerable code path at the cost of reduced Direct I/O write throughput for O_DIRECT workloads, which may be significant for database applications. No generic network-layer mitigations are applicable given the local-only attack vector. The NVD advisory is at https://nvd.nist.gov/vuln/detail/CVE-2026-45985.

Affected VersionsENISA

Linux patch: 0
Linux patch: 7.0
Linux patch: 6.6.130
Linux b8a8684502a0fc852afa0056c6bb2a9273f6fcc0 <2920ec61c98b9476781359f05b94da84e80f54d4
Linux patch: 5.15.203
Linux patch: 6.18.17
Linux 3.15
Linux patch: 6.12.77
Linux b8a8684502a0fc852afa0056c6bb2a9273f6fcc0 <feaf2a80e78f89ee8a3464126077ba8683b62791
Linux patch: 6.19.4
Linux b8a8684502a0fc852afa0056c6bb2a9273f6fcc0 <37555690f39f78ef69af347d9aff897e07445949
Linux patch: 5.10.253
Linux b8a8684502a0fc852afa0056c6bb2a9273f6fcc0 <716e7439a5a9b18c3ff882c2f8c834b9ced1aaec
Linux b8a8684502a0fc852afa0056c6bb2a9273f6fcc0 <77e407967cd872cd75d7e4a691908e49c8e6b4d4
Linux b8a8684502a0fc852afa0056c6bb2a9273f6fcc0 <2698731d25823267c29190cb578da9296a0c0d7b
Linux b8a8684502a0fc852afa0056c6bb2a9273f6fcc0 <67cdb7bd7442bd3cdc6d6088bbb2df9be2fe936c

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 affected subsystem is ext4's extent management layer within the Linux kernel, specifically the ext4_iomap_alloc() → ext4_map_blocks() → ext4_split_convert_extents() call chain invoked when dioread_nolock is active. The CPE cpe:2.3:o:linux:linux_kernel:* covers all affected kernel versions. The root cause is an incorrect flag assignment: EXT4_GET_BLOCKS_CONVERT is passed alongside EXT4_GET_BLOCKS_PRE_IO during an extent pre-split, which propagates EXT4_EXT_DATA_VALID2 into ext4_split_extent(). This flag signals that the trailing half of the split extent already contains valid data, bypassing the zeroing guard. When ext4_split_extent_at() hits a transient -ENOSPC mid-operation, its recovery path zeroes the first half but converts the full on-disk extent to written status - while the extent status tree (in-memory cache) is left recording the second half as unwritten. NVD did not assign a CWE, but the flaw maps closest to CWE-665 (Improper Initialization) or CWE-362 (Race Condition) due to incorrect state transition under a failure path.

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.8 MEDIUM

AC:H reflects three required simultaneous conditions (dioread_nolock, ENOSPC during split, DIO write failure); C:L and I:L added given confirmed stale-data exposure and extent state inconsistency absent from vendor vector.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 7.0 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
Jun 16, 2026 - 14:07 NVD
5.5 (MEDIUM)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:17 nvd
MEDIUM 5.5
CVE Published
May 27, 2026 - 14:17 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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

ext4: don't set EXT4_GET_BLOCKS_CONVERT when splitting before submitting I/O

When allocating blocks during within-EOF DIO and writeback with dioread_nolock enabled, EXT4_GET_BLOCKS_PRE_IO was set to split an existing large unwritten extent. However, EXT4_GET_BLOCKS_CONVERT was set when calling ext4_split_convert_extents(), which may potentially result in stale data issues.

Assume we have an unwritten extent, and then DIO writes the second half.

[UUUUUUUUUUUUUUUU] on-disk extent U: unwritten extent [UUUUUUUUUUUUUUUU] extent status tree

|<- ->| ----> dio write this range First, ext4_iomap_alloc() call ext4_map_blocks() with EXT4_GET_BLOCKS_PRE_IO, EXT4_GET_BLOCKS_UNWRIT_EXT and EXT4_GET_BLOCKS_CREATE flags set. ext4_map_blocks() find this extent and call ext4_split_convert_extents() with EXT4_GET_BLOCKS_CONVERT and the above flags set.

Then, ext4_split_convert_extents() calls ext4_split_extent() with EXT4_EXT_MAY_ZEROOUT, EXT4_EXT_MARK_UNWRIT2 and EXT4_EXT_DATA_VALID2 flags set, and it calls ext4_split_extent_at() to split the second half with EXT4_EXT_DATA_VALID2, EXT4_EXT_MARK_UNWRIT1, EXT4_EXT_MAY_ZEROOUT and EXT4_EXT_MARK_UNWRIT2 flags set. However, ext4_split_extent_at() failed to insert extent since a temporary lack -ENOSPC. It zeroes out the first half but convert the entire on-disk extent to written since the EXT4_EXT_DATA_VALID2 flag set, but left the second half as unwritten in the extent status tree.

[0000000000SSSSSS] data S: stale data, 0: zeroed [WWWWWWWWWWWWWWWW] on-disk extent W: written extent [WWWWWWWWWWUUUUUU] extent status tree

Finally, if the DIO failed to write data to the disk, the stale data in the second half will be exposed once the cached extent entry is gone.

Fix this issue by not passing EXT4_GET_BLOCKS_CONVERT when splitting an unwritten extent before submitting I/O, and make ext4_split_convert_extents() to zero out the entire extent range to zero for this case, and also mark the extent in the extent status tree for consistency.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

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

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

Vendor StatusVendor

SUSE

Severity: Moderate
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 Performance Computing 15 SP7 Affected

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