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 E1769FBF0 for ; Wed, 18 Jun 2025 09:29:21 +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=1750238962; cv=none; b=pkbvija46OCZbZDFYldJ+7jDr8HkWKWBtGtvCnuKqF6swdU1pUJBFwdoM5TXWUC9HEK8UYDNa1KQ9oAaYjF5CDDHZdQQHlKqKW0Im+k7PoDmMH0Wacr1bJviUd/3KdBjLTUtHMLSINKmZyQDFfUUAf/jgY0v6YzTJHZOSbjwwBE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750238962; c=relaxed/simple; bh=iobbNp8tsKw70MsGnAidSbpaZ5WWoUSR11oRA/EjqzY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ix285W2c0cO91t5QuD6qNoKFIWK0zhqmhgAAd9OWIXjcU3SWSn5DB7hX4s3DBPtYU2wBzjEWvIzzWgqUHZW+zYpAWRStiWG4APl622C5uaQ7rGdn0d/EbjAA0OY8O/WNNjc82kcbqHMLOcsaRYQQYBMJsLa1baWSwGXoXSIYVww= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gFCcpGyD; 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="gFCcpGyD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF299C4CEE7; Wed, 18 Jun 2025 09:29:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750238961; bh=iobbNp8tsKw70MsGnAidSbpaZ5WWoUSR11oRA/EjqzY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gFCcpGyDmtghPjrSLVyQOFG14eBg2wPxplZPd08Vhq07cSt1UQExmDD9yI94WcC+G djggXSb4dIFWnig6s6EVfZT5DRXHdqsMp6TJd8K64+2ZIO4lxDGPSGXJG4zSyla38l mkII+YtJ8yp97YW9CElCaoA2xDs/8xKFEsfABgPc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38021: drm/amd/display: Fix null check of pipe_ctx->plane_state for update_dchubp_dpp Date: Wed, 18 Jun 2025 11:28:55 +0200 Message-ID: <2025061846-CVE-2025-38021-8b31@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=2230; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SeJMG5aYj+tlQP/ao71MF5mpM1uGkJspewx5K5qWIwY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBbedCHwQ2Os6vuXi0Ye+Pdz3JSe7PFy3hKnhgN13xf Kat3kzVjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIBUOG+U7MG7mMziZEXij5 IHTiw43A5Jz+2wzzlLRTJR0tZ/uv3RNqZzrhqHhf0h1WAA== 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/amd/display: Fix null check of pipe_ctx->plane_state for update_dchubp_dpp Similar to commit 6a057072ddd1 ("drm/amd/display: Fix null check for pipe_ctx->plane_state in dcn20_program_pipe") that addresses a null pointer dereference on dcn20_update_dchubp_dpp. This is the same function hooked for update_dchubp_dpp in dcn401, with the same issue. Fix possible null pointer deference on dcn401_program_pipe too. (cherry picked from commit d8d47f739752227957d8efc0cb894761bfe1d879) The Linux kernel CVE team has assigned CVE-2025-38021 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 63ab80d9ac0adae2066b140ec30481ba4648140d and fixed in 6.14.8 with commit 4679061fb25344d6010ce7b9bebac21c91a0b75a Issue introduced in 6.14 with commit 63ab80d9ac0adae2066b140ec30481ba4648140d and fixed in 6.15 with commit a3b7e65b6be59e686e163fa1ceb0922f996897c2 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-38021 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/hwss/dcn401/dcn401_hwseq.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/4679061fb25344d6010ce7b9bebac21c91a0b75a https://git.kernel.org/stable/c/a3b7e65b6be59e686e163fa1ceb0922f996897c2