# CVE-2026-98178: drm/amdgpu: Skip KFD mapping clear before initialization

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-10-06T08:44:21.602Z
- **Modified:** 2026-10-19T10:18:18.153Z

## Who should check

- Anyone running Linux \>= 70cadefcc6160c575b04f763ada34c20e868d577, \< 157d3f1db7e7e6f320daa221fae84a4c13555b6f; \>= 70cadefcc6160c575b04f763ada34c20e868d577, \< 7f9caa70aef0950e06d395ca0035831214d88187
- Anyone running Linux 7.2

## 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

- Linux: \>= 70cadefcc6160c575b04f763ada34c20e868d577, \< 157d3f1db7e7e6f320daa221fae84a4c13555b6f; \>= 70cadefcc6160c575b04f763ada34c20e868d577, \< 7f9caa70aef0950e06d395ca0035831214d88187 (cvelist)
- Linux: 7.2 (cvelist)

## Mitigation

- Upgrade Linux to 7f9caa70aef0950e06d395ca0035831214d88187 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- other: <https://git.kernel.org/stable/c/157d3f1db7e7e6f320daa221fae84a4c13555b6f>
- other: <https://git.kernel.org/stable/c/7f9caa70aef0950e06d395ca0035831214d88187>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98178>

HTML: <https://flawdb.com/CVE-2026-98178> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98178>
