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: 205d, last: 6d12h
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 BUG: soft lockup in sys_sendmsg origin:upstream C 3 159d 187d 0/2 upstream: reported C repro on 2024/04/09 06:46
linux-6.1 BUG: soft lockup in sys_sendmsg 2 488d 495d 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 202d 244d 25/28 fixed on 2024/05/22 23:36
android-5-15 BUG: soft lockup in sys_sendmsg origin:upstream C 13 31d 205d 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 189d 189d 3/3 fixed on 2024/05/15 09:17
linux-6.1 INFO: rcu detected stall in sys_sendmsg 6 15d 101d 0/3 upstream: reported on 2024/07/04 07:16
linux-5.15 INFO: rcu detected stall in sys_sendmsg origin:upstream C 5 34d 207d 0/3 upstream: reported C repro on 2024/03/19 21:37
Last patch testing requests (8)
Created Duration User Patch Repo Result
2024/09/20 13:29 16m retest repro android13-5.10-lts report log
2024/09/20 13:29 13m retest repro android13-5.10-lts report log
2024/09/20 13:29 15m retest repro android13-5.10-lts report log
2024/08/05 03:13 9m retest repro android13-5.10-lts report log
2024/08/05 03:13 12m retest repro android13-5.10-lts report log
2024/07/06 06:55 12m retest repro android13-5.10-lts report log
2024/07/06 06:55 8m retest repro android13-5.10-lts report log
2024/07/06 06:55 14m retest repro android13-5.10-lts report log

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz-executor217:1661]
Modules linked in:
CPU: 1 PID: 1661 Comm: syz-executor217 Not tainted 5.10.226-syzkaller-00709-ge5e5644ea27f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 53 d5 03 f4 eb 0e 0f 1f 44 00 00 0f 00 2d 46 53 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:ffffc90000ec7680 EFLAGS: 00000246
RAX: 0000000000000003 RBX: 1ffff920001d8ed4 RCX: ffffffff8150b854
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffc90000ec76c0
RBP: ffffc90000ec7730 R08: dffffc0000000000 R09: ffffed1021c4e1f2
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88810e270f88 R14: 0000000000000003 R15: 0000000000000246
FS:  00007fd18f8636c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 000000010a625000 CR4: 00000000003506a0
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:3117
 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/0xcb
RIP: 0033:0x7fd18f8a23e9
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:00007fd18f863228 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000015 RCX: 00007fd18f8a23e9
RDX: 0000000000000000 RSI: 0000000020000500 RDI: 0000000000000004
RBP: 00007fd18f92c328 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd18f92c320
R13: 00007fd18f92c32c R14: 00007ffccce70530 R15: 00007ffccce70618

Crashes (35):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/07 02:16 android13-5.10-lts e5e5644ea27f d7906eff .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/05/05 19:42 android13-5.10-lts 70b6ab09a34b 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
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/09/06 12:58 android13-5.10-lts 1c5354a314ea 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/07/22 00:13 android13-5.10-lts 1240968f7644 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmsg
2024/07/14 05:18 android13-5.10-lts 3feee789f446 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmsg
2024/07/13 08:11 android13-5.10-lts 3feee789f446 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/07/10 00:50 android13-5.10-lts 3feee789f446 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/07/07 16:37 android13-5.10-lts 3feee789f446 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/06/22 02:37 android13-5.10-lts b58b8f9dad93 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/06/12 05:47 android13-5.10-lts d3c4d815bf09 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/06/02 00:19 android13-5.10-lts 22b064ea5cbc 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/05/26 04:42 android13-5.10-lts a8e7f812fbc1 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmsg
2024/05/18 06:03 android13-5.10-lts 70b6ab09a34b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/05/17 22:29 android13-5.10-lts 70b6ab09a34b a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/05/17 21:53 android13-5.10-lts 70b6ab09a34b a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/05/10 08:59 android13-5.10-lts 70b6ab09a34b de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/05/09 23:45 android13-5.10-lts 70b6ab09a34b 05079661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf BUG: soft lockup in sys_sendmsg
2024/05/07 04:30 android13-5.10-lts 70b6ab09a34b fa7a5cf0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmsg
2024/05/03 15:58 android13-5.10-lts 70b6ab09a34b dd26401e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10-perf 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.