rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=acb4/1/0x4000000000000000 softirq=107844/107846 fqs=0 rcu: (detected by 1, t=10505 jiffies, g=148401, q=229 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 19827 Comm: syz.5.3676 Not tainted 6.11.0-rc2-syzkaller-00257-g5189dafa4cf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:kasan_check_range+0x5/0x290 mm/kasan/generic.c:188 Code: 8e e8 6f 2c e3 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <41> 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 RSP: 0018:ffffc90000007b70 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff816fe2c0 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9017ca28 RBP: ffffc90000007cb0 R08: ffffffff8180bfd7 R09: 1ffffffff202f945 R10: dffffc0000000000 R11: fffffbfff202f946 R12: 1ffff92000000f7c R13: ffffffff8180c047 R14: ffffc90000007ce0 R15: dffffc0000000000 FS: 00007f1ce59a46c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000006a526000 CR4: 0000000000350ef0 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:562 [inline] cpu_online include/linux/cpumask.h:1105 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xb0/0xa30 kernel/locking/lockdep.c:5770 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x79/0x140 kernel/locking/spinlock.c:194 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x477/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:unwind_next_frame+0xc4/0x2a00 arch/x86/kernel/unwind_orc.c:482 Code: 89 f6 e8 2f 64 52 00 44 89 b4 24 8c 00 00 00 45 85 f6 0f 84 8a 00 00 00 48 89 5c 24 50 bf 01 00 00 00 e8 5f d6 21 00 4c 89 e9 <4c> 8d 6d 50 4c 89 e8 48 c1 e8 03 48 89 44 24 40 80 3c 08 00 74 08 RSP: 0018:ffffc9000b67f0a8 EFLAGS: 00000246 RAX: 1ffff110030f7dd9 RBX: ffffc9000b67f1b8 RCX: dffffc0000000000 RDX: ffff8880187bda00 RSI: 0000000000000001 RDI: ffffffff81411811 RBP: ffffc9000b67f180 R08: ffffffff814117f1 R09: ffffc9000b67f270 R10: 0000000000000003 R11: ffffffff817f1e00 R12: ffff8880187bda00 R13: dffffc0000000000 R14: 0000000000000001 R15: ffffffff8bb59843 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object+0xe0/0x150 mm/kasan/common.c:240 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2252 [inline] slab_free mm/slub.c:4473 [inline] kfree+0x149/0x360 mm/slub.c:4594 parse_opts+0x507/0x690 net/9p/trans_fd.c:822 p9_fd_create+0x91/0x530 net/9p/trans_fd.c:1091 p9_client_create+0x862/0x1040 net/9p/client.c:1015 v9fs_session_init+0x1e4/0x1b80 fs/9p/v9fs.c:410 v9fs_mount+0xcf/0xa90 fs/9p/vfs_super.c:122 legacy_get_tree+0xf0/0x190 fs/fs_context.c:662 vfs_get_tree+0x92/0x2a0 fs/super.c:1800 do_new_mount+0x2be/0xb40 fs/namespace.c:3472 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3997 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:0x7f1ce4b779f9 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:00007f1ce59a4038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f1ce4d06130 RCX: 00007f1ce4b779f9 RDX: 0000000020000b80 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f1ce4be58ee R08: 0000000020000100 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1ce4d06130 R15: 00007fffe01643e8 rcu: rcu_preempt kthread starved for 10505 jiffies! g148401 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:25232 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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 UID: 0 PID: 18041 Comm: kworker/u8:0 Not tainted 6.11.0-rc2-syzkaller-00257-g5189dafa4cf9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline] RIP: 0010:smp_call_function_many_cond+0x1871/0x29d0 kernel/smp.c:856 Code: 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 44 10 0c 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 28 10 0c 00 eb e4 44 89 e9 80 e1 07 80 c1 03 38 c1 7c e2 RSP: 0018:ffffc9000a3ef700 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 1ffff11017248c61 RCX: ffff8880661b1e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000a3ef8e0 R08: ffffffff81876787 R09: 1ffffffff26e5d00 R10: dffffc0000000000 R11: fffffbfff26e5d01 R12: dffffc0000000000 R13: ffff8880b9246308 R14: ffff8880b933fb80 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f955c46cc86 CR3: 000000000e734000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:833 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2e/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244