← CVE Intelligence

CVE-2026-98179

drm/amdgpu: fix rmmio iounmap skipped on device removal PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb before e81502d6791df9ecd003bfb2ca44f0d1f1b38439; affected 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb before cd55dde2b63789a3dafe982c89844f537501d096; affected 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb before a645584c3ccc493ee835f77155829442bd7578c3; affected 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb before 5155002b03b24ba3ef91c5c313b8cf0171b24904
Linux / Linuxaffected 5.17; unaffected 0 before 5.17; unaffected 6.12.112 through 6.12.*; unaffected 6.18.54 through 6.18.*; unaffected 7.2.8 through 7.2.*; unaffected 7.3 through *

CWE

No CWE identifiers supplied.

References