drm/amdkfd: Fix error path at svm_migrate_copy_to_ram
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 44cad7ea3532f14999008d899daacc4ce4b633bf, Kernel 872b7427e64f3e84b16c62577cbf3cd09a3401a2, Kernel 960c4a8069bfd352c48cc88592618f1ebe24c69e and 3 more.
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix error path at svm_migrate_copy_to_ram If page migration from device to sys ram fails for some reasons driver needs release and unlock allocated system pages. To do that driver should use page physical address, or pfn, then get struct page*. Current driver uses dma address(for adev) that is not correct with IOMMU enabled, or even in general. The patch releases and unlocks allocated system pages based on where migration failed by struct page* of sys ram pages. Also dma_unmap correspodent system ram pages at error path.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.14, >=48ff079b28d82dbce000cc45c0fd35b6ae9ffbda <44cad7ea3532f14999008d899daacc4ce4b633bf, >=48ff079b28d82dbce000cc45c0fd35b6ae9ffbda <872b7427e64f3e84b16c62577cbf3cd09a3401a2, >=48ff079b28d82dbce000cc45c0fd35b6ae9ffbda <960c4a8069bfd352c48cc88592618f1ebe24c69e, >=48ff079b28d82dbce000cc45c0fd35b6ae9ffbda <a2035918a7a1d8fd3bb79d22e1e149294a5a8418, >=48ff079b28d82dbce000cc45c0fd35b6ae9ffbda <da87bcad1f781d822e7ced6d1de9dbc6d381c72e, >=48ff079b28d82dbce000cc45c0fd35b6ae9ffbda <ee007a238dd363ba2f3a3b01815703cfe98711c7 | 44cad7ea3532f14999008d899daacc4ce4b633bf, 872b7427e64f3e84b16c62577cbf3cd09a3401a2, 960c4a8069bfd352c48cc88592618f1ebe24c69e, a2035918a7a1d8fd3bb79d22e1e149294a5a8418, da87bcad1f781d822e7ced6d1de9dbc6d381c72e, ee007a238dd363ba2f3a3b01815703cfe98711c7 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket