watchdog: BUG: soft lockup - CPU#1 stuck for 111s! [syz-executor.1:6260]
Modules linked in:
CPU: 1 PID: 6260 Comm: syz-executor.1 Tainted: G W 5.10.209-syzkaller-00032-gc449d2a618ef #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:kasan_check_range+0x8/0x2a0 mm/kasan/generic.c:188
Code: 89 c7 e8 db c9 03 03 31 c0 5d c3 0f 0b eb 02 0f 0b b8 ea ff ff ff 5d c3 cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 41 57 41 56 <41> 55 41 54 53 b0 01 48 85 f6 0f 84 a4 01 00 00 48 89 fb 48 01 f3
RSP: 0018:ffffc90000c46830 EFLAGS: 00000256
RAX: 0000000000000001 RBX: 1ffff92000188d0c RCX: ffffffff84b11ae4
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90000c46880
RBP: ffffc90000c46840 R08: dffffc0000000000 R09: fffff52000188db3
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffc90000c46d94 R14: 1ffff92000188d10 R15: ffffc90000c46880
FS: 00007fe9e054f6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 00000001133db000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37
instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
atomic_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:706 [inline]
queued_spin_lock include/asm-generic/qspinlock.h:82 [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+0xa4/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 net/tipc/node.c:1739 [inline]
tipc_node_distr_xmit+0x36a/0x4d0 net/tipc/node.c:1754
tipc_sk_rcv+0x177d/0x1e30 net/tipc/socket.c:2497
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:1050 [inline]
__release_sock+0x148/0x410 net/core/sock.c:2571
release_sock net/core/sock.c:3122 [inline]
sock_setsockopt+0x1e3b/0x2e00 net/core/sock.c:1257
__sys_setsockopt+0x441/0x870 net/socket.c:2142
__do_sys_setsockopt net/socket.c:2157 [inline]
__se_sys_setsockopt net/socket.c:2154 [inline]
__x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2154
do_syscall_64+0x34/0x70
entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7fe9e17fcea9
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:00007fe9e054f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007fe9e192b050 RCX: 00007fe9e17fcea9
RDX: 0000000000000021 RSI: 0000000000000001 RDI: 0000000000000003
RBP: 00007fe9e18494a4 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000540 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fe9e192b050 R15: 00007ffd27205d78
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 6256 Comm: syz-executor.1 Tainted: G W 5.10.209-syzkaller-00032-gc449d2a618ef #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 55 4c d5 03 f4 eb 0e 0f 1f 44 00 00 0f 00 2d 46 4c 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:ffffc90000ab79e0 EFLAGS: 00000246
RAX: 0000000000000003 RBX: 1ffff92000156f40 RCX: ffffffff8150b554
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffc90000ab7a20
RBP: ffffc90000ab7a90 R08: dffffc0000000000 R09: ffffed1023655472
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88811b2aa388 R14: 0000000000000003 R15: 0000000000000246
FS: 00005555559c2480(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32f24000 CR3: 00000001133db000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
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_release+0x57/0x1440 net/tipc/socket.c:626
__sock_release net/socket.c:597 [inline]
sock_close+0xdf/0x270 net/socket.c:1286
__fput+0x309/0x760 fs/file_table.c:281
____fput+0x15/0x20 fs/file_table.c:314
task_work_run+0x129/0x190 kernel/task_work.c:164
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+0xc5/0x1d0 kernel/entry/common.c:274
do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56
entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7fe9e17fbd9a
Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24
RSP: 002b:00007ffd27205e40 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fe9e17fbd9a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007fe9e192c980 R08: 0000001b31a60000 R09: 00007ffd272370b0
R10: 0000000000035c4c R11: 0000000000000293 R12: 00000000001258ab
R13: 00000000001255c8 R14: 00007ffd27206000 R15: 00007fe9e17b3cb0
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 1-...!: (1 GPs behind) idle=136/1/0x4000000000000000 softirq=151127/151128 fqs=37 last_accelerate: 5fd6/86e9 dyntick_enabled: 1
(t=10000 jiffies g=181249 q=189)
rcu: rcu_preempt kthread starved for 9920 jiffies! g181249 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt state:I stack: 0 pid: 13 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4046 [inline]
__schedule+0xbe6/0x1330 kernel/sched/core.c:4804
schedule+0x13d/0x1d0 kernel/sched/core.c:4882
schedule_timeout+0x18c/0x360 kernel/time/timer.c:1883
rcu_gp_fqs_loop kernel/rcu/tree.c:1943 [inline]
rcu_gp_kthread+0xefc/0x23a0 kernel/rcu/tree.c:2117
kthread+0x34b/0x3d0 kernel/kthread.c:313
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299
NMI backtrace for cpu 1
CPU: 1 PID: 6260 Comm: syz-executor.1 Tainted: G W L 5.10.209-syzkaller-00032-gc449d2a618ef #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118
dump_stack+0x15/0x17 lib/dump_stack.c:135
nmi_cpu_backtrace lib/nmi_backtrace.c:105 [inline]
nmi_trigger_cpumask_backtrace+0x2b5/0x300 lib/nmi_backtrace.c:62
arch_trigger_cpumask_backtrace+0x10/0x20 arch/x86/kernel/apic/hw_nmi.c:39
trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
rcu_dump_cpu_stacks+0x199/0x2b0 kernel/rcu/tree_stall.h:337
print_cpu_stall kernel/rcu/tree_stall.h:576 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:659 [inline]
rcu_pending kernel/rcu/tree.c:3783 [inline]
rcu_sched_clock_irq+0xf8a/0x1890 kernel/rcu/tree.c:2590
update_process_times+0x198/0x200 kernel/time/timer.c:1718
tick_sched_handle kernel/time/tick-sched.c:225 [inline]
tick_sched_timer+0x188/0x240 kernel/time/tick-sched.c:1389
__run_hrtimer kernel/time/hrtimer.c:1583 [inline]
__hrtimer_run_queues+0x3d7/0xa50 kernel/time/hrtimer.c:1647
hrtimer_interrupt+0x39a/0x8b0 kernel/time/hrtimer.c:1709
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline]
__sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1100
asm_call_irq_on_stack+0xf/0x20
__run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline]
run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline]
sysvec_apic_timer_interrupt+0x85/0xe0 arch/x86/kernel/apic/apic.c:1094
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:kasan_check_range+0xc/0x2a0 mm/kasan/generic.c:188
Code: c9 03 03 31 c0 5d c3 0f 0b eb 02 0f 0b b8 ea ff ff ff 5d c3 cc cc cc cc cc cc cc cc cc cc 55 48 89 e5 41 57 41 56 41 55 41 54 <53> b0 01 48 85 f6 0f 84 a4 01 00 00 48 89 fb 48 01 f3 0f 82 67 02
RSP: 0018:ffffc90000c467c0 EFLAGS: 00000286
RAX: 00000000000003e8 RBX: 0000000000000004 RCX: ffffffff8497f15f
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff88811b2aa380
RBP: ffffc90000c467e0 R08: ffffffff8497ef9f R09: 0000000000000003
R10: fffff52000188d10 R11: dffffc0000000001 R12: fffffffffffffc18
R13: ffff88811b2aa300 R14: ffff88811b2aa380 R15: 000000000000035c
__kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37
instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
atomic_fetch_add_relaxed include/asm-generic/atomic-instrumented.h:142 [inline]
__refcount_add include/linux/refcount.h:193 [inline]
__refcount_inc include/linux/refcount.h:250 [inline]
refcount_inc include/linux/refcount.h:267 [inline]
sock_hold include/net/sock.h:732 [inline]
tipc_sk_lookup+0x4df/0x650 net/tipc/socket.c:2999
tipc_sk_rcv+0x499/0x1e30 net/tipc/socket.c:2488
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_rcv+0x177d/0x1e30 net/tipc/socket.c:2497
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:1050 [inline]
__release_sock+0x148/0x410 net/core/sock.c:2571
release_sock net/core/sock.c:3122 [inline]
sock_setsockopt+0x1e3b/0x2e00 net/core/sock.c:1257
__sys_setsockopt+0x441/0x870 net/socket.c:2142
__do_sys_setsockopt net/socket.c:2157 [inline]
__se_sys_setsockopt net/socket.c:2154 [inline]
__x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2154
do_syscall_64+0x34/0x70
entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7fe9e17fcea9
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:00007fe9e054f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007fe9e192b050 RCX: 00007fe9e17fcea9
RDX: 0000000000000021 RSI: 0000000000000001 RDI: 0000000000000003
RBP: 00007fe9e18494a4 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000020000540 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fe9e192b050 R15: 00007ffd27205d78