syzbot


BUG: soft lockup in sys_bpf

Status: upstream: reported C repro on 2024/03/29 12:25
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+e723250e1d2002214bca@syzkaller.appspotmail.com
First crash: 252d, last: 85d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2024/09/28 lts (merge base) 4878aadf2d15 C [report] SYZFAIL: write(/proc/sys/fs/binfmt_misc/register) failed
2024/09/28 upstream (ToT) ad46e8f95e93 C [report] SYZFAIL: write(/proc/sys/fs/binfmt_misc/register) failed
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 1048d 1141d 0/28 closed as invalid on 2022/02/08 10:34
upstream INFO: rcu detected stall in sys_bpf (9) bpf C error 63 3d03h 192d 0/28 upstream: reported C repro on 2024/05/28 13:32
android-5-10 BUG: soft lockup in sys_bpf 2 165d 169d 0/2 auto-obsoleted due to no activity on 2024/09/22 11:37
linux-5.15 INFO: rcu detected stall in sys_bpf (2) 14 46d 240d 0/3 upstream: reported on 2024/04/09 19:57
linux-5.15 INFO: rcu detected stall in sys_bpf 2 364d 407d 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 383d 383d 0/28 auto-obsoleted due to no activity on 2024/02/17 03:10
linux-6.1 INFO: rcu detected stall in sys_bpf 15 65d 230d 0/3 upstream: reported on 2024/04/20 10:27
upstream INFO: rcu detected stall in sys_bpf (6) net 7 860d 1010d 0/28 auto-obsoleted due to no activity on 2022/10/28 06:32
Last patch testing requests (8)
Created Duration User Patch Repo Result
2024/11/06 09:06 15m retest repro android13-5.15-lts OK log
2024/11/03 23:14 13m retest repro android13-5.15-lts OK log
2024/11/03 23:14 1h03m retest repro android13-5.15-lts OK log
2024/11/03 20:40 19m retest repro android13-5.15-lts OK log
2024/11/03 20:40 19m retest repro android13-5.15-lts OK log
2024/11/03 20:40 14m retest repro android13-5.15-lts OK log
2024/11/03 20:40 19m retest repro android13-5.15-lts OK log
2024/11/03 20:40 20m retest repro android13-5.15-lts OK log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/10/15 02:24 0m bisect fix android13-5.15-lts error job log
2024/09/12 09:14 3h47m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 144s! [syz-executor357:541]
Modules linked in:
CPU: 0 PID: 541 Comm: syz-executor357 Not tainted 5.15.149-syzkaller-00490-g5d96939590c0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:pv_wait_node kernel/locking/qspinlock_paravirt.h:301 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x38b/0xc40 kernel/locking/qspinlock.c:473
Code: 00 00 00 00 00 fc ff df 41 0f b6 04 16 84 c0 0f 85 ac 00 00 00 48 8b 44 24 08 83 38 00 0f 85 15 01 00 00 45 84 e4 74 09 f3 90 <41> ff cc 75 d9 eb 1b 48 8b 44 24 20 0f b6 04 10 84 c0 0f 85 cd 00
RSP: 0018:ffffc90000a16dc0 EFLAGS: 00000282
RAX: ffff8881f7037ec8 RBX: ffff8881f7037ed4 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffff8881f7037ed4
RBP: ffffc90000a16eb0 R08: dffffc0000000000 R09: ffffed103ee06fdb
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000000016fe
R13: 1ffff1102103268b R14: 1ffff1103ee06fd9 R15: ffff888108193458
FS:  000055555745d380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5d38bf1130 CR3: 000000011b699000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 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_hash_delete_elem+0xb1/0x2f0 net/core/sock_map.c:937
 bpf_prog_2c29ac5cdc6b1842+0x3a/0x4f4
 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:1883 [inline]
 bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1920
 __bpf_trace_kfree+0x6f/0x90 include/trace/events/kmem.h:118
 __traceiter_kfree+0x2a/0x40 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
 __vunmap+0x850/0x8f0 mm/vmalloc.c:2657
 __vfree mm/vmalloc.c:2700 [inline]
 vfree+0x7f/0xb0 mm/vmalloc.c:2731
 bpf_prog_calc_tag+0x69a/0x8f0 kernel/bpf/core.c:337
 resolve_pseudo_ldimm64+0xe2/0x1240 kernel/bpf/verifier.c:11740
 bpf_check+0x3174/0x12bf0 kernel/bpf/verifier.c:14027
 bpf_prog_load+0x12ac/0x1b50 kernel/bpf/syscall.c:2333
 __sys_bpf+0x4bc/0x760 kernel/bpf/syscall.c:4633
 __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:0x7f5d38b77029
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:00007ffd7f91bcc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5d38b77029
RDX: 0000000000000090 RSI: 0000000020000ac0 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000000a0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (108):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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 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/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: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/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
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
* Struck through repros no longer work on HEAD.