syzbot


BUG: soft lockup in sys_sendmsg

Status: upstream: reported C repro on 2024/03/22 10:41
Reported-by: syzbot+0c30fc1601f05dec0958@syzkaller.appspotmail.com
First crash: 36d, last: 56m
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 BUG: soft lockup in sys_sendmsg origin:upstream C 1 19d 19d 0/2 upstream: reported C repro on 2024/04/09 06:46
linux-6.1 BUG: soft lockup in sys_sendmsg 2 320d 326d 0/3 auto-obsoleted due to no activity on 2023/09/20 17:26
upstream BUG: soft lockup in sys_sendmsg tipc batman C 3 34d 75d 24/26 upstream: reported C repro on 2024/02/12 10:26
android-5-15 BUG: soft lockup in sys_sendmsg origin:upstream C 9 8d20h 36d 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 21d 21d 0/3 upstream: reported C repro on 2024/04/06 21:29
linux-5.15 INFO: rcu detected stall in sys_sendmsg C 3 10d 39d 0/3 upstream: reported C repro on 2024/03/19 21:37

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz-executor226:999]
Modules linked in:
CPU: 0 PID: 999 Comm: syz-executor226 Not tainted 5.10.209-syzkaller-00002-g4e1bc8d8e8ae #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:native_restore_fl arch/x86/include/asm/irqflags.h:41 [inline]
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:84 [inline]
RIP: 0010:kvm_wait+0xfc/0x150 arch/x86/kernel/kvm.c:926
Code: 38 f0 75 26 41 f7 c7 00 02 00 00 75 0f 0f 1f 44 00 00 0f 00 2d 55 4c d5 03 f4 eb 0e 0f 1f 44 00 00 0f 00 2d 46 4c d5 03 fb f4 <4c> 89 7c 24 18 ff 74 24 18 9d 48 c7 44 24 20 0e 36 e0 45 49 c7 04
RSP: 0018:ffffc90000cb7680 EFLAGS: 00000246
RAX: 0000000000000003 RBX: 1ffff92000196ed4 RCX: ffffffff8150b554
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffc90000cb76c0
RBP: ffffc90000cb7730 R08: dffffc0000000000 R09: ffffed102166d1f2
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88810b368f88 R14: 0000000000000003 R15: 0000000000000246
FS:  00007f1f16d0c6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 000000010ab91000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 pv_wait arch/x86/include/asm/paravirt.h:564 [inline]
 pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline]
 __pv_queued_spin_lock_slowpath+0x72f/0xc70 kernel/locking/qspinlock.c:508
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:554 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock include/linux/spinlock.h:183 [inline]
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline]
 _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:175
 spin_lock_bh include/linux/spinlock.h:359 [inline]
 lock_sock_nested+0x92/0x300 net/core/sock.c:3105
 lock_sock include/net/sock.h:1640 [inline]
 tipc_sendstream+0x47/0x70 net/tipc/socket.c:1540
 sock_sendmsg_nosec net/socket.c:652 [inline]
 __sock_sendmsg net/socket.c:664 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2376
 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2430
 __sys_sendmsg net/socket.c:2459 [inline]
 __do_sys_sendmsg net/socket.c:2468 [inline]
 __se_sys_sendmsg+0x1b1/0x280 net/socket.c:2466
 __x64_sys_sendmsg+0x7b/0x90 net/socket.c:2466
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7f1f16d4b3e9
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:00007f1f16d0c228 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f1f16d4b3e9
RDX: 0000000000000000 RSI: 0000000020000780 RDI: 0000000000000004
RBP: 00007f1f16dd5328 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1f16dd5320
R13: 00007f1f16dd532c R14: 00007ffd42b80b00 R15: 00007ffd42b80be8

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/09 05:51 android13-5.10-lts 4e1bc8d8e8ae f3234354 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmsg
2024/04/08 23:54 android13-5.10-lts 4e1bc8d8e8ae 53df08b6 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/03/27 03:15 android13-5.10-lts e7daca75b4c3 454571b6 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmsg
2024/03/22 10:40 android13-5.10-lts e7daca75b4c3 7a239ce7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmsg
2024/04/28 07:54 android13-5.10-lts 70b6ab09a34b 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmsg
2024/04/27 04:30 android13-5.10-lts 70b6ab09a34b 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/04/20 19:29 android13-5.10-lts 8d3bb9cb3b7d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/04/16 17:19 android13-5.10-lts 4e1bc8d8e8ae 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/04/14 16:17 android13-5.10-lts 4e1bc8d8e8ae c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/04/11 03:12 android13-5.10-lts 4e1bc8d8e8ae 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/04/06 01:25 android13-5.10-lts e7daca75b4c3 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmsg
2024/04/05 21:58 android13-5.10-lts e7daca75b4c3 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmsg
2024/03/27 11:28 android13-5.10-lts e7daca75b4c3 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmsg
2024/03/26 22:37 android13-5.10-lts e7daca75b4c3 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmsg
2024/03/23 10:18 android13-5.10-lts e7daca75b4c3 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmsg
2024/03/22 15:42 android13-5.10-lts e7daca75b4c3 4b6cdce6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
* Struck through repros no longer work on HEAD.