qemu/include/system
Laurent Vivier 1f0495f4a3 hw/virtio-rng: Fix host use-after-free (CVE-2026-50624)
Fix a heap-use-after-free in the virtio-rng frontend when a delayed
rng-random backend completion arrives after the virtio-rng device has been
hot-unplugged.

Fixes: CVE-2026-50624
Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/3917
Reported-by: Jia Jia <physicalmtea@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260724094931.3005968-1-lvivier@redhat.com>
(cherry picked from commit 0be94d8d9c)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2026-07-31 11:08:41 +03:00
..
accel-blocker.h
accel-ops.h accel: Forward-declare AccelOpsClass in 'qemu/typedefs.h' 2025-03-06 15:46:18 +01:00
arch_init.h system: Replace arch_type global by qemu_arch_available() helper 2025-03-11 20:03:26 +01:00
balloon.h
block-backend-common.h
block-backend-global-state.h block: Remove unused blk_op_is_blocked() 2025-03-11 15:49:14 +01:00
block-backend-io.h block: Add flags parameter to blk_*_pdiscard() 2026-05-20 11:22:56 +03:00
block-backend.h
block-ram-registrar.h
blockdev.h
confidential-guest-support.h
cpu-throttle.h
cpu-timers-internal.h
cpu-timers.h
cpus.h accel: Forward-declare AccelOpsClass in 'qemu/typedefs.h' 2025-03-06 15:46:18 +01:00
cryptodev-vhost-user.h
cryptodev-vhost.h
cryptodev.h
device_tree.h hw: Centralize handling of -machine dumpdtb option 2025-02-24 15:03:42 +00:00
dirtylimit.h
dirtyrate.h
dma.h dma: use current AioContext for dma_blk_io() 2025-03-13 17:57:23 +01:00
dump-arch.h
dump.h
event-loop-base.h
host_iommu_device.h
hostmem.h system: Declare qemu_[min/max]rampagesize() in 'system/hostmem.h' 2025-03-11 17:01:14 +01:00
hvf.h
hvf_int.h
hw_accel.h
iommufd.h
iothread.h
kvm.h
kvm_int.h
kvm_xen.h
memory_mapping.h
numa.h
nvmm.h
os-posix.h os: add an ability to lock memory on_fault 2025-02-12 11:36:01 -05:00
os-win32.h os: add an ability to lock memory on_fault 2025-02-12 11:36:01 -05:00
qtest.h tests/qtest: rename qtest_send_prefix and roll-up into qtest_send 2025-02-10 13:47:58 +00:00
replay.h
reset.h
rng-random.h
rng.h hw/virtio-rng: Fix host use-after-free (CVE-2026-50624) 2026-07-31 11:08:41 +03:00
rtc.h
runstate-action.h
runstate.h
seccomp.h
spdm-socket.h
stats.h
system.h overcommit: introduce mem-lock=on-fault 2025-02-12 11:36:13 -05:00
tcg.h
tpm.h
tpm_backend.h
tpm_util.h
vhost-user-backend.h
watchdog.h
whpx.h
xen-mapcache.h
xen.h