lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025040144-CVE-2025-21956-483d@gregkh>
Date: Tue,  1 Apr 2025 16:45:41 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-21956: drm/amd/display: Assign normalized_pix_clk when color depth = 14

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