CVE-2025-38360: drm/amd/display: Add more checks for DSC / HUBP ONO guarantees
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Add more checks for DSC / HUBP ONO guarantees
[WHY]
For non-zero DSC instances it's possible that the HUBP domain required to drive it for sequential ONO ASICs isn't met, potentially causing the logic to the tile to enter an undefined state leading to a system hang.
[HOW]
Add more checks to ensure that the HUBP domain matching the DSC instance is appropriately powered.
(cherry picked from commit da63df07112e5a9857a8d2aaa04255c4206754ec)
The Linux kernel CVE team has assigned CVE-2025-38360 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.37 with commit 646442758910d13f9afc57f38bc0a537c3575390 Fixed in 6.15.5 with commit 3f4e601bc6765e4ff5f42cc2d00993c86b367f7e Fixed in 6.16-rc3 with commit 0d57dd1765d311111d9885346108c4deeae1deb4
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-38360
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/dcn35/dcn35_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/646442758910d13f9afc57f38bc0a537c3575390 https://git.kernel.org/stable/c/3f4e601bc6765e4ff5f42cc2d00993c86b367f7e https://git.kernel.org/stable/c/0d57dd1765d311111d9885346108c4deeae1deb4