Qemu-kvm: uefi-vars: information disclosure vulnerability in uefi_vars_write callback
Summary
Qemu-kvm: uefi-vars: information disclosure vulnerability in uefi_vars_write callback
Original description
The description as published by the source.
A flaw was found in QEMU in the uefi-vars virtual device. When the guest writes to register UEFI_VARS_REG_BUFFER_SIZE, the .write callback uefi_vars_write is invoked. The function allocates a heap buffer without zeroing the memory, leaving the buffer filled with residual data from prior allocations. When the guest later reads from register UEFI_VARS_REG_PIO_BUFFER_TRANSFER, the .read callback uefi_vars_read returns leftover metadata or other sensitive process memory from the previously allocated buffer, leading to an information disclosure vulnerability.
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2025-8860 qemu Fixed in: 1:10.0.3+ds-4
References
- advisory access.redhat.com
- advisory github.com
- advisory nvd.nist.gov
- package gitlab.com
- report bugzilla.redhat.com
- web access.redhat.com