CVE-2026-6426
Qemu-kvm: vhost inflight migration vmstate integer type mismatch causes out-of-bounds access
- Severity
- medium CVSS 4.4 (v3.1)
- Affects
- Red Hat Enterprise Linux 10 · Red Hat
- Weakness
- CWE-681: Incorrect Conversion between Numeric Types
- Published
- 10 August 2026 by redhat
- First seen on our lists
- 24 July 2026
A type mismatch vulnerability was found in QEMU's vhost inflight migration VMState handling. The destination buffer size is stored as a uint64_t but read by the VMS_VBUFFER load path as a signed int32_t. On little-endian hosts, a crafted incoming migration state with bit 31 set causes the value to be interpreted as negative and then implicitly converted to a very large size_t, leading qemu_get_buffer() to copy migration-stream data beyond the bounds of the mmap-backed inflight region.
This can result in a crash of the QEMU process or memory corruption. Exploitation requires control of the migration producer or write access to the migration channel, combined with a destination configured to use vhost inflight migration.
Our coverage
On the lists
- [Stable-11.1.3 21/73] migration: Introduce VMStateStructMember
- [PULL v2 23/30] migration: Introduce VMStateStructMember
- [PULL v2 00/30] Migration patches for 2026-08-28
- [PULL 00/30] Migration patches for 2026-08-26
- [PATCH v2 2/8] migration: Introduce VMStateStructMember
- [PATCH] vhost: Reject oversized inflight migration buffers
- [PULL 17/30] vmstate: fix type confusion in vmstate_size() for VMSTATE_VBUFFER_UINT64
- [PATCH] vmstate: fix type confusion in vmstate_size() for VMSTATE_VBUFFER_UINT64