Skip to main content

Linux Kernel EUVDEUVD-2026-38834

| CVE-2026-52966 MEDIUM
2026-06-24 Linux GHSA-x485-q562-qf82
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
5.5 MEDIUM

Local DRM device access with low OS privileges is required; impact is availability only via kernel WARNING; no confidentiality or integrity effect is present.

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

5
Analysis Generated
Jul 22, 2026 - 20:54 vuln.today
CVSS changed
Jul 14, 2026 - 20:22 NVD
5.5 (MEDIUM)
Patch available
Jun 24, 2026 - 18:02 EUVD
CVE Published
Jun 24, 2026 - 16:28 nvd
MEDIUM 5.5
CVE Published
Jun 24, 2026 - 16:28 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

drm: Replace old pointer to new idr

Commit 5e28b7b94408 introduced a logical error by failing to replace the newly generated IDR pointer to old id's pointer at the correct location within the "change handle" logic; this resulted in the issue reported by syzbot [1].

Specifically, the new IDR object pointer is intended to replace the original id's pointer during the normal execution flow.

Additionally, an unnecessary conditional check for the ret exit path has been removed.

[1] !RB_EMPTY_ROOT(&prime_fpriv->dmabufs) WARNING: drivers/gpu/drm/drm_prime.c:224 at drm_prime_destroy_file_private+0x48/0x60 drivers/gpu/drm/drm_prime.c:224, CPU#0: syz.0.17/5833 Call Trace: drm_file_free.part.0+0x7e6/0xcc0 drivers/gpu/drm/drm_file.c:269 drm_file_free drivers/gpu/drm/drm_file.c:237 [inline] drm_close_helper.isra.0+0x186/0x200 drivers/gpu/drm/drm_file.c:290 drm_release+0x1ab/0x360 drivers/gpu/drm/drm_file.c:438

AnalysisAI

Kernel availability impact in the Linux DRM PRIME buffer-sharing subsystem results from a pointer replacement logic error introduced by commit 5e28b7b94408, where the new IDR object pointer fails to overwrite the original handle's pointer at the correct location during the 'change handle' flow. Local users with low privileges holding access to a DRM device node can trigger a kernel WARNING assertion failure in drm_prime_destroy_file_private (drm_prime.c:224) upon file close, destabilizing the system. No public exploit exists and EPSS sits at 0.19% (8th percentile), indicating low real-world exploitation probability; the vendor patch is available in Linux stable trees at 7.0.10 and 6.18.33.

Technical ContextAI

The vulnerability resides in drivers/gpu/drm/drm_prime.c within the Linux kernel's Direct Rendering Manager (DRM) PRIME buffer-sharing subsystem. PRIME enables GPU DMA-BUF sharing between DRM clients; each open DRM file private structure (drm_file) maintains a red-black tree of prime dmabufs and an IDR (Integer ID Radix tree) mapping integer handles to kernel objects. Commit 5e28b7b94408 introduced a logic error in the 'change handle' code path: when generating a new IDR entry to replace an existing handle's pointer, the replacement write was made at the wrong location, leaving the old IDR entry referencing a stale or orphaned object. When the DRM file is closed, drm_file_free invokes drm_prime_destroy_file_private, which asserts the dmabufs red-black tree is empty (!RB_EMPTY_ROOT); the orphaned entry violates this invariant and triggers a kernel WARNING. No CWE is formally assigned, but the root cause matches a handle/pointer management logic error (analogous to CWE-672 or CWE-476 variants). CPE data identifies the affected product as cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

RemediationAI

Upgrade to Linux kernel 7.0.10 or 6.18.33, which include the corrected IDR pointer replacement logic. The three upstream stable-tree fix commits are: https://git.kernel.org/stable/c/dc366607c41c45fd0ae6f3db090f31dd611b644a (main tree), https://git.kernel.org/stable/c/38f12d0e10d83b66fa1466400d876a3a8da31542, and https://git.kernel.org/stable/c/318b995cffcfcaa69a234d28123a3f4ae186a9df. Distribution maintainers tracking these stable branches should pick up the fix automatically. As a compensating control for systems that cannot be immediately patched, restrict local user access to DRM device nodes by removing untrusted users from the 'video' and 'render' groups and applying restrictive udev rules on /dev/dri/* (e.g., MODE='0660', GROUP='render'); note this will break GPU-dependent workloads for those users. No reboot-free remediation exists for kernel-level fixes.

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

Share

EUVD-2026-38834 vulnerability details – vuln.today

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