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=1792756549; b=THcZ5Z0KzW4NcOZBTR1vtpZb3kaOpcYM5k1yzNBpo8FYgiMrUtFbJ0LuN30HO+BSFcN5 RRS26ST325Gr7QqPJGJAS02LgyYRi4jhyN+rn6aVr6/VJ8oRav5zslcikko5MN+yt3Qrg AjDWTGihhJCqbgYegg0eNOFD9KqeGz5LL42GvIjOK5BwSqjWaIY0ofaiHZbqLvlHge5Z3 NWANbFN/E7XprbaGuulq5yN0vHnHo6z9GuAOax5QZ8HLGU57uPmHZgsLIn2gosx7vDSlt aegvyf/MfBN6vOR7D5aKJnRPj3SwyhZr7hHXIo9/Kf/ZTBuKpaHd9tZqlh8ANLiWVtA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792756549; 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=9ZJmsbkUADshaCXzTTlQteSrg781Fry+GqDKgysXFyg=; b=Rc1JW4teyWzDetteGs34Vahsy4hfb0KS5vkSpJBECmDVWC+fHBCteRTJBvCZyqjdZ9Yf oAgl0JwP0GbAEGPrzGZ/Z329ZBXpQm/htDykFhy2OIiP4WRp1znop/JBLfD6UKW06s9y2 u+I1jM9735r0rmlK3+sRozPmrSkiTCPWZkhQkzGqedkR2NgjpETzes7T05LPLgLJR7YTV h7lmXgI5EAASee4DTtIpXtQGd9v9r6XCpLvZ7lj+SwiyAAcO2rOB+oHmHB/5zUCjr2Bnl bsd7n5yXnvBxsCvAxACgWIM28kdIZLvfPz/jKKCIEjTbf57qX74MHPUwuWiy3qkAA9Q== 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="C7O+K/gt"; 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 A98C0606A31B for ; Fri, 23 Oct 2026 11:55:48 +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=C7O+K/gt Received: by smtp.kernel.org (Postfix) with ESMTPSA id 211471F01825; Fri, 23 Oct 2026 11:55:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792756548; bh=9ZJmsbkUADshaCXzTTlQteSrg781Fry+GqDKgysXFyg=; h=From:To:Cc:Subject:Date:Reply-To; b=C7O+K/gtZxv0j6aV5dkkZFuxqlwHesVK9/WB0DxbqWiRlPGsdY8Vlkw6b7COJnffF hbOLXCHCisoIZWTrfI22TwI4k8pgFwQGFTRj2/Po1NTdq63hsWKks3WPeWmtcCGDjH D1L5WzUxX2+0DLwIG4iFv6DTfiIzO6PWBH5TZ5Jw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98910: drm/amdkfd: Unwind debug trap enable on copy_to_user failure Date: Fri, 23 Oct 2026 13:54:23 +0200 Message-ID: <2026102314-CVE-2026-98910-104c@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=2360; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1EG2sKBxsRXKsNdy8NcvAOZSyw76GF/OPJqWzyP0SlE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3vZ49nv/5R9O5je9F0+feZ5TuiDp2Z+E79jWrpkz1P R3g5xin1xHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATKd/JMD+i8F/QxNJpa0xa XFy6CpUDVp4MEWCYyXhCzqjF4n7Rt/KkI7oa0u/t/PlvAwA= 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: Unwind debug trap enable on copy_to_user failure If kfd_dbg_trap_enable() fails while copying runtime_info to userspace, it had already activated the trap, set debug_trap_enabled, taken an extra process reference, and opened the debug event file. Return -EFAULT without unwinding that state, leaving inconsistent trap state and a refcount imbalance that could break later DISABLE/ENABLE. On copy_to_user failure, deactivate the trap and undo the rest of the enable setup before returning. The Linux kernel CVE team has assigned CVE-2026-98910 to this issue. Affected and fixed versions =========================== Fixed in 6.6.158 with commit 641be20110cdfb6d921605adb42a764a0fccac54 Fixed in 6.12.111 with commit 656a40bdc20def58790b8512e6000195436d8855 Fixed in 6.18.53 with commit 1b39f46eec2f907417d4955bb88434170f94a8d8 Fixed in 7.2 with commit 01112e241e37f9ac98b6f418d93ce2e0b87b7ee0 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-98910 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_debug.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/641be20110cdfb6d921605adb42a764a0fccac54 https://git.kernel.org/stable/c/656a40bdc20def58790b8512e6000195436d8855 https://git.kernel.org/stable/c/1b39f46eec2f907417d4955bb88434170f94a8d8 https://git.kernel.org/stable/c/01112e241e37f9ac98b6f418d93ce2e0b87b7ee0