Skip to contentSkip to conversation

CVE-2026-23213: drm/amd/pm: Disable MMIO access during SMU Mode 1 reset

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Feb 18

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/amd/pm: Disable MMIO access during SMU Mode 1 reset

During Mode 1 reset, the ASIC undergoes a reset cycle and becomes temporarily inaccessible via PCIe. Any attempt to access MMIO registers during this window (e.g., from interrupt handlers or other driver threads) can result in uncompleted PCIe transactions, leading to NMI panics or system hangs.

To prevent this, set the no_hw_access flag to true immediately after triggering the reset. This signals other driver components to skip register accesses while the device is offline.

A memory barrier smp_mb() is added to ensure the flag update is globally visible to all cores before the driver enters the sleep/wait state.

(cherry picked from commit 7edb503fe4b6d67f47d8bb0dfafb8e699bb0f8a4)

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

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

	Fixed in 6.12.70 with commit c1853ebbec980d5c05d431bfd6ded73b1363fd00
	Fixed in 6.18.10 with commit cd7ff7fd3e4b77f0b5a292e0926532eaa07c5162
	Fixed in 6.19 with commit 0de604d0357d0d22cbf03af1077d174b641707b6

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

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
	drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
	drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.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/c1853ebbec980d5c05d431bfd6ded73b1363fd00
	https://git.kernel.org/stable/c/cd7ff7fd3e4b77f0b5a292e0926532eaa07c5162
	https://git.kernel.org/stable/c/0de604d0357d0d22cbf03af1077d174b641707b6