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: 378d, last: 5d05h
Fix bisection: fixed by (bisect log) :
commit 11e8ecc5b86037fec43d07b1c162e233e131b1d9
Author: Jakub Sitnicki <jakub@cloudflare.com>
Date: Mon May 27 11:20:07 2024 +0000

  bpf: Allow delete from sockmap/sockhash only if update is allowed

  
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 (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: soft lockup in sock_close C 109 4d15h 375d 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 C 9 4d23h 319d 0/3 upstream: reported C repro on 2024/05/20 00:06
android-6-1 BUG: soft lockup in sock_close origin:downstream C error 5 17d 373d 0/2 upstream: reported C repro on 2024/03/27 04:09
linux-6.1 BUG: soft lockup in sock_close origin:upstream syz error 1 102d 102d 0/3 upstream: reported syz repro on 2024/12/23 18:51
linux-5.15 INFO: rcu detected stall in sock_close (2) 1 436d 436d 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 526d 563d 0/28 auto-obsoleted due to no activity on 2024/01/24 15:51
linux-6.1 INFO: rcu detected stall in sock_close (3) 1 326d 326d 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 C done 1 634d 634d 3/3 fixed on 2023/09/23 10:26
linux-6.1 INFO: rcu detected stall in sock_close (2) 1 428d 428d 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 1236d 1731d 0/28 closed as invalid on 2022/02/08 10:42
linux-5.15 INFO: rcu detected stall in sock_close C error 2 614d 668d 0/3 auto-obsoleted due to no activity on 2023/11/07 13:02
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/03/18 22:08 10m retest repro android13-5.15-lts report log
2025/03/18 22:08 10m retest repro android13-5.15-lts report log
2025/02/23 20:41 15m retest repro android13-5.15-lts report log
2025/01/19 20:46 15m retest repro android13-5.15-lts OK log
2024/12/29 17:46 10m retest repro android13-5.15-lts report log
2024/12/03 01:15 1h05m retest repro android13-5.15-lts report log
2024/11/03 02:32 13m retest repro android13-5.15-lts log
2024/11/03 02:32 14m retest repro android13-5.15-lts OK log
2024/11/03 02:32 14m retest repro android13-5.15-lts OK log
2024/11/03 02:32 14m retest repro android13-5.15-lts OK log

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 246s! [syz-executor276:506]
Modules linked in:
CPU: 0 PID: 506 Comm: syz-executor276 Not tainted 5.15.176-syzkaller-00066-gd1a25a6a4b3b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:__kasan_check_write+0x0/0x20 mm/kasan/shadow.c:36
Code: 86 6f 2e 03 31 db eb d3 cc cc 55 48 89 e5 89 f6 48 8b 4d 08 31 d2 e8 ff ed ff ff 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <55> 48 89 e5 89 f6 48 8b 4d 08 ba 01 00 00 00 e8 dc ed ff ff 5d c3
RSP: 0018:ffffc90000a268f8 EFLAGS: 00000297
RAX: 0000000000000004 RBX: 1ffff92000144d20 RCX: 0000000000a26903
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc90000a26db4
RBP: ffffc90000a26990 R08: ffffffff84cdd1e1 R09: ffffed1021b36bd1
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffc90000a26db4 R14: 1ffff92000144d24 R15: ffffc90000a26920
FS:  00007f67879ec6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6787a67610 CR3: 0000000121411000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 spin_lock_bh include/linux/spinlock.h:368 [inline]
 tipc_skb_peek_port net/tipc/msg.h:1248 [inline]
 tipc_sk_rcv+0x299/0x1b50 net/tipc/socket.c:2491
 tipc_node_xmit+0x34e/0xe40 net/tipc/node.c:1703
 tipc_node_xmit_skb+0x153/0x1b0 net/tipc/node.c:1768
 tipc_sk_rcv+0x1690/0x1b50 net/tipc/socket.c:2522
 tipc_node_xmit+0x34e/0xe40 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+0x194e/0x3380 net/tipc/socket.c:2364
 tipc_sk_enqueue net/tipc/socket.c:2445 [inline]
 tipc_sk_rcv+0x80c/0x1b50 net/tipc/socket.c:2497
 tipc_node_xmit+0x34e/0xe40 net/tipc/node.c:1703
 tipc_node_xmit_skb net/tipc/node.c:1768 [inline]
 tipc_node_distr_xmit+0x36a/0x4d0 net/tipc/node.c:1783
 tipc_sk_backlog_rcv+0x18b/0x210 net/tipc/socket.c:2412
 sk_backlog_rcv include/net/sock.h:1071 [inline]
 __release_sock+0x145/0x410 net/core/sock.c:2733
 release_sock+0x65/0x1b0 net/core/sock.c:3284
 tipc_release+0xee9/0x1300 net/tipc/socket.c:652
 __sock_release net/socket.c:649 [inline]
 sock_close+0xdf/0x270 net/socket.c:1336
 __fput+0x228/0x8c0 fs/file_table.c:280
 ____fput+0x15/0x20 fs/file_table.c:308
 task_work_run+0x129/0x190 kernel/task_work.c:188
 ptrace_notify+0x29e/0x350 kernel/signal.c:2391
 ptrace_report_syscall include/linux/tracehook.h:66 [inline]
 tracehook_report_syscall_exit include/linux/tracehook.h:130 [inline]
 arch_syscall_exit_tracehook include/linux/entry-common.h:297 [inline]
 syscall_exit_work kernel/entry/common.c:262 [inline]
 syscall_exit_to_user_mode_prepare kernel/entry/common.c:289 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:294 [inline]
 syscall_exit_to_user_mode+0xa3/0x160 kernel/entry/common.c:307
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f6787a2b969
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 18 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f67879ec218 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: 00000000000203a0 RBX: 00007f6787ab8328 RCX: 00007f6787a2b969
RDX: 0000000000000000 RSI: 00000000200003c0 RDI: 0000000000000003
RBP: 00007f6787ab8320 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6787a85084
R13: 00007f6787a83078 R14: 00007f6787a84080 R15: 618a5986bea2420f
 </TASK>

Crashes (348):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/03 06:45 android13-5.15-lts d1a25a6a4b3b 568559e4 .config strace log report syz / log 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/12/15 07:30 android13-5.15-lts 6f0de8f8a165 7cbfbb3a .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2025/03/30 17:59 android13-5.15-lts 5e1b899f19c3 d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2025/03/30 17:42 android13-5.15-lts 5e1b899f19c3 d3999433 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2025/03/04 16:07 android13-5.15-lts 7d1f9b5c2ff5 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2025/02/09 19:41 android13-5.15-lts 058abb720bd1 ef44b750 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2025/01/05 15:02 android13-5.15-lts af461d0249a8 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2025/01/02 01:08 android13-5.15-lts f7ce2ffd2f33 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/11/03 06:20 android13-5.15-lts 5e4635681cf1 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/09/08 22:26 android13-5.15-lts 53be7c8abe11 9750182a .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/09/07 21:00 android13-5.15-lts 53be7c8abe11 9750182a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/09/02 04:01 android13-5.15-lts 29d153aabd54 1eda0d14 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/09/01 18:25 android13-5.15-lts 29d153aabd54 1eda0d14 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/09/01 14:41 android13-5.15-lts 29d153aabd54 1eda0d14 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/08/26 09:15 android13-5.15-lts 29d153aabd54 d7d32352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/08/26 03:34 android13-5.15-lts 29d153aabd54 d7d32352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/08/25 21:53 android13-5.15-lts 29d153aabd54 d7d32352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/08/25 16:03 android13-5.15-lts 29d153aabd54 d7d32352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/08/25 10:13 android13-5.15-lts 29d153aabd54 d7d32352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/08/25 04:28 android13-5.15-lts 29d153aabd54 d7d32352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/08/24 22:33 android13-5.15-lts 29d153aabd54 d7d32352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/08/24 16:40 android13-5.15-lts 29d153aabd54 d7d32352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/08/10 11:24 android13-5.15-lts 70e1a731d986 6f4edef4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/08/10 03:49 android13-5.15-lts 70e1a731d986 a83d9288 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/08/10 03:35 android13-5.15-lts 70e1a731d986 a83d9288 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/08/08 13:28 android13-5.15-lts 70e1a731d986 de12cf65 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/08/08 09:51 android13-5.15-lts 70e1a731d986 de12cf65 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/08/08 09:25 android13-5.15-lts 70e1a731d986 de12cf65 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/08/06 06:11 android13-5.15-lts 70e1a731d986 e1bdb00a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/07/30 22:30 android13-5.15-lts d0a6506ecafd 6fde257d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_close
2024/07/28 21:09 android13-5.15-lts 4edafe6c0231 46eb10b7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/07/25 04:07 android13-5.15-lts 5356d2f17edf d1a1b0ca .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/25 00:04 android13-5.15-lts 5356d2f17edf d1a1b0ca .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/07/22 05:46 android13-5.15-lts db06c48ab67e b88348e9 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_close
2024/07/19 14:27 android13-5.15-lts db06c48ab67e ee4e11c8 .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/19 10:15 android13-5.15-lts db06c48ab67e ee4e11c8 .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/16 09:30 android13-5.15-lts db06c48ab67e e8709b21 .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 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/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/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/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.