Skip to main content

Linux Kernel EUVDEUVD-2025-209970

| CVE-2025-71306 HIGH
Out-of-bounds Read (CWE-125)
2026-05-27 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-cw2f-qvgg-223g
7.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain local execution on IMA-appraisal host
  2. Delivery
    Execute or spawn a binary
  3. Exploit
    BPRM_CHECK invokes ima_appraise_measurement()
  4. Execution
    Bad container_of() offset reads past stack frame
  5. Impact
    Out-of-bounds read crashes task or leaks adjacent stack data

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local code-execution capability (the BPRM_CHECK execve measurement hook must actually be reached) AND a kernel built and configured with IMA appraisal active (an IMA policy containing appraise rules / ima_appraise enabled). The limiting factors are significant: it is local-only (AV:L), requires an existing foothold (PR:L), and the vulnerable path does not execute at all in the common configuration where IMA appraisal is disabled - so default installs on many distributions are not in the exploitable state. No remote vector and no privileges beyond local execution are needed once IMA appraisal is on, but that non-default IMA configuration is the key gate bounding real-world risk.

Impact

The signals are consistent and point to low real-world urgency despite a 7.1 CVSS. The vector is local (AV:L) with PR:L and no user interaction, so an attacker must already be able to execute binaries on the host; EPSS is 0.02% (5th percentile), the CVE is absent from CISA KEV, and no POC is referenced - these all agree the issue is unlikely to be exploited at scale. The vendor CVSS rates C:H/A:H, but the described primitive is a 1-byte out-of-bounds stack read, which in practice yields only marginal information disclosure and is far more likely to manifest as a KASAN-detected crash/DoS than reliable confidentiality compromise, so C:H looks generous relative to the actual primitive. Critically, the affected path only runs when IMA appraisal is configured and active - a non-default option on most general-purpose distributions - which materially lowers exposure and argues for higher attack complexity than the vendor's AC:L. Net: a legitimate hardening fix to apply during routine kernel patching, not an emergency.

Exploit ScenarioDerived

A local user able to execute programs on a host with IMA appraisal enabled runs or causes execution of a binary, driving the BPRM_CHECK measurement path into ima_appraise_measurement() where the bad container_of() offset triggers a 1-byte out-of-bounds stack read. In the most likely outcome this is caught as stack corruption and crashes the task or destabilizes the host (DoS); reliable extraction of adjacent stack data would be difficult and is not demonstrated by any public POC.

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 – Jun 25, 2026

Out-of-bounds stack read in the Linux kernel's IMA (Integrity Measurement Architecture) subsystem, in ima_appraise_measurement() reached via is_bprm_creds_for_exec(), affecting kernels from the 6.14 series up to the fixed stable commits. A misuse of container_of() on a *file pointer computes an invalid stack offset, letting a local execution path read one byte past a stack frame object (flagged by KASAN), which can disclose adjacent stack data or crash the task. EPSS is very low (0.02%, 5th percentile), the CVE is not on CISA KEV, and there is no public exploit identified at time of analysis; the issue is patched upstream.

RemediationAI

Apply the upstream fix by updating to a kernel build that includes stable commits ab3d16da982a4ebb715d487dbf9dd66e3990d935 and 377cae9851e8559e9d8b82a78c1ac0abeb18839c (Patch available per vendor advisory; EUVD references a 6.19.4 patched line, but the exact released tag is not independently confirmed). Track your distribution's kernel security update for CVE-2025-71306 and reboot into the patched kernel. As an interim compensating control where patching must be deferred, note that the vulnerable code only executes when IMA appraisal is enabled, so systems can reduce or eliminate exposure by not enabling IMA appraisal (ima_appraise / IMA policy appraise rules) where it is not operationally required - the trade-off is losing IMA-based runtime integrity enforcement, which is unacceptable on hosts that rely on IMA for boot/exec integrity, where prompt patching is the correct path instead. See https://git.kernel.org/stable/c/377cae9851e8559e9d8b82a78c1ac0abeb18839c for the authoritative change.

Affected VersionsENISA

Linux patch: 0
Linux patch: 7.0
Linux 95b3cdafd7cb74414070893445a9b731793f7b55 <ab3d16da982a4ebb715d487dbf9dd66e3990d935
Linux 6.14
Linux patch: 6.19.4
Linux 95b3cdafd7cb74414070893445a9b731793f7b55 <377cae9851e8559e9d8b82a78c1ac0abeb18839c

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 the kernel integrity-measurement code that runs during program execution via the BPRM_CHECK security hook. When a process is executed, the IMA/LSM stack calls process_measurement() and ima_appraise_measurement(); the buggy code used container_of() on a struct file pointer to recover an enclosing structure, but that file pointer is not embedded in the assumed structure, so the back-computed offset points into an unrelated region of the caller's stack frame (the KASAN report shows a 1-byte read at offset 24 of a frame containing 'file' [48,56) and 'hash' [80,148)). This is a textbook CWE-125 (Out-of-bounds Read) driven by an invalid pointer-to-container assumption rather than a missing length check. The upstream fix removes the fragile container_of() inference and instead threads an explicit bprm_is_check boolean through process_measurement(), set true only when the caller holds a linux_binprm pointer and the hook is BPRM_CHECK, and false otherwise. CPE coverage is cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*, i.e. the kernel OS component generically.

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

Local execution path (AV:L, PR:L); AC:H because the IMA-appraisal config gate is non-default; a 1-byte OOB read gives only C:L but can crash the task (A:H), with I:N.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Jun 25, 2026 - 21:07 NVD
7.1 (HIGH)
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 27, 2026 - 14:16 nvd
HIGH 7.1
CVE Published
May 27, 2026 - 14:16 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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

ima: Fix stack-out-of-bounds in is_bprm_creds_for_exec()

KASAN reported a stack-out-of-bounds access in ima_appraise_measurement from is_bprm_creds_for_exec:

BUG: KASAN: stack-out-of-bounds in ima_appraise_measurement+0x12dc/0x16a0 Read of size 1 at addr ffffc9000160f940 by task sudo/550 The buggy address belongs to stack of task sudo/550 and is located at offset 24 in frame: ima_appraise_measurement+0x0/0x16a0 This frame has 2 objects: [48, 56) 'file' [80, 148) 'hash'

This is caused by using container_of on the *file pointer. This offset calculation is what triggers the stack-out-of-bounds error.

In order to fix this, pass in a bprm_is_check boolean which can be set depending on how process_measurement is called. If the caller has a linux_binprm pointer and the function is BPRM_CHECK we can determine is_check and set it then. Otherwise set it to false.

Executive ViewAI

Why It Matters

A stack memory disclosure vulnerability in the Linux kernel's Integrity Measurement Architecture affects systems running kernel versions 6.14 and later; no public exploit identified at time of analysis. Although the technical vulnerability could allow local attackers to access sensitive memory or crash systems, real-world exploitation risk is very low based on EPSS metrics (0.02%). Organizations running these kernel versions should plan kernel updates within 30 days as part of standard patching cycles, prioritizing sensitive production environments.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Prevalence
Ubiquitous
Linux kernel runs nearly everywhere, though the IMA appraisal path is rarely enabled
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

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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 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 Performance Computing 15 SP7 Not-Affected

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