xen/arm: Inject an undefined instruction when the coproc/sysreg is not handled
authorJulien Grall <julien.grall@linaro.org>
Mon, 14 Apr 2014 18:01:20 +0000 (19:01 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 23 Apr 2014 09:30:33 +0000 (10:30 +0100)
commit60f737636c2be52fe1af2f1a3a2f66acacdc6a30
tree14c222d05b24cb0c2226dd17aa9477520e7330a8
parent8cfc8e520679e029bed51ccc2540a136fc0fbd9b
xen/arm: Inject an undefined instruction when the coproc/sysreg is not handled

Currently Xen panics if it's unable to handle a coprocessor/sysreg instruction.
Replace this behavior by inject an undefined instruction to the faulty guest
and log if Xen is in debug mode.

This is CVE-2014-2915 / XSA-93.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/traps.c