{"id":"CVE-2026-143336","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:18:21.740","lastModified":"2026-12-03T10:18:21.740","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nvdpa_sim: serialize IOTLB updates with dataplane access\n\nThe simulator translates IOTLB entries into iovecs or bvecs under\niommu_lock, then drops the lock before copying data. A concurrent DMA\nunmap can delete the mapping and release its pinned backing pages while\nthe copy is still in progress, leading to a UAF in _copy_from_iter().\n\nUse the existing simulator mutex to serialize DMA map changes with the\nfull backend work function. Also make vhost-vdpa stop device access before\nunpinning the backing pages. Otherwise, waiting in the simulator DMA unmap\ncallback happens after the pages have already been released and cannot\nprotect their lifetime.\n\nKeep iommu_lock for the IOTLB table itself and avoid adding a second\nlong-lived lock to the simulator.\n\nI found this bug myself, though the patch was written with AI assistance."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/vdpa/vdpa_sim/vdpa_sim.c","drivers/vhost/vdpa.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2c53d0f64c06f4580588ef16f50f63a112117a02","lessThan":"41f27ed9ecf5c552a7ecacac3b878aaa51150447","versionType":"git","status":"affected"},{"version":"2c53d0f64c06f4580588ef16f50f63a112117a02","lessThan":"57b7e461d4dda2cb26e8fc5a0fe76dce6db0bf3d","versionType":"git","status":"affected"},{"version":"2c53d0f64c06f4580588ef16f50f63a112117a02","lessThan":"1f2cc552643f5b5d20e506b6651c8a552bf09f4c","versionType":"git","status":"affected"},{"version":"2c53d0f64c06f4580588ef16f50f63a112117a02","lessThan":"8517ed4429a2eefd002dce00ea46e23e6714350b","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/vdpa/vdpa_sim/vdpa_sim.c","drivers/vhost/vdpa.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.7","status":"affected"},{"version":"0","lessThan":"5.7","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/1f2cc552643f5b5d20e506b6651c8a552bf09f4c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/41f27ed9ecf5c552a7ecacac3b878aaa51150447","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/57b7e461d4dda2cb26e8fc5a0fe76dce6db0bf3d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8517ed4429a2eefd002dce00ea46e23e6714350b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}