CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's amdkfd driver, specifically in the page migration process from device memory to system RAM. If migration fails, the driver improperly handles allocated system pages, potentially leading to memory leaks or system instability, particularly in environments with IOMMU enabled. Organizations utilizing Linux systems with AMD GPUs should prioritize this patch to ensure system reliability and security.
Original NVD Description
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.