syzbot


kernel panic: stack is corrupted in sys_clock_nanosleep

Status: fixed on 2023/02/24 13:50
Subsystems: kernel
[Documentation on labels]
Fix commit: b81d591386c3 riscv: Increase stack size under KASAN
First crash: 740d, last: 659d

Sample crash report:
Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: sys_clock_nanosleep+0x244/0x244 kernel/time/posix-timers.c:1245
CPU: 1 PID: 2058 Comm: syz-executor.0 Not tainted 5.17.0-rc1-syzkaller-00002-g0966d385830d #0
Hardware name: riscv-virtio,qemu (DT)
Call Trace:
[<ffffffff8000a228>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:113
[<ffffffff831668cc>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:119
[<ffffffff831756ba>] __dump_stack lib/dump_stack.c:88 [inline]
[<ffffffff831756ba>] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:106
[<ffffffff83175742>] dump_stack+0x1c/0x24 lib/dump_stack.c:113
[<ffffffff83166fa8>] panic+0x24a/0x634 kernel/panic.c:233
[<ffffffff831a1392>] warn_bogus_irq_restore+0x0/0x34 kernel/panic.c:670
[<ffffffff80181332>] bump_cpu_timer+0x0/0x112 kernel/time/posix-timers.c:1245
[<ffffffff80005716>] ret_from_syscall+0x0/0x2
SMP: stopping secondary CPUs
SMP: failed to stop secondary CPUs 0-1
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/30 13:01 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 4a380809 .config console log report info ci-qemu2-riscv64 kernel panic: stack is corrupted in sys_clock_nanosleep
2022/06/10 02:39 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 0d5abf15 .config console log report info ci-qemu2-riscv64 kernel panic: stack is corrupted in sys_clock_nanosleep
* Struck through repros no longer work on HEAD.