syzbot


BUG: soft lockup in sock_close

Status: upstream: reported C repro on 2024/03/27 04:09
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+590c02cc06f6cd2951e1@syzkaller.appspotmail.com
First crash: 632d, last: 8d13h
Fix bisection: failed (error log, bisect log)
  
Bug presence (3)
Date Name Commit Repro Result
2024/03/27 android14-6.1 (ToT) eef3b6e52937 C [report] BUG: soft lockup in sock_close
2024/03/27 lts (merge base) 883d1a956208 C Didn't crash
2024/04/10 upstream (ToT) 2c71fdf02a95 C Didn't crash
Similar bugs (13)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: soft lockup in sock_close 1 C 176 1d17h 633d 0/2 upstream: reported C repro on 2024/03/25 07:28
linux-5.15 INFO: rcu detected stall in sock_close (3) origin:upstream 1 C error 10 32d 578d 0/3 upstream: reported C repro on 2024/05/20 00:06
android-5-15 BUG: soft lockup in sock_close origin:downstream 1 C done 370 2d22h 632d 0/2 upstream: reported C repro on 2024/03/26 23:21
upstream INFO: rcu detected stall in sock_close (5) sctp 1 syz error 38 16d 155d 0/29 upstream: reported syz repro on 2025/07/16 17:01
linux-6.1 BUG: soft lockup in sock_close origin:upstream 1 syz error 2 38d 360d 0/3 upstream: reported syz repro on 2024/12/23 18:51
linux-5.15 INFO: rcu detected stall in sock_close (2) 1 1 694d 694d 0/3 auto-obsoleted due to no activity on 2024/05/03 14:38
upstream INFO: rcu detected stall in sock_close (4) net 1 2 784d 822d 0/29 auto-obsoleted due to no activity on 2024/01/24 15:51
linux-6.1 INFO: rcu detected stall in sock_close (3) 1 1 585d 585d 0/3 auto-obsoleted due to no activity on 2024/08/21 03:02
linux-6.1 INFO: rcu detected stall in sock_close origin:upstream 1 C done 1 892d 892d 3/3 fixed on 2023/09/23 10:26
linux-6.1 INFO: rcu detected stall in sock_close (2) 1 1 687d 687d 0/3 auto-obsoleted due to no activity on 2024/05/11 05:25
upstream INFO: rcu detected stall in sock_close (3) tipc 1 C done done 5 1494d 1989d 0/29 closed as invalid on 2022/02/08 10:42
linux-5.15 INFO: rcu detected stall in sock_close 1 C error 2 872d 926d 0/3 auto-obsoleted due to no activity on 2023/11/07 13:02
linux-6.6 INFO: rcu detected stall in sock_close 1 syz 2 32d 115d 0/2 upstream: reported syz repro on 2025/08/25 14:21
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/11/27 17:17 17m retest repro android14-6.1 report log
2025/11/13 14:21 11m retest repro android14-6.1 report log
2025/11/13 14:21 11m retest repro android14-6.1 report log
2025/11/13 14:21 11m retest repro android14-6.1 report log
2025/10/17 01:01 13m retest repro android14-6.1 report log
2025/10/02 22:36 9m retest repro android14-6.1 report log
2025/10/02 22:36 10m retest repro android14-6.1 report log
2025/09/11 00:30 10m retest repro android14-6.1 report log
2025/08/21 21:35 23m retest repro android14-6.1 report log
2025/08/21 21:35 11m retest repro android14-6.1 report log

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 143s! [syz.2.17:374]
Modules linked in:
CPU: 0 PID: 374 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x591/0xc40 kernel/locking/qspinlock.c:511
Code: 0f 85 33 01 00 00 41 c6 45 00 00 41 0f b6 04 17 84 c0 0f 85 46 01 00 00 48 8b 44 24 10 c6 00 01 41 bd 00 80 ff ff eb 07 f3 90 <41> ff c5 74 5b 41 0f b6 04 16 84 c0 75 35 80 3b 00 75 eb 48 89 df
RSP: 0018:ffffc90000ab7940 EFLAGS: 00000206
RAX: 0000000000000000 RBX: ffff88810e8a2398 RCX: ffffffff84f48de2
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88810e8a2398
RBP: ffffc90000ab7a30 R08: dffffc0000000000 R09: ffffed1021d14474
R10: ffffed1021d14474 R11: 1ffff11021d14473 R12: 1ffff1103ee00001
R13: 00000000ffff8efb R14: 1ffff11021d14473 R15: 1ffff11021d14473
FS:  000055555aee7500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000112306000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline]
 queued_spin_lock_slowpath+0x47/0x50 arch/x86/include/asm/qspinlock.h:51
 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
 do_raw_spin_lock include/linux/spinlock.h:187 [inline]
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:127 [inline]
 _raw_spin_lock_bh+0xd8/0xe0 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:356 [inline]
 lock_sock_nested+0x92/0x280 net/core/sock.c:3512
 lock_sock include/net/sock.h:1805 [inline]
 tipc_release+0xb2/0x1650 net/tipc/socket.c:639
 __sock_release net/socket.c:652 [inline]
 sock_close+0xf1/0x290 net/socket.c:1390
 __fput+0x1fc/0x8f0 fs/file_table.c:320
 ____fput+0x15/0x20 fs/file_table.c:348
 task_work_run+0x1db/0x240 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0x9b/0xb0 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f145698f749
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:00007ffd98a47ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f1456be7da0 RCX: 00007f145698f749
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f1456be7da0 R08: 0000000000000000 R09: 0000000598a47fdf
R10: 00007f1456be7cb0 R11: 0000000000000246 R12: 0000000000034036
R13: 00007f1456be6090 R14: ffffffffffffffff R15: 00007ffd98a47e00
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 375 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:rht_bucket include/linux/rhashtable.h:289 [inline]
RIP: 0010:__rhashtable_lookup include/linux/rhashtable.h:597 [inline]
RIP: 0010:rhashtable_lookup include/linux/rhashtable.h:638 [inline]
RIP: 0010:tipc_sk_lookup+0x200/0x620 net/tipc/socket.c:3001
Code: 31 c2 89 c6 c1 c6 04 29 f2 31 d1 c1 c2 0e 29 d1 31 c8 c1 c1 18 29 c8 41 ff ce 41 21 c6 45 8b 3f 31 ff 44 89 fe e8 80 97 a2 fc <45> 85 ff 0f 85 28 02 00 00 e8 52 93 a2 fc 44 89 f0 48 8b 4c 24 10
RSP: 0018:ffffc90000ac6880 EFLAGS: 00000293
RAX: ffffffff84cd9720 RBX: 00000000ddba2c2d RCX: 0000000000000000
RDX: ffff888115033cc0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000ac6970 R08: 0000000000000004 R09: 0000000000000003
R10: fffff52000158d20 R11: 1ffff92000158d20 R12: dffffc0000000000
R13: ffff8881142050de R14: 000000000000008c R15: 0000000000000000
FS:  00007f14567ff6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000011000 CR3: 0000000112306000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 tipc_sk_rcv+0x419/0x2cc0 net/tipc/socket.c:2492
 tipc_node_xmit+0x257/0xd00 net/tipc/node.c:1703
 tipc_node_xmit_skb+0xe9/0x130 net/tipc/node.c:1768
 tipc_sk_rcv+0x1def/0x2cc0 net/tipc/socket.c:2522
 tipc_node_xmit+0x257/0xd00 net/tipc/node.c:1703
 tipc_sk_push_backlog net/tipc/socket.c:1316 [inline]
 tipc_sk_filter_connect net/tipc/socket.c:2255 [inline]
 tipc_sk_filter_rcv+0x155f/0x2c80 net/tipc/socket.c:2364
 tipc_sk_enqueue net/tipc/socket.c:2445 [inline]
 tipc_sk_rcv+0x7d9/0x2cc0 net/tipc/socket.c:2497
 tipc_node_xmit+0x257/0xd00 net/tipc/node.c:1703
 tipc_node_xmit_skb net/tipc/node.c:1768 [inline]
 tipc_node_distr_xmit+0x292/0x390 net/tipc/node.c:1783
 tipc_sk_backlog_rcv+0x16f/0x1f0 net/tipc/socket.c:2412
 sk_backlog_rcv include/net/sock.h:1137 [inline]
 __release_sock+0x154/0x380 net/core/sock.c:2950
 release_sock+0x60/0x1c0 net/core/sock.c:3524
 tipc_release+0xd32/0x1650 net/tipc/socket.c:652
 __sock_release net/socket.c:652 [inline]
 sock_close+0xf1/0x290 net/socket.c:1390
 __fput+0x1fc/0x8f0 fs/file_table.c:320
 ____fput+0x15/0x20 fs/file_table.c:348
 task_work_run+0x1db/0x240 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0x9b/0xb0 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f145698f749
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:00007f14567ff038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: 00000000000203a0 RBX: 00007f1456be5fa0 RCX: 00007f145698f749
RDX: 0000000000000000 RSI: 00002000000003c0 RDI: 0000000000000003
RBP: 00007f1456a13f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1456be6038 R14: 00007f1456be5fa0 R15: 00007ffd98a47b88
 </TASK>

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/10 16:26 android14-6.1 0ac176d7ef4d d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in sock_close
2025/12/10 06:15 android14-6.1 0ac176d7ef4d d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in sock_close
2025/10/29 11:35 android14-6.1 7ca912bfce3d fd2207e7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in sock_close
2025/07/08 11:15 android14-6.1 fa7e0538663e 4f67c4ae .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in sock_close
2025/07/07 21:09 android14-6.1 fa7e0538663e 4f67c4ae .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in sock_close
2025/01/26 01:10 android14-6.1 ef4fb40b87a9 9fbd772e .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in sock_close
2024/05/26 17:02 android14-6.1 68c821783c76 a10a183e .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in sock_close
2024/03/27 04:05 android14-6.1 eef3b6e52937 454571b6 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in sock_close
2024/12/06 00:30 android14-6.1 182b090f35f3 29f61fce .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in sock_close
2024/03/27 02:54 android14-6.1 eef3b6e52937 454571b6 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in sock_close
* Struck through repros no longer work on HEAD.