|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0
 
On 09/03/2010 09:37, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:
>> 7dc2000: 5a02 0000 0000 0000 760d d90c c500 0000  Z.......v.......
>> 7dc2010: 3785 8def 8003 0000 1eb2 27b5 ff00 0000  7.........'.....
>> 2dc0d000:7802 0000 0000 0000 ec70 d8eb ce00 0000  x........p......
>> 2dc0d010:6fb9 a66d 8403 0000 1eb2 27b5 ff00 0000  o..m......'.....
> 
> How about these being vcpu_time_info structures? The fields
> appear to all make sense. The only thing not matching this would
> be a few differently looking corruption entries sent earlier by Joanna,
> so this may not be the only thing. But it would explain why with 3.4.2
> the issue is not present.
Pasi, can you try the attached patch (which simply stubs out the new
VCPUOP_register_vcpu_time_memory_area hypercall)? I'm pretty sure this is
it: just look at the implementation of __update_vcpu_system_time: when
v!=current it will write to a virtual address in v, using current's page
tables. This will happen on context switch dom0->domU for example.
A quite suitable fix for 4.0.0 is to leave the hypercall stubbed out imo.
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0, (continued)
 
- Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0, Pasi Kärkkäinen
 - Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0, Jan Beulich
 - Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0, Jan Beulich
 - Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0, Keir Fraser
 
- Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0,
Keir Fraser <=
 - Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0, Pasi Kärkkäinen
 - Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0, Keir Fraser
 - Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0, Pasi Kärkkäinen
 
- Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0, Jan Beulich
 
- Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0, Jeremy Fitzhardinge
 - RE: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0, Dan Magenheimer
 - Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0, Jeremy Fitzhardinge
 
 
Re: [Xen-devel] Xen 4.0.0x allows for data corruption in Dom0, Jeremy Fitzhardinge
 |  
  
 | 
    | 
  
  
    |   | 
    |