drm/pagemap: dma-unmap pages before handling migration errors
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.53, 7.2.9
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From f86ad0ed620cb3c91ec7d5468e93ac68d727539d · fixed in e4331c6644db85bc6ceb470bd84bcf371b6dbfa6; From f86ad0ed620cb3c91ec7d5468e93ac68d727539d · fixed in 415f5a755cec5164b149037bf294e270b78d36c6; From f86ad0ed620cb3c91ec7d5468e93ac68d727539d · fixed in 9e6372ec2a3990662ae0a67f56ac0aee19848d5b
- Linux Linux
6.17
- KernelLinux
From 6.17.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.9