Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-93823

Опубликовано: 24 сент. 2026
Источник: redhat
CVSS3: 5.5

Описание

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)

A flaw was found in the Linux kernel's AMD GPU driver (amdkfd). A local user with access to the GPU device interface can trigger excessive kernel memory allocation by providing an abnormally large buffer size parameter during an input/output control (ioctl) request. This issue can exhaust system memory and trigger an out-of-memory condition, leading to a Denial of Service (DoS).

Отчет

A low impact flaw was found in the Linux kernel's AMD GPU KFD driver (drm/amdkfd) as shipped in Red Hat Enterprise Linux 9 and 10, Red Hat In-Vehicle OS 2, and the RHEL CoreOS 9 based nodes of OpenShift Container Platform 4.13 and later. In the AMDKFD_IOC_GET_DMABUF_INFO ioctl handler, the amdkfd driver allocated kernel memory for returning buffer-object metadata based on a user-supplied buffer size without validating it against the actual metadata size. A local user with access to the AMD GPU/KFD device, such as a member of the render group, could supply an abnormally large size (for example 2 GiB) and thereby trigger excessive high-order kernel allocations, exhaust system memory, and cause an out-of-memory condition resulting in a denial of service. No impact to confidentiality or integrity is possible. The kernels of Red Hat Enterprise Linux 7 and 8 and the RHEL CoreOS 8 based nodes of OpenShift Container Platform 4.12 are not affected because the vulnerable code is not present in those versions. Because the issue requires local access to the GPU device and is limited to availability, fixes for the affected streams are currently deferred to a future update; the residual risk is a local denial of service on systems where untrusted users have access to AMD GPU compute devices. Red Hat rates this flaw as low impact due to the restricted local attack path, which is lower than what the CVSS 3.1 base score of 5.5 (moderate) alone would suggest.

Меры по смягчению последствий

This issue can be mitigated by restricting access to the AMD KFD and GPU render device nodes so that only trusted local users can reach them: remove untrusted users from the render (and, where applicable, video) group, for example with 'gpasswd -d render', or otherwise limit permissions on /dev/kfd and the DRM render nodes. The complete fix, which makes the driver rather than userspace decide the buffer allocation size in the AMDKFD_IOC_GET_DMABUF_INFO ioctl, is deferred and will be delivered in a future kernel update for the affected streams.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10kernelFix deferred
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred

Показывать по

Дополнительная информация

Статус:

Low
Дефект:
CWE-770
https://bugzilla.redhat.com/show_bug.cgi?id=2540385kernel: drm/amdkfd: Let driver decide buffer size at AMDKFD_IOC_GET_DMABUF_INFO ioctl

5.5 Medium

CVSS3

Связанные уязвимости

ubuntu
2 месяца назад

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)

nvd
2 месяца назад

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)

CVSS3: 5.5
msrc
около 2 месяцев назад

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

debian
2 месяца назад

In the Linux kernel, the following vulnerability has been resolved: d ...

github
2 месяца назад

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)

5.5 Medium

CVSS3