syzbot


riscv/fixes test error: kernel panic: Kernel stack overflow

Status: upstream: reported on 2024/09/15 16:09
Subsystems: riscv
[Documentation on labels]
Reported-by: syzbot+ba9eac24453387a9d502@syzkaller.appspotmail.com
Fix commit: cfb10de18538 riscv: Fix kernel stack size when KASAN is enabled
Patched on: [ci-qemu-gce-upstream-auto ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-snapshot-upstream-root ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce], missing on: [ci-qemu-native-arm64-kvm ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci2-upstream-usb]
First crash: 31d, last: 9d09h
Discussions (2)
Title Replies (including bot) Last reply
[PATCH -fixes] riscv: Fix kernel stack size when KASAN is enabled 2 (2) 2024/10/03 14:40
[syzbot] [riscv?] riscv/fixes test error: kernel panic: Kernel stack overflow 1 (2) 2024/10/01 14:00

Sample crash report:
 s11: ff60000072fed7c0 t3 : ff20000000088430 t4 : ffebffff0e5fdbba
 t5 : ffebffff0e5fdbbb t6 : ff20000000088450
status: 0000000200000120 badaddr: ff20000000087fa0 cause: 000000000000000f
Kernel panic - not syncing: Kernel stack overflow
CPU: 0 UID: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.12.0-rc1-syzkaller-00001-gc625154993d0 #0
Hardware name: riscv-virtio,qemu (DT)
Call Trace:
[<ffffffff80010a10>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:130
[<ffffffff85f7c3b8>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:136
[<ffffffff85fd794c>] __dump_stack lib/dump_stack.c:94 [inline]
[<ffffffff85fd794c>] dump_stack_lvl+0x108/0x196 lib/dump_stack.c:120
[<ffffffff85fd79f6>] dump_stack+0x1c/0x24 lib/dump_stack.c:129
[<ffffffff85f7cfd0>] panic+0x388/0x86c kernel/panic.c:354
[<ffffffff80010368>] handle_bad_stack+0xe4/0x10c arch/riscv/kernel/traps.c:427
[<ffffffff85ffb498>] __raw_spin_trylock include/linux/spinlock_api_smp.h:89 [inline]
[<ffffffff85ffb498>] _raw_spin_trylock+0x26/0xdc kernel/locking/spinlock.c:138
SMP: stopping secondary CPUs
Rebooting in 86400 seconds..

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/03 11:11 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c625154993d0 d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 riscv/fixes test error: kernel panic: Kernel stack overflow
2024/10/02 23:17 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c625154993d0 a4c7fd36 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 riscv/fixes test error: kernel panic: Kernel stack overflow
2024/10/02 11:15 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c625154993d0 02f9582a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 riscv/fixes test error: kernel panic: Kernel stack overflow
2024/10/01 23:05 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c625154993d0 ea2b66a6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 riscv/fixes test error: kernel panic: Kernel stack overflow
2024/10/01 11:42 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c625154993d0 5729ee30 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 riscv/fixes test error: kernel panic: Kernel stack overflow
2024/09/14 11:19 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7c1e5b9690b0 08d8a733 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 riscv/fixes test error: kernel panic: Kernel stack overflow
2024/09/13 23:26 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7c1e5b9690b0 ff60e2ca .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 riscv/fixes test error: kernel panic: Kernel stack overflow
2024/09/13 11:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7c1e5b9690b0 b58f933c .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 riscv/fixes test error: kernel panic: Kernel stack overflow
2024/09/12 12:41 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7c1e5b9690b0 60e1a995 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 riscv/fixes test error: kernel panic: Kernel stack overflow
2024/09/12 00:48 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7c1e5b9690b0 d94c83d8 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 riscv/fixes test error: kernel panic: Kernel stack overflow
2024/09/11 16:06 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 7c1e5b9690b0 ede7a22c .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 riscv/fixes test error: kernel panic: Kernel stack overflow
* Struck through repros no longer work on HEAD.