syzbot


BUG: soft lockup in sock_setsockopt

Status: upstream: reported C repro on 2024/03/19 21:44
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+32d41249a22c3c33a9b2@syzkaller.appspotmail.com
First crash: 116d, last: 6d12h
Bug presence (2)
Date Name Commit Repro Result
2024/03/20 lts (merge base) 6139f2a02fe0 C [report] BUG: soft lockup in sock_setsockopt
2024/04/03 upstream (ToT) b1e6ec0a0fd0 C [report] BUG: soft lockup in sys_setsockopt
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 1473d 1469d 0/27 auto-closed as invalid on 2020/09/30 02:55
upstream BUG: soft lockup in sock_setsockopt bpf 1 1670d 1669d 0/27 auto-closed as invalid on 2020/04/16 03:54
android-6-1 BUG: soft lockup in sock_setsockopt origin:upstream C 6 10d 116d 0/2 upstream: reported C repro on 2024/03/19 21:39
android-5-10 BUG: soft lockup in sock_setsockopt C 36 3h47m 116d 0/2 upstream: reported C repro on 2024/03/19 19:29
linux-5.15 INFO: rcu detected stall in sock_setsockopt origin:upstream C 3 36d 111d 0/3 upstream: reported C repro on 2024/03/24 19:22
Last patch testing requests (8)
Created Duration User Patch Repo Result
2024/07/07 17:46 17m retest repro android13-5.15-lts report log
2024/07/07 17:46 17m retest repro android13-5.15-lts report log
2024/07/07 17:46 14m retest repro android13-5.15-lts report log
2024/06/23 12:08 11m retest repro android13-5.15-lts report log
2024/06/23 12:08 24m retest repro android13-5.15-lts report log
2024/05/25 22:27 10m retest repro android13-5.15-lts report log
2024/05/25 22:27 19m retest repro android13-5.15-lts report log
2024/05/25 22:27 9m retest repro android13-5.15-lts report log

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 143s! [syz-executor201:12104]
Modules linked in:
CPU: 1 PID: 12104 Comm: syz-executor201 Not tainted 5.15.149-syzkaller-00131-g79bd336c7a94 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:__rcu_read_lock+0x6/0x80 kernel/rcu/tree_plugin.h:397
Code: 41 fe ff 65 ff 0d 22 53 a5 7e 4d 89 fd 0f 85 d9 fb ff ff e8 38 67 a3 ff e9 cf fb ff ff e8 22 0a 66 03 66 90 55 48 89 e5 41 57 <41> 56 41 54 53 49 be 00 00 00 00 00 fc ff df 65 4c 8b 3d e3 52 a5
RSP: 0018:ffffc90003176728 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff88810b0ffd30 RCX: ffffc90003176703
RDX: 0000000000000000 RSI: 000000008d44d051 RDI: ffffffff8734ad80
RBP: ffffc90003176730 R08: ffffffff84af2d38 R09: 0000000000000003
R10: fffff5200062ecf8 R11: dffffc0000000001 R12: ffff88810b0b8000
R13: 1ffff9200062ecf8 R14: dffffc0000000000 R15: ffffffff8734b7b8
FS:  00007fd2094236c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 0000000124c49000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 rcu_read_lock include/linux/rcupdate.h:703 [inline]
 tipc_sk_lookup+0x103/0x650 net/tipc/socket.c:2998
 tipc_sk_rcv+0x459/0x1b50 net/tipc/socket.c:2492
 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_rcv+0x1212/0x1b50 net/tipc/socket.c:2501
 tipc_node_xmit+0x34e/0xe40 net/tipc/node.c:1703
 tipc_sk_push_backlog+0x4da/0x7b0 net/tipc/socket.c:1316
 tipc_sk_conn_proto_rcv net/tipc/socket.c:1370 [inline]
 tipc_sk_proto_rcv+0xad0/0x1750 net/tipc/socket.c:2158
 tipc_sk_filter_rcv+0x3152/0x3380 net/tipc/socket.c:2352
 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:1069 [inline]
 __release_sock+0x145/0x410 net/core/sock.c:2719
 release_sock net/core/sock.c:3270 [inline]
 sock_setsockopt+0x181a/0x2eb0 net/core/sock.c:1380
 __sys_setsockopt+0x423/0x840 net/socket.c:2194
 __do_sys_setsockopt net/socket.c:2209 [inline]
 __se_sys_setsockopt net/socket.c:2206 [inline]
 __x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2206
 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:0x7fd2094623e9
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:00007fd209423228 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007fd2094236c0 RCX: 00007fd2094623e9
RDX: 0000000000000021 RSI: 0000000000000001 RDI: 0000000000000003
RBP: 00007fd2094ec328 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000040 R11: 0000000000000246 R12: 00007fd2094ec320
R13: 00007fd2094ec32c R14: 00007fff62826790 R15: 00007fff62826878
 </TASK>

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/09 09:23 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_setsockopt
2024/05/07 23:51 android13-5.15-lts 5d96939590c0 cb2dcc0e .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/04/14 14:59 android13-5.15-lts 993bed180178 c8349e48 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_setsockopt
2024/04/12 04:57 android13-5.15-lts 993bed180178 27de0a5c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/03/24 21:03 android13-5.15-lts 993bed180178 0ea90952 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/03/24 19:56 android13-5.15-lts 993bed180178 0ea90952 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_setsockopt
2024/03/22 11:09 android13-5.15-lts 993bed180178 7a239ce7 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/03/22 08:17 android13-5.15-lts 993bed180178 7a239ce7 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/03/19 21:55 android13-5.15-lts 993bed180178 e104824c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/03/19 21:43 android13-5.15-lts 993bed180178 e104824c .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_setsockopt
2024/05/29 22:19 android13-5.15-lts 424f92bcbe8f 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/05/11 22:20 android13-5.15-lts 5d96939590c0 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_setsockopt
2024/04/14 07:25 android13-5.15-lts 993bed180178 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/04/07 01:09 android13-5.15-lts 993bed180178 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_setsockopt
2024/04/04 20:53 android13-5.15-lts 993bed180178 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/03/31 09:37 android13-5.15-lts 993bed180178 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/03/25 14:35 android13-5.15-lts 993bed180178 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/03/25 12:22 android13-5.15-lts 993bed180178 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/03/23 22:26 android13-5.15-lts 993bed180178 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/03/23 11:51 android13-5.15-lts 993bed180178 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in sock_setsockopt
* Struck through repros no longer work on HEAD.