syzbot


BUG: spinlock recursion in __schedule

Status: closed as invalid on 2024/09/13 11:13
Subsystems: kernel
[Documentation on labels]
First crash: 174d, last: 174d

Sample crash report:
BUG: spinlock recursion on CPU#1, syz.2.14/5359
 lock: 0xffff8880b903ea40, .magic: dead4ead, .owner: syz.2.14/5359, .owner_cpu: 0
CPU: 1 UID: 0 PID: 5359 Comm: syz.2.14 Not tainted 6.11.0-rc4-next-20240822-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
 debug_spin_lock_before kernel/locking/spinlock_debug.c:87 [inline]
 do_raw_spin_lock+0x227/0x370 kernel/locking/spinlock_debug.c:115
 raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:595
 raw_spin_rq_lock kernel/sched/sched.h:1488 [inline]
 rq_lock kernel/sched/sched.h:1787 [inline]
 __schedule+0x354/0x4b30 kernel/sched/core.c:6587
 __schedule_loop kernel/sched/core.c:6754 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6769
 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2559
 do_wait_for_common kernel/sched/completion.c:95 [inline]
 __wait_for_common kernel/sched/completion.c:116 [inline]
 wait_for_common kernel/sched/completion.c:127 [inline]
 wait_for_completion+0x355/0x620 kernel/sched/completion.c:148
 rdmsr_safe_on_cpu+0x16c/0x310 arch/x86/lib/msr-smp.c:181
 msr_read+0x160/0x260 arch/x86/kernel/msr.c:66
 vfs_read+0x204/0xbc0 fs/read_write.c:474
 ksys_read+0x183/0x2b0 fs/read_write.c:619
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f424db79e79
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f424ea27038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007f424dd15f80 RCX: 00007f424db79e79
RDX: 0000000000018ff8 RSI: 0000000020019680 RDI: 0000000000000004
RBP: 00007f424dbe7916 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f424dd15f80 R15: 00007fffe9bf5788
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/23 02:09 linux-next 6a7917c89f21 295a4b50 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: spinlock recursion in __schedule
* Struck through repros no longer work on HEAD.