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=1792758769; b=5Kgp4QmU5NQR3xiMHzI6ra4nj/+pQUOhdsfOORCZdRmVISXYnztl2nRmBAL2zJnhdgPA UW+eMLSeu3/twon6l24kgrcynkndMiW0x8M4RmHtXrE8UyyQ7pyhnqfBin7uLuzZvGmWF c1Tn4GCdAtVQs/HgOANVRYSOtc21QHCO9evPp7ufVXp8o9QUncTbBL32Tjx3FC9A+DSDY jSg531T+tN4AWHI6fJrYhrGHkCW2qKw4WDs9ApOs3UgeOB149kxr0754bvPYpH5Ski43i QIYrnLhibHyvm09jqaasmk+bqgQJmUqLaVsEDZ9zCICsJ856WdiJvvXhOiIrm3Qgs7Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758769; 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=BBLNouE05k9ae4aGZiVickUCSjF9nxULpmMEzVsqL6U=; b=Rh9LKVZR9JmOM3FJq9wu0NvpTruqUFl5FFH69c7qFnbTt67pFcRlzHgKBMRG4QJeT1Dp XNS5GbcLKpz7d+0D+2jwApSeRg6nQz3g3gfbf0C0gI1tP33glqPqQ0LJBCHAHrlyxfvmt xmEhS+BdYpgK68q7vExbxPHq3b9UK+7vGnfZXI1zn/ioFiNVQ/aOYT3UjZMq9Gj87jMyP xq5UMUnfd8SA4p5pzlJ7PrYkWdmunXcQIJ59xLehV0OrfKVvdV/LEfb2916pDXdOb+cSE b3wQJ0AuNMbZS3+J/PWYI/jFqDodyZGxU9wUGbwB9Pn8sqekYxAel0agBSX2F5oCQLw== 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="v4j/fUNb"; 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 8D776606A31A for ; Fri, 23 Oct 2026 12:32:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=v4j/fUNb Received: by smtp.kernel.org (Postfix) with ESMTPSA id 344E81F01825; Fri, 23 Oct 2026 12:32:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758769; bh=BBLNouE05k9ae4aGZiVickUCSjF9nxULpmMEzVsqL6U=; h=From:To:Cc:Subject:Date:Reply-To; b=v4j/fUNbUU2bIOgyYNWkTdLzhowx6Qx6W/qRK9vcmNeiG97yvPdU6Y+Lk62gHS9o5 mHF5Ccmhlydsy79G8M+4Gw86GsOeM8Dk4gEkAbBr3OmPLGOe02qz/U+rnudY/2KdBf LvDVON0+fu4QP2AyS4tHqNCGFdTTbZOBoHbcVDkA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98997: drm/amdgpu/userq: only accept doorbell BOs as queue doorbell Date: Fri, 23 Oct 2026 14:19:59 +0200 Message-ID: <2026102317-CVE-2026-98997-aab6@gregkh> X-Mailer: git-send-email 2.56.0 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=2529; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Hi5upDyzFTCKRQ0li5mf5O+PCxfkhvaCZXwoJ8Y7SZs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A46yiDSKKpul32dfuY+v6MKSIw0FB5J4zjU41tt/0 Ob4HzuxI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZyUJFhwdy2Mv5pRbMvCxy6 Y3BORnFp11S2GQzzDPt3L9e7PMs8oP7ZN8FJm1V+pTfmAgA= 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/userq: only accept doorbell BOs as queue doorbell amdgpu_userq_get_doorbell_index() pins any BO passed as doorbell_handle into the doorbell domain. For a regular BO, TTM moves it with ttm_bo_move_null() and its contents are lost. Since an importer on the same device gets the exporter's GEM object, a client can do this to a buffer another client shared with it. Reject BOs that were not created in the doorbell domain. v2: drop the error message, use a local abo variable (Christian) (cherry picked from commit f7497bbc19db4821c62b9d97b31c9086feb2d917) The Linux kernel CVE team has assigned CVE-2026-98997 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit f09c1e6077abd1bc2ddd2b97e1135215801ca7f9 and fixed in 6.18.57 with commit 112dbe2b10d6d088a6c599980dd960dcbfa55ff0 Issue introduced in 6.16 with commit f09c1e6077abd1bc2ddd2b97e1135215801ca7f9 and fixed in 7.2.11 with commit 8640b3f961d743d6dc0458c2b53a3af434690cc1 Issue introduced in 6.16 with commit f09c1e6077abd1bc2ddd2b97e1135215801ca7f9 and fixed in 7.3 with commit 7f7c88dbf4d543f6703e53bdeed380e886733167 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-98997 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_userq.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/112dbe2b10d6d088a6c599980dd960dcbfa55ff0 https://git.kernel.org/stable/c/8640b3f961d743d6dc0458c2b53a3af434690cc1 https://git.kernel.org/stable/c/7f7c88dbf4d543f6703e53bdeed380e886733167