[PATCH] riscv: fix out of bounds in walk_stackframe
Greg KH
gregkh at linuxfoundation.org
Thu Sep 28 23:04:57 PDT 2023
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@gmail.com/
> Fixes: 5d8544e2d007 ("RISC-V: Generic library routines and assembly")
> Reported-and-test-by: syzbot+8d2757d62d403b2d9275 at syzkaller.appspotmail.com
> Link: https://lore.kernel.org/all/0000000000000170df0605ccf91a@google.com/T/
> Signed-off-by: Edward AD <twuufnxlz at gmail.com>
> ---
> 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
More information about the linux-riscv
mailing list