aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThijs Raymakers <thijs@raymakers.nl>2025-08-04 08:44:05 +0200
committerSean Christopherson <seanjc@google.com>2025-08-15 11:33:21 -0700
commitc87bd4dd43a624109c3cc42d843138378a7f4548 (patch)
treed1df52ed1c6250367f64d5c87a5498cb97e77369 /tools/perf/scripts/python
parentLinux 6.17-rc1 (diff)
downloadwireguard-linux-c87bd4dd43a624109c3cc42d843138378a7f4548.tar.xz
wireguard-linux-c87bd4dd43a624109c3cc42d843138378a7f4548.zip
KVM: x86: use array_index_nospec with indices that come from guest
min and dest_id are guest-controlled indices. Using array_index_nospec() after the bounds checks clamps these values to mitigate speculative execution side-channels. Signed-off-by: Thijs Raymakers <thijs@raymakers.nl> Cc: stable@vger.kernel.org Cc: Sean Christopherson <seanjc@google.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Fixes: 715062970f37 ("KVM: X86: Implement PV sched yield hypercall") Fixes: bdf7ffc89922 ("KVM: LAPIC: Fix pv ipis out-of-bounds access") Fixes: 4180bf1b655a ("KVM: X86: Implement "send IPI" hypercall") Link: https://lore.kernel.org/r/20250804064405.4802-1-thijs@raymakers.nl Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions