syzbot


BUG: soft lockup in sys_bpf

Status: upstream: reported C repro on 2024/03/29 12:25
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+e723250e1d2002214bca@syzkaller.appspotmail.com
First crash: 162d, last: 28d
Bug presence (2)
Date Name Commit Repro Result
2024/03/29 lts (merge base) 6139f2a02fe0 C [report] BUG: soft lockup in kernfs_fop_release
2024/03/29 upstream (ToT) 317c7bc0ef03 C Didn't crash
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_bpf (5) bpf C unreliable 56 958d 1051d 0/27 closed as invalid on 2022/02/08 10:34
upstream INFO: rcu detected stall in sys_bpf (9) bpf net C error 31 5d04h 102d 0/27 upstream: reported C repro on 2024/05/28 13:32
android-5-10 BUG: soft lockup in sys_bpf 2 75d 79d 0/2 premoderation: reported on 2024/06/20 06:43
linux-5.15 INFO: rcu detected stall in sys_bpf (2) 9 3d18h 150d 0/3 upstream: reported on 2024/04/09 19:57
linux-5.15 INFO: rcu detected stall in sys_bpf 2 274d 317d 0/3 auto-obsoleted due to no activity on 2024/03/16 17:33
upstream INFO: rcu detected stall in sys_bpf (8) bpf 1 293d 293d 0/27 auto-obsoleted due to no activity on 2024/02/17 03:10
linux-6.1 INFO: rcu detected stall in sys_bpf 13 33d 140d 0/3 upstream: reported on 2024/04/20 10:27
upstream INFO: rcu detected stall in sys_bpf (6) net 7 770d 920d 0/27 auto-obsoleted due to no activity on 2022/10/28 06:32
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/08/23 22:31 10m retest repro android13-5.15-lts report log
2024/08/23 22:31 10m retest repro android13-5.15-lts report log
2024/08/23 22:31 17m retest repro android13-5.15-lts report log
2024/08/23 22:31 10m retest repro android13-5.15-lts report log
2024/08/23 22:31 9m retest repro android13-5.15-lts report log
2024/08/23 21:11 11m retest repro android13-5.15-lts report log
2024/08/23 21:11 13m retest repro android13-5.15-lts report log
2024/08/23 21:11 14m retest repro android13-5.15-lts report log
2024/08/23 21:11 14m retest repro android13-5.15-lts report log
2024/08/23 21:11 13m retest repro android13-5.15-lts report log

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [syz-executor110:472]
Modules linked in:
CPU: 0 PID: 472 Comm: syz-executor110 Not tainted 5.15.151-syzkaller-00415-gdb06c48ab67e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:918
Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d 2b 02 f3 03 fb f4 <e9> 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c
RSP: 0018:ffffc90000a376c0 EFLAGS: 00000246

RAX: 0000000000000003 RBX: 1ffff92000146edc RCX: ffffffff8154fbdf
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88811a784d28
RBP: ffffc90000a37770 R08: dffffc0000000000 R09: ffffed10234f09a6
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88811a784d28 R14: 0000000000000003 R15: 1ffff92000146ee0
FS:  0000555556e3f380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a231fe02f8 CR3: 000000011f960000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 pv_wait arch/x86/include/asm/paravirt.h:597 [inline]
 pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
 __pv_queued_spin_lock_slowpath+0x6bc/0xc40 kernel/locking/qspinlock.c:508
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock include/linux/spinlock.h:187 [inline]
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline]
 _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:178
 __sock_map_delete net/core/sock_map.c:416 [inline]
 sock_map_delete_elem+0x99/0x130 net/core/sock_map.c:448
 bpf_prog_2c29ac5cdc6b1842+0x3a/0xbd8
 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline]
 __bpf_prog_run include/linux/filter.h:625 [inline]
 bpf_prog_run include/linux/filter.h:632 [inline]
 __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline]
 bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1917
 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118
 trace_kfree include/trace/events/kmem.h:118 [inline]
 kfree+0x1f3/0x220 mm/slub.c:4569
 sk_psock_free_link include/linux/skmsg.h:420 [inline]
 sock_map_del_link net/core/sock_map.c:160 [inline]
 sock_map_unref+0x352/0x4d0 net/core/sock_map.c:182
 __sock_map_delete net/core/sock_map.c:422 [inline]
 sock_map_delete_elem+0xc1/0x130 net/core/sock_map.c:448
 bpf_prog_2c29ac5cdc6b1842+0x3a/0xbd8
 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline]
 __bpf_prog_run include/linux/filter.h:625 [inline]
 bpf_prog_run include/linux/filter.h:632 [inline]
 __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline]
 bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1917
 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118
 trace_kfree include/trace/events/kmem.h:118 [inline]
 kfree+0x1f3/0x220 mm/slub.c:4569
 kvfree+0x35/0x40 mm/util.c:664
 map_update_elem+0x653/0x770 kernel/bpf/syscall.c:1168
 __sys_bpf+0x405/0x760 kernel/bpf/syscall.c:4621
 __do_sys_bpf kernel/bpf/syscall.c:4737 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:4735 [inline]
 __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:4735
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f8b03987e39
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe95dc4448 EFLAGS: 00000246
 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8b03987e39
