syzbot


BUG: soft lockup in sys_sendmsg

Status: upstream: reported C repro on 2024/04/09 06:46
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+986cc2911178190351e9@syzkaller.appspotmail.com
First crash: 228d, last: 201d
Bug presence (2)
Date Name Commit Repro Result
2024/04/09 lts (merge base) 883d1a956208 C [report] BUG: soft lockup in sock_setsockopt
2024/04/09 upstream (ToT) 20cb38a7af88 C [report] BUG: soft lockup in do_sock_setsockopt
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: soft lockup in sys_sendmsg 2 530d 536d 0/3 auto-obsoleted due to no activity on 2023/09/20 17:26
android-5-10 BUG: soft lockup in sys_sendmsg C 36 18d 246d 0/2 upstream: reported C repro on 2024/03/22 10:41
upstream BUG: soft lockup in sys_sendmsg tipc batman C 3 244d 285d 25/28 fixed on 2024/05/22 23:36
android-5-15 BUG: soft lockup in sys_sendmsg origin:upstream C error 13 72d 246d 0/2 upstream: reported C repro on 2024/03/22 10:44
linux-6.1 BUG: soft lockup in sys_sendmsg (2) origin:upstream C done 1 231d 231d 3/3 fixed on 2024/05/15 09:17
linux-6.1 INFO: rcu detected stall in sys_sendmsg 6 56d 142d 0/3 upstream: reported on 2024/07/04 07:16
linux-5.15 INFO: rcu detected stall in sys_sendmsg origin:upstream C error 5 75d 249d 0/3 upstream: reported C repro on 2024/03/19 21:37
Last patch testing requests (4)
Created Duration User Patch Repo Result
2024/11/19 17:52 26m retest repro android14-6.1 report log
2024/10/14 05:18 9m retest repro android14-6.1 report log
2024/09/10 17:19 21m retest repro android14-6.1 report log
2024/07/29 20:13 1h08m retest repro android14-6.1 report log

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 245s! [syz-executor392:559]
Modules linked in:
CPU: 0 PID: 559 Comm: syz-executor392 Not tainted 6.1.75-syzkaller-00089-g1794308d463f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:1064
Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d eb 11 31 04 fb f4 <e9> 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c
RSP: 0018:ffffc90001337780 EFLAGS: 00000246

RAX: 0000000000000003 RBX: 1ffff92000266ef4 RCX: ffffffff8500089c
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881233ced98
RBP: ffffc90001337830 R08: dffffc0000000000 R09: ffffed1024679db4
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881233ced98 R14: 0000000000000003 R15: 1ffff92000266ef8
FS:  00007f0cf50446c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0cf5044d58 CR3: 0000000123034000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 pv_wait arch/x86/include/asm/paravirt.h:603 [inline]
 pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
 __pv_queued_spin_lock_slowpath+0x6de/0xda0 kernel/locking/qspinlock.c:511
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:114 [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+0x139/0x1b0 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:355 [inline]
 lock_sock_nested+0x92/0x300 net/core/sock.c:3502
 lock_sock include/net/sock.h:1758 [inline]
 tipc_sendstream+0x47/0x70 net/tipc/socket.c:1549
 sock_sendmsg_nosec net/socket.c:716 [inline]
 __sock_sendmsg net/socket.c:728 [inline]
 ____sys_sendmsg+0x5d3/0x9a0 net/socket.c:2504
 ___sys_sendmsg net/socket.c:2558 [inline]
 __sys_sendmsg+0x2a9/0x390 net/socket.c:2587
 __do_sys_sendmsg net/socket.c:2596 [inline]
 __se_sys_sendmsg net/socket.c:2594 [inline]
 __x64_sys_sendmsg+0x7f/0x90 net/socket.c:2594
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f0cf50a43a9
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:00007f0cf5044228 EFLAGS: 00000246
 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007f0cf50a43a9
RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000004
RBP: 00007f0cf512e338 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0cf512e330
R13: 00007f0cf512e33c R14: 00007ffca0dcec10 R15: 00007ffca0dcecf8
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/05 19:48 android14-6.1 1794308d463f 610f2a54 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in sys_sendmsg
2024/04/09 06:44 android14-6.1 338203a81721 f3234354 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in sys_sendmsg
2024/05/06 18:30 android14-6.1 1794308d463f d884b519 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: soft lockup in sys_sendmsg
* Struck through repros no longer work on HEAD.