CVE-2026-52966: Linux DRM IDR Pointer Logic Error – Local DoS Vulnerability
A logic error in the Linux kernel's DRM (Direct Rendering Manager) subsystem can cause a denial of service when handling graphics device file descriptors. The bug stems from a recent change that failed to correctly update an internal pointer during memory management operations, leaving stale references that trigger a warning and potential crash when files are closed. This affects local users who can open DRM device files.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.5 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- —
- Affected products
- 3 configuration(s)
- Published / Modified
- 2026-06-24 / 2026-07-14
NVD description (verbatim)
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
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-52966 involves a pointer assignment logic error introduced in commit 5e28b7b94408 within the DRM prime buffer handling code (drivers/gpu/drm/drm_prime.c). The vulnerability occurs in the IDR (ID Radix-tree) pointer replacement logic during the change handle flow. When a new IDR object is allocated, the original pointer is not correctly replaced, resulting in dangling references within the dmabuf tree structure. This causes the RB_EMPTY_ROOT check in drm_prime_destroy_file_private to fail with a kernel warning, and can lead to memory corruption or denial of service during file descriptor cleanup.
Business impact
This vulnerability enables a local denial of service attack against systems running affected Linux kernels. A logged-in user or local process with access to DRM device files (/dev/dri/*) can trigger a kernel warning or crash by opening and closing graphics device files abnormally, disrupting GPU services and potentially the entire graphical environment. The attack requires local access and does not grant privilege escalation or data exfiltration, limiting impact to availability.
Affected systems
The Linux kernel is affected across all architectures and distributions that include DRM support. Systems most vulnerable are those where unprivileged users can access DRM device files, including multi-user desktop and server environments, containerized systems where users have device access, and systems running kernel versions after commit 5e28b7b94408 up to the point where this fix is integrated. Verify the exact affected kernel versions against the Linux kernel security advisories and your distribution's patch timeline.
Exploitability
Exploitability is limited to local attackers with DRM device file access. No authentication bypass, network vector, or privilege escalation is involved. The attack is straightforward—opening and closing a graphics device file under specific conditions triggers the kernel warning. The CVSS vector (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) reflects local access requirement, low complexity, and availability impact only. This is not a widely exploitable remote vulnerability, but poses real risk in shared systems.
Remediation
Apply a Linux kernel update that includes the fix for CVE-2026-52966. The resolution involves correctly replacing the IDR pointer during the change handle logic and removing an unnecessary conditional check in the exit path. Verify with your Linux distribution or kernel vendor for specific patch version numbers and availability. Interim mitigations include restricting DRM device file access to trusted users via file permissions (chmod 600 /dev/dri/*) or leveraging SELinux/AppArmor policies to limit which processes can interact with DRM devices.
Patch guidance
Monitor your Linux distribution's security advisories for kernel updates addressing this CVE. When available, apply kernel security updates through your standard patch management process (apt, yum, zypper, etc.). Test updates in a non-production environment first, particularly for graphics-dependent workloads. The fix is relatively low-risk as it corrects a pointer assignment and removes unnecessary error handling, reducing the likelihood of regression. Kernel reboot is required; plan downtime accordingly for critical systems.
Detection guidance
Look for kernel warnings in system logs containing 'RB_EMPTY_ROOT' or references to drm_prime_destroy_file_private at drivers/gpu/drm/drm_prime.c:224. Monitor dmesg or journalctl for CPU-specific warning messages tied to DRM file cleanup. Correlate these warnings with process activity on /dev/dri/* devices to identify which user or service triggered them. Intrusion detection systems may flag repeated rapid open/close cycles on DRM device files. Note that the presence of warnings does not guarantee active exploitation, but indicates either the vulnerability is present or environmental stress on DRM subsystem.
Why prioritize this
Despite a MEDIUM CVSS score, this vulnerability merits prompt attention in most environments due to its local denial of service capability and the DRM subsystem's role in graphics infrastructure. Prioritize patching on: (1) multi-user systems and shared desktops where untrusted users can access DRM devices; (2) container platforms running graphics workloads where user-namespace isolation may not fully prevent DRM device access; (3) headless servers with GPU acceleration if unprivileged services interact with DRM. Lower priority on single-user systems or those with strict DRM device access controls. Not included in CISA KEV catalog at this time, but monitor for changes if weaponization emerges.
Risk score, explained
The CVSS 3.1 score of 5.5 (MEDIUM) appropriately captures the limited attack surface (local access only, PR:L) and availability impact (A:H). No confidentiality or integrity impact is possible. The score does not inflate for broad reachability because many systems restrict DRM device access. However, in permissive environments or container runtimes, the real-world risk may be higher than the base score suggests. Organizations should adjust risk rating based on their specific DRM device access policies and multi-user deployment patterns.
Frequently asked questions
Can a remote attacker exploit this vulnerability?
No. CVE-2026-52966 requires local access to DRM device files (/dev/dri/*). A remote attacker cannot trigger the vulnerability over the network. Only local users and processes with direct device file access can exploit it.
Will this cause data loss or credential theft?
No. The vulnerability results in denial of service only—it can crash the graphics subsystem or trigger kernel warnings, but does not enable unauthorized data access or privilege escalation. No confidentiality or integrity impact is present.
How do I know if my system is vulnerable?
Check your Linux kernel version against your distribution's security advisories for CVE-2026-52966. If you are running a kernel version after commit 5e28b7b94408 and before the security patch, you are vulnerable. Run `uname -r` to get your kernel version and cross-reference with your vendor's patch timeline.
Is there a workaround if I cannot patch immediately?
Yes. Restrict DRM device file permissions so that only trusted users can access them. Run `sudo chmod 600 /dev/dri/*` to prevent unprivileged users from opening graphics devices. This eliminates the attack vector but may break graphics services for non-root users, so validate against your workload requirements. SELinux or AppArmor policies can provide more granular access control.
This analysis is provided for informational purposes and reflects publicly available vulnerability data as of the publication date. Patch version numbers, KEV status, and exact affected kernel versions must be verified against official Linux distribution advisories and the Linux kernel security repository. SEC.co makes no warranty regarding the completeness or accuracy of third-party vendor responses. Organizations should conduct their own risk assessment based on their specific kernel versions, DRM device access policies, and deployment architecture. Proof-of-concept or exploit code is not provided; this document is intended for defensive purposes only. Source: NVD (public-domain), retrieved 2026-07-30. Analysis generated by SEC.co (claude-haiku-4-5).
Affected vendors
Related vulnerabilities
- CVE-2025-71313MEDIUMLinux Kernel PCI Endpoint NULL Pointer Dereference
- CVE-2025-71314MEDIUMLinux Panthor GPU Driver Denial of Service via Cache Flush Timeout
- CVE-2025-71315MEDIUMLinux Kernel vkms DRM Vblank Timer Denial of Service
- CVE-2026-0268MEDIUMPrisma Access Agent Linux VPN Bypass Vulnerability
- CVE-2026-10004MEDIUMChrome UI Spoofing Vulnerability – Password Dialog Hijacking
- CVE-2026-10018MEDIUMInteger Overflow in Chrome ANGLE GPU Graphics Layer
- CVE-2026-10912MEDIUMChrome Extension Same-Origin Policy Bypass (CVSS 6.5)
- CVE-2026-10916MEDIUMChrome DevTools UXSS Vulnerability