CVE-2026-89804: drm/nouveau/dmem: fix mismatched DMA unmap size for large folios

Published Sep 16, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

drm/nouveau/dmem: fix mismatched DMA unmap size for large folios

Device-private THP migration maps migration buffers with pagesize() and records that length in dmainfo->size. For a compound folio pagesize() is PAGESIZE << order, but two teardown sites still pass a literal PAGESIZE to dmaunmappage():

- nouveaudmemmigratetoram() on the success path, and - nouveaudmemmigratecopyone() on the copy-error path.

For an order > 0 folio this unmaps less than was mapped, leaking the remainder of the IOMMU/IOVA mapping. The other unmap sites, in nouveaudmemmigratechunk() and nouveaudmemevictchunk(), already use the saved size; use it here too.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 16, 2026
CVE Published
via MITRE·10:30 AM
Data Sourced
via MITRE·10:30 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel's nouveau DRM driver with device-private memory migration are exposed when large compound folios are migrated. The mismatch occurs only for folios with an order greater than 0; base-page mappings use the same size as PAGE_SIZE.

2

What happens when the vulnerable paths are reached?

On a successful migration back to RAM or a copy-error path, the driver unmaps only PAGE_SIZE even though the migration buffer was mapped at the larger folio size. This can leave the remaining IOMMU/IOVA mapping allocated.

3

How can I determine whether a system has the fix?

Check whether the kernel's nouveau dmem code passes the saved dma_info->size value, rather than a literal PAGE_SIZE, to dma_unmap_page() in nouveau_dmem_migrate_to_ram() and nouveau_dmem_migrate_copy_one(). The referenced stable commits contain the resolution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203