All vulnerabilities
CVE-2026-98178

Linux: drm/amdgpu: Skip KFD mapping clear before initialization

Linux LinuxOperating systems
CVSS
NoneNot scored
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.15%Chance of exploitation activity in the next 30 days, higher than 4% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in157d3f1db7e7e6f320daa221fae84a4c13555b6fAlso 7f9caa70aef0950e06d395ca0035831214d88187CVE List
Published6 Oct 2026Updated 19 Oct 2026CVE List

What fixes it

  • 157d3f1db7e7e6f320daa221fae84a4c13555b6fLinuxCVE List
  • 7f9caa70aef0950e06d395ca0035831214d88187LinuxCVE List

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

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

drm/amdgpu: Skip KFD mapping clear before initialization

amdgpu_amdkfd_clear_kfd_mapping() assumes that a non-NULL kfd_dev has a fully populated node array. This is not true when KFD device initialization fails after probe.

For example, kgd2kfd_device_init() sets num_nodes before checking PCIe atomics support. On Polaris systems without the required atomics, it returns before allocating nodes[0], but the kfd_dev remains attached to the amdgpu device. A later GPU reset then dereferences nodes[0]->id.

Require the authoritative KFD initialization flag before walking the node array, matching the existing KFD reset and teardown paths.

(cherry picked from commit 4ac1835823c47903fbb278bbf474773c46f59edc)

Text from CVE List

Affected versions 6

  • Linuxaffected: 70cadefcc6160c575b04f763ada34c20e868d577 before 157d3f1db7e7e6f320daa221fae84a4c13555b6fCVE List
  • Linuxaffected: 70cadefcc6160c575b04f763ada34c20e868d577 before 7f9caa70aef0950e06d395ca0035831214d88187CVE List
  • Linuxaffected: 7.2CVE List
  • Linuxunaffected: all versions before 7.2CVE List
  • Linuxunaffected: 7.2.8 through 7.2.*CVE List
  • Linuxunaffected: 7.3CVE List

References 2