Linux kernel nouveau/dmem: large-folio migration unmaps PAGE_SIZE instead of the mapped size, leaking IOVA
Impact
Device-private THP migration maps migration buffers with page_size() and records that length, but nouveau_dmem_migrate_to_ram() on success and nouveau_dmem_migrate_copy_one() on the copy-error path still pass a literal PAGE_SIZE to dma_unmap_page(). For an order>0 folio less is unmapped than was mapped, so the remainder of the IOMMU/IOVA mapping stays live after the buffer is released - device-addressable memory that outlives its owner, plus IOVA-space exhaustion over time. The fix uses the saved size at both sites, matching the other unmap sites. Relevant only where nouveau is the NVIDIA driver in use; datacenter fleets on the proprietary or open NVIDIA kernel modules are not affected.
Who can reach it
Local user running GPU workloads that trigger device-private page migration on a host using the nouveau driver. No remote access; no special privilege beyond GPU access.
What to do
Update to a stable kernel carrying the two linked commits and reboot the affected hosts. Operators running the NVIDIA-supplied kernel modules rather than nouveau do not need to act. The record names commits, not fixed releases.
References
Related entries
- Linux kernel amdkfd: no TLB flush after MES queue eviction lets in-flight DMA touch unmapped GPU memoryCVE-2026-89811 · Linux kernel drm/amdkfd (MES queue eviction/suspension, missing kfd_flush_tlb)High
- Linux drm/amdgpu gfx6: compute queues missed PFP sync, letting a submission run against stale stateCVE-2026-90286 · Linux kernel drm/amdgpu gfx6 (compute queue PFP synchronization)High
- drm/pagemap: migration error path clears the pages array before DMA-unmapping itCVE-2026-93284 · Linux kernel drm_pagemap (device-memory migration error path)High
- BlueField / ConnectX firmware: Improper certificate validation / access controlCVE-2024-0106 · BlueField / ConnectX firmwareHigh
- Jetson (Xavier/TX/Nano): Improper error handlingCVE-2024-0108 · Jetson (Xavier/TX/Nano)High
- BlueField DPU: Access-control bypass on the DPUCVE-2025-23256 · BlueField DPUHigh
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.