Skip to main content

Linux Kernel CVE-2026-31781

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

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
qualitative
Red Hat
4.7 MEDIUM
qualitative

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

7
Analysis Generated
Jul 24, 2026 - 01:17 vuln.today
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
EUVD ID Assigned
May 01, 2026 - 15:00 euvd
EUVD-2026-26594
CVE Published
May 01, 2026 - 14:15 nvd
MEDIUM 5.5
CVE Published
May 01, 2026 - 14:15 nvd
N/A

DescriptionCVE.org

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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

Share

CVE-2026-31781 vulnerability details – vuln.today

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