Re: [PATCH v2] riscv: stacktrace: fix stack-out-of-bounds in walk_stackframe()
From: Nam Cao
Date: Fri Jun 19 2026 - 05:11:37 EST
"Matthew Bystrin" <dev.mbstr@xxxxxxxxx> writes:
>> + high = (unsigned long)task_pt_regs(task);
>
> After noticing end_of_stack() function I'm not sure task_pt_regs() is the best
> candidate for the boundary. Let's see what maintainers are going to say.
end_of_stack() is the lower bound of the stack, that's not what we want.
Nam