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)
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
62d5f9f7110ad374db67ab4820f4ff2d916c3cdb to < e81502d6791df9ecd003bfb2ca44f0d1f1b38439affected62d5f9f7110ad374db67ab4820f4ff2d916c3cdb to < cd55dde2b63789a3dafe982c89844f537501d096affected62d5f9f7110ad374db67ab4820f4ff2d916c3cdb to < a645584c3ccc493ee835f77155829442bd7578c3affected62d5f9f7110ad374db67ab4820f4ff2d916c3cdb to < 5155002b03b24ba3ef91c5c313b8cf0171b24904affected
Linux Linux
Default version status: affected
5.17affected0 to < 5.17unaffected6.12.112 to ≤ 6.12.*unaffected6.18.54 to ≤ 6.18.*unaffected7.2.8 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected