syzbot


BUG: soft lockup in sock_close

Status: upstream: reported C repro on 2024/03/26 23:21
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+62469057aed52ef281ed@syzkaller.appspotmail.com
First crash: 115d, last: 19h23m
Bug presence (3)
Date Name Commit Repro Result
2024/03/27 android13-5.15-lts (ToT) 993bed180178 C [report] BUG: soft lockup in sock_close
2024/03/27 lts (merge base) 6139f2a02fe0 C Didn't crash
2024/04/10 upstream (ToT) 2c71fdf02a95 C Didn't crash
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: soft lockup in sock_close C 40 2d19h 112d 0/2 upstream: reported C repro on 2024/03/25 07:28
android-6-1 BUG: soft lockup in sock_close origin:downstream C error 3 36d 110d 0/2 upstream: reported C repro on 2024/03/27 04:09
linux-5.15 INFO: rcu detected stall in sock_close (2) 1 173d 173d 0/3 auto-obsoleted due to no activity on 2024/05/03 14:38
upstream INFO: rcu detected stall in sock_close (4) net 2 263d 300d 0/27 auto-obsoleted due to no activity on 2024/01/24 15:51
linux-6.1 INFO: rcu detected stall in sock_close (3) 1 63d 63d 0/3 upstream: reported on 2024/05/13 03:02
linux-6.1 INFO: rcu detected stall in sock_close origin:upstream C done 1 371d 371d 3/3 fixed on 2023/09/23 10:26
linux-6.1 INFO: rcu detected stall in sock_close (2) 1 165d 165d 0/3 auto-obsoleted due to no activity on 2024/05/11 05:25
upstream INFO: rcu detected stall in sock_close (3) tipc C done done 5 973d 1468d 0/27 closed as invalid on 2022/02/08 10:42
linux-5.15 INFO: rcu detected stall in sock_close C error 2 351d 405d 0/3 auto-obsoleted due to no activity on 2023/11/07 13:02
linux-5.15 INFO: rcu detected stall in sock_close (3) origin:upstream C 7 7d23h 57d 0/3 upstream: reported C repro on 2024/05/20 00:06

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 245s! [syz-executor263:289]
Modules linked in:
CPU: 0 PID: 289 Comm: syz-executor263 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:ffffc90000957800 EFLAGS: 00000246

RAX: 0000000000000003 RBX: 1ffff9200012af04 RCX: ffffffff8154fbdf
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88811fb12c90
RBP: ffffc900009578b0 R08: dffffc0000000000 R09: ffffed1023f62593
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88811fb12c90 R14: 0000000000000003 R15: 1ffff9200012af08
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb2375a9110 CR3: 000000000680f000 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
 spin_lock_bh include/linux/spinlock.h:368 [inline]
 sk_psock_link_pop+0x2e/0x170 net/core/skmsg.c:753
 sock_map_remove_links+0x25/0x570 net/core/sock_map.c:1504
 sock_map_close+0x2ac/0x4c0 net/core/sock_map.c:1546
 unix_release+0x82/0xc0 net/unix/af_unix.c:949
 __sock_release net/socket.c:649 [inline]
 sock_close+0xdf/0x270 net/socket.c:1336
 __fput+0x3fe/0x910 fs/file_table.c:280
 ____fput+0x15/0x20 fs/file_table.c:308
 task_work_run+0x129/0x190 kernel/task_work.c:164
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0xc48/0x2ca0 kernel/exit.c:878
 do_group_exit+0x141/0x310 kernel/exit.c:1000
 __do_sys_exit_group kernel/exit.c:1011 [inline]
 __se_sys_exit_group kernel/exit.c:1009 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1009
 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:0x7fb23752d089
Code: Unable to access opcode bytes at RIP 0x7fb23752d05f.
RSP: 002b:00007ffe972849e8 EFLAGS: 00000246
 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb23752d089
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 00007fb2375a82b0 R08: ffffffffffffffb8 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb2375a82b0
R13: 0000000000000000 R14: 00007fb2375a8d00 R15: 00007fb2374fe2c0
 </TASK>

Crashes (293):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/15 05:01 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/07/15 04:31 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/07/15 04:27 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/07/14 14:20 android13-5.15-lts db06c48ab67e eaeb5c15 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/07/14 06:41 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/07/14 04:29 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/07/14 02:41 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/07/14 01:08 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/07/13 20:28 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/07/07 17:36 android13-5.15-lts 9044d25b8ff5 2a40360c .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/07/07 07:24 android13-5.15-lts 9044d25b8ff5 2a40360c .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/07/04 23:18 android13-5.15-lts 9044d25b8ff5 3f2748a3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/07/02 07:45 android13-5.15-lts 9044d25b8ff5 b294e901 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/30 23:31 android13-5.15-lts 9044d25b8ff5 757f06b1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/30 17:27 android13-5.15-lts 9044d25b8ff5 757f06b1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/06/29 18:48 android13-5.15-lts 9044d25b8ff5 757f06b1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/29 01:12 android13-5.15-lts 9044d25b8ff5 757f06b1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/06/27 02:34 android13-5.15-lts 9044d25b8ff5 c6d33a01 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/27 02:22 android13-5.15-lts 9044d25b8ff5 c6d33a01 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/24 01:22 android13-5.15-lts 85445b5a2107 edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/23 16:16 android13-5.15-lts 85445b5a2107 edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/06/22 18:24 android13-5.15-lts 85445b5a2107 edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/22 15:13 android13-5.15-lts 85445b5a2107 edc5149a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/06/09 18:58 android13-5.15-lts 79bd336c7a94 82c05ab8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/09 15:36 android13-5.15-lts 79bd336c7a94 82c05ab8 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/03 20:08 android13-5.15-lts 79bd336c7a94 0aba2352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/06/03 04:35 android13-5.15-lts 424f92bcbe8f 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/03 04:26 android13-5.15-lts 424f92bcbe8f 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/06/02 18:28 android13-5.15-lts 424f92bcbe8f 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/02 18:23 android13-5.15-lts 424f92bcbe8f 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/02 14:20 android13-5.15-lts 424f92bcbe8f 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/02 11:09 android13-5.15-lts 424f92bcbe8f 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/06/02 04:39 android13-5.15-lts 424f92bcbe8f 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/02 04:29 android13-5.15-lts 424f92bcbe8f 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/06/02 03:33 android13-5.15-lts 424f92bcbe8f 3113787f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/05/29 21:51 android13-5.15-lts 424f92bcbe8f 34889ee3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/05/29 07:04 android13-5.15-lts 424f92bcbe8f 34889ee3 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/05/29 04:22 android13-5.15-lts 424f92bcbe8f 34889ee3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/05/29 01:20 android13-5.15-lts 424f92bcbe8f 34889ee3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/05/28 13:32 android13-5.15-lts 424f92bcbe8f f550015e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/05/28 13:20 android13-5.15-lts 424f92bcbe8f f550015e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/05/28 09:58 android13-5.15-lts 424f92bcbe8f f550015e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/05/28 07:00 android13-5.15-lts 424f92bcbe8f f550015e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/05/27 09:11 android13-5.15-lts 424f92bcbe8f a10a183e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/05/27 07:30 android13-5.15-lts 424f92bcbe8f a10a183e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/03/26 23:13 android13-5.15-lts 993bed180178 454571b6 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/06/25 19:50 android13-5.15-lts 9044d25b8ff5 04bd2a30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/19 15:19 android13-5.15-lts 85445b5a2107 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/10 07:21 android13-5.15-lts 79bd336c7a94 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/06/10 03:52 android13-5.15-lts 79bd336c7a94 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/05/04 17:04 android13-5.15-lts 5d96939590c0 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/04/22 00:57 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/03/31 14:11 android13-5.15-lts 993bed180178 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/03/22 05:53 android13-5.15-lts 993bed180178 7a239ce7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
* Struck through repros no longer work on HEAD.