[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [BUG] Xen failed to emulate lfence instruction



Hi !

While working on a VMI app that is supposed to intercepted a specific process,
and set a breakpoint on NtResumeThread in Windows, i got a BSOD.

Analyzing this BSOD with windbg reveals that I was in this location:

    FAULTING_IP: 
    nt!PsLookupThreadByThreadId+82
    fffff800`02bcc642 0faee8          lfence


And the error code is an illegal instruction.

Also, i can confirm that i was trying to emulate this instruction, since i was
inside my libvmi event callback where i instructed to
VMI_EVENT_RESPONSE_EMULATE.

I opened an issue on my Github repo:
https://github.com/Wenzel/r2vmi/issues/11

-> could it be possible that the Xen emulator failed on lfence, even though
it's a quite common instruction ?

Platform: Ubuntu 16.04 LTS (Xen 4.6)

Thanks !

​--
Mathieu Tarral

Sent with ProtonMail Secure Email.​

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.