Vulnerability record
vdpa: invalidate DMA mappings before releasing memory
In the Linux kernel, the following vulnerability has been resolved:
vdpa: invalidate DMA mappings before releasing memory
vdpa can release pinned pages and file references before the device stops using the corresponding mappings, allowing stale DMA to corrupt memory.
Invalidate mappings before dropping their backing references. For set_map backends, publish an IOTLB without the invalidated range and keep the old references if that fails. Do this immediately even within a batch.
Serialize vdpa_sim set_map updates with its worker so publishing a new map cannot race an active transfer. Abort…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources