On 08/12/2016 02:11 PM, James Morse wrote: > commit e19a6ee2460bdd0d0055a6029383422773f9999a upstream. > > If we take an exception while at EL1, the exception handler inherits > the original context's addr_limit value. To be consistent always reset > addr_limit and PSTATE.UAO on (re-)entry to EL1. This prevents accidental > re-use of the original context's addr_limit. > > Based on a similar patch for arm from Russell King. > > Acked-by: Will Deacon <will.deacon@xxxxxxx> > Reviewed-by: Mark Rutland <mark.rutland@xxxxxxx> > Signed-off-by: James Morse <james.morse@xxxxxxx> > Signed-off-by: Will Deacon <will.deacon@xxxxxxx> > [ backport to stop perf misusing inherited addr_limit. > Removed code interacting with UAO and the irqstack ] > Link: https://bugs.chromium.org/p/project-zero/issues/detail?id=822 > Signed-off-by: James Morse <james.morse@xxxxxxx> > Cc: <stable@xxxxxxxxxxxxxxx> #4.1 Added, thanks! -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html