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: 308d, last: 8h27m
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 (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in sock_setsockopt (2) bpf 1 1665d 1661d 0/28 auto-closed as invalid on 2020/09/30 02:55
linux-6.1 BUG: soft lockup in sock_setsockopt origin:upstream C 3 27d 28d 0/3 upstream: reported C repro on 2024/12/25 11:22
upstream BUG: soft lockup in sock_setsockopt bpf 1 1862d 1862d 0/28 auto-closed as invalid on 2020/04/16 03:54
android-6-1 BUG: soft lockup in sock_setsockopt origin:upstream C 8 6h25m 308d 0/2 upstream: reported C repro on 2024/03/19 21:39
android-5-10 BUG: soft lockup in sock_setsockopt C error 42 4d12h 308d 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 4 10d 303d 0/3 upstream: reported C repro on 2024/03/24 19:22
Last patch testing requests (8)
Created Duration User Patch Repo Result
2025/01/16 05:13 14m retest repro android13-5.15-lts report log
2025/01/16 05:13 10m retest repro android13-5.15-lts report log
2025/01/16 05:13 17m retest repro android13-5.15-lts report log
2025/01/16 05:13 13m retest repro android13-5.15-lts report log
2024/12/29 05:51 11m retest repro android13-5.15-lts report log
2024/12/29 05:51 20m retest repro android13-5.15-lts report log
2024/12/02 07:56 18m retest repro android13-5.15-lts report log
2024/12/02 07:56 20m retest repro android13-5.15-lts report log

Sample crash report:
RBP: 00007f1c92446328 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000540 R11: 0000000000000246 R12: 00007f1c92446320
R13: 00007f1c9244632c R14: 00007fff013c1f00 R15: 00007fff013c1fe8
 </TASK>
watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [syz-executor542:2822]
Modules linked in:
CPU: 0 PID: 2822 Comm: syz-executor542 Not tainted 5.15.176-syzkaller-00972-g829d9f138569 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:227 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x34/0x90 kernel/kcov.c:293
Code: 8b 15 60 fd 91 7e 65 8b 05 61 fd 91 7e 25 00 01 ff 00 74 10 3d 00 01 00 00 75 5b 83 ba 5c 0b 00 00 00 74 52 8b 82 38 0b 00 00 <83> f8 03 75 47 48 8b 8a 40 0b 00 00 44 8b 92 3c 0b 00 00 49 c1 e2
RSP: 0018:ffffc90003a66830 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000005 RCX: ffffffff84cdc3aa
RDX: ffff888126672780 RSI: 0000000000000005 RDI: 0000000000000000
RBP: ffffc90003a66830 R08: ffffffff84cdc3e1 R09: ffffed10220e2511
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888110712800 R14: 00000000aa947d22 R15: ffffc90003a66c80
FS:  00007f1c9237c6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 000000010b5b3000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 __refcount_sub_and_test include/linux/refcount.h:282 [inline]
 __refcount_dec_and_test include/linux/refcount.h:315 [inline]
 refcount_dec_and_test include/linux/refcount.h:333 [inline]
 sock_put include/net/sock.h:1928 [inline]
 tipc_sk_rcv+0x1261/0x1b50 net/tipc/socket.c:2502
 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:1071 [inline]
 __release_sock+0x145/0x410 net/core/sock.c:2733
 release_sock net/core/sock.c:3284 [inline]
 sock_setsockopt+0x1831/0x2f30 net/core/sock.c:1383
 __sys_setsockopt+0x423/0x840 net/socket.c:2199
 __do_sys_setsockopt net/socket.c:2214 [inline]
 __se_sys_setsockopt net/socket.c:2211 [inline]
 __x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2211
 x64_sys_call+0x1a2/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:55
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f1c923bba39
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 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:00007f1c9237c228 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f1c9237c6c0 RCX: 00007f1c923bba39
RDX: 0000000000000021 RSI: 0000000000000001 RDI: 0000000000000003
RBP: 00007f1c92446328 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000540 R11: 0000000000000246 R12: 00007f1c92446320
R13: 00007f1c9244632c R14: 00007fff013c1f00 R15: 00007fff013c1fe8
 </TASK>

Crashes (27):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/22 06:33 android13-5.15-lts 829d9f138569 da72ac06 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/10/05 18:09 android13-5.15-lts 80dd36dca275 d7906eff .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
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
2025/01/22 02:52 android13-5.15-lts 829d9f138569 da72ac06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2025/01/02 04:50 android13-5.15-lts f7ce2ffd2f33 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/12/31 20:25 android13-5.15-lts f7ce2ffd2f33 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/10/05 11:31 android13-5.15-lts 80dd36dca275 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: soft lockup in sock_setsockopt
2024/08/26 02:07 android13-5.15-lts 29d153aabd54 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf 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.