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)

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <a65ccabde6deb95baf9442bd98299e2248884162; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <2d9fd0f01550aab4a0a1984b4379e50545906248; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <8242a8d9d7194d5ef8a8b38a5621ca0966a3ec15; 0 to <6.12.111; 0 to <6.18.53
LinuxLinux6.12.111 to <=6.12.*; 6.18.53 to <=6.18.*; 7.2 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 25 Sep 2026 07:05 UTC.