CVE-2026-98179

drm/amdgpu: fix rmmio iounmap skipped on device removal

State
Published
Severity
Not scored
Published
Oct 6, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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)

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb to before e81502d6791df9ecd003bfb2ca44f0d1f1b38439Affected
  • 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb to before cd55dde2b63789a3dafe982c89844f537501d096Affected
  • 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb to before a645584c3ccc493ee835f77155829442bd7578c3Affected
  • 62d5f9f7110ad374db67ab4820f4ff2d916c3cdb to before 5155002b03b24ba3ef91c5c313b8cf0171b24904Affected
LinuxLinux
  • 5.17Affected
  • before 5.17Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.54 through 6.18.*Not affected
  • 7.2.8 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.