# CVE-2026-98179: drm/amdgpu: fix rmmio iounmap skipped on device removal

> 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.17% (percentile 4, 2026-11-28)
- **Published:** 2026-10-06T08:44:22.410Z
- **Modified:** 2026-11-23T08:17:24.203Z

## Who should check

- Anyone running Linux \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< 84430fb266943bc79ba94f916b5f6179c25bfb3c; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< a8f42c923e28a58af841d1c03d6cd6ad3bbd123f; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< e81502d6791df9ecd003bfb2ca44f0d1f1b38439; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< cd55dde2b63789a3dafe982c89844f537501d096; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< a645584c3ccc493ee835f77155829442bd7578c3; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< 5155002b03b24ba3ef91c5c313b8cf0171b24904
- Anyone running Linux 5.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: fix rmmio iounmap skipped on device removal

amdgpu\_pci\_remove() calls drm\_dev\_unplug() before fini\_sw(), so
drm\_dev\_enter() is already false there and the iounmap() guarded by it
is skipped. This .remove path runs on both hot-unplug and plain rmmod,
so the register BAR ioremap mapping leaks one instance per unload.

Unmap rmmio unconditionally (guard only on non-NULL) and drop the now
unused idx.

(cherry picked from commit dd6f86a97260e5207d3329ad03aa89fdad61b1e6)

## Affected and fixed versions

- Linux: \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< 84430fb266943bc79ba94f916b5f6179c25bfb3c; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< a8f42c923e28a58af841d1c03d6cd6ad3bbd123f; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< e81502d6791df9ecd003bfb2ca44f0d1f1b38439; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< cd55dde2b63789a3dafe982c89844f537501d096; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< a645584c3ccc493ee835f77155829442bd7578c3; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< 5155002b03b24ba3ef91c5c313b8cf0171b24904 (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- Upgrade Linux to 5155002b03b24ba3ef91c5c313b8cf0171b24904 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-98179. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98179.md
Affected: Linux >= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, < 84430fb266943bc79ba94f916b5f6179c25bfb3c; >= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, < a8f42c923e28a58af841d1c03d6cd6ad3bbd123f; >= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, < e81502d6791df9ecd003bfb2ca44f0d1f1b38439; >= 62d5f9f7110ad374db67ab4…
Fixed in: Linux 84430fb266943bc79ba94f916b5f6179c25bfb3c, Linux 5155002b03b24ba3ef91c5c313b8cf0171b24904

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-98179 being exploited?

There is no confirmed exploitation: CVE-2026-98179 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-98179?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98179?

Linux \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< 84430fb266943bc79ba94f916b5f6179c25bfb3c; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< a8f42c923e28a58af841d1c03d6cd6ad3bbd123f; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< e81502d6791df9ecd003bfb2ca44f0d1f1b38439; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< cd55dde2b63789a3dafe982c89844f537501d096; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< a645584c3ccc493ee835f77155829442bd7578c3; \>= 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb, \< 5155002b03b24ba3ef91c5c313b8cf0171b24904; Linux 5.17.

### Is there a fix for CVE-2026-98179?

Yes. Fixed in Linux 84430fb266943bc79ba94f916b5f6179c25bfb3c, Linux 5155002b03b24ba3ef91c5c313b8cf0171b24904. Upgrade Linux to 5155002b03b24ba3ef91c5c313b8cf0171b24904 or later.

### How do I check if I'm affected by CVE-2026-98179?

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/84430fb266943bc79ba94f916b5f6179c25bfb3c>
- other: <https://git.kernel.org/stable/c/a8f42c923e28a58af841d1c03d6cd6ad3bbd123f>
- other: <https://git.kernel.org/stable/c/e81502d6791df9ecd003bfb2ca44f0d1f1b38439>
- other: <https://git.kernel.org/stable/c/cd55dde2b63789a3dafe982c89844f537501d096>
- other: <https://git.kernel.org/stable/c/a645584c3ccc493ee835f77155829442bd7578c3>
- other: <https://git.kernel.org/stable/c/5155002b03b24ba3ef91c5c313b8cf0171b24904>

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

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