CVE-2026-99683 vduse: fix VA/PA confusion in the coherent page fault path
설명
In the Linux kernel, the following vulnerability has been resolved: vduse: fix VA/PA confusion in the coherent page fault path vduse_domain_get_coherent_page() assumes that iotlb entries above bounce_size were installed by vduse_domain_alloc_coherent(), so it treats map->addr as a physical address. But vduse registers with use_va = true, and when the device is bound to vhost_vdpa, vhost_vdpa_va_map() stores a userspace virtual address in map->addr, which vduse_domain_set_map() then copies into the same iotlb. A process holding the domain file descriptor across a rebind can therefore fault in an arbitrary physical page with read/write access, ignoring the entry permissions. Additionally, since the domain file mmap lacks VM_IO, the domain file itself can be mapped and passed to vhost_vdpa_va_map(), producing self-referential entries that bypass the coherent path check. To fix, only translate entries whose backing file is the domain file itself in vduse_domain_get_coherent_page(), reject such entries in vduse_domain_set_map() since only external mappings should be imported, and set VM_IO on the domain file mmap so vhost_vdpa_va_map() refuses to map it in the first place.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.15
해결 버전
- 5.15 미만
- 5.15.226 이상
- 6.1.193 이상
- 6.6.163 이상
- 6.12.118 이상
- 6.18.64 이상
- 7.3.5 이상
참고 자료 7건
- git.kernel.org https://git.kernel.org/stable/c/1b46b4182d3d5c1a085cfe2578048e1ce09e0e01 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4c8fdb725614189b6c73cf5f7f509592758b6d18 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/5f9da97f368cbf3de0123744d7132187e7e0495e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/84856994037a1a71bf18163b215afbb331838b88 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/8f282b6f383b79a8ed363fbf904485e5eafaca92 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/bb2e6f166547838fd7c320b01c90918b736f76e2 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e74a3ed4f59d84036500c5da3905ee40d2c8efa1 (새 창)