Skip to main content

Linux Kernel EUVDEUVD-2026-25559

| CVE-2026-31666 HIGH
Improper Check for Unusual or Exceptional Conditions (CWE-754)
2026-04-24 Linux GHSA-7wrc-m37g-996x
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Obtain local access to Btrfs host
  2. Delivery
    Trigger extent-tree lookup crossing leaf boundary
  3. Exploit
    Non-matching key misreported as success
  4. Execution
    Kernel operates on wrong extent item
  5. Impact
    Extent tree metadata corruption / instability

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Unusual condition handling
Exploitation Conditions

Requires local access to a system using the Btrfs filesystem (kernel 6.10 or later before the fixed builds) and the ability to perform operations that walk the extent data reference tree across a leaf boundary where the next leaf's first key differs in objectid or type. Exploitation is limited by: local-only attack vector (AV:L, not remotely reachable), the need for at least low privileges (PR:L) to invoke the affected filesystem paths, and dependence on specific extent-tree layouts where a lookup spills into a non-matching next leaf - a condition tied to on-disk state rather than a simple attacker-chosen input. It does not affect systems not using Btrfs.

Impact

The signals are consistent and point to LOW real-world urgency despite the 7.8 'High' CVSS. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) requires local access and at least low privileges, so this is not remotely reachable. EPSS is 0.02% (5th percentile) - negligible probability of exploitation - and there is no KEV listing and no public exploit code, so it is not actively exploited. No SSVC decision data is provided. The C:H/I:H/A:H impact rating appears optimistic for what the description actually describes: extent tree corruption is primarily an integrity and availability concern (filesystem damage, potential crash/DoS), and the 'Information Disclosure' tag is not clearly supported by the description, which speaks to operating on the wrong extent item rather than leaking memory - treat the confidentiality claim as unverified. In practice this is a data-integrity bug most likely to manifest as filesystem corruption under specific tree layouts, not a weaponizable exploit; prioritize it as routine kernel patch hygiene.

Exploit ScenarioDerived

A local user with permission to trigger Btrfs extent-tree operations (for example on a shared multi-user host or within a container with filesystem access) performs actions that cause lookup_extent_data_ref() to cross a leaf boundary to a non-matching key, causing the kernel to act on the wrong extent item and corrupt filesystem metadata. Given AV:L/AC:L, the trigger is low-complexity but requires local access; no public PoC exists, and reliable, directed exploitation for privilege escalation would be difficult versus simply inducing corruption or a crash.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Jul 24, 2026

Local privilege-level extent tree corruption in the Linux kernel's Btrfs filesystem (versions 6.10 through the 6.18/6.19/7.0 development lines) arises because lookup_extent_data_ref() returns 0 (success) instead of -ENOENT after crossing to a new leaf whose first key does not match, causing callers to operate on the wrong extent tree item. There is no public exploit identified at time of analysis, and the EPSS score is very low (0.02%), indicating negligible likelihood of opportunistic exploitation; this is a reliability/data-integrity defect rather than a remotely reachable RCE. CVSS 7.8 (AV:L/PR:L) reflects local access requirements, not network exposure.

RemediationAI

Upgrade to a fixed kernel: Vendor-released patch versions 6.12.82, 6.18.23, 6.19.13, or 7.0 (or later) contain the fix, which restores an explicit -ENOENT return when the next-leaf key does not match. The corresponding upstream stable commits are 4125a194db4a6cf91f619f38788272651cb97dce, 450e6a685d0cad95b15f8af152057bd0bf79f50b, ab1e022379c3c811aa72da8eb0c7507859a1d0f5, and 316fb1b3169efb081d2db910cbbfef445afa03b9 (see https://git.kernel.org/stable/c/4125a194db4a6cf91f619f38788272651cb97dce). Apply your distribution's kernel update once Red Hat or SUSE ships the backport. There is no clean feature-level workaround since the bug is in core extent-tree lookup logic; if patching must be deferred on a critical system, the only meaningful compensating control is to avoid running Btrfs for new/critical volumes (e.g., use another filesystem) and to maintain verified backups plus periodic btrfs scrub to detect corruption early - noting that scrub detects but does not prevent the wrong-item operations, and switching filesystems is disruptive and not always feasible.

Affected VersionsENISA

Linux 1618aa3c2e0163f5ac34d514ae89474521910536 <450e6a685d0cad95b15f8af152057bd0bf79f50b
Linux patch: 6.18.23
Linux 6.10
Linux 1618aa3c2e0163f5ac34d514ae89474521910536 <316fb1b3169efb081d2db910cbbfef445afa03b9
Linux patch: 0
Linux 1618aa3c2e0163f5ac34d514ae89474521910536 <ab1e022379c3c811aa72da8eb0c7507859a1d0f5
Linux patch: 6.19.13
Linux 1618aa3c2e0163f5ac34d514ae89474521910536 <4125a194db4a6cf91f619f38788272651cb97dce
Linux patch: 6.12.82
Linux patch: 7.0

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 flaw lives in Btrfs, the copy-on-write filesystem shipped in the mainline Linux kernel. lookup_extent_data_ref() walks the extent tree to find a data reference; when the search runs off the end of a leaf, btrfs_next_leaf() is called to advance to the next leaf. Regression commit 1618aa3c2e01 ('btrfs: simplify return variables in lookup_extent_data_ref()') merged the separate err and ret variables into a single ret. As a result, a successful btrfs_next_leaf() return of 0 overwrites the intended -ENOENT sentinel, so a non-matching first key in the next leaf is misreported as a successful lookup. The affected CPE is cpe:2.3:a:linux:linux (mainline kernel). No CWE is assigned in the input, but this is functionally an incorrect return value / improper error handling defect (CWE-393-class: return of wrong status code) leading to logic operating on unintended on-disk metadata.

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 6.3 MEDIUM

Local privileged access needed (AV:L/PR:L); triggering depends on specific on-disk leaf layout so AC:H; corruption harms integrity and availability but no confidentiality leak, so C:N.

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

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
Patch released
Apr 27, 2026 - 20:00 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Apr 24, 2026 - 16:16 EUVD
CVE Published
Apr 24, 2026 - 14:45 nvd
HIGH 7.8

DescriptionCVE.org

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

btrfs: fix incorrect return value after changing leaf in lookup_extent_data_ref()

After commit 1618aa3c2e01 ("btrfs: simplify return variables in lookup_extent_data_ref()"), the err and ret variables were merged into a single ret variable. However, when btrfs_next_leaf() returns 0 (success), ret is overwritten from -ENOENT to 0. If the first key in the next leaf does not match (different objectid or type), the function returns 0 instead of -ENOENT, making the caller believe the lookup succeeded when it did not. This can lead to operations on the wrong extent tree item, potentially causing extent tree corruption.

Fix this by returning -ENOENT directly when the key does not match, instead of relying on the ret variable.

Executive ViewAI

Why It Matters

The Linux kernel Btrfs filesystem (versions 6.10-7.0) contains a local privilege-escalation defect causing silent extent tree corruption and potential data loss. Organizations operating Btrfs-backed storage, particularly in multi-tenant and containerized environments, face operational and data-integrity risk. With 0.02% exploitation likelihood and local-access prerequisites, immediate remediation is warranted but threat impact is managed.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel; Btrfs is a widely shipped mainline filesystem
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.0%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

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.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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