Skip to main content

Linux Kernel CVE-2026-31781

| EUVDEUVD-2026-26594 MEDIUM
2026-05-01 Linux
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Obtain local user account on 64-bit Linux system
  2. Delivery
    Access DRM device node (/dev/dri/card*) via group membership
  3. Exploit
    Launch 32-bit process or invoke compat ioctl interface
  4. Install
    Submit crafted ioctl with out-of-bounds function pointer table index
  5. C2
    CPU speculatively dereferences attacker-controlled index into kernel function pointer table
  6. Execute
    Measure cache timing side channel (Flush+Reload)
  7. Impact
    Reconstruct kernel memory contents

Vulnerability Assessment

Exploitation Conditions

Exploitation requires a local user account with read-write access to a DRM device node (typically /dev/dri/card0 or /dev/dri/renderD128), which on most desktop Linux distributions is granted to members of the 'video' or 'render' group. The vulnerable code path is exclusively the 32-bit compat ioctl handler (drm_compat_ioctl), so the attacking process must either be a 32-bit binary or a 64-bit process deliberately invoking the compat ioctl interface - narrowing the realistic attack surface. Hardware with speculative out-of-order execution (Intel Core/Xeon, AMD Ryzen/EPYC, ARM Cortex with branch prediction) is required; systems running on fully in-order processors are not affected. Practical exploitation is further constrained by the need for cache side-channel measurement infrastructure and processor-specific timing calibration. Remote exploitation is not possible; AV:L mandates local kernel interaction.

Impact

The provided CVSS 3.1 vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H contains a significant inconsistency that defenders must not overlook: it assigns A:H (high availability impact) and C:N (no confidentiality impact) to a Spectre-class side-channel flaw - a class of vulnerability that by definition leaks information rather than crashes systems. The Red Hat and SUSE 'Information Disclosure' tag directly contradicts C:N. This scoring anomaly should be verified before triaging. EPSS at 0.02% (7th percentile) is consistent with Spectre's high exploitation complexity: successful attacks require precise microarchitecture-specific timing, Flush+Reload or Prime+Probe cache side-channel tooling, and a 32-bit attack surface that limits the pool of practical exploiters. KEV status is not confirmed, and no public POC has been identified. The SSVC-aligned assessment is: exploitation status unconfirmed, not automatable (requires local access and Spectre expertise), and technical impact is partial (kernel memory disclosure, not code execution). Real-world priority is LOW-MODERATE: patch during the next maintenance window but do not treat as an emergency; the primary concern is that the Linux kernel's ubiquitous deployment means the attack surface is enormous if a reliable exploit materializes.

Exploit ScenarioDerived

A local attacker running a 32-bit process on a 64-bit Linux system submits a crafted compat ioctl command with a deliberately out-of-bounds index to an accessible DRM device node such as /dev/dri/card0. The processor speculatively indexes into the drm_compat_ioctls function pointer table beyond its bounds, transiently executing a memory load that populates CPU cache lines with kernel data before the bounds check aborts the operation. The attacker measures cache access timing via Flush+Reload to reconstruct the transiently accessed kernel memory, potentially recovering kernel addresses, cryptographic material, or other sensitive in-kernel data. No public POC has been identified; practical exploitation demands hardware-specific Spectre expertise and significant preparation.

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 – Jul 24, 2026

Speculative execution (Spectre v1) in the Linux kernel's DRM compat ioctl subsystem (drm/ioc32) allows a local attacker with access to a DRM device to leak kernel memory by supplying a crafted, out-of-bounds index into the kernel's compat ioctl function pointer table, which the CPU speculatively dereferences before a bounds check resolves. The 'Information Disclosure' classification from Red Hat and SUSE tagging directly contradicts the provided CVSS rating of C:N/A:H - Spectre-class gadgets canonically produce confidentiality impact, not availability impact, and this discrepancy warrants verification against the vendor's official scoring rationale. No active exploitation is confirmed (not in CISA KEV), and the EPSS of 0.02% (7th percentile) reflects the high technical bar Spectre exploitation imposes.

RemediationAI

