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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-06T08:44:22.410Z
- Modified: 2026-11-23T08:17:24.203Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb before 84430fb266943bc79ba94f916b5f6179c25bfb3c; from 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb before a8f42c923e28a58af841d1c03d6cd6ad3bbd123f; from 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb before e81502d6791df9ecd003bfb2ca44f0d1f1b38439; from 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb before cd55dde2b63789a3dafe982c89844f537501d096; from 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb before a645584c3ccc493ee835f77155829442bd7578c3; from 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb before 5155002b03b24ba3ef91c5c313b8cf0171b24904; 5.17 (not affected: before 5.17; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/84430fb266943bc79ba94f916b5f6179c25bfb3c>
- <https://git.kernel.org/stable/c/a8f42c923e28a58af841d1c03d6cd6ad3bbd123f>
- <https://git.kernel.org/stable/c/e81502d6791df9ecd003bfb2ca44f0d1f1b38439>
- <https://git.kernel.org/stable/c/cd55dde2b63789a3dafe982c89844f537501d096>
- <https://git.kernel.org/stable/c/a645584c3ccc493ee835f77155829442bd7578c3>
- <https://git.kernel.org/stable/c/5155002b03b24ba3ef91c5c313b8cf0171b24904>

## Sources

- CVE List: [CVE-2026-98179](https://www.cve.org/CVERecord?id=CVE-2026-98179), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-98179](https://nvd.nist.gov/vuln/detail/CVE-2026-98179), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-98179 · Whole record: https://cve.day/CVE-2026-98179.json · Rebuilt by cve.day 2026-11-25T22:59:42.278Z
