syzbot


BUG: soft lockup in sys_openat (2)

Status: upstream: reported C repro on 2024/07/22 19:41
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+af3f2ccd2c8dc85a87ad@syzkaller.appspotmail.com
First crash: 55d, last: 6d09h
Bug presence (2)
Date Name Commit Repro Result
2024/08/21 lts (merge base) c52b9710c83d C [report] BUG: soft lockup in x64_sys_call
2024/08/21 upstream (ToT) b311c1b497e5 C Didn't crash
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: soft lockup in sys_openat 21 106d 162d 0/2 auto-obsoleted due to no activity on 2024/07/21 23:03
upstream INFO: rcu detected stall in sys_openat (3) mm kernfs C error 89 1d12h 379d 0/28 upstream: reported C repro on 2023/09/03 11:10
linux-6.1 INFO: rcu detected stall in sys_openat 3 374d 407d 0/3 auto-obsoleted due to no activity on 2023/12/16 21:24
linux-5.15 INFO: rcu detected stall in sys_openat origin:upstream C 17 9d15h 454d 0/3 upstream: reported C repro on 2023/06/19 20:52
linux-6.1 INFO: rcu detected stall in sys_openat (2) origin:upstream C 8 1d04h 187d 0/3 upstream: reported C repro on 2024/03/13 11:37
upstream INFO: rcu detected stall in sys_openat (2) kernfs 8 955d 1167d 0/28 closed as invalid on 2022/02/08 09:50
Last patch testing requests (4)
Created Duration User Patch Repo Result
2024/08/21 07:02 19m retest repro android13-5.15-lts OK log
2024/08/21 07:02 14m retest repro android13-5.15-lts report log
2024/08/21 06:23 13m retest repro android13-5.15-lts OK log
2024/08/21 06:23 13m retest repro android13-5.15-lts OK log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/09/10 08:07 1h44m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 143s! [init:349]
Modules linked in:
CPU: 1 PID: 349 Comm: init Not tainted 5.15.152-syzkaller-00143-g70e1a731d986 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 13 04 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:ffffc900009f7600 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 1ffff9200013eec4 RCX: 1ffffffff0d5aa9c
RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8881f7138ad4
RBP: ffffc900009f76b0 R08: dffffc0000000000 R09: ffffed103ee2715b
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881f7138ad4 R14: 0000000000000001 R15: 1ffff9200013eec8
FS:  00007f3f0d950380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555556075650 CR3: 000000010bd49000 CR4: 00000000003506a0
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_node kernel/locking/qspinlock_paravirt.h:325 [inline]
 __pv_queued_spin_lock_slowpath+0x41b/0xc40 kernel/locking/qspinlock.c:473
 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_7c0eb2c6dc6b56d8+0x3d/0x5c0
 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_run4+0x13f/0x270 kernel/trace/bpf_trace.c:1919
 __bpf_trace_mm_page_alloc+0xbf/0xf0 include/trace/events/kmem.h:201
 trace_mm_page_alloc include/trace/events/kmem.h:201 [inline]
 __alloc_pages+0x3cb/0x8f0 mm/page_alloc.c:5799
 allocate_slab mm/slub.c:1932 [inline]
 new_slab+0x9a/0x4e0 mm/slub.c:1995
 ___slab_alloc+0x39e/0x830 mm/slub.c:3028
 __slab_alloc+0x4a/0x90 mm/slub.c:3115
 slab_alloc_node mm/slub.c:3206 [inline]
 slab_alloc mm/slub.c:3248 [inline]
 kmem_cache_alloc+0x134/0x200 mm/slub.c:3253
 getname_flags+0xba/0x520 fs/namei.c:138
 getname+0x19/0x20 fs/namei.c:217
 do_sys_openat2+0xd7/0x830 fs/open.c:1228
 do_sys_open fs/open.c:1250 [inline]
 __do_sys_openat fs/open.c:1266 [inline]
 __se_sys_openat fs/open.c:1261 [inline]
 __x64_sys_openat+0x243/0x290 fs/open.c:1261
 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:0x7f3f0daa49a4
Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffd7cb67e80 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f3f0daa49a4
RDX: 0000000000000802 RSI: 0000555f4a557a5d RDI: 00000000ffffff9c
RBP: 0000555f4a557a5d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000802
R13: 0000000000000002 R14: 0000000000000802 R15: 00007f3f0dc81a80
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/04 23:07 android13-5.15-lts 70e1a731d986 1786a2a8 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_openat
2024/08/07 03:52 android13-5.15-lts 70e1a731d986 1ef9fe42 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_openat
2024/08/05 03:29 android13-5.15-lts 70e1a731d986 1786a2a8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_openat
2024/07/28 08:00 android13-5.15-lts 4edafe6c0231 46eb10b7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sys_openat
2024/07/22 19:39 android13-5.15-lts 5356d2f17edf df655b64 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sys_openat
* Struck through repros no longer work on HEAD.