Skip to main content

Linux Kernel EUVDEUVD-2026-34115

| CVE-2026-46253 HIGH
Out-of-bounds Write (CWE-787)
2026-06-03 Linux GHSA-rwx9-m3pj-2mv2
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Gain local low-priv access
  2. Delivery
    Ensure ramoops with pstore_update_ms enabled
  3. Exploit
    Engineer undersized prior crash record across reboot
  4. Install
    Trigger non-fatal oops with larger payload
  5. C2
    Wait for pstore timer to refire save_old
  6. Execute
    Overflow heap via memcpy_fromio
  7. Impact
    Corrupt kernel slab for privilege escalation

Vulnerability Assessment

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

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

Requires local access with low privileges (CVSS PR:L) to a Linux system with the pstore/ram (ramoops) backend configured and active, plus pstore_update_ms set to a non-negative value (disabled by default, so non-default kernel configuration is required), plus a prior persisted crash record that did not fill the maximum record size (the maintainer notes this is almost impossible because the crash handler writes as much kmsg data as the record can hold), plus a subsequent non-fatal oops on a running system that triggers the timer-driven pstore_get_records path. The vulnerability cannot be reached via network, requires no user interaction, but is fundamentally gated by a non-default pstore configuration and an improbable crash-size sequence across boots.

Impact

CVSS 7.8 with vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H signals high impact via local low-privilege access, but real-world risk is significantly lower than the score suggests. EPSS at 0.03% (9th percentile) aligns with the maintainer's own analysis that the trigger conditions are 'extremely hard to hit' - requiring an undersized prior crash record (almost impossible in practice because the crash handler fills records to capacity), pstore_update_ms set to a non-default value (disabled by default), and a subsequent non-fatal oops on a surviving system. The vulnerability is not in CISA KEV and no POC is known. CWE is listed as N/A in the input but the description and patch logic confirm a heap buffer overflow class (CWE-122). This is a defense-in-depth kernel hardening fix rather than an urgent priority - appropriate for routine kernel update cycles, not emergency patching.

Exploit ScenarioDerived

A local low-privileged process or unprivileged kernel-triggering input would need to engineer a sequence across reboots: first cause a small (under-record-size) crash entry to land in the ramoops region so prz->old_log is allocated at size X, then after reboot wait for pstore to read records, then trigger a non-fatal oops that writes a larger buffer Y>X, then wait for pstore_update_ms timer (which must be explicitly enabled) to fire and call persistent_ram_save_old() a second time, overflowing the heap. No public POC exists and the kernel maintainers explicitly note the prerequisites are 'almost impossible' to satisfy in practice.

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 05, 2026

Heap buffer overflow in the Linux kernel's pstore/ram subsystem (persistent_ram_save_old function) allows local attackers with low privileges to trigger out-of-bounds writes and reads when the ramoops buffer size grows across boot cycles. The flaw affects Linux kernel versions from 3.5 onward and carries a CVSS 7.8 (High) rating, though exploitation requires a highly improbable chain of conditions across reboots. No public exploit identified at time of analysis, and EPSS is very low at 0.03%.

RemediationAI

Apply the vendor-released patch by upgrading to a fixed stable kernel: 5.10.252, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.14, 6.19.4, or 7.0 mainline as appropriate for your branch, or pick up upstream commits such as 2fa9a047c6a50ec80c3890dd623b85e237f0d1fd from https://git.kernel.org/stable/. As a compensating control on unpatched systems, leave pstore_update_ms at its default (-1, disabled) - this prevents the periodic timer path that drives the second persistent_ram_save_old() call needed to trigger the overflow, with the side effect that you lose periodic pstore polling and must rely on reboot-time reads only. Distributions deploying ramoops on embedded/automotive/Android devices should track their vendor backports rather than waiting for distro-default rolls.

Affected VersionsENISA

Linux 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 <2fa9a047c6a50ec80c3890dd623b85e237f0d1fd
Linux 3.5
Linux 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 <06d2c8bd108cea503f6f6e13e47495ed1085275f
Linux patch: 6.12.75
Linux patch: 7.0
Linux 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 <7cfe964e61c0ab667abd5f5b68e0acbf783efa4f
Linux 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 <58bda5a1d1ee98254383ef34f76b2c35140513ea
Linux patch: 5.10.252
Linux patch: 6.6.128
Linux 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 <5669645c052f235726a85f443769b6fc02f66762
Linux patch: 6.18.14
Linux 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 <cff0ef043e16feb5a02307c8f9d0117a96c5587c
Linux patch: 6.1.165
Linux 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 <9a6fc69a570c0780834246d52c856cc3dbc2605f
Linux patch: 0
Linux patch: 5.15.202
Linux 201e4aca5aa179e6c69a4dcd36a3562e56b8d670 <4f73486ca822305c1cf5b8ebc0b53a6ab3801a81
Linux patch: 6.19.4

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 fs/pstore/ram_core.c within the persistent_ram_save_old() function, which is part of the pstore (persistent storage) ramoops backend used to preserve kernel crash logs across reboots in a reserved RAM region. The root cause is a classic CWE-122 (Heap-based Buffer Overflow) pattern: the function conditionally allocates prz->old_log only when NULL but unconditionally updates prz->old_log_size to the current buffer size, then performs memcpy_fromio() using the new (potentially larger) size against a previously sized smaller allocation. This affects the upstream Linux kernel (cpe:2.3:a:linux:linux) across multiple stable branches, and the fix frees and reallocates the buffer whenever the requested size differs from the prior allocation.

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
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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
CVSS changed
Jun 05, 2026 - 07:22 NVD
7.8 (HIGH)
Patch available
Jun 03, 2026 - 19:01 EUVD
CVE Published
Jun 03, 2026 - 15:49 nvd
UNKNOWN (no severity yet)
CVE Published
Jun 03, 2026 - 15:49 nvd
HIGH 7.8

DescriptionCVE.org

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

pstore/ram: fix buffer overflow in persistent_ram_save_old()

persistent_ram_save_old() can be called multiple times for the same persistent_ram_zone (e.g., via ramoops_pstore_read -> ramoops_get_next_prz for PSTORE_TYPE_DMESG records).

Currently, the function only allocates prz->old_log when it is NULL, but it unconditionally updates prz->old_log_size to the current buffer size and then performs memcpy_fromio() using this new size. If the buffer size has grown since the first allocation (which can happen across different kernel boot cycles), this leads to:

  1. A heap buffer overflow (OOB write) in the memcpy_fromio() calls
  2. A subsequent OOB read when ramoops_pstore_read() accesses the buffer

using the incorrect (larger) old_log_size

The KASAN splat would look similar to: BUG: KASAN: slab-out-of-bounds in ramoops_pstore_read+0x... Read of size N at addr ... by task ...

The conditions are likely extremely hard to hit:

  1. Crash with a ramoops write of less-than-record-max-size bytes.
  2. Reboot: ramoops registers, pstore_get_records(0) reads old crash,

allocates old_log with size X

  1. Crash handler registered, timer started (if pstore_update_ms >= 0)
  2. Oops happens (non-fatal, system continues)
  3. pstore_dump() writes oops via ramoops_pstore_write() size Y (>X)
  4. pstore_new_entry = 1, pstore_timer_kick() called
  5. System continues running (not a panic oops)
  6. Timer fires after pstore_update_ms milliseconds
  7. pstore_timefunc() → schedule_work() → pstore_dowork() → pstore_get_records(1)
  8. ramoops_get_next_prz() → persistent_ram_save_old()
  9. buffer_size() returns Y, but old_log is X bytes
  10. Y > X: memcpy_fromio() overflows heap

Requirements:

  • a prior crash record exists that did not fill the record size

(almost impossible since the crash handler writes as much as it can possibly fit into the record, capped by max record size and the kmsg buffer almost always exceeds the max record size)

  • pstore_update_ms >= 0 (disabled by default)
  • Non-fatal oops (system survives)

Free and reallocate the buffer when the new size differs from the previously allocated size. This ensures old_log always has sufficient space for the data being copied.

Executive ViewAI

Why It Matters

A heap buffer overflow in the Linux kernel's persistent memory storage subsystem affects kernel versions 3.5 and later, creating a memory corruption risk for organizations operating Linux infrastructure; though technically high-severity (CVSS 7.8), the vulnerability is low-risk in practice due to minimal real-world exploitation likelihood (EPSS 0.03%) and strict local-access requirements. Vendor patches are available across major Linux distributions. This should be treated as routine security maintenance, not an emergency.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% 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 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

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.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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