| From bippy-7c5fe7eed585 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-21989: drm/amd/display: fix missing .is_two_pixels_per_container |
| |
| 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 |