CVE-2026-99873
publisheddrm/amdkfd: tear down KFD processes before early fini_sw on disconnect
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6a0eed6acab0b93df4055548aeae1355dcaf234b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1233dd17f99c75787a31035656ecfeff80522421 · 0 to < 7.3.4 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.3.4 through 7.3.* · 7.4-rc1 and later · Other versions: affected | Unaffected | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6a0eed6acab0b93df4055548aeae1355dcaf234b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1233dd17f99c75787a31035656ecfeff80522421 (affected · git)0 to < 7.3.4 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
drm/amdkfd: tear down KFD processes before early fini_sw on disconnect
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 92699dcb9f0e0d3c06f344d36ab7dd31029b05f97ca0d90722c58bd329c40989
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record