rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 ticks this GP) idle=1aec/1/0x4000000000000000 softirq=29740/29740 fqs=2 rcu: (detected by 0, t=10503 jiffies, g=25785, q=3837 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 8818 Comm: syz.3.732 Not tainted 6.12.0-syzkaller-10296-gaaf20f870da0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1756 [inline] RIP: 0010:__hrtimer_run_queues+0x6bc/0xd50 kernel/time/hrtimer.c:1803 Code: 0f b6 04 28 84 c0 48 8b 54 24 30 0f 85 73 02 00 00 0f b6 1a 89 de 83 e6 01 31 ff e8 7e 9f 12 00 83 e3 01 75 27 e8 74 9c 12 00 <4c> 89 f7 48 8b 74 24 58 31 d2 e8 75 2b 00 00 eb 16 e8 5e 9c 12 00 RSP: 0018:ffffc90000a18d40 EFLAGS: 00000006 RAX: ffffffff818340ac RBX: 0000000000000000 RCX: ffff88806927da00 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000a18ea0 R08: ffffffff818340a2 R09: fffff52000143184 R10: dffffc0000000000 R11: fffff52000143184 R12: 1ffff110170e593b R13: dffffc0000000000 R14: ffff8880254d6340 R15: ffff8880b872c880 FS: 00007f513fb016c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020177000 CR3: 0000000011d06000 CR4: 0000000000350ef0 Call Trace: 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+0x112/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:obj_cgroup_put include/linux/memcontrol.h:779 [inline] RIP: 0010:mod_objcg_state+0x5d9/0x930 mm/memcontrol.c:2766 Code: 3c 23 00 74 08 4c 89 f7 e8 74 e2 f6 ff f6 84 24 81 00 00 00 02 0f 85 89 00 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 8b 7c 24 28 <48> 85 ff 74 05 e8 9d 8f 00 00 48 c7 44 24 60 0e 36 e0 45 48 8b 44 RSP: 0018:ffffc900046369e0 EFLAGS: 00000206 RAX: 3e00146870c18400 RBX: 1ffff920008c6d4c RCX: ffffffff81718fba RDX: dffffc0000000000 RSI: ffffffff8c0ad8a0 RDI: 0000000000000000 RBP: ffffc90004636af8 R08: ffffffff94325937 R09: 1ffffffff2864b26 R10: dffffc0000000000 R11: fffffbfff2864b27 R12: dffffc0000000000 R13: 0000000000000054 R14: ffffc90004636a60 R15: 0000000000000246 __memcg_slab_post_alloc_hook+0x20f/0x7e0 mm/memcontrol.c:3013 memcg_slab_post_alloc_hook mm/slub.c:2152 [inline] slab_post_alloc_hook mm/slub.c:4114 [inline] slab_alloc_node mm/slub.c:4153 [inline] kmem_cache_alloc_noprof+0x287/0x380 mm/slub.c:4160 alloc_buffer_head+0x2a/0x290 fs/buffer.c:3015 folio_alloc_buffers+0x2bc/0x660 fs/buffer.c:924 create_empty_buffers+0x3a/0x740 fs/buffer.c:1662 ocfs2_map_page_blocks+0x17e/0xf80 fs/ocfs2/aops.c:600 ocfs2_write_cluster fs/ocfs2/aops.c:1193 [inline] ocfs2_write_cluster_by_desc+0xdd1/0x20b0 fs/ocfs2/aops.c:1239 ocfs2_write_begin_nolock+0x3a2f/0x4ec0 fs/ocfs2/aops.c:1815 ocfs2_write_begin+0x205/0x3a0 fs/ocfs2/aops.c:1902 generic_perform_write+0x346/0x6d0 mm/filemap.c:4055 ocfs2_file_write_iter+0x19c8/0x21b0 fs/ocfs2/file.c:2469 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xaed/0xd30 fs/read_write.c:679 ksys_write+0x18f/0x2b0 fs/read_write.c:731 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:0x7f513ed80809 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:00007f513fb01058 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f513ef45fa0 RCX: 00007f513ed80809 RDX: 000000000208e24b RSI: 0000000020000d80 RDI: 0000000000000004 RBP: 00007f513edf393e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f513ef45fa0 R15: 00007ffdea883df8 rcu: rcu_preempt kthread starved for 10495 jiffies! g25785 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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:25840 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+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: 0 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 6.12.0-syzkaller-10296-gaaf20f870da0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19f8/0x2ca0 kernel/smp.c:884 Code: 89 e6 83 e6 01 31 ff e8 36 ea 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 e1 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 c5 e5 0b 00 eb e4 44 RSP: 0018:ffffc90000bc76e0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff110170e88c1 RCX: ffff8880222a1e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000bc78e0 R08: ffffffff8189f72a R09: 1ffffffff2864b10 R10: dffffc0000000000 R11: fffffbfff2864b11 R12: dffffc0000000000 R13: ffff8880b8744608 R14: ffff8880b863f980 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f35123f9000 CR3: 000000000e738000 CR4: 0000000000350ef0 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:2114 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2324 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2522 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+0xbc/0x260 mm/kfence/core.c:849 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa65/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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