drm/amdgpu: Skip KFD mapping clear before initialization
Summary
| CVE | CVE-2026-98178 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-06 09:17:59 UTC |
| Updated | 2026-10-06 09:17:59 UTC |
| 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) |
Risk And Classification
EPSS: 0.001980000 probability, percentile 0.087020000 (date 2026-10-06)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 70cadefcc6160c575b04f763ada34c20e868d577 157d3f1db7e7e6f320daa221fae84a4c13555b6f git | Not specified |
| CNA | Linux | Linux | affected 70cadefcc6160c575b04f763ada34c20e868d577 7f9caa70aef0950e06d395ca0035831214d88187 git | Not specified |
| CNA | Linux | Linux | affected 7.2 | Not specified |
| CNA | Linux | Linux | unaffected 7.2 semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2.8 7.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3-rc4 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/7f9caa70aef0950e06d395ca0035831214d88187 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/157d3f1db7e7e6f320daa221fae84a4c13555b6f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.