rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10499 ticks this GP) idle=d0c4/1/0x4000000000000000 softirq=37335/47618 fqs=0 rcu: (t=10500 jiffies g=36193 q=214 ncpus=2) rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g36193 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=15099 rcu: rcu_preempt kthread starved for 10500 jiffies! g36193 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:25976 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 CPU: 0 UID: 0 PID: 11038 Comm: syz.7.1682 Not tainted 6.12.0-next-20241128-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f3/0x2c60 kernel/smp.c:884 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 66 e9 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 11 e5 0b 00 eb 38 f3 90 <42> 0f b6 04 23 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 f5 e4 RSP: 0018:ffffc90003e8f880 EFLAGS: 00000293 RAX: ffffffff8193900b RBX: 1ffff110170e88e9 RCX: ffff88802a2fbc00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003e8fa80 R08: ffffffff81938fda R09: 1ffffffff2858910 R10: dffffc0000000000 R11: fffffbfff2858911 R12: dffffc0000000000 R13: ffff8880b8744748 R14: ffff8880b863fac0 R15: 0000000000000001 FS: 000055558b9a1500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30f1aff8 CR3: 0000000024f4c000 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:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2118 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2328 text_poke_flush arch/x86/kernel/alternative.c:2519 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2526 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xd2/0x1c0 kernel/jump_label.c:240 static_key_disable+0x1a/0x20 kernel/jump_label.c:248 tracepoint_remove_func kernel/tracepoint.c:370 [inline] tracepoint_probe_unregister+0x83c/0xa10 kernel/tracepoint.c:504 bpf_raw_tp_link_release+0x45/0x70 kernel/bpf/syscall.c:3610 bpf_link_free+0xfd/0x3a0 kernel/bpf/syscall.c:3132 bpf_link_put_direct kernel/bpf/syscall.c:3175 [inline] bpf_link_release+0x78/0x90 kernel/bpf/syscall.c:3182 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ffb30f80809 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:00007fff7023ac78 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 000000000003b7ed RCX: 00007ffb30f80809 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007ffb31147ba0 R08: 0000000000000001 R09: 00007fff7023af5f R10: 00007ffb30e00000 R11: 0000000000000246 R12: 000000000003b850 R13: 00007ffb31145fa0 R14: 0000000000000032 R15: ffffffffffffffff Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 11037 Comm: syz.6.1681 Not tainted 6.12.0-next-20241128-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:kasan_check_range+0x1b8/0x290 mm/kasan/generic.c:189 Code: 4d 01 fb 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 3b 00 0f 85 a6 00 00 00 49 ff c3 48 ff cd 75 ee 5b <41> 5c 41 5e 41 5f 5d c3 cc cc cc cc 40 84 ed 75 5f f7 c5 00 ff 00 RSP: 0018:ffffc90000a18a28 EFLAGS: 00000056 RAX: 0000000000000001 RBX: 00000000000002d5 RCX: ffffffff817ac3f5 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff942c48d8 RBP: 0000000000000000 R08: ffffffff942c48df R09: 1ffffffff285891b R10: dffffc0000000000 R11: fffffbfff285891c R12: ffff888024f50000 R13: ffff888024f50000 R14: dffffc0000000001 R15: fffffbfff285891c FS: 00007f922c9f66c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd758f334b8 CR3: 000000006ca78000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] __lock_acquire+0xf55/0x2100 kernel/locking/lockdep.c:5222 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1743 [inline] __hrtimer_run_queues+0x670/0xd30 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 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+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 5e c5 33 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 63 e5 96 f5 65 8b 05 a4 34 2d 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc90003e9f140 EFLAGS: 00000206 RAX: 0ec2127353346200 RBX: 1ffff920007d3e2c RCX: ffffffff817b270a RDX: dffffc0000000000 RSI: ffffffff8c0a96a0 RDI: 0000000000000001 RBP: ffffc90003e9f1d0 R08: ffffffff942c48df R09: 1ffffffff285891b R10: dffffc0000000000 R11: fffffbfff285891c R12: dffffc0000000000 R13: 1ffff920007d3e28 R14: ffffc90003e9f160 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] unlock_page_lruvec_irqrestore include/linux/memcontrol.h:1520 [inline] folio_batch_move_lru+0x42b/0x4e0 mm/swap.c:174 __folio_batch_add_and_move+0x5cb/0xf00 mm/swap.c:196 do_anonymous_page mm/memory.c:4856 [inline] do_pte_missing mm/memory.c:3977 [inline] handle_pte_fault+0x4a1e/0x66b0 mm/memory.c:5801 __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6112 faultin_page mm/gup.c:1187 [inline] __get_user_pages+0x1c82/0x49e0 mm/gup.c:1485 populate_vma_page_range+0x264/0x330 mm/gup.c:1923 __mm_populate+0x27a/0x460 mm/gup.c:2026 mm_populate include/linux/mm.h:3386 [inline] vm_mmap_pgoff+0x303/0x430 mm/util.c:585 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f922eb80809 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:00007f922c9f6058 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f922ed45fa0 RCX: 00007f922eb80809 RDX: 4397a5c0115f3542 RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f922ebf393e R08: ffffffffffffffff R09: 000000003ae84000 R10: 0000000004008032 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f922ed45fa0 R15: 00007ffc44f977e8