Skip to main content
Vulnerability Database/CVE-2026-93823

CVE-2026-93823: Linux Kernel Privilege Escalation Vulnerability

CVE-2026-93823 is a privilege escalation vulnerability in the Linux kernel's amdkfd driver that allows hostile users to trigger excessive memory allocation. This article covers technical details, impact, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-93823 Overview

CVE-2026-93823 is a resource exhaustion vulnerability in the Linux kernel's amdkfd (AMD Kernel Fusion Driver) component. The flaw resides in the AMDKFD_IOC_GET_DMABUF_INFO ioctl handler, which allocates a kernel buffer to return buffer object (BO) metadata to user space. The allocation size is taken directly from a user-supplied value without validation. A local user in the render group can pass a hostile size (for example, 2 GiB) and trigger an order-MAX allocation, leading to an out-of-memory condition in the kernel.

Critical Impact

Any local user with access to the AMD KFD render device can trigger kernel memory exhaustion through unbounded buffer allocation, resulting in denial of service.

Affected Products

  • Linux kernel versions containing the amdkfd driver prior to the fix in commit f54ce9e8cbd3
  • AMD GPU systems using the Kernel Fusion Driver for compute workloads
  • Distributions shipping the vulnerable drm/amdkfd driver

Discovery Timeline

  • 2026-09-24 - CVE-2026-93823 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-93823

Vulnerability Analysis

The amdkfd driver exposes the AMDKFD_IOC_GET_DMABUF_INFO ioctl to user space to retrieve metadata about DMA buffer objects. To return this metadata, the driver allocates a kernel-side buffer whose size is dictated by a field in the ioctl argument structure. The driver does not cap this value against the actual metadata size before issuing the allocation. A caller can therefore request very large allocations and force the kernel allocator into order-MAX requests. Under memory pressure, this triggers the out-of-memory killer or stalls the system, producing a denial-of-service condition reachable from any process in the render group.

Root Cause

The root cause is improper input validation of a user-supplied size value controlling a kernel memory allocation. The driver trusted the user-provided buffer length when sizing an internal copy buffer rather than deriving the required size from the actual BO metadata.

Attack Vector

Exploitation requires local access and permission to open the AMD KFD render device node, which is typically granted to members of the render group. The attacker opens the KFD device, constructs an AMDKFD_IOC_GET_DMABUF_INFO request with an oversized size field, and issues the ioctl. The kernel attempts the large allocation, exhausting memory or invoking the OOM killer against unrelated processes.

No verified public exploit code is available. See the upstream fix for technical detail in Kernel Git Commit 2d9fd0f, Kernel Git Commit 8242a8d, and Kernel Git Commit a65ccab.

Detection Methods for CVE-2026-93823

Indicators of Compromise

  • Kernel log entries referencing page allocation failure: order: originating from amdkfd call paths
  • OOM killer activity (Out of memory: Killed process) correlated with processes holding file descriptors on /dev/kfd
  • Unexpected memory pressure on hosts running AMD GPU compute workloads without corresponding user-space demand

Detection Strategies

  • Audit ioctl calls to /dev/kfd using auditd or eBPF probes and flag AMDKFD_IOC_GET_DMABUF_INFO invocations with abnormally large size parameters
  • Monitor kernel ring buffer messages for allocation failures tied to the amdgpu or amdkfd modules
  • Correlate render-group user activity with sudden spikes in kernel memory consumption

Monitoring Recommendations

  • Track membership and process activity for the render group on multi-user systems and GPU compute hosts
  • Enable kernel panic-on-oom logging in test environments to surface repeated allocation attempts
  • Forward dmesg and syslog data into a central analytics platform to correlate allocation failures across the fleet

How to Mitigate CVE-2026-93823

Immediate Actions Required

  • Apply the upstream kernel patches referenced in the stable tree commits as soon as vendor builds are available
  • Restrict membership of the render group to trusted users on multi-tenant and shared systems
  • Inventory hosts running AMD GPU compute workloads and prioritize patching for those running the vulnerable amdkfd driver

Patch Information

The fix changes the driver to first determine the actual BO metadata size. If the user-supplied buffer is large enough, the driver allocates a kernel buffer bounded by the real metadata size and copies the result to user space. If the user buffer is too small, the driver reports the required size without allocating, allowing user space to retry with a correctly sized buffer. The upstream commit is f54ce9e8cbd3, backported in Kernel Git Commit 2d9fd0f, Kernel Git Commit 8242a8d, and Kernel Git Commit a65ccab.

Workarounds

  • Remove untrusted users from the render group until patched kernels are deployed
  • Unload the amdkfd functionality on systems that do not require AMD GPU compute by blacklisting the module where feasible
  • Apply cgroup memory limits to constrain the blast radius of a successful allocation attempt
bash
# Example: restrict render device access to a trusted group
sudo chgrp trusted-render /dev/kfd
sudo chmod 0660 /dev/kfd
# Verify current render-group membership
getent group render

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.