CVE-2024-57897: In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Correct the migration DMA map direction
Summary
A vulnerability in the Linux kernel's AMD GPU driver (drm/amdkfd) was caused by mismatched DMA map and unmap directions during memory migration operations. The DMA core (the system that manages direct memory access between devices) was reporting warnings because the map direction didn't align with the unmap direction, which could lead to incorrect memory access behavior.
Solution / Mitigation
The fix sets the DMA map direction to BIDIRECTIONAL to align with the DMA unmap setting. This simplifies the DMA direction setting and ensures proper synchronization of the migration operation without requiring explicit dma_sync_single_for_*() calls.
Vulnerability Details
5.5(medium)
EPSS: 0.0%
Classification
Original source: https://nvd.nist.gov/vuln/detail/CVE-2024-57897
First tracked: February 15, 2026 at 08:52 PM
Classified by LLM (prompt v3) · confidence: 95%