CVE-2026-23051: drm/amdgpu: fix drm panic null pointer when driver not support atomic
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: fix drm panic null pointer when driver not support atomic
When driver not support atomic, fb using plane->fb rather than plane->state->fb.
(cherry picked from commit 2f2a72de673513247cd6fae14e53f6c40c5841ef)
The Linux kernel CVE team has assigned CVE-2026-23051 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit fe151ed7af5425c424a5735ef9fa3d02c828be7f and fixed in 6.18.7 with commit a1aedf4053af7dad3772b94b057a7d1f5473055f Issue introduced in 6.14 with commit fe151ed7af5425c424a5735ef9fa3d02c828be7f and fixed in 6.19-rc6 with commit 9cb6278b44c38899961b36d303d7b18b38be2a6e
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-2026-23051
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/amdgpu/amdgpu_display.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/a1aedf4053af7dad3772b94b057a7d1f5473055f https://git.kernel.org/stable/c/9cb6278b44c38899961b36d303d7b18b38be2a6e