Cloudanix VulnDB

CVE-2026-98179

None

CVSS

—

EPSS

0.2%

Published

Oct 6, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A graphics driver bug on Linux can waste small amounts of memory each time certain AMD video cards are removed or the driver is reloaded, which may slowly degrade system performance if this happens many times.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Theoretical
Impact
Denial Of Service
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The vulnerability causes a leak of the register BAR ioremap mapping because drm_dev_unplug() disables drm_dev_enter() before fini_sw() runs in amdgpu_pci_remove(), skipping the guarded iounmap on both hot-unplug and rmmod paths.

Why it matters to the business

Repeated driver unloads or device removals gradually exhaust kernel memory mappings, increasing the risk of resource exhaustion, degraded GPU functionality, or system instability in environments that frequently reload the amdgpu driver.

How an attack unfolds

An attacker with local privileges triggers repeated amdgpu device removal or module unload operations; each cycle skips the iounmap, accumulating leaked mappings until memory pressure or denial of service occurs. No remote or unauthenticated vectors exist and no threat actors are known to exploit it.

How to fix it

Apply the upstream fix that performs unconditional rmmio unmap when the pointer is non-NULL; update to a Linux kernel containing commit dd6f86a97260e5207d3329ad03aa89fdad61b1e6 or later backports. Reboot after installing the updated kernel package.

How to confirm the fix worked

Confirm the presence of the fix by inspecting the amdgpu_pci_remove() path for an unconditional iounmap guarded only by a non-NULL check and verify that the drm_dev_enter() guard and unused idx have been removed; test repeated module load/unload cycles while monitoring ioremap accounting.

Typical attack path

  1. Obtain local root or sufficient privileges to unload the amdgpu module or trigger PCI hot-unplug
  2. Repeatedly execute rmmod or equivalent removal operations
  3. Each removal leaks one rmmio mapping instance
  4. Accumulate leaks until kernel memory or mapping resources are exhausted

How to detect it

Examine kernel logs for repeated amdgpu removal events, track ioremap and iounmap call counts around module unload, and monitor for gradual increases in kernel memory mappings without corresponding frees; no public exploit artifacts are known.

What your security team should do

  • Prioritize kernel updates on systems using AMD GPUs that experience frequent driver reloads or hot-unplug events
  • Monitor kernel memory and ioremap usage statistics after updates to confirm leak resolution
  • Restrict unprivileged access to module unloading and PCI device management where feasible

The record

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 packages

Ecosystem Package Introduced Fixed