On Wed, Aug 07, 2019 at 05:12:47PM -0700, Sean Christopherson wrote: > Check that the destination enclave address is page aligned, i.e. bits > 11:0 are zero. The userspace controlled address is used to initialize > page->desc, e.g. userspace can set kernel-internal flags by passing in > an unaligned address. > > Reported-by: Shay Katz-zamir <shay.katz-zamir@xxxxxxxxx> > Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> Acked-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> /Jarkko