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: 241d, last: 26d
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 (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: soft lockup in sock_close C 82 1d05h 243d 0/2 upstream: reported C repro on 2024/03/25 07:28
android-5-15 BUG: soft lockup in sock_close origin:downstream C done 322 20d 241d 0/2 upstream: reported C repro on 2024/03/26 23:21
linux-5.15 INFO: rcu detected stall in sock_close (2) 1 304d 304d 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 394d 431d 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 194d 194d 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 502d 502d 3/3 fixed on 2023/09/23 10:26
linux-6.1 INFO: rcu detected stall in sock_close (2) 1 296d 296d 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 1104d 1598d 0/28 closed as invalid on 2022/02/08 10:42
linux-5.15 INFO: rcu detected stall in sock_close C error 2 482d 536d 0/3 auto-obsoleted due to no activity on 2023/11/07 13:02
linux-5.15 INFO: rcu detected stall in sock_close (3) origin:upstream C 8 4d12h 187d 0/3 upstream: reported C repro on 2024/05/20 00:06
Last patch testing requests (5)
Created Duration User Patch Repo Result
2024/10/28 00:57 15m retest repro android14-6.1 report log
2024/09/28 15:02 1h03m retest repro android14-6.1 report log
2024/08/18 18:11 9m retest repro android14-6.1 report log
2024/07/20 14:02 14m retest repro android14-6.1 report log
2024/06/09 17:49 11m retest repro android14-6.1 report log

Sample crash report:
RBP: 00007feff53a9320 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007feff5376470
R13: 00007feff5376080 R14: 618a5986bea2420f R15: 0cec9143de7537c6
 </TASK>
watchdog: BUG: soft lockup - CPU#1 stuck for 245s! [syz-executor802:347]
Modules linked in:
CPU: 1 PID: 347 Comm: syz-executor802 Not tainted 6.1.75-syzkaller-00026-g68c821783c76 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:__kasan_check_write+0x6/0x20 mm/kasan/shadow.c:37
Code: eb d3 cc cc 55 48 89 e5 89 f6 48 8b 4d 08 31 d2 e8 7f eb 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 5c eb ff ff 5d c3 66 2e 0f 1f 84 00
RSP: 0018:ffffc90000f56870 EFLAGS: 00000297
RAX: 0000000000000004 RBX: 1ffff920001ead10 RCX: 0000000000f56803
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc90000f56d34
RBP: ffffc90000f56870 R08: ffffffff84db43a5 R09: ffffed1023976a91
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffc90000f56d34 R14: 1ffff920001ead14 R15: ffffc90000f568a0
FS:  00007feff52de6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007feff52bdd58 CR3: 0000000109324000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 instrument_atomic_read_write include/linux/instrumented.h:102 [inline]
 atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:541 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:111 [inline]
 do_raw_spin_lock include/linux/spinlock.h:186 [inline]
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:127 [inline]
 _raw_spin_lock_bh+0x97/0x1b0 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:355 [inline]
 tipc_skb_peek_port net/tipc/msg.h:1225 [inline]
 tipc_sk_rcv+0x29c/0x1c40 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+0x1787/0x1c40 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/0x3390 net/tipc/socket.c:2364
 tipc_sk_enqueue net/tipc/socket.c:2445 [inline]
 tipc_sk_rcv+0x815/0x1c40 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:1129 [inline]
 __release_sock+0x145/0x410 net/core/sock.c:2940
 release_sock+0x65/0x1b0 net/core/sock.c:3514
 tipc_release+0xf10/0x1310 net/tipc/socket.c:652
 __sock_release net/socket.c:652 [inline]
 sock_close+0xdf/0x270 net/socket.c:1390
 __fput+0x3ab/0x870 fs/file_table.c:320
 ____fput+0x15/0x20 fs/file_table.c:348
 task_work_run+0x24d/0x2e0 kernel/task_work.c:179
 ptrace_notify+0x29e/0x350 kernel/signal.c:2376
 ptrace_report_syscall include/linux/ptrace.h:420 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:482 [inline]
 syscall_exit_work kernel/entry/common.c:252 [inline]
 syscall_exit_to_user_mode_prepare kernel/entry/common.c:279 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:284 [inline]
 syscall_exit_to_user_mode+0xa2/0x140 kernel/entry/common.c:297
 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7feff531dae9
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:00007feff52de218 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: 00000000000203a0 RBX: 00007feff53a9328 RCX: 00007feff531dae9
RDX: 0000000000000000 RSI: 00000000200003c0 RDI: 0000000000000003
RBP: 00007feff53a9320 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007feff5376470
R13: 00007feff5376080 R14: 618a5986bea2420f R15: 0cec9143de7537c6
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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.