[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061846-CVE-2025-38021-8b31@gregkh>
Date: Wed, 18 Jun 2025 11:28:55 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38021: drm/amd/display: Fix null check of pipe_ctx->plane_state for update_dchubp_dpp
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists