From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154122; b=uDHR9RZe1nuX/y9Aw/DaFXoif7SlvtOxM7lceTRM03EF0Umq4CxZuF81KtpWacNKsCDz HqJHnvtOEy0eLo3bPpM7hKd3h1ESZhBRA3fw/qChdVrWQoWvaBG750GpHgyxxyzy1WceU X8E4jT+zBaiXFuWlL68K1vRGRJsDZgLQsp0wP4MhfJLilTvjDMJuhndmMkdSUz5e0eMps mZ4MEYhyaWvSgDoCIjsmCYhMX3JL436X+TUb+tewos6dFja/UyTT8MVKVYVao7ZkMHvzh 8pxgiKGAl+nxpF4NDGP88WMk+e+OJSHF0Ma1emF0QTF2sBcgl1oniYSFZoKn6JFfiOQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154122; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=rYLBenQWdEpefvpsSQeEyrR3UjqNYgP+J+5GIzs+qlk=; b=eQvURe8shQ8O1GHp2H73EuQ8mEBctSl6GoTyLqWwak9g8RlAPfmuGrfeRHpPQaN/4AXP R3EowYgzIwVV/rYNaJOVRlBqVbFhuGZ/1kLMRVhP5tYfCw8ATtZ9BrkfLwVop+m+GkWK7 Snir25YDn1u7zVx3RoHAJUda5u7QJA2z+CsZXo18TMEE6j13gRIRXUr5UN7izHvfs9Vcj AuKugIx70um2GzyvmeoMP/S7itTYAElxuEPKJEKTaloM+0NPBrbRICXuBWEeDgaHk7r/3 4MzewAGXKzIk8j/SgoWPGVK1pxryJVbn3XFOEXotPwocqApS9QzmOwK1W1IRrkLBwyw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=XmEOLr1b; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C066606A320 for ; Fri, 20 Nov 2026 05:55:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=XmEOLr1b Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6D8E1F000C6; Fri, 20 Nov 2026 05:55:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154122; bh=rYLBenQWdEpefvpsSQeEyrR3UjqNYgP+J+5GIzs+qlk=; h=From:To:Cc:Subject:Date:Reply-To; b=XmEOLr1bRAj8ga5t0kjQve1TgMh/ail+JAiKmcaickV+bp+9bKx3cAzJTeBZCuhod lPMupnuk4V3cJYYRo3JBtH7zP3JVyKg9C/KGJSDayaOR9NOMU6guDxNxGhjYCkk9WJ 8POpklw4MAGa0Y0QgZo0LrL4HxRlb252JaviGZPM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99632: drm/amdkfd: use the queue's process info for the WPTR BO eviction fence Date: Fri, 20 Nov 2026 06:50:18 +0100 Message-ID: <2026112037-CVE-2026-99632-e188@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3011; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MUtmpKUTEunkWKH1ieL2itnpyvc/Wu17T1IVgo2YAjM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7xd2O/xjfRMfZbGPu6HgRn3W9SkXWe+smz+xu+BSO +MF7av5HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRNbEMczgMNlebXrXZsJ2D sezWRGnNPYWBJxkWbFA/5LG+0zL6+GG5Jcr+XarTzhy4CwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: use the queue's process info for the WPTR BO eviction fence amdgpu_amdkfd_map_gtt_bo_to_gart() removes the eviction fence of bo->vm_bo->vm->process_info from the WPTR BO of a new queue. bo->vm_bo is the VM which opened the BO last, not necessarily the KFD process' VM, and a render node VM has no process info. On navi31, an unprivileged process which exports its WPTR BO with AMDKFD_IOC_EXPORT_DMABUF and imports it on a second render node fd oopses in AMDKFD_IOC_CREATE_QUEUE: BUG: kernel NULL pointer dereference, address: 0000000000000060 RIP: 0010:amdgpu_amdkfd_map_gtt_bo_to_gart+0x86/0x1a0 [amdgpu] init_user_queue.part.0+0x180/0x250 [amdgpu] pqm_create_queue+0x32d/0x730 [amdgpu] kfd_ioctl_create_queue+0x583/0x9f0 [amdgpu] Pass the process info of the queue instead. With the fix, the queue is created and destroyed normally. (cherry picked from commit 6b4157498a176bd1c6083f6bb5aaf8a257a2027e) The Linux kernel CVE team has assigned CVE-2026-99632 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 7f347e3f821743a02c249abe50e467a333fabcfe and fixed in 6.18.64 with commit c964cd06eb35d2ca2d9b49a7423b5d5cd01441c0 Issue introduced in 6.3 with commit 7f347e3f821743a02c249abe50e467a333fabcfe and fixed in 7.3.5 with commit 3044e6e19f5746d2c279d0105fd61e759bcb42b3 Issue introduced in 6.3 with commit 7f347e3f821743a02c249abe50e467a333fabcfe and fixed in 7.4-rc2 with commit da2897ee8b811945fd40ecc4aaf03291c14ce61c 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-99632 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/amdgpu/amdgpu_amdkfd.h drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.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/c964cd06eb35d2ca2d9b49a7423b5d5cd01441c0 https://git.kernel.org/stable/c/3044e6e19f5746d2c279d0105fd61e759bcb42b3 https://git.kernel.org/stable/c/da2897ee8b811945fd40ecc4aaf03291c14ce61c