Update to a patched Linux kernel version: 5.10.253 or later for the 5.10.x LTS branch, 5.15.203 or later for 5.15.x, 6.1.168 or later for 6.1.x, 6.6.134 or later for 6.6.x, 6.12.81 or later for 6.12.x, 6.18.22 or later for 6.18.x, 6.19.12 or later for 6.19.x, or any kernel at version 7.0 and above. Upstream stable commits are available at https://git.kernel.org/stable/c/f0e441be08a2eab10b2d06fccfa267ee599dd6b3, https://git.kernel.org/stable/c/27ef84bba9b9d7b03418c60fbc6069ea0e87b13c, and the other kernel.org stable references listed. Ubuntu users should apply USN-8567-1. If immediate patching is not possible, restrict unprivileged user access to DRM device nodes by tightening udev rules or permissions on /dev/dri/* so that only the minimum required accounts can invoke the DRM ioctl interface - be aware this breaks GPU access for non-root desktop workloads. Verifying that existing Spectre v1 mitigations (CONFIG_GENERIC_CPU_VULNERABILITIES=y) and kernel page-table isolation (KPTI) are active provides defense-in-depth but does not fully substitute for the targeted array_index_nospec() fix.

Affected VersionsENISA

Linux 505b5240329b922f21f91d5b5d1e535c805eca6d <f0e441be08a2eab10b2d06fccfa267ee599dd6b3
Linux 505b5240329b922f21f91d5b5d1e535c805eca6d <27ef84bba9b9d7b03418c60fbc6069ea0e87b13c
Linux 7f3ebea19795eb38438cd3709fabf2afd53cf447
Linux patch: 0
Linux 505b5240329b922f21f91d5b5d1e535c805eca6d <489f2ef2b908898d01df697dc4fe1476674be640
Linux a2a840d6dcae960c2dfdf3fcb1b759e1b7d90663
Linux 505b5240329b922f21f91d5b5d1e535c805eca6d <f8995c2df519f382525ca4bc90553ad2ec611067
Linux abc60edcfc87771ff244763d4d19c67766f5dd0f
Linux 00279b505289f7529d9be2e78915d0483ffbd314
Linux patch: 5.15.203
Linux 4.20
Linux patch: 6.1.168
Linux patch: 6.12.81
Linux d04e6ea0cec9e7d6cba806508f657d2d0dc6cacf
Linux 505b5240329b922f21f91d5b5d1e535c805eca6d <4a41c2b18fc05d30b718d2602cac339eae710b34
Linux patch: 7.0
Linux 505b5240329b922f21f91d5b5d1e535c805eca6d <5bb398991f378ef74d90b14a6ea8b61ff96cc03a
Linux patch: 5.10.253
Linux 505b5240329b922f21f91d5b5d1e535c805eca6d <46a60ee8956ef1975f00455f614761c7ecedc09d
Linux patch: 6.6.134
Linux 505b5240329b922f21f91d5b5d1e535c805eca6d <d59c5d8539662d95887b4564f3f72ad38076a2d5
Linux patch: 6.19.12
Linux patch: 6.18.22

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 drm/ioc32 subsystem implements the 32-bit compat ioctl interface for the DRM (Direct Rendering Manager) subsystem on 64-bit Linux kernels, allowing 32-bit userspace processes to communicate with graphics drivers. The vulnerability is a textbook Spectre v1 gadget: a caller-supplied ioctl command number is used as an index into a statically allocated table of function pointers (drm_compat_ioctls[]) without masking against speculative out-of-bounds access. On processors with branch-predictive speculative execution (Intel, AMD, ARM), the CPU transiently dereferences an attacker-controlled index before the bounds check resolves, creating a side channel through which cache timing measurements can reveal kernel memory contents. The fix applies array_index_nospec(), a Linux kernel primitive that masks the index using a bitwise AND with a CPU memory barrier to prevent speculative out-of-bounds loads, with negligible runtime overhead. CWE is listed as N/A by NVD, but the root cause class maps to CWE-1423 (Exposure of Sensitive Information caused by Shared Microarchitectural State via Speculative Execution). The CPE identifier is cpe:2.3:a:linux:linux.

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

Spectre side-channel requires local DRM device access (AV:L, PR:L) and precise microarchitecture-specific timing conditions (AC:H); primary impact is kernel memory disclosure (C:H), not availability.

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

5
CVSS changed
May 11, 2026 - 20:52 NVD
5.5 (MEDIUM)
Patch available
May 01, 2026 - 16:33 EUVD
Patch released
May 01, 2026 - 15:24 nvd
Patch available
CVE Published
May 01, 2026 - 14:15 nvd
MEDIUM 5.5
CVE Published
May 01, 2026 - 14:15 nvd
N/A

DescriptionNVD

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

drm/ioc32: stop speculation on the drm_compat_ioctl path

The drm compat ioctl path takes a user controlled pointer, and then dereferences it into a table of function pointers, the signature method of spectre problems. Fix this up by calling array_index_nospec() on the index to the function pointer list.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel underpins the vast majority of servers, cloud infrastructure, and embedded systems globally
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

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: Medium
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