drm/pagemap: dma-unmap pages before handling migration errors
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 415f5a755cec5164b149037bf294e270b78d36c6, Kernel 9e6372ec2a3990662ae0a67f56ac0aee19848d5b, Kernel e4331c6644db85bc6ceb470bd84bcf371b6dbfa6 and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.17, >=f86ad0ed620cb3c91ec7d5468e93ac68d727539d <415f5a755cec5164b149037bf294e270b78d36c6, >=f86ad0ed620cb3c91ec7d5468e93ac68d727539d <9e6372ec2a3990662ae0a67f56ac0aee19848d5b, >=f86ad0ed620cb3c91ec7d5468e93ac68d727539d <e4331c6644db85bc6ceb470bd84bcf371b6dbfa6 | 415f5a755cec5164b149037bf294e270b78d36c6, 9e6372ec2a3990662ae0a67f56ac0aee19848d5b, e4331c6644db85bc6ceb470bd84bcf371b6dbfa6 |
| linux-kernel: Kernel | >=6.17.0 <6.18.53, >=6.19.0 <7.2.9 | 6.18.53, 7.2.9 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket