Files
linux/Documentation
Avi Kivity 3dbe141595 KVM: MMU: Segregate shadow pages with different cr0.wp
When cr0.wp=0, we may shadow a gpte having u/s=1 and r/w=0 with an spte
having u/s=0 and r/w=1.  This allows excessive access if the guest sets
cr0.wp=1 and accesses through this spte.

Fix by making cr0.wp part of the base role; we'll have different sptes for
the two cases and the problem disappears.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2010-05-19 11:41:09 +03:00
..
2009-10-01 21:17:49 +02:00
2010-02-24 13:51:32 +01:00
2008-10-16 11:21:30 -07:00
2010-04-05 10:37:36 -05:00
2010-03-02 12:23:49 +01:00
2009-12-09 14:21:36 -08:00
2009-12-12 13:08:16 +01:00
2009-06-18 13:04:04 -07:00
2009-10-04 22:53:41 +02:00
2008-12-03 16:09:53 -07:00
2008-07-25 10:53:30 -07:00
2008-11-14 10:39:26 +11:00
2009-10-15 07:25:20 -06:00
2008-03-24 19:22:19 -07:00
2009-07-01 22:36:22 +02:00
2009-08-28 15:21:12 -04:00
2009-04-27 12:00:27 -07:00
2009-04-27 12:00:27 -07:00
2008-11-12 17:17:17 -08:00
2009-04-14 09:00:23 +10:00