Skip to content
statance
MenuClose
unknown

CVE-2026-99873

drm/amdkfd: tear down KFD processes before early fini_sw on disconnect

Published 30 Nov 2026 · Source updated 2 Dec 2026 · Retrieved 2026-12-05 01:38 UTC

Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

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

drm/amdkfd: tear down KFD processes before early fini_sw on disconnect

On surprise removal, amdgpu_device_fini_hw() calls amdgpu_amdkfd_device_fini_sw() when pci_dev_is_disconnected() is true. fini_sw frees kfd.dev, but KFD processes may still be alive and hold references to it: kfd_process_destroy() dereferences kfd.dev via kfd_processes_remove(), and svm_range_list_fini() / kfd_process_free_outstanding_kfd_bos() touch per-device SVM state.

The kfd_processes_count wait only happens later in kgd2kfd_teardown_processes(), called from the top-half remove path well after fini_sw. In the observed failure the killed KFD process (SIGBUS on unplug) stuck in D state on its exit path, so kfd_processes_count never drained and the PCIe removal thread wedged permanently in cond_resched(), producing soft-lockup and hung-task splats.

Tear KFD processes down before freeing kfd.dev on the disconnect path, and guard kgd2kfd_teardown_processes() against kfd.dev already being gone when it runs a second time.

(cherry picked from commit 836f44ba87ed7b1d83e2b7bfc788f8c6437b03a7)

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
LinuxLinuxaffected: 28695ca09d326461f8078332aa01db516983e8a2 to < 6a0eed6acab0b93df4055548aeae1355dcaf234b; affected: 28695ca09d326461f8078332aa01db516983e8a2 to < 1233dd17f99c75787a31035656ecfeff80522421; affected: a4218ac0bb8e70f7c0896f9df464baf2d5171ee6; affected: 8140ac7c55e75093a01c6110a2c4025fe7177c57; affected: b705daaf5f8c4ebcd5f963a1c98b159b5a1b103f; affected: 6.6.122 to < 6.7; affected: 6.12.67 to < 6.13; affected: 6.18.7 to < 6.19See vendor advisory
LinuxLinuxaffected: 6.19; unaffected: 0 to < 6.19; unaffected: 7.3.4 to ≤ 7.3.*; unaffected: 7.4-rc1 to ≤ *See vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-12-05 02:05 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed