syzbot


kernel panic: corrupted stack end in lock_is_held_type

Status: moderation: reported on 2024/03/06 12:13
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+a54e9bf5c27e0f0d54d7@syzkaller.appspotmail.com
First crash: 45d, last: 40d

Sample crash report:
Kernel panic - not syncing: corrupted stack end detected inside scheduler
CPU: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.8.0-rc1-syzkaller-00030-ga11dd49dcb93 #0
Hardware name: riscv-virtio,qemu (DT)
Call Trace:
[<ffffffff80010a1e>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:121
[<ffffffff858be468>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:127
[<ffffffff85919934>] __dump_stack lib/dump_stack.c:88 [inline]
[<ffffffff85919934>] dump_stack_lvl+0xe8/0x154 lib/dump_stack.c:106
[<ffffffff859199bc>] dump_stack+0x1c/0x24 lib/dump_stack.c:113
[<ffffffff858beec0>] panic+0x33c/0x77c kernel/panic.c:344
[<ffffffff85927690>] schedule_debug kernel/sched/core.c:5954 [inline]
[<ffffffff85927690>] __schedule+0x313e/0x3196 kernel/sched/core.c:6620
[<ffffffff85927d64>] preempt_schedule_notrace+0xe0/0x2a2 kernel/sched/core.c:6997
[<ffffffff8591c1bc>] lockdep_enabled kernel/locking/lockdep.c:119 [inline]
[<ffffffff8591c1bc>] lock_is_held_type+0x72/0x182 kernel/locking/lockdep.c:5818
[<ffffffff801697ee>] lock_is_held include/linux/lockdep.h:231 [inline]
[<ffffffff801697ee>] __might_resched+0x2b4/0x5fc kernel/sched/core.c:10138
[<ffffffff800d3a96>] run_ksoftirqd kernel/softirq.c:923 [inline]
[<ffffffff800d3a96>] run_ksoftirqd+0xec/0x124 kernel/softirq.c:913
[<ffffffff80155b50>] smpboot_thread_fn+0x654/0xb98 kernel/smpboot.c:164
[<ffffffff80145558>] kthread+0x28c/0x3a6 kernel/kthread.c:388
[<ffffffff8593d1f6>] ret_from_fork+0xe/0x1c arch/riscv/kernel/entry.S:229
SMP: stopping secondary CPUs
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/07 15:45 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes a11dd49dcb93 2b789849 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in lock_is_held_type
2024/03/02 12:03 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes a11dd49dcb93 25905f5d .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: corrupted stack end in lock_is_held_type
* Struck through repros no longer work on HEAD.