syzbot


BUG: soft lockup in sys_sendmmsg (2)

Status: premoderation: reported on 2024/12/23 13:44
Reported-by: syzbot+78021c997ebae83abe5b@syzkaller.appspotmail.com
First crash: 57d, last: 33d
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: soft lockup in sys_sendmmsg 2 599d 628d 0/3 auto-obsoleted due to no activity on 2023/10/08 22:57
android-5-15 BUG: soft lockup in sys_sendmmsg 1 269d 269d 0/2 auto-obsoleted due to no activity on 2024/08/24 08:55
android-6-1 BUG: soft lockup in sys_sendmmsg 1 481d 481d 0/2 auto-obsoleted due to no activity on 2024/01/25 01:21
android-5-10 BUG: soft lockup in sys_sendmmsg 2 184d 184d 0/2 auto-obsoleted due to no activity on 2024/11/17 00:13
upstream INFO: rcu detected stall in sys_sendmmsg (6) mm net 3 434d 481d 0/28 auto-obsoleted due to no activity on 2024/03/11 17:33
linux-6.1 INFO: rcu detected stall in sys_sendmmsg 2 209d 256d 0/3 auto-obsoleted due to no activity on 2024/11/01 14:13
linux-5.15 INFO: rcu detected stall in sys_sendmmsg 1 686d 686d 0/3 auto-obsoleted due to no activity on 2023/08/02 15:37
upstream INFO: rcu detected stall in sys_sendmmsg (3) kernel 3 1139d 1239d 0/28 closed as invalid on 2022/02/08 10:00
linux-5.15 INFO: rcu detected stall in sys_sendmmsg (2) 1 285d 285d 0/3 auto-obsoleted due to no activity on 2024/08/17 11:17
upstream INFO: rcu detected stall in sys_sendmmsg (5) net 3 625d 638d 0/28 auto-obsoleted due to no activity on 2023/09/03 00:09
linux-5.15 INFO: rcu detected stall in sys_sendmmsg (3) 11 5d03h 147d 0/3 upstream: reported on 2024/09/24 23:49
upstream INFO: rcu detected stall in sys_sendmmsg (7) net 64 2d10h 80d 0/28 upstream: reported on 2024/11/30 18:05
upstream INFO: rcu detected stall in sys_sendmmsg (4) net 1 938d 938d 0/28 auto-obsoleted due to no activity on 2022/10/25 00:28

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz.5.13617:21852]
Modules linked in:
CPU: 0 PID: 21852 Comm: syz.5.13617 Not tainted 5.10.233-syzkaller-00881-gfbe98d68b6b3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x5a1/0xc70 kernel/locking/qspinlock.c:508
Code: 85 ba 01 00 00 c6 03 00 48 8b 44 24 28 42 0f b6 04 30 84 c0 0f 85 bf 01 00 00 48 8b 04 24 c6 00 01 bb 00 80 ff ff eb 06 f3 90 <ff> c3 74 50 43 0f b6 44 35 00 84 c0 75 32 41 80 3c 24 00 75 e9 4c
RSP: 0018:ffffc90001037620 EFLAGS: 00000206
RAX: 0000000000000000 RBX: 00000000fffff5cc RCX: ffffffff8150ca44
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffc900010375a0
RBP: ffffc90001037710 R08: dffffc0000000000 R09: ffffed1024d43b32
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888126a1d988
R13: 1ffff11024d43b31 R14: dffffc0000000000 R15: ffff88823ff52a80
FS:  00007f193708b6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020003038 CR3: 0000000120d24000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 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:1648 [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_sendmmsg+0x2c3/0x510 net/socket.c:2516
 __do_sys_sendmmsg net/socket.c:2545 [inline]
 __se_sys_sendmmsg net/socket.c:2542 [inline]
 __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2542
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f1938a3ad29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f193708b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f1938c2b080 RCX: 00007f1938a3ad29
RDX: 0000000000000028 RSI: 0000000020002740 RDI: 0000000000000003
RBP: 00007f1938ab6b08 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000200000d1 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f1938c2b080 R15: 00007fff0f7a5518
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 21846 Comm: syz.5.13617 Not tainted 5.10.233-syzkaller-00881-gfbe98d68b6b3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:preempt_count_add+0x15b/0x1a0 kernel/sched/core.c:4462
Code: 07 80 c1 03 38 c1 0f 8c f0 fe ff ff 48 c7 c7 00 e9 08 87 e8 37 38 5f 00 e9 df fe ff ff 48 c7 c1 00 e9 08 87 80 e1 07 80 c1 03 <38> c1 0f 8c f9 fe ff ff 48 c7 c7 00 e9 08 87 e8 11 38 5f 00 e9 e8
RSP: 0018:ffffc900010d6978 EFLAGS: 00000206
RAX: 0000000000000004 RBX: 0000000000000201 RCX: ffffffff8708e903
RDX: ffffc9000694e000 RSI: 000000000007ffff RDI: 0000000000000201
RBP: ffffc900010d6990 R08: ffffffff849a25bc R09: ffffed1024d43b31
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffc900010d6e94 R14: 0000000028980f2d R15: dffffc0000000000
FS:  00007f19370ac6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffe8 CR3: 0000000120d24000 CR4: 00000000003526a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 __local_bh_disable_ip include/linux/bottom_half.h:12 [inline]
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:134 [inline]
 _raw_spin_lock_bh+0x6e/0x1b0 kernel/locking/spinlock.c:175
 spin_lock_bh include/linux/spinlock.h:359 [inline]
 tipc_skb_peek_port net/tipc/msg.h:1248 [inline]
 tipc_sk_rcv+0x2d6/0x1e30 net/tipc/socket.c:2487
 tipc_node_xmit+0x34b/0xe30 net/tipc/node.c:1674
 tipc_node_xmit_skb+0x153/0x1b0 net/tipc/node.c:1739
 tipc_sk_rcv+0x1c0b/0x1e30 net/tipc/socket.c:2518
 tipc_node_xmit+0x34b/0xe30 net/tipc/node.c:1674
 tipc_sk_push_backlog net/tipc/socket.c:1306 [inline]
 tipc_sk_filter_connect net/tipc/socket.c:2253 [inline]
 tipc_sk_filter_rcv+0x1da8/0x3e00 net/tipc/socket.c:2362
 tipc_sk_enqueue net/tipc/socket.c:2442 [inline]
 tipc_sk_rcv+0x8a1/0x1e30 net/tipc/socket.c:2493
 tipc_node_xmit+0x34b/0xe30 net/tipc/node.c:1674
 tipc_node_xmit_skb net/tipc/node.c:1739 [inline]
 tipc_node_distr_xmit+0x36a/0x4d0 net/tipc/node.c:1754
 tipc_sk_backlog_rcv+0x18b/0x210 net/tipc/socket.c:2410
 sk_backlog_rcv include/net/sock.h:1052 [inline]
 __release_sock+0x148/0x410 net/core/sock.c:2583
 release_sock+0x65/0x1b0 net/core/sock.c:3134
 tipc_release+0xb6b/0x1440 net/tipc/socket.c:639
 __sock_release net/socket.c:597 [inline]
 sock_close+0xdf/0x270 net/socket.c:1286
 __fput+0x33d/0x7b0 fs/file_table.c:281
 ____fput+0x15/0x20 fs/file_table.c:314
 task_work_run+0x129/0x190 kernel/task_work.c:189
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_user_mode_loop+0xbf/0xd0 kernel/entry/common.c:172
 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline]
 syscall_exit_to_user_mode+0xa2/0x1a0 kernel/entry/common.c:274
 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f1938a3ad29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f19370ac038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: 00000000000203a0 RBX: 00007f1938c2afa0 RCX: 00007f1938a3ad29
RDX: 0000000000000000 RSI: 00000000200003c0 RDI: 0000000000000003
RBP: 00007f1938ab6b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f1938c2afa0 R15: 00007fff0f7a5518

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/16 18:46 android13-5.10-lts fbe98d68b6b3 f9e07a6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmmsg
2024/12/23 14:00 android13-5.10-lts 4055d754db6f b4fbdbd4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmmsg
2024/12/23 13:49 android13-5.10-lts 4055d754db6f b4fbdbd4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmmsg
2024/12/23 13:47 android13-5.10-lts 4055d754db6f b4fbdbd4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmmsg
2024/12/23 13:45 android13-5.10-lts 4055d754db6f b4fbdbd4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmmsg
2024/12/23 13:43 android13-5.10-lts 4055d754db6f b4fbdbd4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: soft lockup in sys_sendmmsg
* Struck through repros no longer work on HEAD.