Re: [patch V2 02/29] x86/dumpstack: Fix off-by-one errors in stack identification

From: Sean Christopherson
Date: Fri Apr 05 2019 - 11:44:13 EST


On Fri, Apr 05, 2019 at 05:07:00PM +0200, Thomas Gleixner wrote:
> From: Andy Lutomirski <luto@xxxxxxxxxx>
>
> The get_stack_info() function is off-by-one when checking whether an
> address is on a IRQ stack or a IST stack. This prevents a overflowed IRQ
> or IST stack from being dumped properly.
>
> [ tglx: Do the same for 32-bit ]
>
> Signed-off-by: Andy Lutomirski <luto@xxxxxxxxxx>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
>
> ---

Reviewed-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>