# CVE-2026-93823: drm/amdkfd: Let driver decide buffer size at AMDKFD_IOC_GET_DMABUF_INFO ioctl

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-24T16:03:01.639Z
- Modified: 2026-10-30T13:21:03.460Z
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 1dde0ea95b782425b95455d487cb44991525a1d1 before d298c100796b2cd1e7e75f8e615b79d034e510f8; from 1dde0ea95b782425b95455d487cb44991525a1d1 before d51841bb5ceee75ec3aeeb4e5c51c8e5e7524228; from 1dde0ea95b782425b95455d487cb44991525a1d1 before a65ccabde6deb95baf9442bd98299e2248884162; from 1dde0ea95b782425b95455d487cb44991525a1d1 before 2d9fd0f01550aab4a0a1984b4379e50545906248; from 1dde0ea95b782425b95455d487cb44991525a1d1 before 8242a8d9d7194d5ef8a8b38a5621ca0966a3ec15; 5.0 (not affected: before 5.0; from 6.1.191 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/d298c100796b2cd1e7e75f8e615b79d034e510f8>
- <https://git.kernel.org/stable/c/d51841bb5ceee75ec3aeeb4e5c51c8e5e7524228>
- <https://git.kernel.org/stable/c/a65ccabde6deb95baf9442bd98299e2248884162>
- <https://git.kernel.org/stable/c/2d9fd0f01550aab4a0a1984b4379e50545906248>
- <https://git.kernel.org/stable/c/8242a8d9d7194d5ef8a8b38a5621ca0966a3ec15>

## Sources

- CVE List: [CVE-2026-93823](https://www.cve.org/CVERecord?id=CVE-2026-93823), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-93823](https://nvd.nist.gov/vuln/detail/CVE-2026-93823), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-93823 · Whole record: https://cve.day/CVE-2026-93823.json · Rebuilt by cve.day 2026-11-25T22:59:40.838Z
