CVE-2026-98178
drm/amdgpu: Skip KFD mapping clear before initialization
Mitigation
- Upgrade Linux to 7f9caa70aef0950e06d395ca0035831214d88187 or later.
Who should check
- Anyone running Linux >= 70cadefcc6160c575b04f763ada34c20e868d577, < 157d3f1db7e7e6f320daa221fae84a4c13555b6f; >= 70cadefcc6160c575b04f763ada34c20e868d577, < 7f9caa70aef0950e06d395ca0035831214d88187
- Anyone running Linux 7.2
Vulnerability facts
- Affected
- Linux >= 70cadefcc6160c575b04f763ada34c20e868d577, < 157d3f1db7e7e6f320daa221fae84a4c13555b6f; >= 70cadefcc6160c575b04f763ada34c20e868d577, < 7f9caa70aef0950e06d395ca0035831214d88187; Linux 7.2
- Fixed in
- Linux 157d3f1db7e7e6f320daa221fae84a4c13555b6f, Linux 7f9caa70aef0950e06d395ca0035831214d88187
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- Modified
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)
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98178. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98178.md Affected: Linux >= 70cadefcc6160c575b04f763ada34c20e868d577, < 157d3f1db7e7e6f320daa221fae84a4c13555b6f; >= 70cadefcc6160c575b04f763ada34c20e868d577, < 7f9caa70aef0950e06d395ca0035831214d88187; Linux 7.2 Fixed in: Linux 157d3f1db7e7e6f320daa221fae84a4c13555b6f, Linux 7f9caa70aef0950e06d395ca0035831214d88187 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-98178 being exploited?
There is no confirmed exploitation: CVE-2026-98178 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98178?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98178?
Linux >= 70cadefcc6160c575b04f763ada34c20e868d577, < 157d3f1db7e7e6f320daa221fae84a4c13555b6f; >= 70cadefcc6160c575b04f763ada34c20e868d577, < 7f9caa70aef0950e06d395ca0035831214d88187; Linux 7.2.
Is there a fix for CVE-2026-98178?
Yes. Fixed in Linux 157d3f1db7e7e6f320daa221fae84a4c13555b6f, Linux 7f9caa70aef0950e06d395ca0035831214d88187. Upgrade Linux to 7f9caa70aef0950e06d395ca0035831214d88187 or later.
How do I check if I'm affected by CVE-2026-98178?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.