GHSA-9hg7-4qcp-5vr8HighCVSS 8.8
In the Linux kernel, the following vulnerability has been resolved: drm/pagemap: dma-unmap pages...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-93284
- https://git.kernel.org/stable/c/9e6372ec2a3990662ae0a67f56ac0aee19848d5b
- https://git.kernel.org/stable/c/e4331c6644db85bc6ceb470bd84bcf371b6dbfa6
- https://git.kernel.org/stable/c/415f5a755cec5164b149037bf294e270b78d36c6
- https://github.com/advisories/GHSA-9hg7-4qcp-5vr8