[PATCH] Fix infinite loop in ARM user perf_event backtrace code
Olof Johansson
olofj at chromium.org
Mon Apr 18 14:31:09 EDT 2011
On Fri, Apr 15, 2011 at 8:27 PM, Sonny Rao <sonnyrao at chromium.org> wrote:
>
> The ARM user backtrace code can get into an infinite loop if it
> runs into an invalid stack frame which points back to itself.
> This situation has been observed in practice. Fix it by capping
> the number of entries in the backtrace. This is also what other
> architectures do in their backtrace code.
>
> Signed-off-by: Sonny Rao <sonnyrao at chromium.org>
Acked-by: Olof Johansson <olof at lixom.net>
-Olof
More information about the linux-arm-kernel
mailing list