rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=f2d4/1/0x4000000000000000 softirq=11126/11129 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6147/1:b..l rcu: (detected by 0, t=10505 jiffies, g=13517, q=171 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6109 Comm: syz-executor.2 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__lock_acquire+0xe50/0x1fd0 Code: 3c 24 e8 f3 27 86 00 eb cf 49 89 fd 48 c7 c7 60 0f 20 8e 48 89 ee e8 1f 0f 6e 03 4c 89 ef eb 8a 89 d8 25 ff 1f 00 00 c1 eb 03 <81> e3 00 60 00 00 09 c3 4c 89 e0 48 c1 e8 20 29 c3 89 c1 c1 c1 04 RSP: 0018:ffffc90000a18a30 EFLAGS: 00000002 RAX: 00000000000008f8 RBX: 000000000001891f RCX: ffff88802168e4e0 RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: ffff88802168e530 R08: ffffffff92f7469f R09: 1ffffffff25ee8d3 R10: dffffc0000000000 R11: fffffbfff25ee8d4 R12: ffffffffffffffff R13: ffff88802168da00 R14: 0000000000000001 R15: ffff88802168da00 FS: 00007f5a3ed426c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe30008dd8 CR3: 0000000057cde000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 __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:351 [inline] advance_sched+0xab/0xca0 net/sched/sch_taprio.c:924 __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/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:_raw_spin_lock_irq+0x41/0x120 kernel/locking/spinlock.c:169 Code: ec 60 49 89 fc 65 48 8b 04 25 28 00 00 00 48 89 44 24 40 49 bf 00 00 00 00 00 fc ff df 4c 8d 74 24 20 48 c7 04 24 b3 8a b5 41 <48> c7 44 24 08 60 8b b4 8d 48 c7 44 24 10 50 bc 88 8b 49 89 e5 49 RSP: 0018:ffffc90009856d20 EFLAGS: 00000282 RAX: a35e283b0ffd4100 RBX: ffff8880162d4000 RCX: ffffc90009856c03 RDX: 0000000000000002 RSI: ffffffff8bcacd00 RDI: ffff8880206dd8c0 RBP: ffffc90009856db8 R08: ffffffff8fac246f R09: 1ffffffff1f5848d R10: dffffc0000000000 R11: fffffbfff1f5848e R12: ffff8880206dd8c0 R13: ffff888020733768 R14: ffffc90009856d40 R15: dffffc0000000000 spin_lock_irq include/linux/spinlock.h:376 [inline] loop_queue_work drivers/block/loop.c:823 [inline] loop_queue_rq+0x21a/0xaf0 drivers/block/loop.c:1874 __blk_mq_issue_directly block/blk-mq.c:2577 [inline] blk_mq_request_issue_directly+0x3da/0x720 block/blk-mq.c:2662 blk_mq_plug_issue_direct+0x22a/0x5c0 block/blk-mq.c:2683 blk_mq_flush_plug_list+0x842/0x1880 block/blk-mq.c:2792 __blk_flush_plug+0x420/0x500 block/blk-core.c:1194 blk_finish_plug block/blk-core.c:1221 [inline] __submit_bio+0x422/0x560 block/blk-core.c:635 __submit_bio_noacct_mq block/blk-core.c:708 [inline] submit_bio_noacct_nocheck+0x4d3/0xe30 block/blk-core.c:737 submit_bio_wait+0x106/0x200 block/bio.c:1392 xfs_rw_bdev+0x2d4/0x300 fs/xfs/xfs_bio_io.c:53 xlog_do_io+0x167/0x330 fs/xfs/xfs_log_recover.c:140 xlog_bread+0x30/0xc0 fs/xfs/xfs_log_recover.c:171 xlog_rseek_logrec_hdr+0x14a/0x530 fs/xfs/xfs_log_recover.c:787 xlog_find_tail+0x266/0xfb0 fs/xfs/xfs_log_recover.c:1280 xlog_recover+0xe1/0x540 fs/xfs/xfs_log_recover.c:3424 xfs_log_mount+0x252/0x3e0 fs/xfs/xfs_log.c:718 xfs_mountfs+0xd2b/0x2020 fs/xfs/xfs_mount.c:831 xfs_fs_fill_super+0x11a6/0x1420 fs/xfs/xfs_super.c:1753 get_tree_bdev+0x3f7/0x570 fs/super.c:1615 vfs_get_tree+0x90/0x2a0 fs/super.c:1780 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 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:0x7f5a3e07e62a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5a3ed41ef8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5a3ed41f80 RCX: 00007f5a3e07e62a RDX: 0000000020000500 RSI: 0000000020000000 RDI: 00007f5a3ed41f40 RBP: 0000000020000500 R08: 00007f5a3ed41f80 R09: 0000000002218a5d R10: 0000000002218a5d R11: 0000000000000206 R12: 0000000020000000 R13: 00007f5a3ed41f40 R14: 000000000000965a R15: 0000000020000140 task:syz-executor.0 state:R running task stack:26816 pid:6147 tgid:6146 ppid:5107 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6924 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6948 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] do_anonymous_page mm/memory.c:4521 [inline] do_pte_missing mm/memory.c:3901 [inline] handle_pte_fault+0x5128/0x7130 mm/memory.c:5380 __handle_mm_fault mm/memory.c:5523 [inline] handle_mm_fault+0xfb0/0x19d0 mm/memory.c:5688 do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x459/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7fa6ece28a26 RSP: 002b:00007fa6edb67480 EFLAGS: 00010206 RAX: 00000000001e0001 RBX: 00007fa6edb67520 RCX: 00000000000000f5 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007fa6edb675c0 RBP: 0000000000000102 R08: 00007fa6e2c00000 R09: 00000000001e0000 R10: 0000000000000000 R11: 00007fa6edb67530 R12: 0000000000000001 R13: 00007fa6eceec020 R14: 0000000000000000 R15: 00007fa6edb675c0 rcu: rcu_preempt kthread starved for 10505 jiffies! g13517 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:25584 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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 PID: 11 Comm: kworker/u8:0 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x1860/0x29d0 kernel/smp.c:855 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 99 09 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 44 05 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 05 RSP: 0000:ffffc90000107700 EFLAGS: 00000293 RAX: ffffffff818a20e8 RBX: 1ffff110172a88a1 RCX: ffff888016ef3c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900001078e0 R08: ffffffff818a20b7 R09: 1ffffffff25ee8b0 R10: dffffc0000000000 R11: fffffbfff25ee8b1 R12: dffffc0000000000 R13: ffff8880b9544508 R14: ffff8880b943f8c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa6e2de0000 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:2069 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2279 text_poke_flush arch/x86/kernel/alternative.c:2470 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2477 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244