Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1679911

Re: [PATCH v2] x86/xen: allow userspace access during hypercalls

From Juergen Gross <jgross@suse.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] x86/xen: allow userspace access during hypercalls
Date 2017-07-03 13:30 +0200
Message-ID <tZ7Ie-Fp-15@gated-at.bofh.it> (permalink)
References <tWBCO-2pu-45@gated-at.bofh.it> <tWBMu-2tb-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 26/06/17 14:49, Marek Marczykowski-Górecki wrote:
> Userspace application can do a hypercall through /dev/xen/privcmd, and
> some for some hypercalls argument is a pointers to user-provided
> structure. When SMAP is supported and enabled, hypervisor can't access.
> So, lets allow it.
> 
> The same applies to HYPERVISOR_dm_op, where additionally privcmd driver
> carefully verify buffer addresses.
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>

Queued to xen/tip.git for-linus-4.13


Thanks,

Juergen

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] x86/xen: allow userspace access during hypercalls Marek Marczykowski-Górecki          <marmarek@invisiblethingslab.com> - 2017-06-23 14:50 +0200
  Re: [PATCH] x86/xen: allow userspace access during hypercalls Juergen Groß <jgross@suse.com> - 2017-06-26 14:10 +0200
    Re: [PATCH] x86/xen: allow userspace access during hypercalls Marek Marczykowski-Górecki          <marmarek@invisiblethingslab.com> - 2017-06-26 14:50 +0200
      Re: [PATCH v2] x86/xen: allow userspace access during hypercalls Juergen Groß <jgross@suse.com> - 2017-06-26 15:00 +0200
      [PATCH v2] x86/xen: allow userspace access during hypercalls Marek Marczykowski-Górecki          <marmarek@invisiblethingslab.com> - 2017-06-26 15:00 +0200
        Re: [PATCH v2] x86/xen: allow userspace access during hypercalls Juergen Gross <jgross@suse.com> - 2017-07-03 13:30 +0200
      RE: [Xen-devel] [PATCH] x86/xen: allow userspace access during         hypercalls Paul Durrant <Paul.Durrant@citrix.com> - 2017-06-26 15:20 +0200
        RE: [Xen-devel] [PATCH] x86/xen: allow userspace access during  hypercalls Paul Durrant <Paul.Durrant@citrix.com> - 2017-06-26 15:30 +0200
        Re: [Xen-devel] [PATCH] x86/xen: allow userspace access during  hypercalls 'Marek Marczykowski-Górecki'          <marmarek@invisiblethingslab.com> - 2017-06-26 15:30 +0200

csiph-web