CVE-2025-38361: drm/amd/display: Check dce_hwseq before dereferencing it
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Check dce_hwseq before dereferencing it
[WHAT]
hws was checked for null earlier in dce110_blank_stream, indicating hws can be null, and should be checked whenever it is used.
(cherry picked from commit 79db43611ff61280b6de58ce1305e0b2ecf675ad)
The Linux kernel CVE team has assigned CVE-2025-38361 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.36 with commit e881b82f5d3d8d54d168cd276169f0fee01bf0e7 Fixed in 6.15.5 with commit df11bf0ef795b6d415c4d8ee54fa3f2105e75bcb Fixed in 6.16-rc3 with commit b669507b637eb6b1aaecf347f193efccc65d756e
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-38361
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/dce110/dce110_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/e881b82f5d3d8d54d168cd276169f0fee01bf0e7 https://git.kernel.org/stable/c/df11bf0ef795b6d415c4d8ee54fa3f2105e75bcb https://git.kernel.org/stable/c/b669507b637eb6b1aaecf347f193efccc65d756e