GPU VulnDB

Database/NVIDIA / GPU stack

drm_pagemap: use-after-put in the device-to-RAM migration error path, plus missing THP fallback

CVSS 7.8CVE-2026-89805NVIDIA / GPU stackcurated

Impact

When migrating GPU device memory back to system RAM, the error path computed the folio order via page_folio(page) after put_page() had already dropped the last reference - a use-after-free on the page struct. The same function had no fallback when a higher-order (THP) folio allocation failed, so under memory pressure it both spammed the log and left part of the range uncopied. drm_pagemap is the shared migration layer behind device SVM on Xe and AMD GPUs, so this sits directly in the path that unified-memory workloads exercise constantly. On a GPU node the trigger is ordinary memory pressure during eviction, which is exactly the state a busy multi-tenant box is in; the realistic outcome is host memory corruption or silently wrong data after a failed migration.

Who can reach it

Local. Any tenant running an SVM/unified-memory GPU workload that forces eviction of device pages back to RAM under memory pressure. No authentication beyond holding a render node fd; the error path is reached by allocation failure rather than by a crafted input.

What to do

Install the stable-kernel update that computes the folio order before releasing the page and adds the order-0 fallback with per-page source population. This is an in-tree DRM change, so it requires the patched kernel: drain the node and reboot. No vendor userspace or daemon restart addresses it, and there is no configuration mitigation short of not using device SVM.

References

Related entries

All NVIDIA / GPU stack entries

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.