CVE-2026-63882: drm/amdkfd: fix NULL pointer bug in svm_range_set_attr
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: fix NULL pointer bug in svm_range_set_attr
The process_info could be NULL if user doesn't call kfd_ioctl_acquire_vm before calling kfd_ioctl_svm.
(cherry picked from commit 83a26c812e0529eb040d31a76f73e33e637243d4)
The Linux kernel CVE team has assigned CVE-2026-63882 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.176 with commit e4dcb5d6360319609bc5b05fb40e98b0af6bc674 Fixed in 6.6.143 with commit 6495cc09f7e6c2af571b3e2e4640283b3792ebf2 Fixed in 6.12.93 with commit d4e73a047d4ea866b75ee4b879d0d787dfa2704c Fixed in 6.18.35 with commit 2f9c3c161692f5bf1436e869a651bed10936e071 Fixed in 7.0.12 with commit c24eee21f9a943374fd64260a6e17dc3984e3d0e Fixed in 7.1 with commit e984d61d92e702096058f0f828f4b2b8563b88ce
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-63882
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_svm.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/e4dcb5d6360319609bc5b05fb40e98b0af6bc674 https://git.kernel.org/stable/c/6495cc09f7e6c2af571b3e2e4640283b3792ebf2 https://git.kernel.org/stable/c/d4e73a047d4ea866b75ee4b879d0d787dfa2704c https://git.kernel.org/stable/c/2f9c3c161692f5bf1436e869a651bed10936e071 https://git.kernel.org/stable/c/c24eee21f9a943374fd64260a6e17dc3984e3d0e https://git.kernel.org/stable/c/e984d61d92e702096058f0f828f4b2b8563b88ce