|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel][PATCH][XSM][FLASK] Argument handling bugs in XSM:FLASK
The attached patch addresses a number of argument handling bugs in the
flask_op hypercall in the XSM:Flask module. Thanks to Rafal Wojtczuk at
McAfee for reporting the issues and Tim Deegan at Citrix for providing an
initial patch.
This patch addresses the following issues:
- bounds checking and validation on input arguments to flask_op
- updated ABI/API, size and cmd are now uint32_t
- updated userspace tools and libraries to account for ABI/API changes
- implemented all copies using from/to guest, better portability
- implemented upper bounds checking on op->cmd, op->size
- implemented sanity checking on op->size and op->buf
- implemented bit vector for checking from/to usage on op->cmd
Please do not hesitate to contact me on future issues/concerns/comments
related to XSM and the Flask module.
<Signed-off-by: George Coker, gscoker@xxxxxxxxxxxxxx>
--
George S. Coker, II <gscoker@xxxxxxxxxxxxxx>
flask-argument-bug-071808.diff
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel][PATCH][XSM][FLASK] Argument handling bugs in XSM:FLASK,
George S. Coker, II <=
|
|
|
|
|