Skip to main content

Linux Kernel EUVDEUVD-2026-35160

| CVE-2026-46294 HIGH
Out-of-bounds Write (CWE-787)
2026-06-08 Linux GHSA-c9hh-9962-q529
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain root/CAP_SYS_ADMIN locally
  2. Delivery
    Craft dm ioctl with non-8-byte-aligned output buffer
  3. Exploit
    align_ptr() advances outptr past buffer end
  4. Execution
    remaining length underflows past bounds check
  5. Persist
    Out-of-bounds write into kernel memory
  6. Impact
    Kernel state corruption or crash

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 ability to issue device-mapper control ioctls, which is gated by CAP_SYS_ADMIN (effectively root) on /dev/mapper/control - an unprivileged user cannot reach the vulnerable retrieve_status path. It further requires the caller to supply an output buffer whose size is NOT aligned to 8 bytes, so that the align_ptr() rounding pushes outptr past the buffer end; this is a non-default condition because the standard libraries (libdevmapper, devicemapper-rs) always pass 8-byte-aligned buffers and therefore never trigger the overflow. Limiting factors: root-only access, a hand-crafted misaligned buffer (not producible via normal tooling), and the fact that the attacker already holds the highest privilege level, so no privilege boundary is actually crossed.

Impact

Signals are consistent and point to LOW real-world risk despite the 7.8 CVSS base score. The CVSS vector (AV:L/AC:L/PR:L/UI:N/C:H/I:H/A:H) reflects a local, low-complexity, low-privilege memory-corruption primitive, but this overstates practical exposure: device-mapper ioctls require CAP_SYS_ADMIN (effectively root), so PR:L understates the true privilege requirement (PR:H is more accurate). EPSS is 0.03% (9th percentile) and the issue is not in CISA KEV, with no public exploit identified - corroborating the maintainers' own assessment. Critically, the vendor states the bug has no security implications because (1) only root can issue dm ioctls and root already has full kernel control, and (2) mainstream client libraries pass 8-byte-aligned buffers, meaning align_ptr() cannot overshoot and the condition cannot arise accidentally. This is therefore a correctness/hardening fix rather than a genuine escalation vector. Note the conflict to verify: the standardized CVSS marks PR:L, but the description implies root-only access - defenders should treat this as root-required.

Exploit ScenarioDerived

A local attacker who already holds root (or CAP_SYS_ADMIN, e.g. within a privileged container) crafts a device-mapper ioctl using a deliberately non-8-byte-aligned output buffer so that align_ptr() advances the write pointer past the buffer end, underflowing the remaining-length computation and writing attacker-influenced status data into adjacent kernel memory to corrupt kernel state or crash the system. No public exploit is identified, and because the actor must already be root the scenario offers little beyond what that privilege already grants.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
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 08, 2026

Out-of-bounds kernel memory write in the Linux kernel device-mapper ioctl subsystem (dm-ioctl) affects the retrieve_status function, where an unchecked align_ptr() call on the output pointer can advance it past the end of the caller-supplied buffer, causing a wrapped-around 'remaining' length calculation and subsequent overflow writes. Exploitation requires local privileges to issue device-mapper ioctls (root/CAP_SYS_ADMIN), and there is no public exploit identified at time of analysis; EPSS is negligible at 0.03% (9th percentile). The upstream maintainers explicitly note the flaw has no practical security impact because only root can trigger it and standard libraries (libdevmapper, devicemapper-rs) use 8-byte-aligned buffers that never overshoot.

RemediationAI

Vendor-released patch: update to a fixed stable kernel - 5.10.258, 5.15.209, 6.1.175, 6.6.140, 6.12.88, 6.18.30, 7.0.7, or 7.1-rc1 (or later) as appropriate to your branch, then reboot into the patched kernel. On enterprise distributions, apply the vendor's backported kernel package via normal patch management rather than tracking upstream tags. The relevant fix commits are published on the kernel stable tree (e.g. https://git.kernel.org/stable/c/2fa49cc884f6496a915c35621ba4da35649bf159 and https://git.kernel.org/stable/c/c8c5311237448f6ffeecc9aec2362e3692623668). Because exploitation requires root/CAP_SYS_ADMIN, this is low urgency and can follow a routine kernel maintenance cycle; as a compensating control, restrict CAP_SYS_ADMIN and limit which accounts can load device-mapper targets or issue dm ioctls (e.g. avoid granting privileged container access to /dev/mapper/control), noting this may break storage-management tooling such as LVM or cryptsetup that legitimately needs it.

Affected VersionsENISA

Linux patch: 6.18.30
Linux 0 <6.6.140
Linux patch: 5.15.209
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2fa49cc884f6496a915c35621ba4da35649bf159
Linux patch: 6.6.140
Linux 0 <6.1.175
Linux 0 <5.10.258
Linux patch: 6.12.88
Linux 0 <6.12.88
Linux 0 <7.0.7
Linux patch: 7.1-rc1
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <526ff9126a0ae087b65726e1faf31114c718020d
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8daa6c708ef524089ae43f2aed9190acb26d7df8
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d271631023cbe1cbe7c31a0275ab797883be6e0a
Linux 0 <6.18.30
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <448ee8fb79c26a26599ffa4b2adeb4322d3d3d8c
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c8c5311237448f6ffeecc9aec2362e3692623668
Linux patch: 5.10.258
Linux 0 <5.15.209
Linux patch: 7.0.7
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f0b0b09d9840838ae77ccdd6a62de0daef4e6e0a
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5af6a879e915ae7bcd83695c316ebb32e1c61bc2
Linux patch: 6.1.175

