rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P21997/1:b..l (detected by 0, t=10502 jiffies, g=100897, q=14 ncpus=2) task:syz-executor.2 state:R running task stack:29144 pid:21997 ppid: 3619 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6494 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6806 irqentry_exit+0x31/0x80 kernel/entry/common.c:428 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x1ef/0x570 kernel/locking/lockdep.c:5634 Code: f8 a2 7e 83 f8 01 0f 85 e8 02 00 00 9c 58 f6 c4 02 0f 85 fb 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc90005a679a0 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92000b4cf36 RCX: cccce2c1f7a42f9d RDX: 1ffff1100496ec5e RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff908dd947 R10: fffffbfff211bb28 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8bf892c0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:280 [inline] rcu_read_lock include/linux/rcupdate.h:706 [inline] xa_load+0xcb/0x290 lib/xarray.c:1461 memcg_list_lru_allocated mm/list_lru.c:469 [inline] memcg_list_lru_alloc+0x1a5/0xb00 mm/list_lru.c:483 memcg_slab_pre_alloc_hook mm/slab.h:489 [inline] slab_pre_alloc_hook mm/slab.h:705 [inline] slab_alloc_node mm/slub.c:3157 [inline] slab_alloc mm/slub.c:3251 [inline] __kmem_cache_alloc_lru mm/slub.c:3258 [inline] kmem_cache_alloc_lru+0x114/0x720 mm/slub.c:3275 __d_alloc+0x32/0x960 fs/dcache.c:1769 d_alloc+0x4a/0x230 fs/dcache.c:1849 __lookup_hash+0xc8/0x180 fs/namei.c:1597 filename_create+0x1d6/0x4a0 fs/namei.c:3785 do_symlinkat+0xc4/0x2e0 fs/namei.c:4397 __do_sys_symlinkat fs/namei.c:4424 [inline] __se_sys_symlinkat fs/namei.c:4421 [inline] __x64_sys_symlinkat+0x93/0xc0 fs/namei.c:4421 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7d9d088b87 RSP: 002b:00007ffeb91a7268 EFLAGS: 00000202 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7d9d088b87 RDX: 00007f7d9d0e3235 RSI: 00000000ffffff9c RDI: 00007ffeb91a7330 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffeb91a7100 R10: 00007ffeb91a6fb7 R11: 0000000000000202 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffeb91a7330 rcu: rcu_preempt kthread timer wakeup didn't happen for 10498 jiffies! g100897 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=66661 rcu: rcu_preempt kthread starved for 10499 jiffies! g100897 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:28728 pid: 16 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6494 schedule+0xda/0x1b0 kernel/sched/core.c:6570 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1657 rcu_gp_kthread+0x236/0x360 kernel/rcu/tree.c:1854 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9272 Comm: kworker/u4:9 Not tainted 6.0.0-rc1-syzkaller-00066-g3b06a2755758 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:40 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:75 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:107 [inline] RIP: 0010:lock_is_held_type+0x54/0x140 kernel/locking/lockdep.c:5705 Code: c0 0f 85 ca 00 00 00 65 4c 8b 24 25 80 6f 02 00 41 8b 94 24 74 0a 00 00 85 d2 0f 85 b1 00 00 00 48 89 fd 41 89 f6 9c 8f 04 24 48 c7 c7 60 aa ec 89 31 db e8 3d 15 00 00 41 8b 84 24 70 0a 00 RSP: 0018:ffffc900001e0ad8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff888075b56340 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff888075b56300 RBP: ffff888075b56300 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88807d2cbb00 R13: 00000000ffffffff R14: 00000000ffffffff R15: ffffffff878bf7b0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc60924f9c CR3: 000000000bc8e000 CR4: 0000000000350ee0 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] advance_sched+0xfa/0x9a0 net/sched/sch_taprio.c:721 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5fa/0xe40 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:check_preemption_disabled+0x9/0x170 lib/smp_processor_id.c:13 Code: ff 89 de 0f 1f 44 00 00 85 db 74 07 0f 1f 44 00 00 0f 0b 0f 1f 44 00 00 5b e9 93 fb ff ff cc cc cc 41 56 41 55 49 89 f5 41 54 <55> 48 89 fd 53 0f 1f 44 00 00 65 44 8b 25 1d c7 82 76 65 8b 1d 7e RSP: 0018:ffffc900001e0e00 EFLAGS: 00000282 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff815f7861 RDX: dffffc0000000000 RSI: ffffffff8a48f1e0 RDI: ffffffff8a48f220 RBP: 1ffff9200003c1cb R08: 0000000000000000 R09: ffffffff8dde9297 R10: fffffbfff1bbd252 R11: 0000000000000001 R12: 0000000000000001 R13: ffffffff8a48f1e0 R14: 0000000000000000 R15: ffff888075b560f0 rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:121 [inline] rcu_is_watching+0xe/0xb0 kernel/rcu/tree.c:718 rcu_read_lock_held_common kernel/rcu/update.c:108 [inline] rcu_read_lock_sched_held+0x1c/0x70 kernel/rcu/update.c:123 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x560/0x780 kernel/locking/lockdep.c:5677 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:389 [inline] net_tx_action+0x4ac/0xd20 net/core/dev.c:5088 __do_softirq+0x1d3/0x9c6 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:_flat_send_IPI_mask+0x2d/0x60 arch/x86/kernel/apic/apic_flat_64.c:58 Code: ec 10 9c 58 fa 25 00 02 00 00 48 89 c3 75 1d ba 00 08 00 00 e8 f4 00 ff ff 9c 58 f6 c4 02 75 32 48 85 db 74 01 fb 48 83 c4 10 <5b> c3 89 74 24 0c 48 89 3c 24 e8 04 83 4d 00 8b 74 24 0c ba 00 08 RSP: 0018:ffffc900158df8b0 EFLAGS: 00000282 RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff211bc76 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 1ffff92002b1bf18 R08: 0000000000000001 R09: ffffffff908dd947 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffffc900158df8e0 R14: dffffc0000000000 R15: 0000000000000008 arch_send_call_function_single_ipi arch/x86/include/asm/smp.h:119 [inline] send_call_function_single_ipi+0x1b5/0x320 kernel/sched/core.c:3756 smp_call_function_many_cond+0x113e/0x1430 kernel/smp.c:968 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1154 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1302 [inline] text_poke_bp_batch+0x3f6/0x6c0 arch/x86/kernel/alternative.c:1543 text_poke_flush arch/x86/kernel/alternative.c:1660 [inline] text_poke_flush arch/x86/kernel/alternative.c:1657 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1667 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:801 static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207 static_key_disable+0x16/0x20 kernel/jump_label.c:215 toggle_allocation_gate mm/kfence/core.c:825 [inline] toggle_allocation_gate+0x183/0x390 mm/kfence/core.c:803 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306