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 mlx5 map replacement when resumable virtqueues cannot be suspended, since changing the memory region while those queues remain active would preserve the same stale DMA window. Reject zero-sized and wrapping invalidations before calculating their inclusive range end. I found this bug myself, though the patch was written with AI assistance.
https://git.kernel.org/stable/c/f4ef474a111791116534703e1def811841aa8d88
https://git.kernel.org/stable/c/acbf36deb53d9e14e4768bf58883795a8232aa5b
https://git.kernel.org/stable/c/791c9635116680961cfd0d5a59c68e75018ebc8b
https://git.kernel.org/stable/c/3ede1291addc698a179da7d30f146aeaf6a6df60