Affected Packages

euvd linux fix: 5.10.258, 5.15.209, 6.1.175, 6.6.140, 6.12.88, 6.18.30, 7.0.7

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 device-mapper (dm) subsystem exposes control functionality to userspace through the /dev/mapper/control ioctl interface, used by LVM, cryptsetup, multipath and similar storage tooling. In retrieve_status(), the kernel copies status strings for each dm target into a user-provided output buffer, then calls outptr = align_ptr(outptr) to advance to the next 8-byte boundary before the next loop iteration. This maps to CWE-787 (Out-of-bounds Write): the alignment rounding is performed without validating that the adjusted pointer still lies within outbuf+len. When outptr passes the buffer end, the expression remaining = len - (outptr - outbuf) underflows (unsigned wraparound) to a very large value, defeating the bounds check and permitting writes beyond the buffer. The CPE data identifies the affected component generically as cpe:2.3:a:linux:linux:*, i.e. the mainline Linux kernel's dm-ioctl code 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 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 3.0 LOW

Device-mapper ioctls require CAP_SYS_ADMIN (PR:H) and a non-default misaligned buffer (AC:H); attacker is already root, so added confidentiality impact is none and integrity/availability impact is low.

3.1 AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:L
4.0 AV:L/AC:H/AT:N/PR:H/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
SUSE 4.1 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
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
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 08, 2026 - 19:07 NVD
7.8 (HIGH)
Patch available
Jun 08, 2026 - 18:01 EUVD
CVE Published
Jun 08, 2026 - 15:46 nvd
HIGH 7.8
CVE Published
Jun 08, 2026 - 15:46 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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

dm: fix a buffer overflow in ioctl processing

Tony Asleson (using Claude) found a buffer overflow in dm-ioctl in the function retrieve_status:

  1. The code in retrieve_status checks that the output string fits into

the output buffer and writes the output string there

  1. Then, the code aligns the "outptr" variable to the next 8-byte

boundary: outptr = align_ptr(outptr);

  1. The alignment doesn't check overflow, so outptr could point past the

buffer end

  1. The "for" loop is iterated again, it executes:

remaining = len - (outptr - outbuf);

  1. If "outptr" points past "outbuf + len", the arithmetics wraps around

and the variable "remaining" contains unusually high number

  1. With "remaining" being high, the code writes more data past the end of

the buffer

Luckily, this bug has no security implications because:

  1. Only root can issue device mapper ioctls
  2. The commonly used libraries that communicate with device mapper

(libdevmapper and devicemapper-rs) use buffer size that is aligned to 8 bytes - thus, "outptr = align_ptr(outptr)" can't overshoot the input buffer and the bug can't happen accidentally

Executive ViewAI

Why It Matters

A kernel memory corruption vulnerability in Linux device-mapper (CVE-2026-46294) requires root-level access to trigger and carries negligible real-world risk because standard system libraries already implement buffer alignment protections that prevent exploitation. Patch deployment is straightforward but can be sequenced normally given the low practical threat profile.

Business Impact: Low
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Prevalence
Ubiquitous
device-mapper is core storage infrastructure in virtually all Linux deployments
Threat Intel
1
1 source
Data Quality
7 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 Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
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
Low

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: +10
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
Image SLES15-SP7-Azure-3P Image SLES15-SP7-Azure-Basic Image SLES15-SP7-Azure-Standard Image SLES15-SP7-HPC-Azure Affected
Image SLES15-SP7-BYOS-Azure Image SLES15-SP7-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-Aliyun Image SLES15-SP7-CHOST-BYOS-Azure Image SLES15-SP7-CHOST-BYOS-EC2 Image SLES15-SP7-CHOST-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-GDC Image SLES15-SP7-CHOST-BYOS-SAP-CCloud Image SLES15-SP7-EC2 Image SLES15-SP7-EC2-ECS-HVM Image SLES15-SP7-GCE Image SLES15-SP7-HPC-BYOS-Azure Image SLES15-SP7-HPC-BYOS-EC2 Image SLES15-SP7-HPC-BYOS-GCE Image SLES15-SP7-Hardened-BYOS-Azure Image SLES15-SP7-Hardened-BYOS-EC2 Image SLES15-SP7-Hardened-BYOS-GCE Image SLES15-SP7-SAPCAL-Azure Image SLES15-SP7-SAPCAL-EC2 Image SLES15-SP7-SAPCAL-GCE Affected
Image SLES15-SP7-SAP-Azure Image SLES15-SP7-SAP-Azure-3P Image SLES15-SP7-SAP-BYOS-Azure Image SLES15-SP7-SAP-BYOS-EC2 Image SLES15-SP7-SAP-BYOS-GCE Image SLES15-SP7-SAP-EC2 Image SLES15-SP7-SAP-GCE Image SLES15-SP7-SAP-Hardened-Azure Image SLES15-SP7-SAP-Hardened-BYOS-Azure Image SLES15-SP7-SAP-Hardened-BYOS-EC2 Image SLES15-SP7-SAP-Hardened-BYOS-GCE Image SLES15-SP7-SAP-Hardened-GCE Affected
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

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