Virtio-win kvm-guest-drivers-windows
virtio-win: Integer overflow causing a heap overflow in Viosock driver
virtio-win provides Windows paravirtualized drivers for QEMU and KVM. From mm210 until mm320, the Viosock driver permits a low-privilege local process to submit an IOCTL_SELECT request with attacker-controlled VIRTIO_VSOCK_SELECT.Fdss[*].fd_count values that overflow the 32-bit sum used by VIOSockSelect for bounds checking. The wrapped sum can pass the FD_SETSIZE check even though an individual descriptor count is much larger than the expected limit. VIOSockSelectCopyFds then iterates using the unchecked count and writes beyond the allocated pPkt->Fds array in the NonPagedPool kernel heap. Successful exploitation can corrupt kernel memory and enable privilege escalation in a Windows guest running the driver. This issue is fixed in mm320.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= mm210, < mm320
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Vendor advisory github.com/virtio-win/kvm-guest-drivers-window…
- Patch github.com/virtio-win/kvm-guest-drivers-window…
- Patch github.com/virtio-win/kvm-guest-drivers-window…
1 more
- Release notes github.com/virtio-win/kvm-guest-drivers-window…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.