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=1795154119; b=JXCzga7pzYCslJmH7b5WZdg+2EshcVSzwuAa8fMuD3GwHPGhU02rVmPdaGJfDVmdcaMq lMt3gjWyAahlHo7lsQiaruNx+ZCqPf8xnFsCKGyVFlmNT9rHcBk9ExYOqLVtphiUg4owJ TMtYmmByBxMIRGydlOyn5iGnnfZh8QLhBZB5cBHmSOabONqCHmoK6I9vo58iyok3sLZHC f8wHBOd0tSpOofLD0ueKie6OuZ7NGi0DSuBKfXcuUenSHewi0+eqE47KeuqUPSJ0MisBI 9ZBA9FPrEbZHnRqUChYWPffLUnnjAfeDMnWeisa9gE6JB6+fdB7kgeF7Zf9e9DFYRyA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154119; 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=ghrjtg06uN+Oj9eWZo9gtLY4svaEcC88HQM8y1jczNc=; b=YL1OgDxGEmtI9IPzLwx35tYaGg8lsvmJb6s7hsNc0lYbosbVq4WXF/IoNswBjnjsU9xA jbzQGfc4Exw+02DMrwR3WIyUmV7seb+hYpzddCtvOXou4SevNlBQBNdcE6THQIUhZmwLT tfHfhNrK1bnf1TmS/XoXuwKtkexcrxwneW5H4AXj3qxM3Fy+zKlWNcBRpipk3DwOAKnug 00hC4eldN+RlvlsgOf/1bRxueY421W3nuKG/YePA/b7B/LM+fwzSnqruVvYG8nAV0Iu8O f1iTvGZsjf5tR1Xrkm5Ton2pZVTLb29ixbsBaRT1vjKqwgm5L+I7xRWi6LvaMpX1nnA== 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=IVLlBZbf; 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 8F91E606A320 for ; Fri, 20 Nov 2026 05:55:19 +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=IVLlBZbf Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDDE21F000CA; Fri, 20 Nov 2026 05:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154119; bh=ghrjtg06uN+Oj9eWZo9gtLY4svaEcC88HQM8y1jczNc=; h=From:To:Cc:Subject:Date:Reply-To; b=IVLlBZbfMR+Ujt9o01na0xFWSeq+BN23nt1ySs3Ooi2mjYMnKP/j4+4zTuIZC3UkU LY5VKSBAmJKVRA8NCydnQyMz1b1x+2x/2EQ+EbSN6Crr78UMR/SFLvDu53TuwGqgUp qCIytoI0EMLwxb+fYWaOSoXwrYq/qidtVTA6RClw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99631: drm/amdgpu: check amdgpu_vm_ready() in dma-buf move notify Date: Fri, 20 Nov 2026 06:50:17 +0100 Message-ID: <2026112037-CVE-2026-99631-c880@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=3056; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pxgwO/GCzLuXP9ecl8CF3u9G0amMUMo68dyAaDrPz3M=; b=kA0DAAIRMUfUDdst+ykByyZiAGr/33Gi2as+2nsQTzUZnJZYPDHQC9HUAEvwXfj4v4d589j7e IhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmr/33EACgkQMUfUDdst+ymgMwCfYkiR RsIBMv4Ni9htFGaIz9gQnwoAoLGIfhQUIe1lbV6vL3+ciuXnx8y+ 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/amdgpu: check amdgpu_vm_ready() in dma-buf move notify amdgpu_dma_buf_move_notify() touches the page tables without first calling amdgpu_vm_ready(). When a process is SIGKILLed, its VM entities are stopped. Teardown of an imported dma-buf then tries to clear PTEs by submitting to one of those stopped entities. That eventually hangs the task. Commit aa5fc4362fac ("drm/amdgpu: fix task hang from failed job submission during process kill") added the stopped entity check in amdgpu_vm_ready() and used it in amdgpu_cs_vm_handling(). That did not cover a call in amdgpu_dma_buf_move_notify(), what was already mentioned in: https://lists.freedesktop.org/archives/amd-gfx/2025-October/133076.html Tested by SIGKILLing a GPU workload holding imported dma-bufs. Without the patch "Trying to push to a killed entity" errors are logged, then a task hangs. With the patch there are no hung tasks. This was tested on a 6.18 kernel. (cherry picked from commit bee5c9d7a34cb1b510ad3b4c18c30f9d38b0ab7d) The Linux kernel CVE team has assigned CVE-2026-99631 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit aa5fc4362fac9351557eb27c745579159a2e4520 and fixed in 6.18.64 with commit 357f2a753287d878ba13d49248c55343bb5e0090 Issue introduced in 6.17 with commit aa5fc4362fac9351557eb27c745579159a2e4520 and fixed in 7.3.5 with commit d534c4d5d99c079e760b5d38b1f1813ea81292ea Issue introduced in 6.17 with commit aa5fc4362fac9351557eb27c745579159a2e4520 and fixed in 7.4-rc2 with commit 920ca822f527e45ce084b36f3c420b625eb7c62a Issue introduced in 6.16.4 with commit 3a0dc1f487c30521a0fba0b935d0886b9b1984a5 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-99631 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_dma_buf.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/357f2a753287d878ba13d49248c55343bb5e0090 https://git.kernel.org/stable/c/d534c4d5d99c079e760b5d38b1f1813ea81292ea https://git.kernel.org/stable/c/920ca822f527e45ce084b36f3c420b625eb7c62a