syzbot


BUG: soft lockup in sock_setsockopt

Status: upstream: reported C repro on 2024/03/19 19:29
Reported-by: syzbot+e4feaf54737b96349886@syzkaller.appspotmail.com
First crash: 199d, last: 23d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in sock_setsockopt (2) bpf 1 1556d 1552d 0/28 auto-closed as invalid on 2020/09/30 02:55
upstream BUG: soft lockup in sock_setsockopt bpf 1 1753d 1753d 0/28 auto-closed as invalid on 2020/04/16 03:54
android-5-15 BUG: soft lockup in sock_setsockopt origin:upstream C 21 12d 199d 0/2 upstream: reported C repro on 2024/03/19 21:44
android-6-1 BUG: soft lockup in sock_setsockopt origin:upstream C 6 23d 199d 0/2 upstream: reported C repro on 2024/03/19 21:39
linux-5.15 INFO: rcu detected stall in sock_setsockopt origin:upstream C 4 17d 194d 0/3 upstream: reported C repro on 2024/03/24 19:22
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/09/12 01:52 11m retest repro android13-5.10-lts report log
2024/09/12 01:52 13m retest repro android13-5.10-lts report log
2024/09/12 01:52 17m retest repro android13-5.10-lts report log
2024/09/12 01:52 14m retest repro android13-5.10-lts report log
2024/08/22 04:17 10m retest repro android13-5.10-lts report log
2024/08/22 04:17 9m retest repro android13-5.10-lts report log
2024/06/18 21:32 9m retest repro android13-5.10-lts report log
2024/06/18 21:32 18m retest repro android13-5.10-lts report log
2024/06/18 21:32 36m retest repro android13-5.10-lts report log
2024/06/18 21:32 19m retest repro android13-5.10-lts report log

Sample crash report:
RBP: 00007f3737930328 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000040 R11: 0000000000000246 R12: 00007f3737930320
R13: 00007f373793032c R14: 00007fffd5337a20 R15: 00007fffd5337b08
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz-executor399:1864]
Modules linked in:
CPU: 0 PID: 1864 Comm: syz-executor399 Not tainted 5.10.210-syzkaller-00394-g70b6ab09a34b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:__refcount_sub_and_test include/linux/refcount.h:282 [inline]
RIP: 0010:__refcount_dec_and_test include/linux/refcount.h:315 [inline]
RIP: 0010:refcount_dec_and_test include/linux/refcount.h:333 [inline]
RIP: 0010:sock_put include/net/sock.h:1842 [inline]
RIP: 0010:tipc_sk_rcv+0x17cc/0x1e30 net/tipc/socket.c:2498
Code: 00 bf 01 00 00 00 89 de e8 51 aa d2 fc 83 fb 01 75 0f e8 97 a6 d2 fc 4c 89 ef e8 1f 97 24 ff eb 16 31 ff 89 de e8 34 aa d2 fc <85> db 0f 8e 30 03 00 00 e8 77 a6 d2 fc 48 8b 84 24 a8 00 00 00 42
RSP: 0018:ffffc90001b36900 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000005 RCX: ffffffff84980345
RDX: ffff888116458000 RSI: 0000000000000005 RDI: 0000000000000000
RBP: ffffc90001b36b90 R08: ffffffff8498037c R09: ffffed1022c68bd1
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888116345e00 R14: 000000003337dc38 R15: ffffc90001b36d80
FS:  00007f37378676c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 0000000116438000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 tipc_node_xmit+0x34b/0xe30 net/tipc/node.c:1674
 tipc_node_xmit_skb net/tipc/node.c:1739 [inline]
 tipc_node_distr_xmit+0x36a/0x4d0 net/tipc/node.c:1754
 tipc_sk_rcv+0x177d/0x1e30 net/tipc/socket.c:2497
 tipc_node_xmit+0x34b/0xe30 net/tipc/node.c:1674
 tipc_sk_push_backlog net/tipc/socket.c:1306 [inline]
 tipc_sk_filter_connect net/tipc/socket.c:2253 [inline]
 tipc_sk_filter_rcv+0x1da8/0x3e00 net/tipc/socket.c:2362
 tipc_sk_enqueue net/tipc/socket.c:2442 [inline]
 tipc_sk_rcv+0x8a1/0x1e30 net/tipc/socket.c:2493
 tipc_node_xmit+0x34b/0xe30 net/tipc/node.c:1674
 tipc_node_xmit_skb net/tipc/node.c:1739 [inline]
 tipc_node_distr_xmit+0x36a/0x4d0 net/tipc/node.c:1754
 tipc_sk_backlog_rcv+0x18b/0x210 net/tipc/socket.c:2410
 sk_backlog_rcv include/net/sock.h:1050 [inline]
 __release_sock+0x148/0x410 net/core/sock.c:2571
 release_sock net/core/sock.c:3122 [inline]
 sock_setsockopt+0x1e3b/0x2e00 net/core/sock.c:1257
 __sys_setsockopt+0x441/0x870 net/socket.c:2142
 __do_sys_setsockopt net/socket.c:2157 [inline]
 __se_sys_setsockopt net/socket.c:2154 [inline]
 __x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2154
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7f37378a63a9
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:00007f3737867228 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f37378676c0 RCX: 00007f37378a63a9
RDX: 0000000000000021 RSI: 0000000000000001 RDI: 0000000000000003
RBP: 00007f3737930328 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000040 R11: 0000000000000246 R12: 00007f3737930320
R13: 00007f373793032c R14: 00007fffd5337a20 R15: 00007fffd5337b08

Crashes (39):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/05 17:26 android13-5.10-lts 70b6ab09a34b 610f2a54 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sock_setsockopt
2024/03/24 19:06 android13-5.10-lts e7daca75b4c3 0ea90952 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sock_setsockopt
2024/03/24 15:43 android13-5.10-lts e7daca75b4c3 0ea90952 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/03/22 10:23 android13-5.10-lts e7daca75b4c3 7a239ce7 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/03/21 16:13 android13-5.10-lts e7daca75b4c3 6753db5c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/03/19 19:25 android13-5.10-lts dd976ecce2ce e104824c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/08/29 01:25 android13-5.10-lts 0890c03b8b7d ef3de9e8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/08/08 00:12 android13-5.10-lts fd58936f3c1f 109d2082 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/07/21 16:14 android13-5.10-lts 1240968f7644 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/07/14 03:02 android13-5.10-lts 3feee789f446 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/07/13 19:55 android13-5.10-lts 3feee789f446 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/07/13 03:14 android13-5.10-lts 3feee789f446 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/07/06 15:10 android13-5.10-lts 3feee789f446 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/06/03 15:49 android13-5.10-lts d3c4d815bf09 0aba2352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/06/03 05:33 android13-5.10-lts 22b064ea5cbc 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sock_setsockopt
2024/05/20 03:07 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sock_setsockopt
2024/05/11 13:43 android13-5.10-lts 70b6ab09a34b 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/05/08 21:38 android13-5.10-lts 70b6ab09a34b 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/05/05 16:08 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sock_setsockopt
2024/04/30 21:00 android13-5.10-lts 70b6ab09a34b 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/04/27 22:59 android13-5.10-lts 70b6ab09a34b 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sock_setsockopt
2024/04/26 13:35 android13-5.10-lts 70b6ab09a34b 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/04/25 16:05 android13-5.10-lts 70b6ab09a34b 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sock_setsockopt
2024/04/23 12:29 android13-5.10-lts 70b6ab09a34b 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/04/23 09:04 android13-5.10-lts 70b6ab09a34b 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/04/23 02:12 android13-5.10-lts 70b6ab09a34b 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/04/20 12:15 android13-5.10-lts c449d2a618ef af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/04/20 03:38 android13-5.10-lts c449d2a618ef af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sock_setsockopt
2024/04/18 18:04 android13-5.10-lts d82f901b3eb5 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/04/17 00:19 android13-5.10-lts 4e1bc8d8e8ae 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/04/12 11:11 android13-5.10-lts 4e1bc8d8e8ae 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/04/11 20:36 android13-5.10-lts 4e1bc8d8e8ae 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/04/06 07:18 android13-5.10-lts e7daca75b4c3 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sock_setsockopt
2024/04/05 15:06 android13-5.10-lts e7daca75b4c3 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/04/04 07:23 android13-5.10-lts e7daca75b4c3 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/04/03 18:45 android13-5.10-lts e7daca75b4c3 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/04/03 02:58 android13-5.10-lts e7daca75b4c3 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/03/21 15:05 android13-5.10-lts e7daca75b4c3 6753db5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
2024/03/19 14:47 android13-5.10-lts dd976ecce2ce e104824c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sock_setsockopt
* Struck through repros no longer work on HEAD.