]> xenbits.xensource.com Git - xen.git/commit
xen/arm: Upgrade DCISW into DCCISW
authorJulien Grall <julien.grall@linaro.org>
Mon, 14 Apr 2014 19:46:43 +0000 (20:46 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 23 Apr 2014 09:30:34 +0000 (10:30 +0100)
commitcda12fa0cee7023878598ff8ced3613b57576ce3
tree9744ed071d6543a4600de59615b62e70102d7367
parent5496c642535da9c5738a3e19276de564304a5082
xen/arm: Upgrade DCISW into DCCISW

A guest is allowed to use invalidate cache by set/way instruction (i.e DCISW)
without any restriction. As the cache is shared with Xen, the guest invalidate
an address being in used by Xen. This may lead a Xen crash because the memory
state is invalid.
Set the bit HCR.SWIO to upgrade invalidate cache by set/way instruction to an
invalidate and clean.

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

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