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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
f86ad0ed620cb3c91ec7d5468e93ac68d727539d to < e4331c6644db85bc6ceb470bd84bcf371b6dbfa6affectedf86ad0ed620cb3c91ec7d5468e93ac68d727539d to < 415f5a755cec5164b149037bf294e270b78d36c6affectedf86ad0ed620cb3c91ec7d5468e93ac68d727539d to < 9e6372ec2a3990662ae0a67f56ac0aee19848d5baffected
Linux Linux
Default version status: affected
6.17affected0 to < 6.17unaffected6.18.53 to ≤ 6.18.*unaffected7.2.9 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected