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

drm/amdkfd: Let driver decide buffer size at AMDKFD_IOC_GET_DMABUF_INFO ioctl

amdkfd driver needs allocate buffer to return bo metadata to user space. The
buffer size is controlled by user currently. It is a potential security issue
that hostile value (e.g. 2 GiB) lets any render-group user trigger order-MAX
allocation/OOM in kernel context.

This patch first finds bo metadata size. If the size is smaller than user
provided value drive can safely allocate buffer in kernel space and copy to
user space buffer. If not, driver will let user know, not allocate and copy.
User will redo with new buffer in user space.

This patch lets driver decide buffer allocation size to avoid potential hostile
size from user space.

(cherry picked from commit f54ce9e8cbd3abe0eda3a285f54dc4f572fe589a)
Published: 2026-09-24
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service (Kernel OOM)
Action: Patch
AI Analysis

Impact

The Linux amdkfd driver allocates kernel buffers to return buffer object metadata in response to the AMDKFD_IOC_GET_DMABUF_INFO ioctl. The size of the buffer to allocate was previously controlled by the user. A malicious render‑group user could supply an enormous value, such as 2 GiB, causing the driver to reserve that amount of kernel memory, potentially exhausting system memory and triggering an out‑of‑memory condition. The patch changes the driver to first compute the required metadata size and, only if the actual size is within that limit, allocate a buffer and copy the data. If the requested size exceeds the limit, the driver returns an error instead of allocating.| This prevents hostile user input from causing massive kernel memory consumption.| The vulnerability is a classic case of uncontrolled memory allocation—but in kernel context—posing an availability impact rather than confidentiality or integrity.

Affected Systems

The affected software is the Linux kernel itself, specifically the amdkfd DRM driver module that handles AMD GPU compute device memory management. No specific kernel version ranges are listed in the advisory. Any system running a Linux kernel where the amdkfd driver is compiled and exported for use by render‑group users could be impacted.

Risk and Exploitability

Because the flaw requires a user in a render‑group to issue the ioctl, the attack vector is local to systems where such users exist. The exploit does not grant privilege escalation or data disclosure; it merely forces the kernel to allocate an attacker‑specified buffer size. While a CVSS score is not available in the advisory, the potential for a kernel out‑of‑memory attack makes the risk significant for availability, especially on systems with limited memory or many concurrent render‑group users. The advisory notes that EPSS data is not provided and that the vulnerability is not listed in the CISA KEV catalog.

Generated by OpenCVE AI on September 25, 2026 at 03:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply an updated Linux kernel that includes the amdkfd buffer size check patch.
  • If a patched kernel is unavailable, restrict render‑group access to the AMDKFD ioctl interface or enforce reasonable maximum buffer sizes in user‑space applications.
  • Monitor kernel logs for out‑of‑memory events and audit permissions of users who can invoke the AMDKFD ioctl.

Generated by OpenCVE AI on September 25, 2026 at 03:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Let driver decide buffer size at AMDKFD_IOC_GET_DMABUF_INFO ioctl amdkfd driver needs allocate buffer to return bo metadata to user space. The buffer size is controlled by user currently. It is a potential security issue that hostile value (e.g. 2 GiB) lets any render-group user trigger order-MAX allocation/OOM in kernel context. This patch first finds bo metadata size. If the size is smaller than user provided value drive can safely allocate buffer in kernel space and copy to user space buffer. If not, driver will let user know, not allocate and copy. User will redo with new buffer in user space. This patch lets driver decide buffer allocation size to avoid potential hostile size from user space. (cherry picked from commit f54ce9e8cbd3abe0eda3a285f54dc4f572fe589a)
Title drm/amdkfd: Let driver decide buffer size at AMDKFD_IOC_GET_DMABUF_INFO ioctl
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-24T16:03:01.639Z

Reserved: 2026-09-18T17:59:28.792Z

Link: CVE-2026-93823

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T17:17:15.947

Modified: 2026-09-24T17:17:15.947

Link: CVE-2026-93823

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T03:15:14Z

Weaknesses

No weakness.