[PATCH v2] riscv: stacktrace: fix stack-out-of-bounds in walk_stackframe()
Nam Cao
namcao at linutronix.de
Fri Jun 19 02:11:25 PDT 2026
"Matthew Bystrin" <dev.mbstr at gmail.com> 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
More information about the linux-riscv
mailing list