diff options
author | 2025-07-23 17:51:20 +0200 | |
---|---|---|
committer | 2025-07-23 23:48:54 +0200 | |
commit | 5a53249d149f48b558368c5338b9921b76a12f8c (patch) | |
tree | 12b8cb7e5f4640811d9b3f1d953964f4cac07cb7 /rust/pin-init/internal/src | |
parent | Merge tag 'kvm-x86-fixes-6.16-rc7' of https://github.com/kvm-x86/linux into HEAD (diff) | |
download | wireguard-linux-5a53249d149f48b558368c5338b9921b76a12f8c.tar.xz wireguard-linux-5a53249d149f48b558368c5338b9921b76a12f8c.zip |
KVM: x86/xen: Fix cleanup logic in emulation of Xen schedop poll hypercalls
kvm_xen_schedop_poll does a kmalloc_array() when a VM polls the host
for more than one event channel potr (nr_ports > 1).
After the kmalloc_array(), the error paths need to go through the
"out" label, but the call to kvm_read_guest_virt() does not.
Fixes: 92c58965e965 ("KVM: x86/xen: Use kvm_read_guest_virt() instead of open-coding it badly")
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Manuel Andreas <manuel.andreas@tum.de>
[Adjusted commit message. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions