rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=ab34/1/0x4000000000000000 softirq=45618/45618 fqs=1 rcu: (detected by 1, t=10504 jiffies, g=56813, q=116 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5613 Comm: syz-executor.4 Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:lock_acquire+0x2e/0x520 kernel/locking/lockdep.c:5673 Code: 48 b8 00 00 00 00 00 fc ff df 41 57 41 89 f7 41 56 49 89 fe 41 55 41 89 d5 41 54 41 89 cc 55 44 89 c5 53 48 81 ec b0 00 00 00 <48> 8d 5c 24 10 4c 89 0c 24 48 c7 44 24 10 b3 8a b5 41 48 c1 eb 03 RSP: 0018:ffffc90000007d40 EFLAGS: 00000082 RAX: dffffc0000000000 RBX: ffff888078e02340 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880b982b858 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: ffffc90000007ff8 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8880b982b858 R15: 0000000000000000 FS: 0000555556e7d400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005630b3ef8aa4 CR3: 000000003d9c9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x23e/0xbe0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 e6 eb 51 f7 48 89 ef e8 0e 5a 52 f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 7f 2f 44 f7 65 8b 05 c0 9c f0 75 85 c0 74 0a 5b 5d c3 e8 3c e6 RSP: 0018:ffffc900037dfc80 EFLAGS: 00000206 RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff1cf3381 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffff8880b982b840 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff1cf398a R11: 0000000000000001 R12: 0000000000000001 R13: dffffc0000000000 R14: ffffc900037dfdd8 R15: ffff8880274981c0 hrtimer_start_expires include/linux/hrtimer.h:432 [inline] hrtimer_sleeper_start_expires kernel/time/hrtimer.c:1965 [inline] do_nanosleep+0x131/0x4f0 kernel/time/hrtimer.c:2041 hrtimer_nanosleep+0x19b/0x430 kernel/time/hrtimer.c:2097 common_nsleep+0xa6/0xd0 kernel/time/posix-timers.c:1240 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1281 [inline] __se_sys_clock_nanosleep kernel/time/posix-timers.c:1258 [inline] __x64_sys_clock_nanosleep+0x32e/0x480 kernel/time/posix-timers.c:1258 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f91f9cb10b1 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 aa e7 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 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f RSP: 002b:00007ffc8ae1fee0 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000000000000449 RCX: 00007f91f9cb10b1 RDX: 00007ffc8ae1ff20 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffc8ae1ffac R08: 0000000000000000 R09: 00007ffc8ae33080 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 000000000010dc1b R14: 0000000000000004 R15: 00007ffc8ae20010 rcu: rcu_preempt kthread starved for 10497 jiffies! g56813 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:28560 pid:15 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 12755 Comm: kworker/1:0 Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: events bpf_prog_free_deferred RIP: 0010:csd_lock_wait kernel/smp.c:285 [inline] RIP: 0010:smp_call_function_many_cond+0x67f/0x15a0 kernel/smp.c:828 Code: 89 ee e8 74 3c 0b 00 85 ed 74 48 48 8b 44 24 08 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 f4 83 c5 03 e8 33 40 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 ad 0c 00 00 8b 43 08 31 RSP: 0018:ffffc900037cf948 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffffe8ffffc0b360 RCX: 0000000000000000 RDX: ffff88802460a0c0 RSI: ffffffff817827ad RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000094001 R12: fffff91ffff8166d R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f91faa4f718 CR3: 000000001eee0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:996 __purge_vmap_area_lazy+0x207/0x1e60 mm/vmalloc.c:1750 _vm_unmap_aliases.part.0+0x78/0x550 mm/vmalloc.c:2262 _vm_unmap_aliases mm/vmalloc.c:2236 [inline] vm_reset_perms mm/vmalloc.c:2709 [inline] vfree+0x565/0x7e0 mm/vmalloc.c:2788 bpf_prog_unlock_free include/linux/filter.h:891 [inline] bpf_jit_free include/linux/filter.h:1180 [inline] bpf_prog_free_deferred+0x544/0x730 kernel/bpf/core.c:2590 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308