{"id":"CVE-2026-98178","aliases":["CVE-2026-98178"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdgpu: Skip KFD mapping clear before initialization","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: Skip KFD mapping clear before initialization\n\namdgpu_amdkfd_clear_kfd_mapping() assumes that a non-NULL kfd_dev\nhas a fully populated node array. This is not true when KFD device\ninitialization fails after probe.\n\nFor example, kgd2kfd_device_init() sets num_nodes before checking\nPCIe atomics support. On Polaris systems without the required atomics,\nit returns before allocating nodes[0], but the kfd_dev remains attached\nto the amdgpu device. A later GPU reset then dereferences nodes[0]->id.\n\nRequire the authoritative KFD initialization flag before walking the\nnode array, matching the existing KFD reset and teardown paths.\n\n(cherry picked from commit 4ac1835823c47903fbb278bbf474773c46f59edc)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: Skip KFD mapping clear before initialization\n\namdgpu_amdkfd_clear_kfd_mapping() assumes that a non-NULL kfd_dev\nhas a fully populated node array. This is not true when KFD device\ninitialization fails after probe.\n\nFor example, kgd2kfd_device_init() sets num_nodes before checking\nPCIe atomics support. On Polaris systems without the required atomics,\nit returns before allocating nodes[0], but the kfd_dev remains attached\nto the amdgpu device. A later GPU reset then dereferences nodes[0]->id.\n\nRequire the authoritative KFD initialization flag before walking the\nnode array, matching the existing KFD reset and teardown paths.\n\n(cherry picked from commit 4ac1835823c47903fbb278bbf474773c46f59edc)","source":"cvelist"}],"published":"2026-10-06T08:44:21.602Z","modified":"2026-10-19T10:18:18.153Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"70cadefcc6160c575b04f763ada34c20e868d577","fixed":"157d3f1db7e7e6f320daa221fae84a4c13555b6f","status":"affected"},{"type":"git","introduced":"70cadefcc6160c575b04f763ada34c20e868d577","fixed":"7f9caa70aef0950e06d395ca0035831214d88187","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.2","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/157d3f1db7e7e6f320daa221fae84a4c13555b6f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f9caa70aef0950e06d395ca0035831214d88187","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98178","url":"https://www.cve.org/CVERecord?id=CVE-2026-98178","licence":"CVE Terms of Use","modified":"2026-10-19T09:15:09.614Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98178","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98178","licence":"Public domain","modified":"2026-10-19T10:18:18.153Z"}],"updatedAt":"2026-11-25T22:59:42.278Z","epss":{"score":0.00155,"percentile":0.04938,"date":"2026-12-01T12:00:22.000Z"}}