syzbot


BUG: soft lockup in tipc_disc_timeout

Status: auto-obsoleted due to no activity on 2023/11/05 03:35
Reported-by: syzbot+1cbd4ee0d816b0f72d62@syzkaller.appspotmail.com
First crash: 474d, last: 474d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: soft lockup in tipc_disc_timeout (2) 1 776d 776d 0/1 auto-obsoleted due to no activity on 2023/02/06 01:50
linux-4.19 BUG: soft lockup in tipc_disc_timeout 2 1160d 1161d 0/1 auto-closed as invalid on 2022/01/17 13:56
upstream INFO: rcu detected stall in tipc_disc_timeout (3) net 1 140d 140d 0/28 auto-obsoleted due to no activity on 2024/10/03 12:56

Sample crash report:
watchdog: BUG: soft lockup - CPU#0 stuck for 246s! [swapper/0:0]
Modules linked in:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.120-syzkaller-00229-g748fd0d9ca0f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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:918
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 3b 00 f3 03 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:ffffc900000076a0 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 1ffff92000000ed8 RCX: 1ffffffff0d1a934
RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8881f7037ed4
RBP: ffffc90000007750 R08: dffffc0000000000 R09: ffffed103ee06fdb
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881f7037ed4 R14: 0000000000000001 R15: 1ffff92000000edc
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007feb78bbed00 CR3: 0000000156013000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 pv_wait arch/x86/include/asm/paravirt.h:597 [inline]
 pv_wait_node kernel/locking/qspinlock_paravirt.h:325 [inline]
 __pv_queued_spin_lock_slowpath+0x41b/0xc40 kernel/locking/qspinlock.c:473
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [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:187 [inline]
 __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline]
 _raw_spin_lock+0x139/0x1b0 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:363 [inline]
 __dev_xmit_skb net/core/dev.c:3855 [inline]
 __dev_queue_xmit+0xb7b/0x2e70 net/core/dev.c:4197
 dev_queue_xmit+0x17/0x20 net/core/dev.c:4265
 tipc_l2_send_msg+0x296/0x320 net/tipc/bearer.c:514
 tipc_bearer_xmit_skb+0x2b1/0x3b0 net/tipc/bearer.c:560
 tipc_disc_timeout+0x6fa/0x8b0 net/tipc/discover.c:338
 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1427
 expire_timers kernel/time/timer.c:1472 [inline]
 __run_timers+0x72a/0xa10 kernel/time/timer.c:1743
 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1756
 __do_softirq+0x26d/0x5bf kernel/softirq.c:565
 invoke_softirq kernel/softirq.c:425 [inline]
 __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:647
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:659
 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1096
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:40 [inline]
RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:75 [inline]
RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:110 [inline]
RIP: 0010:acpi_idle_do_entry drivers/acpi/processor_idle.c:570 [inline]
RIP: 0010:acpi_idle_enter+0x416/0x760 drivers/acpi/processor_idle.c:705
Code: 89 de 48 83 e6 08 31 ff e8 67 08 aa fc 48 83 e3 08 0f 85 b0 00 00 00 0f 1f 44 00 00 e8 13 04 aa fc 0f 00 2d ac 2c c3 00 fb f4 <fa> e9 e1 00 00 00 49 83 c7 04 4c 89 f8 48 c1 e8 03 42 0f b6 04 30
RSP: 0018:ffffffff86807bf0 EFLAGS: 000002d3
RAX: ffffffff84c5ddad RBX: 0000000000000000 RCX: ffffffff8681d280
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffff86807c30 R08: ffffffff84c5dd99 R09: fffffbfff0d03a51
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: ffff888103d83804 R14: dffffc0000000000 R15: ffff888106382864
 cpuidle_enter_state+0x5e1/0x1550 drivers/cpuidle/cpuidle.c:249
 cpuidle_enter+0x5f/0xa0 drivers/cpuidle/cpuidle.c:364
 call_cpuidle kernel/sched/idle.c:158 [inline]
 cpuidle_idle_call kernel/sched/idle.c:239 [inline]
 do_idle+0x36b/0x5d0 kernel/sched/idle.c:306
 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:403
 rest_init+0x10b/0x130 init/main.c:736
 arch_call_rest_init+0xe/0x10 init/main.c:889
 start_kernel+0x462/0x4ce init/main.c:1144
 x86_64_start_reservations+0x2a/0x2c arch/x86/kernel/head64.c:527
 x86_64_start_kernel+0x5b/0x5e arch/x86/kernel/head64.c:508
 secondary_startup_64_no_verify+0xb1/0xbb
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 6146 Comm: syz-executor.4 Not tainted 5.15.120-syzkaller-00229-g748fd0d9ca0f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x5ba/0xc40 kernel/locking/qspinlock.c:508
Code: 00 00 49 89 dc c6 03 00 48 8b 44 24 10 0f b6 04 10 84 c0 0f 85 48 01 00 00 48 8b 44 24 08 c6 00 01 bb 00 80 ff ff eb 06 f3 90 <ff> c3 74 5e 41 0f b6 44 15 00 84 c0 75 36 41 80 3f 00 75 ea 4c 89
RSP: 0018:ffffc90000146bc0 EFLAGS: 00000206
RAX: 0000000000000000 RBX: 00000000ffff9162 RCX: ffffffff8154c8bf
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffffff86f3bdec
RBP: ffffc90000146cb0 R08: dffffc0000000000 R09: fffffbfff0de77be
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f7137ed4
R13: 1ffffffff0de77bd R14: 1ffff1103ee20001 R15: ffffffff86f3bdec
FS:  00007ff84190a6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30422000 CR3: 00000001233c6000 CR4: 00000000003526a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [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:187 [inline]
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline]
 _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:368 [inline]
 get_dist_table+0x207/0x2e0 net/sched/sch_netem.c:798
 netem_change+0xa05/0x20c0 net/sched/sch_netem.c:988
 netem_init+0x5b/0xb0 net/sched/sch_netem.c:1075
 qdisc_create+0x890/0x12e0 net/sched/sch_api.c:1264
 tc_modify_qdisc+0x8b4/0x14b0
 rtnetlink_rcv_msg+0x951/0xc40 net/core/rtnetlink.c:5599
 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2505
 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:5617
 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
 netlink_unicast+0x8df/0xac0 net/netlink/af_netlink.c:1356
 netlink_sendmsg+0xa0a/0xd20 net/netlink/af_netlink.c:1924
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg net/socket.c:724 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2412
 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2466
 __sys_sendmsg net/socket.c:2495 [inline]
 __do_sys_sendmsg net/socket.c:2504 [inline]
 __se_sys_sendmsg+0x19a/0x260 net/socket.c:2502
 __x64_sys_sendmsg+0x7b/0x90 net/socket.c:2502
 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+0x61/0xcb
RIP: 0033:0x7ff842b87ae9
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:00007ff84190a0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ff842ca6f80 RCX: 00007ff842b87ae9
RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000004
RBP: 00007ff842bd347a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007ff842ca6f80 R15: 00007ffe8cb8beb8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/07 03:32 android13-5.15-lts 748fd0d9ca0f 4ffcc9ef .config console log report info ci2-android-5-15 BUG: soft lockup in tipc_disc_timeout
* Struck through repros no longer work on HEAD.