rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=82b/1/0x4000000000000000 softirq=64200/64202 fqs=2 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3921/1:b..l (detected by 1, t=10506 jiffies, g=90809, q=207) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2967 Comm: udevd Not tainted 5.18.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:advance_sched+0x38a/0x8c0 net/sched/sch_taprio.c:742 Code: 49 8d 6f 30 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 ef e8 0d 8f 77 f9 48 03 5d 00 49 89 1e <4d> 89 ee eb 2a e8 ec a6 26 f9 48 b8 00 00 00 00 00 fc ff df 41 80 RSP: 0018:ffffc90000007c80 EFLAGS: 00000002 RAX: 1ffff1100fd68816 RBX: 17cff4eaaf9fe9d5 RCX: dffffc0000000000 RDX: 0000000080010001 RSI: 17cff4ea2f9fe9d4 RDI: 17cff4ea2f9fe9d4 RBP: ffff88807eb440b0 R08: ffffffff885f6dec R09: fffff52000000f80 R10: fffff52000000f81 R11: 1ffff92000000f80 R12: 1ffff11006b8dc12 R13: ffff888035c6e080 R14: ffff88807eb440a8 R15: ffff88807eb44080 FS: 00007f1a85c93840(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33a22000 CR3: 000000001b7b1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:lock_is_held_type+0x158/0x190 kernel/locking/lockdep.c:5689 Code: 00 75 46 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e <41> 5f 5d c3 0f 0b 48 c7 c7 60 04 8d 8a e8 f6 0e 00 00 65 c7 05 fb RSP: 0018:ffffc90002d0fb68 EFLAGS: 00000286 RAX: 0000000000000000 RBX: 0000000000000cc0 RCX: ffffc90002d0fb03 RDX: 0000000000000000 RSI: ffffffff8a8d1700 RDI: ffffffff8ae88e60 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1c02e56 R10: fffffbfff1c02e56 R11: 1ffffffff1c02e55 R12: 0000000000000000 R13: 0000000000001000 R14: dffffc0000000000 R15: ffffffff8cb1afa0 lock_is_held include/linux/lockdep.h:283 [inline] __might_resched+0xdf/0x6a0 kernel/sched/core.c:9701 might_alloc include/linux/sched/mm.h:265 [inline] slab_pre_alloc_hook mm/slab.h:722 [inline] slab_alloc_node mm/slub.c:3131 [inline] slab_alloc mm/slub.c:3225 [inline] __kmem_cache_alloc_lru mm/slub.c:3232 [inline] kmem_cache_alloc+0x5a/0x2f0 mm/slub.c:3242 getname_flags+0xb8/0x4e0 fs/namei.c:138 do_sys_openat2+0xd2/0x500 fs/open.c:1207 do_sys_open fs/open.c:1229 [inline] __do_sys_openat fs/open.c:1245 [inline] __se_sys_openat fs/open.c:1240 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1240 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f1a85d8e697 Code: 25 00 00 41 00 3d 00 00 41 00 74 37 64 8b 04 25 18 00 00 00 85 c0 75 5b 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 85 00 00 00 48 83 c4 68 5d 41 5c c3 0f 1f RSP: 002b:00007fff4f5384b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055dd9ad06040 RCX: 00007f1a85d8e697 RDX: 0000000000080141 RSI: 000055dd9ace90d8 RDI: 00000000ffffff9c RBP: 000055dd9ace90d8 R08: 00000000ffffffff R09: 0000000000000000 R10: 00000000000001a4 R11: 0000000000000246 R12: 0000000000080141 R13: ffffffffffffffff R14: 00000000ffffffff R15: 00000000ffffffff task:kworker/u4:10 state:R running task stack:24800 pid: 3921 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6388 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6696 irqentry_exit+0x56/0x90 kernel/entry/common.c:428 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:lock_acquire+0x32/0x400 kernel/locking/lockdep.c:5609 Code: 41 55 41 54 53 48 83 e4 e0 48 81 ec 20 01 00 00 44 89 c3 41 89 f7 49 89 fe 65 48 8b 04 25 28 00 00 00 48 89 84 24 00 01 00 00 <49> bc 00 00 00 00 00 fc ff df 48 c7 44 24 40 b3 8a b5 41 48 c7 44 RSP: 0018:ffffc900046878c0 EFLAGS: 00000286 RAX: 041d0cfc5ed32100 RBX: 0000000000000000 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8cb1b020 RBP: ffffc90004687a20 R08: 0000000000000000 R09: 0000000000000000 R10: fffffbfff1c02e56 R11: 1ffffffff1c02e55 R12: dffffc0000000000 R13: 1ffffffff1bb1f44 R14: ffffffff8cb1b020 R15: 0000000000000000 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:268 rcu_read_lock include/linux/rcupdate.h:694 [inline] inet_twsk_purge+0x11b/0x890 net/ipv4/inet_timewait_sock.c:269 ops_exit_list net/core/net_namespace.c:167 [inline] cleanup_net+0x80c/0xc50 net/core/net_namespace.c:594 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 rcu: rcu_preempt kthread timer wakeup didn't happen for 10494 jiffies! g90809 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=61871 rcu: rcu_preempt kthread starved for 10495 jiffies! g90809 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:26424 pid: 16 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6388 schedule+0xeb/0x1b0 kernel/sched/core.c:6460 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x2b9/0xfb0 kernel/rcu/tree.c:1971 rcu_gp_kthread+0xa5/0x360 kernel/rcu/tree.c:2144 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 1 CPU: 1 PID: 3944 Comm: kworker/u4:13 Not tainted 5.18.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_check_gp_kthread_starvation+0x1da/0x250 kernel/rcu/tree_stall.h:490 print_other_cpu_stall+0x13fa/0x1550 kernel/rcu/tree_stall.h:595 check_cpu_stall kernel/rcu/tree_stall.h:741 [inline] rcu_pending kernel/rcu/tree.c:3923 [inline] rcu_sched_clock_irq+0x928/0x18d0 kernel/rcu/tree.c:2625 update_process_times+0x197/0x200 kernel/time/timer.c:1788 tick_sched_handle kernel/time/tick-sched.c:243 [inline] tick_sched_timer+0x377/0x540 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:csd_lock_wait kernel/smp.c:411 [inline] RIP: 0010:smp_call_function_many_cond+0xf17/0x1500 kernel/smp.c:969 Code: fe 83 e6 01 31 ff e8 c8 3e 0c 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 08 e8 93 3a 0c 00 eb 46 90 f3 90 42 0f b6 04 3b <84> c0 75 11 41 f7 04 24 01 00 00 00 74 2b e8 76 3a 0c 00 eb e4 44 RSP: 0018:ffffc900050e7780 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff11017348411 RCX: ffff8880165a0000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900050e7940 R08: ffffffff8179dac8 R09: fffffbfff1f643f9 R10: fffffbfff1f643f9 R11: 1ffffffff1f643f8 R12: ffff8880b9a42088 R13: 1ffff11017367598 R14: 0000000000000000 R15: dffffc0000000000 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1184 [inline] text_poke_bp_batch+0x31d/0x960 arch/x86/kernel/alternative.c:1372 text_poke_flush arch/x86/kernel/alternative.c:1542 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1549 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x470 mm/kfence/core.c:774 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 vkms_vblank_simulate: vblank timer overrun ---------------- Code disassembly (best guess): 0: 49 8d 6f 30 lea 0x30(%r15),%rbp 4: 48 89 e8 mov %rbp,%rax 7: 48 c1 e8 03 shr $0x3,%rax b: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 12: fc ff df 15: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) 19: 74 08 je 0x23 1b: 48 89 ef mov %rbp,%rdi 1e: e8 0d 8f 77 f9 callq 0xf9778f30 23: 48 03 5d 00 add 0x0(%rbp),%rbx 27: 49 89 1e mov %rbx,(%r14) * 2a: 4d 89 ee mov %r13,%r14 <-- trapping instruction 2d: eb 2a jmp 0x59 2f: e8 ec a6 26 f9 callq 0xf926a720 34: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 3b: fc ff df 3e: 41 rex.B 3f: 80 .byte 0x80