rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P9549/1:b..l rcu: (detected by 1, t=10502 jiffies, g=58301, q=294 ncpus=2) task:syz-executor.2 state:R running task stack:25888 pid:9549 tgid:9548 ppid:6728 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7067 irqentry_exit+0x36/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sanitizer_cov_trace_pc+0x18/0x60 kernel/kcov.c:203 Code: 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 48 8b 15 e4 f3 75 7e 65 8b 05 e5 f3 75 7e a9 00 01 ff 00 <48> 8b 34 24 74 0f f6 c4 01 74 35 8b 82 1c 16 00 00 85 c0 74 2b 8b RSP: 0018:ffffc90003ef6f40 EFLAGS: 00000246 RAX: 0000000080000000 RBX: 0000000000000000 RCX: ffffffff81f473e7 RDX: ffff88807ec38000 RSI: 000000000000003f RDI: 0000000000000005 RBP: ffff888017c0c3f0 R08: 0000000000000005 R09: 000000000000003f R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000013 R13: 0000000000000005 R14: ffff888017c0c3ec R15: dffffc0000000000 __page_table_check_zero+0x126/0x360 mm/page_table_check.c:144 page_table_check_alloc include/linux/page_table_check.h:33 [inline] post_alloc_hook+0x2c0/0x350 mm/page_alloc.c:1469 prep_new_page mm/page_alloc.c:1476 [inline] get_page_from_freelist+0x136a/0x2e50 mm/page_alloc.c:3420 __alloc_pages_noprof+0x22b/0x2460 mm/page_alloc.c:4678 __alloc_pages_node_noprof include/linux/gfp.h:269 [inline] alloc_pages_node_noprof include/linux/gfp.h:296 [inline] __kmalloc_large_node+0x7f/0x1a0 mm/slub.c:4067 __do_kmalloc_node mm/slub.c:4110 [inline] __kmalloc_node_noprof.cold+0x5/0x5f mm/slub.c:4129 kmalloc_node_noprof include/linux/slab.h:681 [inline] kvmalloc_node_noprof+0x6f/0x1a0 mm/util.c:634 btree_node_data_alloc.constprop.0+0xe3/0x280 fs/bcachefs/btree_cache.c:104 __bch2_btree_node_mem_alloc+0x41/0x1e0 fs/bcachefs/btree_cache.c:149 bch2_fs_btree_cache_init+0x125/0x440 fs/bcachefs/btree_cache.c:549 bch2_fs_alloc+0x1952/0x2610 fs/bcachefs/super.c:911 bch2_fs_open+0x7b5/0x1110 fs/bcachefs/super.c:2102 bch2_mount+0xdea/0x11d0 fs/bcachefs/fs.c:1917 legacy_get_tree+0x109/0x220 fs/fs_context.c:662 vfs_get_tree+0x8f/0x380 fs/super.c:1780 do_new_mount fs/namespace.c:3352 [inline] path_mount+0x14e6/0x1f20 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __x64_sys_mount+0x297/0x320 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb0c147e5aa RSP: 002b:00007fb0c21a9ef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fb0c21a9f80 RCX: 00007fb0c147e5aa RDX: 0000000020011a00 RSI: 0000000020011a40 RDI: 00007fb0c21a9f40 RBP: 0000000020011a00 R08: 00007fb0c21a9f80 R09: 0000000001200014 R10: 0000000001200014 R11: 0000000000000202 R12: 0000000020011a40 R13: 00007fb0c21a9f40 R14: 00000000000119fc R15: 0000000020000100 rcu: rcu_preempt kthread starved for 2404 jiffies! g58301 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:27872 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2000 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2202 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 2477 Comm: kworker/u8:9 Not tainted 6.10.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x4f1/0x1420 kernel/smp.c:855 Code: 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 bb 37 0c 00 f3 90 41 0f b6 04 24 40 38 c5 7c 08 <84> c0 0f 85 f7 0c 00 00 8b 43 08 31 ff 83 e0 01 41 89 c5 89 c6 e8 RSP: 0018:ffffc90008fd7908 EFLAGS: 00000206 RAX: 0000000000000000 RBX: ffff8880b9246740 RCX: ffffffff8181adbb RDX: ffff88802a0a5a00 RSI: ffffffff8181ad95 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: ffffed1017248ce9 R13: 0000000000000001 R14: ffff8880b9246748 R15: ffff8880b933fdc0 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6fb1fb99c0 CR3: 000000000d97a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2069 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2279 text_poke_flush arch/x86/kernel/alternative.c:2470 [inline] text_poke_flush arch/x86/kernel/alternative.c:2467 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2477 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:882 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:826 [inline] toggle_allocation_gate+0xf8/0x250 mm/kfence/core.c:818 process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244