RDX: 0000000000000020 RSI: 0000000020000500 RDI: 0000000000000002
RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000006
R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (108):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/17 19:10 android13-5.15-lts db06c48ab67e 215bec2d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/05/17 05:51 android13-5.15-lts 5d96939590c0 c2e07261 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/05/08 23:52 android13-5.15-lts 5d96939590c0 20bf80e1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/05/05 01:02 android13-5.15-lts 5d96939590c0 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/05/01 13:53 android13-5.15-lts 5d96939590c0 3ba885bc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/04/30 04:15 android13-5.15-lts 5d96939590c0 f10afd69 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/04/28 17:32 android13-5.15-lts 5d96939590c0 07b455f9 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/04/22 15:31 android13-5.15-lts ad06eaf051cd 36c961ad .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/04/10 21:05 android13-5.15-lts 993bed180178 4320ec32 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/04/10 02:25 android13-5.15-lts 993bed180178 171ec371 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/04/10 02:00 android13-5.15-lts 993bed180178 171ec371 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/04/09 11:52 android13-5.15-lts 993bed180178 f3234354 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/03/30 23:46 android13-5.15-lts 993bed180178 6baf5069 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/03/30 19:15 android13-5.15-lts 993bed180178 6baf5069 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/03/29 12:16 android13-5.15-lts 993bed180178 c52bcb23 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/08/09 20:49 android13-5.15-lts 70e1a731d986 a83d9288 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/08/09 04:13 android13-5.15-lts 70e1a731d986 61405512 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/07/30 21:43 android13-5.15-lts d0a6506ecafd 6fde257d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/07/25 14:33 android13-5.15-lts 5356d2f17edf 466a14e5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/07/25 01:42 android13-5.15-lts 5356d2f17edf d1a1b0ca .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/07/24 02:36 android13-5.15-lts 5356d2f17edf e50e8da5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/07/17 17:55 android13-5.15-lts db06c48ab67e 215bec2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/07/17 03:03 android13-5.15-lts db06c48ab67e 215bec2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/07/13 22:44 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/07/13 00:29 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/06/24 09:49 android13-5.15-lts 9044d25b8ff5 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/06/24 02:25 android13-5.15-lts 85445b5a2107 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/06/23 05:14 android13-5.15-lts 85445b5a2107 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/06/21 17:35 android13-5.15-lts 85445b5a2107 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/06/21 12:30 android13-5.15-lts 85445b5a2107 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/06/21 07:53 android13-5.15-lts 85445b5a2107 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/06/17 01:08 android13-5.15-lts 85445b5a2107 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/06/16 12:08 android13-5.15-lts 85445b5a2107 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/06/15 14:21 android13-5.15-lts 85445b5a2107 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/06/15 05:34 android13-5.15-lts 85445b5a2107 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/06/12 05:44 android13-5.15-lts 79bd336c7a94 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/06/11 05:01 android13-5.15-lts 79bd336c7a94 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/06/06 08:50 android13-5.15-lts 79bd336c7a94 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/06/04 17:57 android13-5.15-lts 79bd336c7a94 11f2afa5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/06/02 18:58 android13-5.15-lts 424f92bcbe8f 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/28 12:49 android13-5.15-lts 424f92bcbe8f f550015e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/28 10:27 android13-5.15-lts 424f92bcbe8f f550015e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/05/27 22:47 android13-5.15-lts 424f92bcbe8f 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/26 03:15 android13-5.15-lts 424f92bcbe8f a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/25 14:10 android13-5.15-lts 424f92bcbe8f a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/22 21:33 android13-5.15-lts 5d96939590c0 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/05/22 07:53 android13-5.15-lts 5d96939590c0 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/21 06:43 android13-5.15-lts 5d96939590c0 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/20 07:48 android13-5.15-lts 5d96939590c0 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/05/19 08:10 android13-5.15-lts 5d96939590c0 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/19 05:53 android13-5.15-lts 5d96939590c0 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/17 22:59 android13-5.15-lts 5d96939590c0 a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/05/17 19:43 android13-5.15-lts 5d96939590c0 a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/17 05:34 android13-5.15-lts 5d96939590c0 c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/05/17 02:59 android13-5.15-lts 5d96939590c0 c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/13 15:02 android13-5.15-lts 5d96939590c0 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/13 13:57 android13-5.15-lts 5d96939590c0 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/05/13 12:51 android13-5.15-lts 5d96939590c0 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/05/13 01:52 android13-5.15-lts 5d96939590c0 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/11 11:39 android13-5.15-lts 5d96939590c0 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/10 04:19 android13-5.15-lts 5d96939590c0 de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/09 01:20 android13-5.15-lts 5d96939590c0 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
2024/05/08 04:57 android13-5.15-lts 5d96939590c0 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_bpf
2024/05/07 03:15 android13-5.15-lts 5d96939590c0 fa7a5cf0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_bpf
* Struck through repros no longer work on HEAD.