Re: [PATCH] riscv: fix out of bounds in walk_stackframe

From: Greg KH
Date: Fri Sep 29 2023 - 02:05:05 EST


On Fri, Sep 29, 2023 at 07:12:40AM +0800, Edward AD wrote:
> Add vmalloc and kernel addresses check to prevent invalid access.
>
> Closes: https://lore.kernel.org/all/20230926105949.1025995-2-twuufnxlz@xxxxxxxxx/
> Fixes: 5d8544e2d007 ("RISC-V: Generic library routines and assembly")
> Reported-and-test-by: syzbot+8d2757d62d403b2d9275@xxxxxxxxxxxxxxxxxxxxxxxxx
> Link: https://lore.kernel.org/all/0000000000000170df0605ccf91a@xxxxxxxxxx/T/
> Signed-off-by: Edward AD <twuufnxlz@xxxxxxxxx>
> ---
> arch/riscv/kernel/stacktrace.c | 3 +++

Where are you getting your odd cc: list from? This has nothing to do
with serial drivers...

greg k-h