Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FAC151EDF4 for ; Wed, 14 Oct 2026 13:26:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791984419; cv=none; b=hcd6YPBoBdzHeBba1fLYELwTqOdGGda2ulU1Ox30sGogm99W1T5IYk6FrW4XChxHzUKKLTTJiR+1LaP4rt7RGhSZdU7HmQ8Zh0AM4PgWqFolkk6Y0PXRdhgZnJ+a3HxWKBFPlswBPtCaAxGFkmFe2uvJGcd5kf6YsKxiHXVeaks= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791984419; c=relaxed/simple; bh=/OtTetA/7mHSvNFJPkOuq1qt0eUGYMEJ1aZ+YXcihhw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nNnz1wD43fAMdAmQc7vW/lC3ZrV9CGWSVGUdgxTjSbrM0ZoUpyl1ckXdweQREDK4bQltK4VdaByC0Q75QZTiaeHorLRFjaN9DR5FlfzuKxI79I334rG1DeG/03WXQjX5j19ledFd77u48PAWwSDTmMjPiev9hURidxhGqzbzRHI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lFirzUG1; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="lFirzUG1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22A461F00893; Wed, 14 Oct 2026 13:26:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791984416; bh=uiC65T4Gmb9Mkk47af6didneLjXivTOpDkolFTLStqE=; h=From:To:Cc:Subject:Date:Reply-To; b=lFirzUG1TsAqPFRfx1OhqR5ndFcDEVIZTs3nU82zDGitrgCaAEY9lKoxDEoZ0uior cjMeBe7nTb9cU6U+C3SxT2Gi5qEZ1NDqKbF4amSOOU/O/Vb2Hu3+OaT/FLhP9t3x3q XZvjZXwqFe69SUOkBaI9AmAfx5hHnk2dtUE+SlSk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98389: drm/amdgpu: skip gfx switch_power_profile during GPU reset Date: Wed, 14 Oct 2026 15:26:19 +0200 Message-ID: <2026101419-CVE-2026-98389-7aec@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3146; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xZoiG3snpirpXRL8OoTZBCjpz+iAeer2+31pq0hmhSY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnnm36HnJLTZHe5bbCtSn6hioIxq+Gat+yZt5f9iOCLe hXL/ie/I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaivZBhnnq94e1McdvSPE/R q/usOM4lN9RfYVhwM+SsyaorK1l8JpcrZxU/PvNZzHMCAA== 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: skip gfx switch_power_profile during GPU reset During resume from GPU reset, the gfx idle work may invoke switch_power_profile before the reset completes. This causes the following assert error because the register access occurs without first releasing the GPU reset semaphore: [ 1576.768935] CR2: 0000559ea133ead0 CR3: 00000002e6c42000 CR4: 0000000000350ef0 [ 1576.768940] Call Trace: [ 1576.768944] [ 1576.768953] amdgpu_device_rreg+0x21/0x50 [amdgpu] [ 1576.769158] smu_msg_v1_send_msg+0x1a4/0x6e0 [amdgpu] [ 1576.769437] smu_cmn_send_smc_msg_with_params_ext+0xba/0x120 [amdgpu] [ 1576.769721] smu_cmn_send_smc_msg_with_param+0x33/0x40 [amdgpu] [ 1576.769993] smu_v13_0_0_set_power_profile_mode+0x192/0x2b0 [amdgpu] [ 1576.770267] smu_bump_power_profile_mode+0x5d/0x80 [amdgpu] [ 1576.770538] smu_switch_power_profile+0xa4/0xf0 [amdgpu] [ 1576.770839] amdgpu_dpm_switch_power_profile+0x6f/0x90 [amdgpu] [ 1576.771210] amdgpu_gfx_profile_idle_work_handler+0xe9/0x130 [amdgpu] [ 1576.771460] process_one_work+0x23e/0x6f0 [ 1576.771491] worker_thread+0x1c4/0x380 [ 1576.771506] kthread+0x10c/0x150 [ 1576.771512] ? __pfx_worker_thread+0x10/0x10 [ 1576.771518] ? __pfx_kthread+0x10/0x10 [ 1576.771530] ret_from_fork+0x314/0x390 [ 1576.771537] ? __pfx_kthread+0x10/0x10 [ 1576.771546] ret_from_fork_asm+0x1a/0x30 (cherry picked from commit d93b1ff538ce9750c01e0dd0aa62575579c0fc08) The Linux kernel CVE team has assigned CVE-2026-98389 to this issue. Affected and fixed versions =========================== Fixed in 6.18.53 with commit 054022c8e74fe9b6cde63e636146b87cfe40f107 Fixed in 7.2.7 with commit 52947c09c41cfab4d3d802581b9acf8dbc142fc5 Fixed in 7.3-rc3 with commit 1f1d43418d61c8511779e0f63a954a78b9433b43 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-98389 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/pm/amdgpu_dpm.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/054022c8e74fe9b6cde63e636146b87cfe40f107 https://git.kernel.org/stable/c/52947c09c41cfab4d3d802581b9acf8dbc142fc5 https://git.kernel.org/stable/c/1f1d43418d61c8511779e0f63a954a78b9433b43