一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年10月6日

CVE-2026-98179 – In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix rmmio

未分类
📑 文章目录

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)