Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 72BFC2E3B19 for ; Tue, 7 Oct 2025 15:21:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759850467; cv=none; b=YTqfLBaq81lvG/XBaVNcKR3oJ9XSR9yXx/eskJWtn6wZEpjy/5Hw6G9+PGYTj/WruOgU6PYiuMpQyhZGGIuvhtbk/uoa5lRACmNHFRjjNjRT4RSEtUAhpfv7lR8GdQyTI7291Cuqajlr/fTIixB8dgNv4zcrAczHTZsEb1DXokY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759850467; c=relaxed/simple; bh=70C3IdQAIk8yNH8eDUkrABnxgZ4/qqLTjOa9X/b3qrc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tXpvI6dr3hG9WTrTXQY4bTwOFn7CzWfqjlvyL4XwYu5PYl+Jp0tsRHI8OXm+A/baAa0d63vvTe82HykWTceO/YAoE04p0VpuNIER2EuUYHfo2hjyeGb0QDnahP0gFaTtANf5kNxjOgxBC2IrT7A5+2TkicZrz2wtoqwKlsye7eQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Zywev0qO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Zywev0qO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0343C4CEF1; Tue, 7 Oct 2025 15:21:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759850467; bh=70C3IdQAIk8yNH8eDUkrABnxgZ4/qqLTjOa9X/b3qrc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Zywev0qOE1cAjTkRZEacU3SETGi6/nDbAsdxItYxk+R1AdJZzG1Kc7a9VmdCDx4oY NZRpOQosHRzWEeOkADLdTfyp2d8H+hYqLgEDZurQ0mpvmuPDYgu6cWUMyMmjhnGBWP M5jcsVDMoRQ23BH81M3PTPZdr9xYendaHSH48iEA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53628: drm/amdgpu: drop gfx_v11_0_cp_ecc_error_irq_funcs Date: Tue, 7 Oct 2025 17:19:33 +0200 Message-ID: <2025100712-CVE-2023-53628-a5b2@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=3208; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/zkQzQuMamw/SZI4Uitv8FvtLSpMFbSxrV3o7KpIbfQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlP9QveLmvtsmZmbn8Y+iivdf7F7NrmmDyFfKvp+pxKa +7dqlTpiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlYVTPML3r8S0IqUj1ua+Bf ryt7q87sYXl6nGHB8jizXTdXvn+8jZnjl8Y0HTan6wyWAA== 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: drop gfx_v11_0_cp_ecc_error_irq_funcs The gfx.cp_ecc_error_irq is retired in gfx11. In gfx_v11_0_hw_fini still use amdgpu_irq_put to disable this interrupt, which caused the call trace in this function. [ 102.873958] Call Trace: [ 102.873959] [ 102.873961] gfx_v11_0_hw_fini+0x23/0x1e0 [amdgpu] [ 102.874019] gfx_v11_0_suspend+0xe/0x20 [amdgpu] [ 102.874072] amdgpu_device_ip_suspend_phase2+0x240/0x460 [amdgpu] [ 102.874122] amdgpu_device_ip_suspend+0x3d/0x80 [amdgpu] [ 102.874172] amdgpu_device_pre_asic_reset+0xd9/0x490 [amdgpu] [ 102.874223] amdgpu_device_gpu_recover.cold+0x548/0xce6 [amdgpu] [ 102.874321] amdgpu_debugfs_reset_work+0x4c/0x70 [amdgpu] [ 102.874375] process_one_work+0x21f/0x3f0 [ 102.874377] worker_thread+0x200/0x3e0 [ 102.874378] ? process_one_work+0x3f0/0x3f0 [ 102.874379] kthread+0xfd/0x130 [ 102.874380] ? kthread_complete_and_exit+0x20/0x20 [ 102.874381] ret_from_fork+0x22/0x30 v2: - Handle umc and gfx ras cases in separated patch - Retired the gfx_v11_0_cp_ecc_error_irq_funcs in gfx11 v3: - Improve the subject and code comments - Add judgment on gfx11 in the function of amdgpu_gfx_ras_late_init v4: - Drop the define of CP_ME1_PIPE_INST_ADDR_INTERVAL and SET_ECC_ME_PIPE_STATE which using in gfx_v11_0_set_cp_ecc_error_state - Check cp_ecc_error_irq.funcs rather than ip version for a more sustainable life v5: - Simplify judgment conditions The Linux kernel CVE team has assigned CVE-2023-53628 to this issue. Affected and fixed versions =========================== Fixed in 6.1.30 with commit 7b5a8a23acbc3ee50b23602b61db1563561faf84 Fixed in 6.3.3 with commit 31b07aec4a2bdcab00770ea3a18efe49734ce153 Fixed in 6.4 with commit 720b47229a5b24061d1c2e29ddb6043a59178d79 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-2023-53628 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_gfx.c drivers/gpu/drm/amd/amdgpu/gfx_v11_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/7b5a8a23acbc3ee50b23602b61db1563561faf84 https://git.kernel.org/stable/c/31b07aec4a2bdcab00770ea3a18efe49734ce153 https://git.kernel.org/stable/c/720b47229a5b24061d1c2e29ddb6043a59178d79