diff options
author | 2022-11-12 13:48:58 +0000 | |
---|---|---|
committer | 2022-11-23 18:58:44 -0500 | |
commit | 4ea9439fd537313f3381f0af4ebbf05e3f51a58c (patch) | |
tree | 3f9d86b247a5c690bc218b6a24370320af7bdc57 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'kvm-s390-master-6.1-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD (diff) | |
download | wireguard-linux-4ea9439fd537313f3381f0af4ebbf05e3f51a58c.tar.xz wireguard-linux-4ea9439fd537313f3381f0af4ebbf05e3f51a58c.zip |
KVM: x86/xen: Validate port number in SCHEDOP_poll
We shouldn't allow guests to poll on arbitrary port numbers off the end
of the event channel table.
Fixes: 1a65105a5aba ("KVM: x86/xen: handle PV spinlocks slowpath")
[dwmw2: my bug though; the original version did check the validity as a
side-effect of an idr_find() which I ripped out in refactoring.]
Reported-by: Michal Luczaj <mhal@rbox.co>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Cc: stable@kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions