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 1054078F2D for ; Sun, 29 Dec 2024 11:31:13 +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=1735471874; cv=none; b=Ec22/0CSGSJVTRsY5MhQdPuaMPD0hcCDDAcnznxCEoHszny7stdt30ERjCQYS5j36fmKu2djXDaayzChFpnM+8ocRljhC7OeP3R+sKdGLi2yylVbDHlrBFdSCt9XxFvKPx8oHHJ/wI+rQgKnJLrMJjcfTD1fIR2sK0r7ZBp3bgw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735471874; c=relaxed/simple; bh=T/yValp5uD9co1C3MM7yrY/8xAs47dxUHWSe2fz7Ang=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RmrhXfcTb3xhafgvWdHg2X+z+Qlo/yxsg15iql8mPA73mhu1/2ZxX85dUiF+8Xl8hsaKUVUCplsL0Pn53mGpTHaJFDOv286ltKbUhydb105RjjWPJcLy8mw2aga3ICzxG03q5qdIsr+auzTqh/gerpFxUHfPIP3wXRM6sFRk7Lo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SkqHWVPS; 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="SkqHWVPS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33FABC4CED1; Sun, 29 Dec 2024 11:31:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735471873; bh=T/yValp5uD9co1C3MM7yrY/8xAs47dxUHWSe2fz7Ang=; h=From:To:Cc:Subject:Date:Reply-to:From; b=SkqHWVPSRXBrssch9PW8wFAmGAgJ4TxfxoRZ7MnXK3xq/OTyg8KMVCsZwDTisBO85 uX+0YjOBfxGse6o7cVMNsJiNTFBakoGhMAlH0HpBgnD7FiNpjwQK5MH/1J4PAWKjy4 Kj/bQHdVmmfyTmkRrOjP2Nx35uCswhfZCimRPN20= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56753: drm/amdgpu/gfx9: Add Cleaner Shader Deinitialization in gfx_v9_0 Module Date: Sun, 29 Dec 2024 12:29:46 +0100 Message-ID: <2024122927-CVE-2024-56753-32df@gregkh> X-Mailer: git-send-email 2.47.1 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=2280; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=T/yValp5uD9co1C3MM7yrY/8xAs47dxUHWSe2fz7Ang=; b=owGbwMvMwCRo6H6F97bub03G02pJDOmFRjMYp1xefelI4JGnRkc2VC68dqbFccMmWWWXdTxXB T1jb8awdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEMhwZFpz+p2sZpVP5228e ywQThrUczS56KQzzXSe+/CezLfoD86e+ryXBEYxta4JuAAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/gfx9: Add Cleaner Shader Deinitialization in gfx_v9_0 Module This commit addresses an omission in the previous patch related to the cleaner shader support for GFX9 hardware. Specifically, it adds the necessary deinitialization code for the cleaner shader in the gfx_v9_0_sw_fini function. The added line amdgpu_gfx_cleaner_shader_sw_fini(adev); ensures that any allocated resources for the cleaner shader are freed correctly, avoiding potential memory leaks and ensuring that the GPU state is clean for the next initialization sequence. The Linux kernel CVE team has assigned CVE-2024-56753 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit c2e70d307f4491ff970208a41cce84c95771f340 and fixed in 6.12.2 with commit 720c0376b3d29cbab921a60062fda5980742ed9d Issue introduced in 6.12 with commit c2e70d307f4491ff970208a41cce84c95771f340 and fixed in 6.13-rc1 with commit e47cb9d2533200d49dd5364d4a148119492f8a3d 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-2024-56753 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/gfx_v9_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/720c0376b3d29cbab921a60062fda5980742ed9d https://git.kernel.org/stable/c/e47cb9d2533200d49dd5364d4a148119492f8a3d