CVE-2026-98179

drm/amdgpu: fix rmmio iounmap skipped on device removal

Published Oct 6, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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)

Analysis

AI-generated

Technical impact

The Linux kernel’s amdgpu driver fails to unmap an I/O memory region when a device is removed or the driver module is unloaded. The removal path calls drm_dev_unplug before the mapping is released, leaving one instance of the BAR mapping in kernel space each time. This results in a kernel‑space memory leak that can accumulate with repeated device removals or module unloads. If the leak grows large enough it could exhaust kernel virtual memory, potentially leading to a denial of service. The weakness is identified as a resource leak (CWE-772).

Affected Systems

All Linux kernel releases that ship with the amdgpu driver and have not yet incorporated the commit dd6f86a97260e5207d3329ad03aa89fdad61b1e6 are affected. The issue surfaces when a supported AMDGPU device is removed or the driver module is unloaded via hot‑unplug or rmmod, regardless of distribution vendor. The vulnerability is a kernel‑level flaw that manifests during device removal and is not tied to user‑mode operations.

Risk and Exploitability

The flaw does not provide a remote or authenticated execution vector; it requires local kernel access. Based on the description it is inferred that repeated removal of the device or repeated module unload is necessary to allow the memory leak to accumulate. The EPSS score is <1% and the vulnerability is not listed in CISA’s KEV catalog, giving an overall risk that is moderate. The CVSS score of 5.5 indicates moderate severity; however, the potential for kernel memory exhaustion could raise availability impact if the device is unplugged frequently.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the amdgpu driver fix commit (dd6f86a97260e5207d3329ad03aa89fdad61b1e6).
  • If an immediate update is not possible, avoid frequent unloading or unplugging of AMDGPU devices to prevent long‑term memory growth.
  • Implement monitoring of kernel memory usage and alerting so that exploitation potential can be detected early.

Generated by OpenCVE AI on October 9, 2026 at 05:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
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)
Title drm/amdgpu: fix rmmio iounmap skipped on device removal
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:15 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 6, 2026, 9:18 AM
Modified
Oct 19, 2026, 10:18 AM
Severity
Low
Public date
Oct 6, 2026, 12:00 AM