CVE-2026-43206: drm/amdkfd: Fix out-of-bounds write in kfd_event_page_set()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-43206 to this issue.
Affected and fixed versions
===========================
Fixed in 5.10.252 with commit 3e04bc310d80b46eaf481f1fefcbcb37a187412d Fixed in 5.15.202 with commit de8d7a25cd2eb5875b1d8d4fbc7fe4b4138b781f Fixed in 6.1.165 with commit b4034442cb090e4a980bdcc1540948606cbc951b Fixed in 6.6.128 with commit 4857c37c7ba9aa38b9a4c694e8bd8d0091c87940 Fixed in 6.12.75 with commit 75fb57efdd7863fffbc39db23e9cad7aafda26ed Fixed in 6.18.16 with commit bfcd6b53e1f4feb182952f4ff9a137c36ceaf20b Fixed in 6.19.6 with commit 4e72f419e4ed44cb3b60506752d8688c20a60a9b Fixed in 7.0 with commit 8a70a26c9f34baea6c3199a9862ddaff4554a96d
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-43206
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/amd/amdkfd/kfd_events.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/3e04bc310d80b46eaf481f1fefcbcb37a187412d https://git.kernel.org/stable/c/de8d7a25cd2eb5875b1d8d4fbc7fe4b4138b781f https://git.kernel.org/stable/c/b4034442cb090e4a980bdcc1540948606cbc951b https://git.kernel.org/stable/c/4857c37c7ba9aa38b9a4c694e8bd8d0091c87940 https://git.kernel.org/stable/c/75fb57efdd7863fffbc39db23e9cad7aafda26ed https://git.kernel.org/stable/c/bfcd6b53e1f4feb182952f4ff9a137c36ceaf20b https://git.kernel.org/stable/c/4e72f419e4ed44cb3b60506752d8688c20a60a9b https://git.kernel.org/stable/c/8a70a26c9f34baea6c3199a9862ddaff4554a96d