Skip to contentSkip to conversation

CVE-2026-23358: drm/amdgpu: Fix error handling in slot reset

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Fix error handling in slot reset

If the device has not recovered after slot reset is called, it goes to out label for error handling. There it could make decision based on uninitialized hive pointer and could result in accessing an uninitialized list.

Initialize the list and hive properly so that it handles the error situation and also releases the reset domain lock which is acquired during error_detected callback.

(cherry picked from commit bb71362182e59caa227e4192da5a612b09349696)

The Linux kernel CVE team has assigned CVE-2026-23358 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.16 with commit 732c6cefc1ecfc8de5d7a2029480798655d979d8 and fixed in 6.18.17 with commit 73e8bdf14248136459753252a438177df7ed8c7c
	Issue introduced in 6.16 with commit 732c6cefc1ecfc8de5d7a2029480798655d979d8 and fixed in 6.19.7 with commit baf4e7968911635eb816870af0ea587ac1457052
	Issue introduced in 6.16 with commit 732c6cefc1ecfc8de5d7a2029480798655d979d8 and fixed in 7.0-rc2 with commit b57c4ec98c17789136a4db948aec6daadceb5024

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-23358

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/73e8bdf14248136459753252a438177df7ed8c7c
	https://git.kernel.org/stable/c/baf4e7968911635eb816870af0ea587ac1457052
	https://git.kernel.org/stable/c/b57c4ec98c17789136a4db948aec6daadceb5024