syzbot


BUG: soft lockup in sys_sendmmsg

Status: auto-obsoleted due to no activity on 2024/01/25 01:21
Reported-by: syzbot+01198c8bc2bba41bb42b@syzkaller.appspotmail.com
First crash: 336d, last: 336d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 BUG: soft lockup in sys_sendmmsg 2 454d 483d 0/3 auto-obsoleted due to no activity on 2023/10/08 22:57
android-5-15 BUG: soft lockup in sys_sendmmsg 1 124d 124d 0/2 auto-obsoleted due to no activity on 2024/08/24 08:55
android-5-10 BUG: soft lockup in sys_sendmmsg 2 39d 39d 0/2 premoderation: reported on 2024/08/19 00:01
upstream INFO: rcu detected stall in sys_sendmmsg (6) mm net 3 290d 336d 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 65d 111d 0/3 upstream: reported on 2024/06/08 04:23
linux-5.15 INFO: rcu detected stall in sys_sendmmsg 1 542d 542d 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 995d 1095d 0/28 closed as invalid on 2022/02/08 10:00
linux-5.15 INFO: rcu detected stall in sys_sendmmsg (2) 1 141d 141d 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 480d 494d 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) 1 2d22h 2d22h 0/3 upstream: reported on 2024/09/24 23:49
upstream INFO: rcu detected stall in sys_sendmmsg (4) net 1 793d 793d 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 225s! [syz-executor.0:10970]
Modules linked in:
CPU: 0 PID: 10970 Comm: syz-executor.0 Tainted: G        W          6.1.43-syzkaller-00235-g35361bdac25a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
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:1066
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 ab 18 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:ffffc90008b8de20 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 1ffff92001171bc8 RCX: 1ffffffff0d9bc9d
RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8881f7037fd4
RBP: ffffc90008b8ded0 R08: dffffc0000000000 R09: ffffed103ee06ffb
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881f7037fd4 R14: 0000000000000001 R15: 1ffff92001171bcc
FS:  00007fa466b516c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020075030 CR3: 000000013b4f9000 CR4: 00000000003506b0
DR0: 000000000000d8dd DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 </IRQ>
 <TASK>
 pv_wait arch/x86/include/asm/paravirt.h:603 [inline]
 pv_wait_node kernel/locking/qspinlock_paravirt.h:325 [inline]
 __pv_queued_spin_lock_slowpath+0x362/0xda0 kernel/locking/qspinlock.c:476
 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 include/linux/spinlock_api_smp.h:134 [inline]
 _raw_spin_lock+0x139/0x1b0 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:350 [inline]
 __dev_xmit_skb net/core/dev.c:3861 [inline]
 __dev_queue_xmit+0xd76/0x3700 net/core/dev.c:4234
 dev_queue_xmit include/linux/netdevice.h:3076 [inline]
 neigh_resolve_output+0x6c0/0x7c0 net/core/neighbour.c:1552
 neigh_output include/net/neighbour.h:552 [inline]
 ip6_finish_output2+0x104a/0x1820 net/ipv6/ip6_output.c:134
 __ip6_finish_output net/ipv6/ip6_output.c:195 [inline]
 ip6_finish_output+0x5d9/0xb60 net/ipv6/ip6_output.c:206
 NF_HOOK_COND include/linux/netfilter.h:294 [inline]
 ip6_output+0x1f7/0x4d0 net/ipv6/ip6_output.c:227
 dst_output include/net/dst.h:444 [inline]
 ip6_local_out+0x1ff/0x480 net/ipv6/output_core.c:161
 ip6_send_skb net/ipv6/ip6_output.c:1989 [inline]
 ip6_push_pending_frames+0x14a/0x290 net/ipv6/ip6_output.c:2009
 icmpv6_push_pending_frames+0x307/0x490 net/ipv6/icmp.c:303
 icmp6_send+0x1461/0x1e50 net/ipv6/icmp.c:622
 __icmpv6_send include/linux/icmpv6.h:28 [inline]
 icmpv6_send include/linux/icmpv6.h:49 [inline]
 ip6_link_failure+0x36/0x190 net/ipv6/route.c:2786
 dst_link_failure include/net/dst.h:423 [inline]
 ipip6_tunnel_xmit net/ipv6/sit.c:1039 [inline]
 sit_tunnel_xmit+0xbe1/0x2510 net/ipv6/sit.c:1076
 __netdev_start_xmit include/linux/netdevice.h:4908 [inline]
 netdev_start_xmit include/linux/netdevice.h:4922 [inline]
 xmit_one net/core/dev.c:3602 [inline]
 dev_hard_start_xmit+0x1de/0x630 net/core/dev.c:3618
 __dev_queue_xmit+0x18c0/0x3700 net/core/dev.c:4268
 dev_queue_xmit include/linux/netdevice.h:3076 [inline]
 neigh_connected_output+0x41b/0x4b0 net/core/neighbour.c:1581
 neigh_output include/net/neighbour.h:552 [inline]
 ip6_finish_output2+0x104a/0x1820 net/ipv6/ip6_output.c:134
 __ip6_finish_output net/ipv6/ip6_output.c:195 [inline]
 ip6_finish_output+0x5d9/0xb60 net/ipv6/ip6_output.c:206
 NF_HOOK_COND include/linux/netfilter.h:294 [inline]
 ip6_output+0x1f7/0x4d0 net/ipv6/ip6_output.c:227
 dst_output include/net/dst.h:444 [inline]
 ip6_local_out+0x1ff/0x480 net/ipv6/output_core.c:161
 ip6_send_skb+0x82/0x190 net/ipv6/ip6_output.c:1989
 udp_v6_send_skb+0xbf3/0x17e0 net/ipv6/udp.c:1292
 udpv6_sendmsg+0x222b/0x3020 net/ipv6/udp.c:1586
 inet6_sendmsg+0xa1/0xc0 net/ipv6/af_inet6.c:667
 sock_sendmsg_nosec net/socket.c:716 [inline]
 sock_sendmsg net/socket.c:736 [inline]
 ____sys_sendmsg+0x5dc/0x9d0 net/socket.c:2482
 ___sys_sendmsg net/socket.c:2536 [inline]
 __sys_sendmmsg+0x3b9/0x6f0 net/socket.c:2622
 __do_sys_sendmmsg net/socket.c:2651 [inline]
 __se_sys_sendmmsg net/socket.c:2648 [inline]
 __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2648
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fa465e7cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007fa466b510c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007fa465f9c1f0 RCX: 00007fa465e7cae9
RDX: 040000000000035c RSI: 0000000020001700 RDI: 0000000000000005
RBP: 00007fa465ec847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa465f9c1f0 R15: 00007ffcacdfc3c8
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10945 Comm: syz-executor.4 Tainted: G        W          6.1.43-syzkaller-00235-g35361bdac25a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
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:1066
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 ab 18 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:ffffc9000803ebe0 EFLAGS: 00000246
RAX: 0000000000000003 RBX: 1ffff92001007d80 RCX: ffffffff84fbdbec
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffffff873a54ac
RBP: ffffc9000803ec90 R08: dffffc0000000000 R09: fffffbfff0e74a96
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffffff873a54ac R14: 0000000000000003 R15: 1ffff92001007d84
FS:  00007ff5bd1ff6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9cbe79d988 CR3: 000000013ab64000 CR4: 00000000003506a0
DR0: 000000000000d8dd DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <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]
 get_dist_table+0x215/0x2e0 net/sched/sch_netem.c:798
 netem_change+0x9ec/0x20b0 net/sched/sch_netem.c:985
 netem_init+0x5b/0xb0 net/sched/sch_netem.c:1072
 qdisc_create+0x889/0x1160 net/sched/sch_api.c:1314
 tc_modify_qdisc+0x8d0/0x19c0
 rtnetlink_rcv_msg+0x9a5/0xca0 net/core/rtnetlink.c:6103
 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2525
 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:6121
 netlink_unicast_kernel net/netlink/af_netlink.c:1328 [inline]
 netlink_unicast+0x8ee/0xad0 net/netlink/af_netlink.c:1354
 netlink_sendmsg+0xa15/0xd30 net/netlink/af_netlink.c:1903
 sock_sendmsg_nosec net/socket.c:716 [inline]
 sock_sendmsg net/socket.c:736 [inline]
 ____sys_sendmsg+0x5dc/0x9d0 net/socket.c:2482
 ___sys_sendmsg net/socket.c:2536 [inline]
 __sys_sendmsg+0x2a9/0x390 net/socket.c:2565
 __do_sys_sendmsg net/socket.c:2574 [inline]
 __se_sys_sendmsg net/socket.c:2572 [inline]
 __x64_sys_sendmsg+0x7f/0x90 net/socket.c:2572
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff5bdc7cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007ff5bd1ff0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ff5bdd9bf80 RCX: 00007ff5bdc7cae9
RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000004
RBP: 00007ff5bdcc847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007ff5bdd9bf80 R15: 00007ffcdadf1638
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/27 01:19 android14-6.1 35361bdac25a bf285f0c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: soft lockup in sys_sendmmsg
* Struck through repros no longer work on HEAD.