> -----Original Message-----
> From: Andrew Cooper <[email protected]>
> Sent: 28 January 2021 16:06
> To: Xen-devel <[email protected]>
> Cc: Andrew Cooper <[email protected]>; Jan Beulich 
> <[email protected]>; Roger Pau MonnĂ©
> <[email protected]>; Wei Liu <[email protected]>; Stefano Stabellini 
> <[email protected]>; Julien
> Grall <[email protected]>; Volodymyr Babchuk <[email protected]>; Paul 
> Durrant <[email protected]>;
> Oleksandr Tyshchenko <[email protected]>
> Subject: [PATCH] xen/memory: Reject out-of-range resource 'frame' values
> 
> The ABI is unfortunate, and frame being 64 bits leads to all kinds of problems
> performing correct overflow checks.
> 
> Furthermore, the mixed use of unsigned int and unsigned long in the call tree
> is buggy on arm32 where the two are the same size, and certain out-of-range
> combinations will truncated and be permitted.
> 
> Signed-off-by: Andrew Cooper <[email protected]>
> ---
> CC: Jan Beulich <[email protected]>
> CC: Roger Pau MonnĂ© <[email protected]>
> CC: Wei Liu <[email protected]>
> CC: Stefano Stabellini <[email protected]>
> CC: Julien Grall <[email protected]>
> CC: Volodymyr Babchuk <[email protected]>
> CC: Paul Durrant <[email protected]>
> CC: Oleksandr Tyshchenko <[email protected]>
> 
> Posted ahead of my full v8 series, in the hope that it catches some people
> before the end of the day.

Reviewed-by: Paul Durrant <[email protected]>


Reply via email to