From: Peter <xen@randomwebstuff.com>
To: xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: Xen Project Spectre/Meltdown FAQ
Date: Wed, 10 Jan 2018 16:58:48 +1300 [thread overview]
Message-ID: <2ff9538c98ece66b66da2484a7b7d67c@randomwebstuff.com> (raw)
In-Reply-To: <alpine.DEB.2.10.1801081804150.4603@sstabellini-ThinkPad-X260>
On 2018-01-09 15:04, Stefano Stabellini wrote:
> On Sun, 7 Jan 2018, Marek Marczykowski-Górecki wrote:
>> On Fri, Jan 05, 2018 at 07:05:56PM +0000, Andrew Cooper wrote:
>> > On 05/01/18 18:16, Rich Persaud wrote:
>> > >> On Jan 5, 2018, at 06:35, Lars Kurth <lars.kurth.xen@gmail.com
>> > >> <mailto:lars.kurth.xen@gmail.com>> wrote:
>> > >> Linux’s KPTI series is designed to address SP3 only. For Xen guests,
>> > >> only 64-bit PV guests are affected by SP3. A KPTI-like approach was
>> > >> explored initially, but required significant ABI changes.
>>
>> Is some partial KPTI-like approach feasible? Like unmapping memory
>> owned
>> by other guests, but keeping Xen areas mapped? This will still allow
>> leaking Xen memory, but there are very few secrets there (vCPUs state,
>> anything else?), so overall impact will be much lower.
>
> +1
>
I believe
https://blog.xenproject.org/2018/01/04/xen-project-spectremeltdown-faq/
is clear re VMs attacking/accessing the host/dom0/hypervisor and the
mitigations for that.
However the page seems ambiguous about whether 64 bit VMs running as
PVHv2 with host provided kernels are protected or not (from each VM's
own processes).
Can the page be updated to be more explicit and perhaps describe how the
VM kernel or how the PVHv2 virtualization provides that protection. And
ideally how that could be checked from the VM itself. e.g. grep pti
/proc/cpuinfo?
e.g. the page says: "Guest kernels running in 64-bit PV mode are not
directly vulnerable to attack using SP3, because 64-bit PV guests
already run in a KPTI-like mode." but it does not mention PVHv2 for
that. Is it protected under PVHv2? Does it depend on the kernel? Is
so what is the patchset/option/mechanism that protects the VM from its
own processes?
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2018-01-10 3:58 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-05 11:35 Xen Project Spectre/Meltdown FAQ Lars Kurth
2018-01-05 11:52 ` Juergen Gross
2018-01-05 12:11 ` George Dunlap
2018-01-05 14:40 ` Julien Grall
2018-01-05 14:54 ` Lars Kurth
2018-01-05 15:55 ` Hans van Kranenburg
2018-01-05 17:34 ` Lars Kurth
2018-01-08 10:11 ` Lars Kurth
2018-01-05 18:16 ` Rich Persaud
2018-01-05 19:05 ` Andrew Cooper
2018-01-07 15:00 ` Marek Marczykowski-Górecki
2018-01-07 17:11 ` Andrew Cooper
2018-01-08 9:02 ` Lars Kurth
2018-01-08 10:15 ` Roger Pau Monné
2018-01-08 11:42 ` George Dunlap
2018-01-09 2:04 ` Stefano Stabellini
2018-01-10 3:58 ` Peter [this message]
2018-01-10 6:03 ` Juergen Gross
2018-01-11 9:15 ` Lars Kurth
2018-01-11 9:16 ` Lars Kurth
2018-01-11 19:22 ` Peter
2018-01-11 19:30 ` Hans van Kranenburg
2018-01-12 17:17 ` Nathan March
2018-01-12 17:25 ` Andrew Cooper
2018-01-12 1:57 ` Doug Goldstein
2018-01-11 14:10 ` Hans van Kranenburg
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=2ff9538c98ece66b66da2484a7b7d67c@randomwebstuff.com \
--to=xen@randomwebstuff.com \
--cc=xen-devel@lists.xenproject.org \
/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.