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 392DD238D3B for ; Wed, 2 Apr 2025 12:53:25 +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=1743598406; cv=none; b=MZsvc3mX6fMUyTfmLgoLBu3AwyaDPbwrU0+CwiZ2dlYBm1wAjJLCm9kvJqcpamfbSlxZgWodFL88ZKe193zfbubuTvrkQBoK3yY3acQdTLRWd0nbMo+2oPHbPQJo86DyVSaAIBrSwZNeFuri/h8mJ5s+TZ31g6pyCQLNTpfVBF8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743598406; c=relaxed/simple; bh=Dd/7LXnuwz+iAhZ2DOs3DEjnvHizU+FotJ0zg2NoB3M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TxeMkEHFI2oIyIOf86IPCSCXsDPvY9OKHR5XQJUkrpiB+7qvnf/AJ5MwGHFvtmcgUgIJ4O/ncX20RBUpnllAyi2ffSDQTk4FstXgcWFecW3/F80EE3Br2a2e8Ux1M06idIRVq/cznTtDycBCtoizZFVbOSzZi5Mmrptuc4fWX5Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Vu6qiZHU; 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="Vu6qiZHU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4697BC4CEDD; Wed, 2 Apr 2025 12:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743598405; bh=Dd/7LXnuwz+iAhZ2DOs3DEjnvHizU+FotJ0zg2NoB3M=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Vu6qiZHUzKHusAuM3phRhpWI/JUA4Xv8LfYiHbcPd+A+42Oo9k7AjB5sHQBJztpCs mPP0mXBrMbGbjZerXBJfi10E0mbSyFWTm8micZd+Ca0eAMhPIxc0Umxz7sbkMbYebg LWEt0ImbmWxUyO77dfZ0aSByjBmqcVzbrzPJFgVQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21989: drm/amd/display: fix missing .is_two_pixels_per_container Date: Wed, 2 Apr 2025 13:51:56 +0100 Message-ID: <2025040256-CVE-2025-21989-440d@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=2397; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Dd/7LXnuwz+iAhZ2DOs3DEjnvHizU+FotJ0zg2NoB3M=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlvjd4cWtDLO2tFIZ/+trXSByp1Ju/Z9l0ypmz9X8vtN kZs616/6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJhFkwLJgXXDqd5Q5bYPE7 4Vql9wXn2e/dTGWYKztTXvfW+4j2+OeOpXaONbKaX7c4AgA= 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: fix missing .is_two_pixels_per_container Starting from 6.11, AMDGPU driver, while being loaded with amdgpu.dc=1, due to lack of .is_two_pixels_per_container function in dce60_tg_funcs, causes a NULL pointer dereference on PCs with old GPUs, such as R9 280X. So this fix adds missing .is_two_pixels_per_container to dce60_tg_funcs. (cherry picked from commit bd4b125eb949785c6f8a53b0494e32795421209d) The Linux kernel CVE team has assigned CVE-2025-21989 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit e6a901a00822659181c93c86d8bbc2a17779fddc and fixed in 6.12.20 with commit fefa811e616b5d0b555ed65743e528a0a8a0b377 Issue introduced in 6.11 with commit e6a901a00822659181c93c86d8bbc2a17779fddc and fixed in 6.13.8 with commit 36d04c9313d8d83ead92242f037099ac73e02120 Issue introduced in 6.11 with commit e6a901a00822659181c93c86d8bbc2a17779fddc and fixed in 6.14 with commit e204aab79e01bc8ff750645666993ed8b719de57 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-21989 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/dce60/dce60_timing_generator.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/fefa811e616b5d0b555ed65743e528a0a8a0b377 https://git.kernel.org/stable/c/36d04c9313d8d83ead92242f037099ac73e02120 https://git.kernel.org/stable/c/e204aab79e01bc8ff750645666993ed8b719de57