rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=dea4/1/0x4000000000000000 softirq=67208/67209 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P21481/1:b..l rcu: (detected by 1, t=10502 jiffies, g=95389, q=37 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 21494 Comm: syz-executor.2 Not tainted 6.4.0-rc4-syzkaller-00013-ge338142b39cf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:__lock_acquire+0x1293/0x2070 kernel/locking/lockdep.c:5085 Code: 41 8b 1f 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 60 82 32 90 be 08 00 00 00 e8 c5 28 78 00 48 0f a3 1d dd 57 c7 0e <73> 1b 48 8d 04 5b 48 c1 e0 06 48 8d 98 60 e1 01 90 48 ba 00 00 00 RSP: 0018:ffffc90000007a28 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000d92 RCX: ffffffff816b2a7b RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90328410 RBP: c33752f87bccadbb R08: dffffc0000000000 R09: fffffbfff2065083 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807db30000 R13: ffff88807db30000 R14: 0000000000000001 R15: ffff88807db30b38 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000080 CR3: 0000000016af6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5705 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:350 [inline] advance_sched+0xae/0xc80 net/sched/sch_taprio.c:929 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x59f/0xd10 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x13f/0x480 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x25a/0x520 kernel/locking/lockdep.c:5709 Code: 2b 00 74 08 4c 89 f7 e8 b4 3d 78 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc9000487fb40 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200090ff74 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8aea9fa0 RDI: ffffffff8b3844c0 RBP: ffffc9000487fc98 R08: dffffc0000000000 R09: fffffbfff206504d R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200090ff70 R13: dffffc0000000000 R14: ffffc9000487fba0 R15: 0000000000000246 rcu_lock_acquire+0x24/0x30 include/linux/rcupdate.h:327 rcu_read_lock include/linux/rcupdate.h:773 [inline] percpu_ref_tryget_many include/linux/percpu-refcount.h:241 [inline] percpu_ref_tryget+0x10/0x140 include/linux/percpu-refcount.h:266 css_tryget include/linux/cgroup_refcnt.h:45 [inline] get_mem_cgroup_from_objcg+0xa3/0x120 include/linux/memcontrol.h:526 obj_cgroup_uncharge_pages mm/memcontrol.c:3114 [inline] __memcg_kmem_uncharge_page+0xd0/0x280 mm/memcontrol.c:3190 memcg_kmem_uncharge_page include/linux/memcontrol.h:1809 [inline] exit_task_stack_account+0x1e3/0x330 kernel/fork.c:584 do_exit+0x1825/0x2290 kernel/exit.c:913 do_group_exit+0x206/0x2c0 kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1030 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3033e8c169 Code: Unable to access opcode bytes at 0x7f3033e8c13f. RSP: 002b:00007ffd03b99038 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f3033e8c169 RDX: 00007f3033e3e01b RSI: ffffffffffffffb8 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00007f3033a00000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffd03b99120 task:syz-executor.4 state:R running task stack:25784 pid:21481 ppid:5036 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 preempt_schedule_irq+0xfb/0x1b0 kernel/sched/core.c:6981 irqentry_exit+0x57/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x10/0x60 kernel/kcov.c:207 Code: 89 fb e8 13 00 00 00 48 8b 3d 94 4a ca 0c 48 89 de 5b e9 23 fc 56 00 0f 1f 00 f3 0f 1e fa 48 8b 04 24 65 48 8b 0d 20 38 78 7e <65> 8b 15 21 38 78 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 RSP: 0018:ffffc90004cbf538 EFLAGS: 00000246 RAX: ffffffff8aa59eb0 RBX: 0000000000000300 RCX: ffff88807a035940 RDX: ffff88807a035940 RSI: 0000000000000300 RDI: 0000000000000300 RBP: ffffc90004cbf6b0 R08: ffffffff8aa59ea3 R09: fffffbfff206504d R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000997ec0 R13: ffff88802391001e R14: dffffc0000000000 R15: ffff888075da1200 mt_locked lib/maple_tree.c:817 [inline] mas_root lib/maple_tree.c:868 [inline] mas_start lib/maple_tree.c:1407 [inline] mas_state_walk lib/maple_tree.c:3874 [inline] mt_find+0x490/0xc00 lib/maple_tree.c:6505 find_vma+0x13a/0x1b0 mm/mmap.c:1863 do_user_addr_fault arch/x86/mm/fault.c:1401 [inline] handle_page_fault arch/x86/mm/fault.c:1534 [inline] exc_page_fault+0x6bf/0x910 arch/x86/mm/fault.c:1590 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:fault_in_readable+0x165/0x2b0 mm/gup.c:1863 Code: bf ff 4c 8d b3 ff 0f 00 00 48 89 d8 4d 01 e6 49 81 e6 00 f0 ff ff 49 39 c6 72 6b e8 f5 b7 bf ff 4c 39 f3 74 6e 4c 89 64 24 10 <44> 8a 23 43 0f b6 04 2f 84 c0 75 18 44 88 64 24 40 48 81 c3 00 10 RSP: 0018:ffffc90004cbf880 EFLAGS: 00050287 RAX: ffffffff81cbc79b RBX: 0000000020048000 RCX: 0000000000040000 RDX: ffffc9000a621000 RSI: 000000000000f9e5 RDI: 000000000000f9e6 RBP: ffffc90004cbf938 R08: ffffffff81cbc738 R09: ffffffff843117c9 R10: 0000000000000002 R11: ffff88807a035940 R12: 0000000000001000 R13: dffffc0000000000 R14: 0000000020049000 R15: 1ffff92000997f18 fault_in_iov_iter_readable+0xdf/0x280 lib/iov_iter.c:362 generic_perform_write+0x20b/0x5e0 mm/filemap.c:3913 ext4_buffered_write_iter+0x122/0x3a0 fs/ext4/file.c:289 ext4_file_write_iter+0x1d6/0x1930 call_write_iter include/linux/fs.h:1868 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x790/0xb20 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f272f68c169 RSP: 002b:00007f27303a3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f272f7abf80 RCX: 00007f272f68c169 RDX: 000000000208e24b RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f272f6e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7845dc4f R14: 00007f27303a3300 R15: 0000000000022000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g95389 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=92904 rcu: rcu_preempt kthread starved for 10502 jiffies! g95389 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:24248 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1609 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1808 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 16411 Comm: kworker/u4:57 Not tainted 6.4.0-rc4-syzkaller-00013-ge338142b39cf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:285 [inline] RIP: 0010:smp_call_function_many_cond+0x14fb/0x1f60 kernel/smp.c:828 Code: 45 8b 34 24 44 89 f6 83 e6 01 31 ff e8 4e 0f 0b 00 41 83 e6 01 49 be 00 00 00 00 00 fc ff df 75 07 e8 89 0b 0b 00 eb 38 f3 90 <42> 0f b6 04 33 84 c0 75 11 41 f7 04 24 01 00 00 00 74 1e e8 6d 0b RSP: 0018:ffffc9000b0b77c0 EFLAGS: 00000293 RAX: ffffffff81807423 RBX: 1ffff110173089c5 RCX: ffff888081cfbb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000b0b79c0 R08: ffffffff818073f2 R09: fffffbfff206504d R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9844e28 R13: ffff8880b993d308 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020404030 CR3: 000000000cd30000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:996 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1770 [inline] text_poke_bp_batch+0x2bf/0x950 arch/x86/kernel/alternative.c:1970 text_poke_flush arch/x86/kernel/alternative.c:2161 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2168 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x132/0x250 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:831 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308