rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=8274/1/0x4000000000000000 softirq=22791/22791 fqs=4 (detected by 1, t=10502 jiffies, g=30257, q=352 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7279 Comm: syz.5.924 Not tainted 6.1.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x58/0x290 mm/kasan/generic.c:189 Code: 00 00 48 89 fb 48 c1 eb 03 49 b8 00 00 00 00 00 fc ff df 4e 8d 0c 03 4c 8d 54 37 ff 49 c1 ea 03 49 bb 01 00 00 00 00 fc ff df <4f> 8d 34 1a 4c 89 f5 4c 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a RSP: 0018:ffffc90000007d00 EFLAGS: 00000807 RAX: 0000000000000001 RBX: 1ffffffff1d3411d RCX: ffffffff8179e7c0 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e9a08e8 RBP: 000000000001ffff R08: dffffc0000000000 R09: fffffbfff1d3411d R10: 1ffffffff1d3411d R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8880b8e2a5c0 R14: ffff888077c1f340 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c343a4e CR3: 00000000240a1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:444 [inline] cpu_online include/linux/cpumask.h:1030 [inline] trace_hrtimer_start include/trace/events/timer.h:202 [inline] debug_activate kernel/time/hrtimer.c:477 [inline] enqueue_hrtimer+0x90/0x410 kernel/time/hrtimer.c:1085 __run_hrtimer kernel/time/hrtimer.c:1706 [inline] __hrtimer_run_queues+0x728/0xe50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline] __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:__alloc_pages+0x4c7/0x770 mm/page_alloc.c:5557 Code: f7 a9 00 00 00 10 44 0f 44 e9 e9 7a fc ff ff 0f 0b e9 8e fe ff ff 48 89 df 8b 74 24 08 e8 01 63 ff ff 45 31 e4 e9 05 fe ff ff <48> 8d 4c 24 40 80 e1 07 80 c1 03 38 c1 0f 8c cc fb ff ff 48 8d 7c RSP: 0018:ffffc90002faf1a0 EFLAGS: 00000202 RAX: 0000000000000004 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90002faf200 RBP: ffffc90002faf2c0 R08: 0000000000000003 R09: ffffffff81df00dd R10: 0000000000000002 R11: ffff8880294b0000 R12: 0000000000000000 R13: 0000000000002800 R14: 1ffff920005f5e3c R15: 1ffff920005f5e38 __get_free_pages+0x8/0x30 mm/page_alloc.c:5639 tlb_next_batch mm/mmu_gather.c:31 [inline] __tlb_remove_page_size+0x1fa/0x3e0 mm/mmu_gather.c:97 __tlb_remove_page include/asm-generic/tlb.h:444 [inline] zap_pte_range mm/memory.c:1456 [inline] zap_pmd_range mm/memory.c:1574 [inline] zap_pud_range mm/memory.c:1603 [inline] zap_p4d_range mm/memory.c:1624 [inline] unmap_page_range+0x1316/0x2740 mm/memory.c:1645 unmap_vmas+0x48b/0x640 mm/memory.c:1730 exit_mmap+0x252/0x9f0 mm/mmap.c:3227 __mmput+0x115/0x3c0 kernel/fork.c:1200 exit_mm+0x226/0x300 kernel/exit.c:565 do_exit+0x9f6/0x26a0 kernel/exit.c:858 do_group_exit+0x202/0x2b0 kernel/exit.c:1021 get_signal+0x16f7/0x17d0 kernel/signal.c:2871 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f8e5fd7e719 Code: Unable to access opcode bytes at 0x7f8e5fd7e6ef. RSP: 002b:00007f8e60bc70e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007f8e5ff35f88 RCX: 00007f8e5fd7e719 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f8e5ff35f8c RBP: 00007f8e5ff35f80 R08: 0000000000000010 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f8e5ff35f8c R13: 0000000000000000 R14: 00007ffcfeaae470 R15: 00007ffcfeaae558 rcu: rcu_preempt kthread starved for 10480 jiffies! g30257 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:26712 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 7283 Comm: syz.7.925 Not tainted 6.1.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:424 [inline] RIP: 0010:smp_call_function_many_cond+0x1fb7/0x3460 kernel/smp.c:998 Code: e8 ae 43 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 39 40 0b 00 e9 1b ff ff ff f3 90 42 0f b6 04 2b 84 c0 75 14 <41> f7 07 01 00 00 00 0f 84 fe fe ff ff e8 17 40 0b 00 eb e1 44 89 RSP: 0018:ffffc9000528f0c0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff110171c8595 RCX: 0000000000040000 RDX: ffffc9000d039000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000528f4a0 R08: ffffffff817f4ba2 R09: fffffbfff224624d R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b8e42ca8 FS: 00007f1b273bf6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3171dff8 CR3: 0000000077789000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1334 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1534 text_poke_bp+0xc8/0x140 arch/x86/kernel/alternative.c:1771 __static_call_transform+0x333/0x560 arch/x86/kernel/static_call.c:109 arch_static_call_transform+0xcc/0x270 arch/x86/kernel/static_call.c:161 __static_call_update+0xd4/0x5c0 kernel/static_call_inline.c:136 bpf_dispatcher_update kernel/bpf/dispatcher.c:126 [inline] bpf_dispatcher_change_prog+0xece/0xf80 kernel/bpf/dispatcher.c:170 bpf_prog_test_run_xdp+0x721/0x1130 net/bpf/test_run.c:1390 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3685 __sys_bpf+0x3eb/0x6c0 kernel/bpf/syscall.c:5038 __do_sys_bpf kernel/bpf/syscall.c:5124 [inline] __se_sys_bpf kernel/bpf/syscall.c:5122 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5122 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f1b2657e719 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:00007f1b273bf038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f1b26736058 RCX: 00007f1b2657e719 RDX: 0000000000000048 RSI: 0000000020000600 RDI: 000000000000000a RBP: 00007f1b265f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1b26736058 R15: 00007fffde20a118