rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=0aa4/1/0x4000000000000000 softirq=128066/128069 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P13625/1:b..l P19515/1:b..l rcu: (detected by 0, t=10502 jiffies, g=112969, q=540 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 19537 Comm: cmp Not tainted 6.16.0-rc2-next-20250618-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:227 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:239 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:638 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:1197 [inline] RIP: 0010:trace_hrtimer_expire_entry include/trace/events/timer.h:259 [inline] RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1758 [inline] RIP: 0010:__hrtimer_run_queues+0x459/0xc60 kernel/time/hrtimer.c:1825 Code: 00 00 e8 8a de 11 00 45 89 ef 41 c1 ed 06 4a 8d 3c ed f0 6c a1 8f be 08 00 00 00 e8 31 0d 76 00 31 f6 4c 0f a3 3d 17 f4 f2 0d <41> 0f 92 c7 40 0f 92 c6 bf 02 00 00 00 e8 55 e1 11 00 45 84 ff 74 RSP: 0018:ffffc90000a08d40 EFLAGS: 00000047 RAX: ffffffff81ae7801 RBX: ffff8880b8727c88 RCX: ffffffff81ae78cf RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8fa16cf0 RBP: ffffc90000a08e90 R08: ffffffff8fa16cf7 R09: 1ffffffff1f42d9e R10: dffffc0000000000 R11: fffffbfff1f42d9f R12: ffff888075d49340 R13: 0000000000000000 R14: ffffffff898966d0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff888125d3d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000019680 CR3: 0000000073942000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_interrupt+0x45b/0xaa0 kernel/time/hrtimer.c:1887 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1039 [inline] __sysvec_apic_timer_interrupt+0x10b/0x410 arch/x86/kernel/apic/apic.c:1056 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa8/0x110 kernel/locking/spinlock.c:194 Code: 74 05 e8 1b 7e 5b f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 a3 6a 24 f6 65 8b 05 4c c4 31 07 85 c0 74 40 48 c7 04 24 0e 36 RSP: 0018:ffffc90004f76fa0 EFLAGS: 00000206 RAX: 43362a9f413dc900 RBX: 0000000000000a02 RCX: 43362a9f413dc900 RDX: 0000000000000007 RSI: ffffffff8d98d2f3 RDI: 0000000000000001 RBP: ffffc90004f77030 R08: ffffffff8fa16cf7 R09: 1ffffffff1f42d9e R10: dffffc0000000000 R11: fffffbfff1f42d9f R12: dffffc0000000000 R13: ffff88801a4409c0 R14: ffff88801a4409c0 R15: 1ffff920009eedf4 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __put_partials+0x123/0x1c0 mm/slub.c:3179 put_cpu_partial+0x17c/0x250 mm/slub.c:3261 __slab_free+0x2f7/0x400 mm/slub.c:4518 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4148 [inline] slab_alloc_node mm/slub.c:4197 [inline] kmem_cache_alloc_noprof+0x1c1/0x3c0 mm/slub.c:4204 mt_alloc_one lib/maple_tree.c:176 [inline] mas_alloc_nodes+0x2e9/0x8e0 lib/maple_tree.c:1249 mas_node_count_gfp lib/maple_tree.c:1331 [inline] mas_preallocate+0x3ad/0x6f0 lib/maple_tree.c:5534 vma_iter_prealloc mm/vma.h:466 [inline] commit_merge+0x1fd/0x700 mm/vma.c:734 vma_expand+0x40c/0x7e0 mm/vma.c:1138 relocate_vma_down+0x2ec/0x500 mm/vma_exec.c:58 setup_arg_pages+0x5df/0xaa0 fs/exec.c:687 load_elf_binary+0xb59/0x2790 fs/binfmt_elf.c:1013 search_binary_handler fs/exec.c:1665 [inline] exec_binprm fs/exec.c:1697 [inline] bprm_execve+0x99c/0x1450 fs/exec.c:1749 do_execveat_common+0x510/0x6a0 fs/exec.c:1855 do_execve fs/exec.c:1929 [inline] __do_sys_execve fs/exec.c:2005 [inline] __se_sys_execve fs/exec.c:2000 [inline] __x64_sys_execve+0x94/0xb0 fs/exec.c:2000 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9397abb107 Code: Unable to access opcode bytes at 0x7f9397abb0dd. RSP: 002b:00007ffc050b5e18 EFLAGS: 00000246 ORIG_RAX: 000000000000003b RAX: ffffffffffffffda RBX: 0000556e21fb81a8 RCX: 00007f9397abb107 RDX: 0000556e21fb3e28 RSI: 0000556e21fb81a8 RDI: 0000556e21fb3eb0 RBP: 0000556e21fb3eb0 R08: 00007ffc050b9e10 R09: 0000000000000210 R10: 0000000000000002 R11: 0000000000000246 R12: 0000556e21fb3e28 R13: 00007f9397c80e8b R14: 0000556e21fb3e28 R15: 0000000000000000 task:syz.6.3025 state:R running task stack:22224 pid:19515 tgid:19515 ppid:16180 task_flags:0x40064c flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5313 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6696 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6876 preempt_schedule+0xae/0xc0 kernel/sched/core.c:6900 preempt_schedule_thunk+0x16/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3f/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1783 [inline] zap_pmd_range mm/memory.c:1845 [inline] zap_pud_range mm/memory.c:1874 [inline] zap_p4d_range mm/memory.c:1895 [inline] unmap_page_range+0x3842/0x41c0 mm/memory.c:1916 unmap_single_vma mm/memory.c:1959 [inline] unmap_vmas+0x399/0x580 mm/memory.c:2003 exit_mmap+0x248/0xb50 mm/mmap.c:1284 __mmput+0x118/0x420 kernel/fork.c:1120 exit_mm+0x1da/0x2c0 kernel/exit.c:581 do_exit+0x648/0x2300 kernel/exit.c:947 do_group_exit+0x21c/0x2d0 kernel/exit.c:1100 get_signal+0x1286/0x1340 kernel/signal.c:3034 arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] irqentry_exit_to_user_mode+0x81/0x120 kernel/entry/common.c:184 exc_page_fault+0x9f/0xf0 arch/x86/mm/fault.c:1535 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f463e44f837 RSP: 002b:00007f463f439120 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 000000000000000b RCX: 00007f463e58e929 RDX: 00007f463f439140 RSI: 00007f463f439270 RDI: 000000000000000b RBP: 00007f463e610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f463e7b6080 R15: 00007ffd37f25ec8 task:syz-executor state:R running task stack:16472 pid:13625 tgid:13625 ppid:13599 task_flags:0x400140 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5313 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6696 preempt_schedule_irq+0xb5/0x150 kernel/sched/core.c:7019 irqentry_exit+0x6f/0x90 kernel/entry/common.c:307 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_release+0x2b5/0x3e0 kernel/locking/lockdep.c:5896 Code: 51 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 75 56 f7 c3 00 02 00 00 74 01 fb 65 48 8b 05 8b e8 ff 10 <48> 3b 44 24 28 0f 85 8b 00 00 00 48 83 c4 30 5b 41 5c 41 5d 41 5e RSP: 0018:ffffc9000ba07430 EFLAGS: 00000206 RAX: 2c0cf6510f372b00 RBX: 0000000000000202 RCX: 2c0cf6510f372b00 RDX: 0000000000000001 RSI: ffffffff8db7aaf9 RDI: ffffffff8be2f5e0 RBP: ffff88801e794718 R08: ffffc9000ba07900 R09: 0000000000000000 R10: ffffc9000ba075b8 R11: fffff52001740eb9 R12: 0000000000000001 R13: 0000000000000001 R14: ffffffff8e13ee60 R15: ffff88801e793c00 rcu_lock_release include/linux/rcupdate.h:341 [inline] rcu_read_unlock include/linux/rcupdate.h:871 [inline] class_rcu_destructor include/linux/rcupdate.h:1155 [inline] unwind_next_frame+0x19a9/0x2390 arch/x86/kernel/unwind_orc.c:680 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4333 [inline] __kvmalloc_node_noprof+0x30d/0x5f0 mm/slub.c:5020 xt_jumpstack_alloc net/netfilter/x_tables.c:1355 [inline] xt_replace_table+0x180/0x790 net/netfilter/x_tables.c:1394 __do_replace+0x15a/0x970 net/ipv4/netfilter/ip_tables.c:1064 do_replace net/ipv4/netfilter/ip_tables.c:1141 [inline] do_ipt_set_ctl+0xa0d/0xcd0 net/ipv4/netfilter/ip_tables.c:1635 nf_setsockopt+0x26f/0x290 net/netfilter/nf_sockopt.c:101 do_sock_setsockopt+0x257/0x3e0 net/socket.c:2342 __sys_setsockopt net/socket.c:2367 [inline] __do_sys_setsockopt net/socket.c:2373 [inline] __se_sys_setsockopt net/socket.c:2370 [inline] __x64_sys_setsockopt+0x18b/0x220 net/socket.c:2370 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8fae99081a RSP: 002b:00007fff1b3715a8 EFLAGS: 00000206 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fff1b371630 RCX: 00007f8fae99081a RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000408 R09: 00007fff1b3719e7 R10: 00007f8faeb82c20 R11: 0000000000000206 R12: 00007f8faeb82bc0 R13: 00007fff1b3715cc R14: 0000000000000000 R15: 00007f8faeb84000 rcu: rcu_preempt kthread starved for 10502 jiffies! g112969 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:27224 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5313 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6696 __schedule_loop kernel/sched/core.c:6774 [inline] schedule+0x165/0x360 kernel/sched/core.c:6789 schedule_timeout+0x12b/0x270 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x301/0x1540 kernel/rcu/tree.c:2060 rcu_gp_kthread+0x99/0x390 kernel/rcu/tree.c:2262 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 7647 Comm: kworker/u8:13 Not tainted 6.16.0-rc2-next-20250618-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0xf69/0x12d0 kernel/smp.c:885 Code: 00 45 8b 2f 44 89 ee 83 e6 01 31 ff e8 a0 69 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 07 e8 4b 65 0b 00 eb 37 f3 90 <43> 0f b6 04 2c 84 c0 75 10 41 f7 07 01 00 00 00 74 1e e8 30 65 0b RSP: 0018:ffffc9000b4f76a0 EFLAGS: 00000293 RAX: ffffffff81b4f210 RBX: ffff8880b863b180 RCX: ffff8880341f8000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000b4f7800 R08: ffffffff8fa16cf7 R09: 1ffffffff1f42d9e R10: dffffc0000000000 R11: fffffbfff1f42d9f R12: 1ffff110170e7f59 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b873fac8 FS: 0000000000000000(0000) GS:ffff888125c3d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8faeb82c78 CR3: 000000000df38000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1052 on_each_cpu include/linux/smp.h:71 [inline] smp_text_poke_sync_each_cpu arch/x86/kernel/alternative.c:2691 [inline] smp_text_poke_batch_finish+0x5e0/0x1100 arch/x86/kernel/alternative.c:2901 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x128/0x250 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xad/0x240 mm/kfence/core.c:850 process_one_work kernel/workqueue.c:3239 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3322 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3403 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245