rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=819/1/0x4000000000000000 softirq=58033/58034 fqs=29 (detected by 1, t=10502 jiffies, g=87601, q=220) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 19046 Comm: syz.0.4237 Not tainted 5.15.183-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:__lock_release kernel/locking/lockdep.c:5311 [inline] RIP: 0010:lock_release+0x244/0x870 kernel/locking/lockdep.c:5643 Code: e8 03 42 0f b6 04 28 84 c0 0f 85 94 04 00 00 41 83 3e 00 0f 85 ca 03 00 00 4d 8d 74 24 20 4c 89 f3 48 c1 eb 03 42 0f b6 04 2b <84> c0 4c 8b 7c 24 20 0f 85 90 04 00 00 41 8b 06 3d 00 00 10 00 72 RSP: 0018:ffffc90000007b60 EFLAGS: 00000802 RAX: 0000000000000000 RBX: 1ffff1100a2a951f RCX: 0000000000000001 RDX: 0000000000000001 RSI: ffff8880b902a218 RDI: ffff88805154a8d8 RBP: ffffc90000007c70 R08: dffffc0000000000 R09: fffffbfff1ad148e R10: fffffbfff1ad148e R11: 1ffffffff1ad148d R12: ffff88805154a8d8 R13: dffffc0000000000 R14: ffff88805154a8f8 R15: 0000000000000001 FS: 00007fde53a4f6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbaf7da6e9c CR3: 000000002f2db000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000c DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_unlock_irqrestore+0x6d/0x100 kernel/locking/spinlock.c:194 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x441/0xc40 kernel/time/hrtimer.c:1754 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1816 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa5/0x100 kernel/locking/spinlock.c:194 Code: 74 05 e8 9e 63 d3 f7 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 76 e3 a6 f7 65 8b 05 e7 f3 57 76 85 c0 74 3c 48 c7 04 24 0e 36 RSP: 0018:ffffc900031af5c0 EFLAGS: 00000206 RAX: f7355b87dba8a300 RBX: 0000000000000a06 RCX: f7355b87dba8a300 RDX: dffffc0000000000 RSI: ffffffff8a0b0fc0 RDI: 0000000000000001 RBP: ffffc900031af650 R08: dffffc0000000000 R09: fffffbfff1ff322f R10: fffffbfff1ff322f R11: 1ffffffff1ff322e R12: dffffc0000000000 R13: 0000000000000000 R14: ffff888052ba26c0 R15: 1ffff92000635eb8 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x11b/0x180 kernel/sched/wait.c:205 __unix_dgram_recvmsg+0x497/0xd50 net/unix/af_unix.c:2331 ____sys_recvmsg+0x291/0x580 net/socket.c:-1 ___sys_recvmsg+0x1af/0x4f0 net/socket.c:2697 do_recvmmsg+0x344/0x7a0 net/socket.c:2791 __sys_recvmmsg net/socket.c:2870 [inline] __do_sys_recvmmsg net/socket.c:2893 [inline] __se_sys_recvmmsg net/socket.c:2886 [inline] __x64_sys_recvmmsg+0x18d/0x240 net/socket.c:2886 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fde55c08969 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fde53a4f038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fde55e30080 RCX: 00007fde55c08969 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000003 RBP: 00007fde55c8aab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fde55e30080 R15: 00007ffc7548b398 rcu: rcu_preempt kthread starved for 10440 jiffies! g87601 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:27296 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x29e/0x11b0 kernel/rcu/tree.c:1972 rcu_gp_kthread+0x98/0x350 kernel/rcu/tree.c:2145 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 1 CPU: 1 PID: 19055 Comm: syz.7.4241 Not tainted 5.15.183-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_check_gp_kthread_starvation+0x1cd/0x250 kernel/rcu/tree_stall.h:487 print_other_cpu_stall+0x10c8/0x1220 kernel/rcu/tree_stall.h:592 check_cpu_stall kernel/rcu/tree_stall.h:745 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0x831/0x1110 kernel/rcu/tree.c:2619 update_process_times+0x193/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x37d/0x560 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1690 [inline] __hrtimer_run_queues+0x4fe/0xc40 kernel/time/hrtimer.c:1754 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1816 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x32/0x60 kernel/kcov.c:206 Code: 74 ae 8a 7e 65 8b 15 75 ae 8a 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 34 16 00 00 00 74 2c 8b 91 10 16 00 00 <83> fa 02 75 21 48 8b 91 18 16 00 00 48 8b 32 48 8d 7e 01 8b 89 14 RSP: 0018:ffffc90002f5f2b8 EFLAGS: 00000246 RAX: ffffffff816c6f2b RBX: 0000000000000001 RCX: ffff888016a91dc0 RDX: 0000000000000002 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc90002f5f400 R08: dffffc0000000000 R09: fffffbfff1ff321a R10: fffffbfff1ff321a R11: 1ffffffff1ff3219 R12: ffff8880b9042a08 R13: 1ffff11017208541 R14: ffff8880b913b380 R15: 0000000000000000 csd_lock_wait kernel/smp.c:440 [inline] smp_call_function_many_cond+0xbab/0xd70 kernel/smp.c:969 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 __purge_vmap_area_lazy+0x216/0x18f0 mm/vmalloc.c:1683 _vm_unmap_aliases+0x410/0x4a0 mm/vmalloc.c:2107 change_page_attr_set_clr+0x311/0xc10 arch/x86/mm/pat/set_memory.c:1740 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1797 [inline] set_memory_ro+0x89/0xd0 arch/x86/mm/pat/set_memory.c:1943 bpf_jit_binary_lock_ro include/linux/filter.h:899 [inline] bpf_int_jit_compile+0xc4a8/0xcc80 arch/x86/net/bpf_jit_comp.c:2474 bpf_prog_select_runtime+0x74f/0xaa0 kernel/bpf/core.c:1934 bpf_migrate_filter net/core/filter.c:1307 [inline] bpf_prepare_filter+0x1014/0x11c0 net/core/filter.c:1355 bpf_prog_create_from_user+0x2ce/0x420 net/core/filter.c:1449 seccomp_prepare_filter kernel/seccomp.c:669 [inline] seccomp_prepare_user_filter kernel/seccomp.c:706 [inline] seccomp_set_mode_filter kernel/seccomp.c:1834 [inline] do_seccomp+0x7b6/0x1630 kernel/seccomp.c:1954 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f2c0568a969 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2c034f2038 EFLAGS: 00000246 ORIG_RAX: 000000000000013d RAX: ffffffffffffffda RBX: 00007f2c058b1fa0 RCX: 00007f2c0568a969 RDX: 0000200000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 00007f2c0570cab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2c058b1fa0 R15: 00007ffd43f1e0b8