drm/amdkfd: don't allow mapping the MMIO HDP page with large pages
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884, Kernel 4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724, Kernel 6186c93560889265bfe0914609c274eff40bbeb5 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: don't allow mapping the MMIO HDP page with large pages We don't get the right offset in that case. The GPU has an unused 4K area of the register BAR space into which you can remap registers. We remap the HDP flush registers into this space to allow userspace (CPU or GPU) to flush the HDP when it updates VRAM. However, on systems with >4K pages, we end up exposing PAGE_SIZE of MMIO space.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.3, >=d8e408a82704c86ba87c3d58cfe69dcdb758aa07 <009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884, >=d8e408a82704c86ba87c3d58cfe69dcdb758aa07 <4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724, >=d8e408a82704c86ba87c3d58cfe69dcdb758aa07 <6186c93560889265bfe0914609c274eff40bbeb5, >=d8e408a82704c86ba87c3d58cfe69dcdb758aa07 <89fffbdf535ce659c1a26b51ad62070566e33b28, >=d8e408a82704c86ba87c3d58cfe69dcdb758aa07 <8ad4838040e5515939c071a0f511ce2661a0889d, >=d8e408a82704c86ba87c3d58cfe69dcdb758aa07 <be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7, >=d8e408a82704c86ba87c3d58cfe69dcdb758aa07 <f7276cdc1912325b64c33fcb1361952c06e55f63 | 009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884, 4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724, 6186c93560889265bfe0914609c274eff40bbeb5, 89fffbdf535ce659c1a26b51ad62070566e33b28, 8ad4838040e5515939c071a0f511ce2661a0889d, be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7, f7276cdc1912325b64c33fcb1361952c06e55f63 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket