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: 23d, last: 23d
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 (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: soft lockup in sys_sendmsg 2 325d 331d 0/3 auto-obsoleted due to no activity on 2023/09/20 17:26
android-5-10 BUG: soft lockup in sys_sendmsg C 16 4d13h 41d 0/2 upstream: reported C repro on 2024/03/22 10:41
upstream BUG: soft lockup in sys_sendmsg tipc batman C 3 39d 80d 25/26 upstream: reported C repro on 2024/02/12 10:26
android-5-15 BUG: soft lockup in sys_sendmsg origin:upstream C 9 13d 41d 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 1 25d 25d 0/3 upstream: reported C repro on 2024/04/06 21:29
linux-5.15 INFO: rcu detected stall in sys_sendmsg origin:upstream C 3 15d 43d 0/3 upstream: reported C repro on 2024/03/19 21:37
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/04/23 10:32 37m retest repro android14-6.1 report log

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 144s! [syz-executor247:977]
Modules linked in:
CPU: 0 PID: 977 Comm: syz-executor247 Not tainted 6.1.75-syzkaller-00007-g338203a81721 #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 11 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:ffffc900018a7780 EFLAGS: 00000246
RAX: 0000000000000003 RBX: 1ffff92000314ef4 RCX: ffffffff84ff6d9c
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff888121e7b798
RBP: ffffc900018a7830 R08: dffffc0000000000 R09: ffffed10243cf6f4
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888121e7b798 R14: 0000000000000003 R15: 1ffff92000314ef8
FS:  00007ff57f1e66c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 00000001221bd000 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:0x7ff57f2253e9
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:00007ff57f1e6228 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007ff57f2253e9
RDX: 0000000000000000 RSI: 0000000020000780 RDI: 0000000000000004
RBP: 00007ff57f2af328 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff57f2af320
R13: 00007ff57f2af32c R14: 00007ffd0ac32db0 R15: 00007ffd0ac32e98
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
* Struck through repros no longer work on HEAD.