rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=c53/1/0x4000000000000000 softirq=8975/8976 fqs=1 (t=10501 jiffies g=9133 q=48 ncpus=2) rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g9133 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=7034 rcu: rcu_preempt kthread starved for 10502 jiffies! g9133 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1 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:29264 pid: 16 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5106 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6421 schedule+0xd2/0x1f0 kernel/sched/core.c:6493 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1907 rcu_gp_fqs_loop+0x1c0/0x840 kernel/rcu/tree.c:2078 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2267 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 45 Comm: kworker/u4:2 Not tainted 5.18.0-rc3-next-20220422-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: tipc_send tipc_conn_send_work RIP: 0010:lock_acquire+0x227/0x570 kernel/locking/lockdep.c:5669 Code: 00 00 00 00 48 8b 84 24 a8 00 00 00 65 48 2b 04 25 28 00 00 00 0f 85 e1 02 00 00 48 81 c4 b0 00 00 00 5b 5d 41 5c 41 5d 41 5e <41> 5f c3 65 8b 05 a7 4c a4 7e 85 c0 75 b0 65 8b 05 94 42 a4 7e a9 RSP: 0018:ffffc9000115f940 EFLAGS: 00000086 RAX: 0000000000000000 RBX: 0000000000001638 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8db95910 RBP: ffffffff90751c40 R08: 0000000000000000 R09: ffffffff8db95917 R10: fffffbfff1b72b22 R11: 0000000000000000 R12: 0000000000000202 R13: ffffffff89cebd40 R14: ffff888023b3fc58 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000207bd000 CR3: 000000004e7cc000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 debug_object_assert_init lib/debugobjects.c:877 [inline] debug_object_assert_init+0x101/0x2e0 lib/debugobjects.c:866 debug_timer_assert_init kernel/time/timer.c:762 [inline] debug_assert_init kernel/time/timer.c:807 [inline] try_to_del_timer_sync+0x6d/0x110 kernel/time/timer.c:1252 del_timer_sync+0x138/0x1b0 kernel/time/timer.c:1405 tipc_sub_unsubscribe+0x68/0x270 net/tipc/subscr.c:180 tipc_conn_delete_sub+0x249/0x460 net/tipc/topsrv.c:237 tipc_conn_send_to_sock+0x386/0x570 net/tipc/topsrv.c:265 tipc_conn_send_work+0xd1/0x120 net/tipc/topsrv.c:303 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 NMI backtrace for cpu 0 CPU: 0 PID: 4651 Comm: syz-executor.5 Not tainted 5.18.0-rc3-next-20220422-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x262/0x3f0 kernel/rcu/tree_stall.h:369 print_cpu_stall kernel/rcu/tree_stall.h:665 [inline] check_cpu_stall kernel/rcu/tree_stall.h:749 [inline] rcu_pending kernel/rcu/tree.c:4068 [inline] rcu_sched_clock_irq.cold+0x144/0x8fc kernel/rcu/tree.c:2755 update_process_times+0x16d/0x200 kernel/time/timer.c:1811 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:243 tick_sched_timer+0xee/0x120 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:kvm_wait+0x98/0x100 arch/x86/kernel/kvm.c:1058 Code: fa 83 e2 07 38 d0 7f 04 84 c0 75 63 0f b6 07 40 38 c6 74 35 48 83 c4 10 c3 c3 e8 23 91 4b 00 eb 07 0f 00 2d da b1 94 08 fb f4 <48> 83 c4 10 c3 89 74 24 0c 48 89 3c 24 e8 56 8f 4b 00 8b 74 24 0c RSP: 0018:ffffc90000007618 EFLAGS: 00000246 RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffffffff1b73199 RDX: 0000000000000000 RSI: ffffffff81807171 RDI: ffffffff8134dffd RBP: ffff88804c03a6c8 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81807158 R11: 0000000000000001 R12: 0000000000000000 R13: ffffed10098074d9 R14: 0000000000000001 R15: ffff8880b9c3ae40 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+0x8c7/0xb50 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:85 [inline] do_raw_spin_lock+0x200/0x2a0 kernel/locking/spinlock_debug.c:115 spin_lock include/linux/spinlock.h:354 [inline] task_lock include/linux/sched/task.h:170 [inline] __get_task_comm+0x23/0x50 fs/exec.c:1219 __set_page_owner_handle mm/page_owner.c:174 [inline] __set_page_owner+0x253/0x380 mm/page_owner.c:192 prep_new_page mm/page_alloc.c:2394 [inline] get_page_from_freelist+0xba2/0x3e00 mm/page_alloc.c:4135 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5356 alloc_pages+0x1aa/0x310 mm/mempolicy.c:2273 alloc_slab_page mm/slub.c:1797 [inline] allocate_slab+0x26c/0x3c0 mm/slub.c:1942 new_slab mm/slub.c:2002 [inline] ___slab_alloc+0x985/0xd90 mm/slub.c:3002 __slab_alloc.constprop.0+0x4d/0xa0 mm/slub.c:3089 slab_alloc_node mm/slub.c:3180 [inline] slab_alloc mm/slub.c:3222 [inline] kmem_cache_alloc_trace+0x310/0x3f0 mm/slub.c:3253 kmalloc include/linux/slab.h:588 [inline] tipc_topsrv_queue_evt+0x20a/0x640 net/tipc/topsrv.c:325 tipc_sub_send_event net/tipc/subscr.c:63 [inline] tipc_sub_timeout+0x282/0x3d0 net/tipc/subscr.c:111 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1444 expire_timers kernel/time/timer.c:1489 [inline] __run_timers.part.0+0x679/0xa80 kernel/time/timer.c:1760 __run_timers kernel/time/timer.c:1738 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1773 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:kasan_check_range+0x12b/0x180 mm/kasan/generic.c:190 Code: 3a 00 74 ef 49 8d 04 2c 48 85 d2 75 0b 48 89 da 48 29 c2 e9 55 ff ff ff 49 39 d2 75 17 49 0f be 02 41 83 e1 07 49 39 c1 7d 0a <5b> b8 01 00 00 00 5d 41 5c c3 44 89 c2 e8 c3 ef ff ff 5b 83 f0 01 RSP: 0018:ffffc9001516f488 EFLAGS: 00000246 RAX: ffffed10098074da RBX: ffffed10098074da RCX: ffffffff815ea4d0 RDX: ffffed10098074da RSI: 0000000000000004 RDI: ffff88804c03a6c8 RBP: ffffed10098074d9 R08: 0000000000000000 R09: ffff88804c03a6cb R10: ffffed10098074d9 R11: 0000000000000001 R12: ffff888012d77568 R13: 0000000000000010 R14: ffff888012d77548 R15: 0000000000000007 instrument_atomic_read include/linux/instrumented.h:71 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] queued_spin_is_locked include/asm-generic/qspinlock.h:28 [inline] debug_spin_unlock kernel/locking/spinlock_debug.c:100 [inline] do_raw_spin_unlock+0x50/0x230 kernel/locking/spinlock_debug.c:140 __raw_spin_unlock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_unlock+0x1a/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:394 [inline] task_unlock include/linux/sched/task.h:175 [inline] __get_task_comm+0x3d/0x50 fs/exec.c:1222 __set_page_owner_handle mm/page_owner.c:174 [inline] __set_page_owner+0x253/0x380 mm/page_owner.c:192 prep_new_page mm/page_alloc.c:2394 [inline] get_page_from_freelist+0xba2/0x3e00 mm/page_alloc.c:4135 __alloc_pages+0x1b2/0x500 mm/page_alloc.c:5356 __alloc_pages_node include/linux/gfp.h:583 [inline] alloc_pages_node include/linux/gfp.h:606 [inline] kmalloc_large_node+0x62/0x130 mm/slub.c:4433 __kmalloc_node_track_caller+0x2ec/0x360 mm/slub.c:4938 kmalloc_reserve net/core/skbuff.c:354 [inline] __alloc_skb+0xde/0x340 net/core/skbuff.c:426 alloc_skb_fclone include/linux/skbuff.h:1387 [inline] tipc_buf_acquire+0x25/0xe0 net/tipc/msg.c:72 tipc_msg_build+0xf5/0x10b0 net/tipc/msg.c:386 __tipc_sendstream+0x6d0/0x11a0 net/tipc/socket.c:1618 tipc_sendstream+0x4c/0x70 net/tipc/socket.c:1549 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 sock_write_iter+0x283/0x3c0 net/socket.c:1061 call_write_iter include/linux/fs.h:2059 [inline] new_sync_write+0x38a/0x560 fs/read_write.c:504 vfs_write+0x7c0/0xac0 fs/read_write.c:591 ksys_write+0x1e8/0x250 fs/read_write.c:644 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f12104890e9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f12115f9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f121059c030 RCX: 00007f12104890e9 RDX: 000000002000011a RSI: 0000000020000080 RDI: 000000000000000e RBP: 00007f12104e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0650000f R14: 00007f12115f9300 R15: 0000000000022000 sched: RT throttling activated ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 48 8b 84 24 a8 00 00 mov 0xa8(%rsp),%rax b: 00 c: 65 48 2b 04 25 28 00 sub %gs:0x28,%rax 13: 00 00 15: 0f 85 e1 02 00 00 jne 0x2fc 1b: 48 81 c4 b0 00 00 00 add $0xb0,%rsp 22: 5b pop %rbx 23: 5d pop %rbp 24: 41 5c pop %r12 26: 41 5d pop %r13 28: 41 5e pop %r14 * 2a: 41 5f pop %r15 <-- trapping instruction 2c: c3 retq 2d: 65 8b 05 a7 4c a4 7e mov %gs:0x7ea44ca7(%rip),%eax # 0x7ea44cdb 34: 85 c0 test %eax,%eax 36: 75 b0 jne 0xffffffe8 38: 65 8b 05 94 42 a4 7e mov %gs:0x7ea44294(%rip),%eax # 0x7ea442d3 3f: a9 .byte 0xa9