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: 83d, last: 1d08h
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 3 37d 65d 0/2 upstream: reported C repro on 2024/04/09 06:46
linux-6.1 BUG: soft lockup in sys_sendmsg 2 366d 373d 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 80d 122d 26/28 fixed on 2024/05/22 23:36
android-5-15 BUG: soft lockup in sys_sendmsg origin:upstream C 11 8d22h 83d 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 67d 67d 3/3 fixed on 2024/05/15 09:17
linux-5.15 INFO: rcu detected stall in sys_sendmsg origin:upstream C 3 22d 85d 0/3 upstream: reported C repro on 2024/03/19 21:37

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz-executor216:1519]
Modules linked in:
CPU: 1 PID: 1519 Comm: syz-executor216 Not tainted 5.10.210-syzkaller-00394-g70b6ab09a34b #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 65 4e d5 03 f4 eb 0e 0f 1f 44 00 00 0f 00 2d 56 4e 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:ffffc90000da7680 EFLAGS: 00000246
RAX: 0000000000000003 RBX: 1ffff920001b4ed4 RCX: ffffffff8150b5a4
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffc90000da76c0
RBP: ffffc90000da7730 R08: dffffc0000000000 R09: ffffed1021ac0952
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88810d604a88 R14: 0000000000000003 R15: 0000000000000246
FS:  00007ffa1a7c96c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffa1a7c9d58 CR3: 000000010dcde000 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: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:0x7ffa1a8293e9
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:00007ffa1a7c9228 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000013 RCX: 00007ffa1a8293e9
RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000004
RBP: 00007ffa1a8b3338 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffa1a8b3330
R13: 00007ffa1a8b333c R14: 00007ffc78053d90 R15: 00007ffc78053e78

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