CVE-2026-43367: drm/amd: Fix a few more NULL pointer dereference in device cleanup
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amd: Fix a few more NULL pointer dereference in device cleanup
I found a few more paths that cleanup fails due to a NULL version pointer on unsupported hardware.
Add NULL checks as applicable.
(cherry picked from commit f5a05f8414fc10f307eb965f303580c7778f8dd2)
The Linux kernel CVE team has assigned CVE-2026-43367 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.18.16 with commit fc58ef30e0a1524ce72a8e873d773ba3b0830c7d and fixed in 6.18.19 with commit 38f1640db7f8bf57b9e09c5b0b8b205a598f1b3e Issue introduced in 6.19.6 with commit 6d7ac4a0ebb6b7bc885274aa8b2bd9971f07013c and fixed in 6.19.9 with commit 5edcb0d6729b88f192ec8b0896aaf581e3593c9c
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-43367
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_device.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/38f1640db7f8bf57b9e09c5b0b8b205a598f1b3e https://git.kernel.org/stable/c/5edcb0d6729b88f192ec8b0896aaf581e3593c9c https://git.kernel.org/stable/c/72ecb1dae72775fa9fea0159d8445d620a0a2295