CyberRota Analysis
AI-GeneratedA vulnerability in the Linux kernel affects the Direct Rendering Manager (DRM) subsystem, specifically in the handling of DMA unmapping during page migration. This flaw can lead to improper management of memory pages, potentially resulting in system instability or data corruption if migration errors occur. Linux system administrators and developers utilizing DRM features should prioritize this issue to ensure system reliability and security.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: drm/pagemap: dma-unmap pages before handling migration errors drm_pagemap_migrate_unmap_pages() relies on the pages array to determine which pages require DMA unmapping. However, drm_pagemap_migration_unlock_put_pages() clears the array as part of its cleanup, leaving drm_pagemap_migrate_unmap_pages() with no valid page information if it is called afterward. Call drm_pagemap_migrate_unmap_pages() before drm_pagemap_migration_unlock_put_pages() so the pages array remains valid during DMA unmapping.