freenode

← CVE tracker

CVE-2026-143336

vdpa_sim: serialize IOTLB updates with dataplane access

Severity
unscored
Affects
Linux
Published
3 December 2026 by Linux
First seen on our lists
3 December 2026
In the Linux kernel, the following vulnerability has been resolved: vdpa_sim: serialize IOTLB updates with dataplane access The simulator translates IOTLB entries into iovecs or bvecs under iommu_lock, then drops the lock before copying data. A concurrent DMA unmap can delete the mapping and release its pinned backing pages while the copy is still in progress, leading to a UAF in _copy_from_iter(). Use the existing simulator mutex to serialize DMA map changes with the full backend work function. Also make vhost-vdpa stop device access before unpinning the backing pages. Otherwise, waiting in the simulator DMA unmap callback happens after the pages have already been released and cannot protect their lifetime. Keep iommu_lock for the IOTLB table itself and avoid adding a second long-lived lock to the simulator. I found this bug myself, though the patch was written with AI assistance.

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists