Module Name: src Committed By: bouyer Date: Wed Jan 6 15:28:40 UTC 2016
Modified Files: src/sys/arch/xen/include/xen-public/io: ring.h src/sys/arch/xen/xen: pciback.c xbdback_xenbus.c xennetback_xenbus.c Log Message: Apply patch from xsa155: make sure that the backend won't read parts of the request again (possibly because of compiler optimisations), by using copies and barrier. >From XSA155: The compiler can emit optimizations in the PV backend drivers which can lead to double fetch vulnerabilities. Specifically the shared memory between the frontend and backend can be fetched twice (during which time the frontend can alter the contents) possibly leading to arbitrary code execution in backend. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/xen/include/xen-public/io/ring.h cvs rdiff -u -r1.9 -r1.10 src/sys/arch/xen/xen/pciback.c cvs rdiff -u -r1.61 -r1.62 src/sys/arch/xen/xen/xbdback_xenbus.c cvs rdiff -u -r1.53 -r1.54 src/sys/arch/xen/xen/xennetback_xenbus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.