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 039591E49F for ; Mon, 15 Sep 2025 14:26:28 +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=1757946388; cv=none; b=r6X6QNLUj3Vv22wuQOCM1kyZaGqLH8XpAtAUhjpvw4HNIPw3rB8jZJaINTqwNjofuUGE2fCjwFikb7jM6ViA3fj4vVD14ggl59y/yLmTmNXOE72RGOeDqyJp4eNciJl+8Xwtp++f8WSkMFxWLsSpxQnjA9R+ZPiCXtmMDqFJ9dg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757946388; c=relaxed/simple; bh=2BPJwcvoY3E47Z3DgdgU2/y93l/2ahkMNREQY8FWq7M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=szFOlpuK4045ePyqTLUCGqQwnL9DPbTB+kPUN7s1TWQ1LEAB/GjsyYDnD67xDlESG0/81fAoyvOi8myegAeOcS+ZuIUsA+efFptfM3bzEH30fIMERp7r19zq7045ZMC6CsLv+QmyihI/sO0YhpAgVe5/Q1Bhai4SkcK67BnVxkM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KEhG/R5c; 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="KEhG/R5c" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FFEAC4CEF1; Mon, 15 Sep 2025 14:26:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757946387; bh=2BPJwcvoY3E47Z3DgdgU2/y93l/2ahkMNREQY8FWq7M=; h=From:To:Cc:Subject:Date:Reply-to:From; b=KEhG/R5c0qvlT7ixNghw07wj4Feydr5e0EprahgNwJhuyQXg0Oa+NCv9GfzO/Iv+X lXFivpCX86uO6FCIKaK6Vxg5GYsGCODrco7M5UaJcsJIakdkqa1eTASZA2QPRyY0b9 U1NtJYJyr5lXV9QJWLxySqfM347Ka5jmsAoxMVHE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53237: drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v11_0_hw_fini Date: Mon, 15 Sep 2025 16:22:11 +0200 Message-ID: <2025091516-CVE-2023-53237-7d1b@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=3244; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yZseyuuyTpyiHHiJTLgXoF3szbqJKFX+NfDDcZCsCjs=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknFO40XBVViXiofaRs8mnjyqMGvv0ffx1wefrWuWeV6 cGGqDTujlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIahfDgk17W9e1z7Ga9WT1 Gacv/9cJT5eKuccwP+NytEvSOfVQo4N7Yr3+dr4PyFCQBgA= 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: fix amdgpu_irq_put call trace in gmc_v11_0_hw_fini The gmc.ecc_irq is enabled by firmware per IFWI setting, and the host driver is not privileged to enable/disable the interrupt. So, it is meaningless to use the amdgpu_irq_put function in gmc_v11_0_hw_fini, which also leads to the call trace. [ 102.980303] Call Trace: [ 102.980303] [ 102.980304] gmc_v11_0_hw_fini+0x54/0x90 [amdgpu] [ 102.980357] gmc_v11_0_suspend+0xe/0x20 [amdgpu] [ 102.980409] amdgpu_device_ip_suspend_phase2+0x240/0x460 [amdgpu] [ 102.980459] amdgpu_device_ip_suspend+0x3d/0x80 [amdgpu] [ 102.980520] amdgpu_device_pre_asic_reset+0xd9/0x490 [amdgpu] [ 102.980573] amdgpu_device_gpu_recover.cold+0x548/0xce6 [amdgpu] [ 102.980687] amdgpu_debugfs_reset_work+0x4c/0x70 [amdgpu] [ 102.980740] process_one_work+0x21f/0x3f0 [ 102.980741] worker_thread+0x200/0x3e0 [ 102.980742] ? process_one_work+0x3f0/0x3f0 [ 102.980743] kthread+0xfd/0x130 [ 102.980743] ? kthread_complete_and_exit+0x20/0x20 [ 102.980744] ret_from_fork+0x22/0x30 The Linux kernel CVE team has assigned CVE-2023-53237 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.26 with commit bef774effb278ff0b65ea2dbaa1ab32ba6a1dc13 and fixed in 6.1.29 with commit 02e6cb9b3aeffc6b0e3955f6e0346293e2415cbc Issue introduced in 6.2.13 with commit 56a03f64fedf49a4f81c5605167b6e7bb0300a59 and fixed in 6.2.16 with commit 396401bc035ff5bf0c7b29c67caa10040eb3fb62 Issue introduced in 6.3 with commit c8b5a95b570949536a2b75cd8fc4f1de0bc60629 and fixed in 6.3.3 with commit 79038b78af931908d6f5d4e279d3afe32e7c840b Issue introduced in 6.3 with commit c8b5a95b570949536a2b75cd8fc4f1de0bc60629 and fixed in 6.4 with commit 13af556104fa93b1945c70bbf8a0a62cd2c92879 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-53237 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/gmc_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/02e6cb9b3aeffc6b0e3955f6e0346293e2415cbc https://git.kernel.org/stable/c/396401bc035ff5bf0c7b29c67caa10040eb3fb62 https://git.kernel.org/stable/c/79038b78af931908d6f5d4e279d3afe32e7c840b https://git.kernel.org/stable/c/13af556104fa93b1945c70bbf8a0a62cd2c92879