---
id: CVE-2026-93823
title: |-
  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
summary: |-
  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 …
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-770
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1dde0ea95b782425b95455d487cb44991525a1d1 <
    d51841bb5ceee75ec3aeeb4e5c51c8e5e7524228
  - >-
    Linux >= 1dde0ea95b782425b95455d487cb44991525a1d1 <
    a65ccabde6deb95baf9442bd98299e2248884162
  - >-
    Linux >= 1dde0ea95b782425b95455d487cb44991525a1d1 <
    2d9fd0f01550aab4a0a1984b4379e50545906248
  - >-
    Linux >= 1dde0ea95b782425b95455d487cb44991525a1d1 <
    8242a8d9d7194d5ef8a8b38a5621ca0966a3ec15
  - Linux 5.0
published: '2026-09-24'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T11:17:52.120'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93823'
references:
  - url: 'https://git.kernel.org/stable/c/2d9fd0f01550aab4a0a1984b4379e50545906248'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8242a8d9d7194d5ef8a8b38a5621ca0966a3ec15'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a65ccabde6deb95baf9442bd98299e2248884162'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d51841bb5ceee75ec3aeeb4e5c51c8e5e7524228'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-93823.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-93823'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2540385'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-93823'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93823'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-93823.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00168
epssPercentile: 0.06037
cvssSource: vendor
ingestedAt: '2026-09-24T16:47:15.891Z'
---

## Overview

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)

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-93823.json)
