rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=aecc/1/0x4000000000000000 softirq=72883/72884 fqs=30 rcu: (detected by 0, t=10505 jiffies, g=86625, q=1559 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5046 Comm: syz-executor.5 Not tainted 6.5.0-rc5-syzkaller-00182-g25aa0bebba72 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:104 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xe4/0x140 kernel/locking/spinlock.c:194 Code: 4c 89 f7 e8 1e c2 1d f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 e8 b3 19 98 f6 65 8b 05 d4 f0 3c 75 <85> c0 74 3f 48 c7 04 24 0e 36 e0 45 4b c7 04 2c 00 00 00 00 65 48 RSP: 0018:ffffc900001e0b60 EFLAGS: 00000093 RAX: 0000000080010002 RBX: 1ffff9200003c170 RCX: 0000000000010003 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffffc900001e0bf0 R08: ffffffff9222c0d3 R09: 1ffffffff244581a R10: dffffc0000000000 R11: fffffbfff244581b R12: dffffc0000000000 R13: 1ffff9200003c16c R14: ffffc900001e0b80 R15: 0000000000000046 FS: 0000555555dda480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa1f6198000 CR3: 0000000032aa4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_object_activate+0x3c4/0x530 lib/debugobjects.c:745 debug_hrtimer_activate kernel/time/hrtimer.c:422 [inline] debug_activate kernel/time/hrtimer.c:477 [inline] enqueue_hrtimer+0x30/0x310 kernel/time/hrtimer.c:1087 __run_hrtimer kernel/time/hrtimer.c:1705 [inline] __hrtimer_run_queues+0x6c0/0xd10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x13f/0x480 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:finish_lock_switch+0x95/0x110 kernel/sched/core.c:5134 Code: 45 31 c9 68 87 4e 61 81 e8 98 be 09 00 48 83 c4 08 4c 89 ff e8 9c ab fe ff 66 90 4c 89 ff e8 92 74 65 09 e8 fd 29 31 00 fb 5b <41> 5c 41 5d 41 5e 41 5f c3 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 83 RSP: 0018:ffffc90003f3f958 EFLAGS: 00000282 RAX: c2dddb43adbde600 RBX: ffff888025c85974 RCX: ffffffff91fac203 RDX: dffffc0000000000 RSI: ffffffff8b0a97e0 RDI: ffffffff8b58ad00 RBP: ffffc90003f3f9d0 R08: ffffffff8e98746f R09: 1ffffffff1d30e8d R10: dffffc0000000000 R11: fffffbfff1d30e8e R12: dffffc0000000000 R13: 1ffff1101732799b R14: ffff8880b993ccd8 R15: ffff8880b993bf80 finish_task_switch+0x134/0x650 kernel/sched/core.c:5251 context_switch kernel/sched/core.c:5384 [inline] __schedule+0x187b/0x48f0 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 do_nanosleep+0x18a/0x610 kernel/time/hrtimer.c:2047 hrtimer_nanosleep+0x226/0x460 kernel/time/hrtimer.c:2100 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline] __se_sys_clock_nanosleep+0x327/0x3b0 kernel/time/posix-timers.c:1373 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7146aa7ef5 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 f6 b9 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 4f ba ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007fff7b40a260 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 00000000000006f9 RCX: 00007f7146aa7ef5 RDX: 00007fff7b40a2a0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fff7b40a32c R08: 0000000000000000 R09: 00007fff7b4bc0b0 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 000000000013f198 R14: 000000000013f185 R15: 0000000000000001 rcu: rcu_preempt kthread starved for 10355 jiffies! g86625 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:25640 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1609 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1808 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 5107 Comm: kworker/0:4 Not tainted 6.5.0-rc5-syzkaller-00182-g25aa0bebba72 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: events fqdir_free_fn RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:203 Code: 00 00 00 00 00 0f 1f 44 00 00 f3 0f 1e fa 53 48 89 fb e8 13 00 00 00 48 8b 3d 84 be 0c 0d 48 89 de 5b e9 83 f9 57 00 0f 1f 00 0f 1e fa 48 8b 04 24 65 48 8b 0d 10 fd 77 7e 65 8b 15 11 fd 77 RSP: 0018:ffffc90004b779d8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 1ffff9200096ef55 RCX: ffff88801fa2bb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004b77b50 R08: ffffffff81806cc9 R09: 1ffffffff1d30e8d R10: dffffc0000000000 R11: fffffbfff1d30e8e R12: 1ffff9200096ef50 R13: dffffc0000000000 R14: ffffc90004b77aa8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8ea10ffac1 CR3: 00000000354aa000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:296 [inline] smp_call_function_single+0x476/0x1510 kernel/smp.c:630 rcu_barrier+0x32e/0x540 kernel/rcu/tree.c:4049 fqdir_free_fn+0x32/0x130 net/ipv4/inet_fragment.c:164 process_one_work+0x92c/0x12c0 kernel/workqueue.c:2600 worker_thread+0xa63/0x1210 kernel/workqueue.c:2751 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304