All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>, Michal Luczaj <mhal@rbox.co>,
	kvm@vger.kernel.org
Subject: Re: [PATCH 1/3] KVM: x86/xen: Validate port number in SCHEDOP_poll
Date: Wed, 23 Nov 2022 16:25:50 +0000	[thread overview]
Message-ID: <Y35JjlgjvtkAMk7C@google.com> (raw)
In-Reply-To: <20221123002030.92716-1-dwmw2@infradead.org>

On Wed, Nov 23, 2022, David Woodhouse wrote:
> From: David Woodhouse <dwmw@amazon.co.uk>
> 
> 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>
> Cc: stable@kernel.org
> ---

Reviewed-by: Sean Christopherson <seanjc@google.com>

      parent reply	other threads:[~2022-11-23 16:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-23  0:20 [PATCH 1/3] KVM: x86/xen: Validate port number in SCHEDOP_poll David Woodhouse
2022-11-23  0:20 ` [PATCH 2/3] KVM: x86/xen: Only do in-kernel acceleration of hypercalls for guest CPL0 David Woodhouse
2022-11-23 16:26   ` Sean Christopherson
2022-11-23  0:20 ` [PATCH 3/3] KVM: Update gfn_to_pfn_cache khva when it moves within the same page David Woodhouse
2022-11-23 12:25   ` David Woodhouse
2022-11-23 16:10     ` Sean Christopherson
2022-11-23 16:25 ` Sean Christopherson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y35JjlgjvtkAMk7C@google.com \
    --to=seanjc@google.com \
    --cc=dwmw2@infradead.org \
    --cc=kvm@vger.kernel.org \
    --cc=mhal@rbox.co \
    --cc=pbonzini@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.