{"id":"CVE-2026-143336","summary":"vdpa_sim: serialize IOTLB updates with dataplane access","details":"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.","modified":"2026-12-03T11:02:05.433123817Z","published":"2026-12-03T09:21:58.779Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143336.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1f2cc552643f5b5d20e506b6651c8a552bf09f4c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/41f27ed9ecf5c552a7ecacac3b878aaa51150447"},{"type":"WEB","url":"https://git.kernel.org/stable/c/57b7e461d4dda2cb26e8fc5a0fe76dce6db0bf3d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8517ed4429a2eefd002dce00ea46e23e6714350b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143336.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143336"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2c53d0f64c06f4580588ef16f50f63a112117a02"},{"fixed":"41f27ed9ecf5c552a7ecacac3b878aaa51150447"},{"fixed":"57b7e461d4dda2cb26e8fc5a0fe76dce6db0bf3d"},{"fixed":"1f2cc552643f5b5d20e506b6651c8a552bf09f4c"},{"fixed":"8517ed4429a2eefd002dce00ea46e23e6714350b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143336.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.7.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143336.json"}}],"schema_version":"1.9.2"}