Описание
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: Fix out-of-bounds write in kfd_event_page_set()
The kfd_event_page_set() function writes KFD_SIGNAL_EVENT_LIMIT * 8
bytes via memset without checking the buffer size parameter. This allows
unprivileged userspace to trigger an out-of bounds kernel memory write
by passing a small buffer, leading to potential privilege
escalation.
A flaw was found in the Linux kernel's drm/amdkfd component. An unprivileged local user can exploit an out-of-bounds write vulnerability in the kfd_event_page_set() function. This occurs because the function writes data without properly validating the buffer size, allowing a small buffer to trigger a write beyond its allocated memory. Successful exploitation of this flaw could lead to potential privilege escalation.
Отчет
This Important vulnerability in the drm/amdkfd kernel module allows an unprivileged local attacker to trigger an out-of-bounds write, potentially leading to privilege escalation. Systems running Red Hat Enterprise Linux with AMD graphics drivers are affected.
Меры по смягчению последствий
To mitigate this issue, prevent the amdkfd kernel module from loading if it is not required. This can be achieved by blacklisting the module.
- Create a new file
/etc/modprobe.d/blacklist-amdkfd.confwith the following content:blacklist amdkfd - Regenerate the initramfs to ensure the blacklist is applied during boot:
sudo dracut -f -v(for RHEL 8/9)sudo mkinitrd -f -v /boot/initramfs-$(uname -r).img $(uname -r)(for RHEL 7) - Reboot the system for the changes to take effect.
Note: Blacklisting the
amdkfdmodule may impact functionality that relies on the AMD KFD driver, such as certain AMD GPU compute features. Evaluate the necessity of this module before applying the mitigation.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Affected | ||
| Red Hat Enterprise Linux 7 | kernel | Affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt | Affected | ||
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | ||
| Red Hat Enterprise Linux 10 | kernel | Fixed | RHSA-2026:57251 | 20.08.2026 |
| Red Hat Enterprise Linux 8 | kernel-rt | Fixed | RHSA-2026:55765 | 17.08.2026 |
| Red Hat Enterprise Linux 8 | kernel | Fixed | RHSA-2026:55764 | 17.08.2026 |
| Red Hat Enterprise Linux 9 | kernel | Fixed | RHSA-2026:57252 | 20.08.2026 |
| Red Hat Enterprise Linux 9 | kernel | Fixed | RHSA-2026:57252 | 20.08.2026 |
Показывать по
Дополнительная информация
Статус:
EPSS
7.8 High
CVSS3
Связанные уязвимости
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix out-of-bounds write in kfd_event_page_set() The kfd_event_page_set() function writes KFD_SIGNAL_EVENT_LIMIT * 8 bytes via memset without checking the buffer size parameter. This allows unprivileged userspace to trigger an out-of bounds kernel memory write by passing a small buffer, leading to potential privilege escalation.
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix out-of-bounds write in kfd_event_page_set() The kfd_event_page_set() function writes KFD_SIGNAL_EVENT_LIMIT * 8 bytes via memset without checking the buffer size parameter. This allows unprivileged userspace to trigger an out-of bounds kernel memory write by passing a small buffer, leading to potential privilege escalation.
In the Linux kernel, the following vulnerability has been resolved: d ...
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix out-of-bounds write in kfd_event_page_set() The kfd_event_page_set() function writes KFD_SIGNAL_EVENT_LIMIT * 8 bytes via memset without checking the buffer size parameter. This allows unprivileged userspace to trigger an out-of bounds kernel memory write by passing a small buffer, leading to potential privilege escalation.
Уязвимость функции kfd_event_page_set() модуля drivers/gpu/drm/amd/amdkfd/kfd_events.c драйвера инфраструктуры прямого рендеринга (DRI) видеокарт AMD ядра операционной системы Linux, позволяющая нарушителю оказать воздействие на конфиденциальность, целостность и доступность защищаемой информации
EPSS
7.8 High
CVSS3