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=1795154108; b=wgvD7yoki3/t50/cD/FOmtacVB4G+yEkuBAMqVmnRb7n6Bf36FPpQilwTTZCBEgJ6E9+ TC+rvTePKGlzmP318iYNhI+U11dz5LawDv3yMKCz6PzOE1IzZkSJsgjqUzV/38fFeNdKq MlPUFn9zCFV+RFTmgNRexMvRPXAze8RHVmuYJPA6XFBZp+srQ+VOdyfrqATKOW4pnVrls wdcM4q0X4I/dVEMHPebEgywcZ0W/UHOxMKmxvwycCpX/v77C8S+awo4H+sJLFWCZ+SiAo QDwPutFRWueAlut1iN3Y8MsDZydwC6IJCqAoAOHW6wvl2WobRKqJPQ46ZWFfix3csog== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154108; 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=ScPXQuookYYiiiOB8rH2ObGp+FsnC4K5vlH4EUYwI4w=; b=sH/5Lu3jdgeW4p9ZuVs/qE8EDHK9t/osIpyE9juVb59zDUQn1GnWeXpyU1N+LB6UfUeT 9TIk9DsatdDQcATMJGdR/cv9/OHGpVhVa9sC9T1frZjaDfyGpcrJDkQDNJbS6issOEQVp v7VU8CZriN6fh3RJYyUbav/+mZN+NaBhZGvRfv76XHFQW4LAPyRVjG8gJ34syWOMKRcfu b6MBGNDWHoFfn36RpvTe2aNT+1UHFRQ+ol9il9j/V6s8N6+NkhaJ7g8TnLt0d5gLc7IQ5 peZALZbe/0ihhW8Qr3NsxxKsfACGOHzjeZEcT87QlaHV/XrG8FxrTFJwrnfFUxut9Rw== 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=zWM7Qk1G; 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 1F8D7606A320 for ; Fri, 20 Nov 2026 05:55:08 +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=zWM7Qk1G Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D9F71F000C4; Fri, 20 Nov 2026 05:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154108; bh=ScPXQuookYYiiiOB8rH2ObGp+FsnC4K5vlH4EUYwI4w=; h=From:To:Cc:Subject:Date:Reply-To; b=zWM7Qk1G5yJtRp3bDLAT/iNtPIGkREFy9xYBadebFyOfxFWtcyURulI0wcPItFSs0 f/kb2Mr/8UHLUwFu46pLKjAkjUFj7pTgiMwDH2g17iLmTrV7OJEYB0+fQQNlTxrIlX bq3JlifZlbbmGLbhfepa/JXppt8Zs6emgDp9Zt+8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99627: drm/amdgpu/gfx12: disallow GFXOFF while updating the SPM VMID Date: Fri, 20 Nov 2026 06:50:13 +0100 Message-ID: <2026112035-CVE-2026-99627-c2d3@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=3213; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=oxKfH1jWRE9XX9H+sH+dGljgeLA+gmXnNjQ3sX56tHs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7+fz76tu5X5Svvar4hxmdd8dZyJvbFKfbuNzV/u8m PdrT7tFHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRQxUMc/iav8i0+M7//f3/ ttQjbTqr8v5PS2CYHyi7pbQn1uJnmUfr/5DCt/8/qc/2AgA= 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/gfx12: disallow GFXOFF while updating the SPM VMID gfx_v12_0_update_spm_vmid() does a read-modify-write of RLC_SPM_MC_CNTL over MMIO without keeping GFX powered, unlike gfx11. When GFX is in GFXOFF at that point the update doesn't stick, and with the SPM VMID programmed on submission again, the job of a process with a reserved VMID can still run with the SPM writing through VMID 0. On navi48, after a few other submissions and a VM fault on the same VM, a COPY_DATA of RLC_SPM_MC_CNTL from such a job reads 0 although the update was called for it: $ amd_uapi_regression --run-subtest cs-secure-ib-compute,gem-mapping-info-high-va,gpuvm-fault-high-va,reserved-vmid-spm-vmid amdgpu 0000:03:00.0: [gfxhub] page fault (src_id:0 ring:40 vmid:7 pasid:185) amdgpu 0000:03:00.0: Faulty UTCL2 client ID: SDMA1 (0xe) RLC_SPM_MC_CNTL in the job: 0x00000000 With GFXOFF disallowed around the update it reads the reserved VMID 15. (cherry picked from commit 907aebc5578ae09fa5c0e2f0784201295837e60b) The Linux kernel CVE team has assigned CVE-2026-99627 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 52cb80c12e8a647aa9c903903d58916e6c1c4d38 and fixed in 6.12.118 with commit 117e6ac89e730d647aeaf53b77420efece331f4d Issue introduced in 6.11 with commit 52cb80c12e8a647aa9c903903d58916e6c1c4d38 and fixed in 6.18.64 with commit cd38a2b45edf84324ee9572c09c279fd4ebec5fc Issue introduced in 6.11 with commit 52cb80c12e8a647aa9c903903d58916e6c1c4d38 and fixed in 7.3.5 with commit 374aba4bef461462a9640f8355ebff5d5021c459 Issue introduced in 6.11 with commit 52cb80c12e8a647aa9c903903d58916e6c1c4d38 and fixed in 7.4-rc2 with commit d1551515a3258b43cba60bd7f45bbdd1f4e9e60a 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-99627 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/gfx_v12_0.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/117e6ac89e730d647aeaf53b77420efece331f4d https://git.kernel.org/stable/c/cd38a2b45edf84324ee9572c09c279fd4ebec5fc https://git.kernel.org/stable/c/374aba4bef461462a9640f8355ebff5d5021c459 https://git.kernel.org/stable/c/d1551515a3258b43cba60bd7f45bbdd1f4e9e60a