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 DB82E1714B7 for ; Tue, 1 Apr 2025 15:47:39 +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=1743522459; cv=none; b=fWhFRqxd8uAqMcgBjZD328ACzlSenM4R4EP24JRh4ehLpOpAmB/jLmA1oi52/ngtcoZT8m5nqrXGjrPehyeMFr+iUaPqVpZ16JLgUWfBW1pRsH9prTBq0QX0W81Ipl+U1JrpZMCFIT4UKxZnSrhj289MqdVNMfY9A3ls7eWyc94= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743522459; c=relaxed/simple; bh=be4dK0mX36Tf05Lh6YwoqBdwkWNHWkYKw0B3jBjTXFM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PEHWApNZ7O1QBkGbYSqdaKR66dqvz8SWzP1bJYmxOZwuMgStb0CAa9Lo7oWV7pvS0Su8DlNUm/GaSprfGwGkHIOCrW6oNl9Xe9VHa5MrPaSY4BNgspYscxGvtqmfUPlD+SLJWR4Ryjwd1zzQxs6KBReOnGr0fcdh25uL1HozvTE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mp8V6qgZ; 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="mp8V6qgZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 688D4C4CEE4; Tue, 1 Apr 2025 15:47:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743522459; bh=be4dK0mX36Tf05Lh6YwoqBdwkWNHWkYKw0B3jBjTXFM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mp8V6qgZFVVoKZ68B9eOY/cMWuhG9H7nLUtn0KhCv08k0St35BFGsE2HdpBOx6n8v g+NgR/Hm+RwjiNRMYtCsImmEUkkUk+jGPAErxKVfea8qLzaHz5hoQCmZYwXO9LcvFN Obg+9VhsfgBeB0ur93rrhxlg0WT/D76jemVGWH+s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21956: drm/amd/display: Assign normalized_pix_clk when color depth = 14 Date: Tue, 1 Apr 2025 16:45:41 +0100 Message-ID: <2025040144-CVE-2025-21956-483d@gregkh> X-Mailer: git-send-email 2.49.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=2515; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=be4dK0mX36Tf05Lh6YwoqBdwkWNHWkYKw0B3jBjTXFM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlvuDT+r7LIMtU4GHI2pE5b/5L6VaZFzfcKFM0n/8xJW 3h7RZBmRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwk4jPD/IxDfD8NJjG9vMU9 79oOjaQbB3klFBnmO15rVtBckzovp8nz3sJ51itrUuXdAQ== 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/amd/display: Assign normalized_pix_clk when color depth = 14 [WHY & HOW] A warning message "WARNING: CPU: 4 PID: 459 at ... /dc_resource.c:3397 calculate_phy_pix_clks+0xef/0x100 [amdgpu]" occurs because the display_color_depth == COLOR_DEPTH_141414 is not handled. This is observed in Radeon RX 6600 XT. It is fixed by assigning pix_clk * (14 * 3) / 24 - same as the rests. Also fixes the indentation in get_norm_pix_clk. (cherry picked from commit 274a87eb389f58eddcbc5659ab0b180b37e92775) The Linux kernel CVE team has assigned CVE-2025-21956 to this issue. Affected and fixed versions =========================== Fixed in 6.1.132 with commit dc831b38680c47d07e425871a9852109183895cf Fixed in 6.6.84 with commit a8f77e1658d78e4a8bb227a83bcee67de97f7634 Fixed in 6.12.20 with commit 04f90b505ad3a6eed474bbaa03167095fef5203a Fixed in 6.13.8 with commit 27df30106690969f7d63604f0d49ed8e9bffa2cb Fixed in 6.14 with commit 79e31396fdd7037c503e6add15af7cb00633ea92 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-2025-21956 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/display/dc/core/dc_resource.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/dc831b38680c47d07e425871a9852109183895cf https://git.kernel.org/stable/c/a8f77e1658d78e4a8bb227a83bcee67de97f7634 https://git.kernel.org/stable/c/04f90b505ad3a6eed474bbaa03167095fef5203a https://git.kernel.org/stable/c/27df30106690969f7d63604f0d49ed8e9bffa2cb https://git.kernel.org/stable/c/79e31396fdd7037c503e6add15af7cb00633ea92