rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=1a44/1/0x4000000000000000 softirq=141045/141046 fqs=1 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P8639/1:b..l rcu: (detected by 0, t=10502 jiffies, g=218189, q=65 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8642 Comm: syz-executor.5 Not tainted 6.5.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:instrument_atomic_read_write include/linux/instrumented.h:96 [inline] RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1295 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] RIP: 0010:do_raw_spin_lock+0x140/0x3a0 kernel/locking/spinlock_debug.c:115 Code: 49 c1 ed 03 41 0f b6 44 15 00 84 c0 48 89 d3 0f 85 ca 01 00 00 c7 44 24 60 00 00 00 00 4c 89 e7 be 04 00 00 00 e8 50 1c 78 00 <4c> 89 f7 be 04 00 00 00 e8 43 1c 78 00 41 0f b6 44 1d 00 84 c0 48 RSP: 0018:ffffc900001e0be0 EFLAGS: 00000056 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffffffff816c7ed0 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8880b992b740 RBP: ffffc900001e0cb0 R08: ffff8880b992b743 R09: 1ffff110173256e8 R10: dffffc0000000000 R11: ffffed10173256e9 R12: ffff8880b992b740 R13: 1ffff9200003c188 R14: ffffc900001e0c40 R15: 1ffff110173256e9 FS: 00007ff6fe9556c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff6fe955d58 CR3: 000000002eb03000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irq include/linux/spinlock_api_smp.h:120 [inline] _raw_spin_lock_irq+0xdf/0x120 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x66c/0xd10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x13f/0x480 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 1e 85 1d f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 e3 c9 97 f6 65 8b 05 04 a1 3c 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90012d5fa20 EFLAGS: 00000206 RAX: a9461c3c8d56b600 RBX: 1ffff920025abf48 RCX: ffffffff91fac203 RDX: dffffc0000000000 RSI: ffffffff8b0a9820 RDI: 0000000000000001 RBP: ffffc90012d5fab0 R08: ffffffff8e9879af R09: 1ffffffff1d30f35 R10: dffffc0000000000 R11: fffffbfff1d30f36 R12: dffffc0000000000 R13: 1ffff920025abf44 R14: ffffc90012d5fa40 R15: 0000000000000246 timekeeping_inject_offset+0x659/0x710 kernel/time/timekeeping.c:1392 do_adjtimex+0x515/0xab0 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1159 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1171 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1162 [inline] __x64_sys_clock_adjtime+0x1e0/0x290 kernel/time/posix-timers.c:1162 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:0x7ff6fdc7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff6fe9550c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007ff6fdd9c050 RCX: 00007ff6fdc7cae9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007ff6fdcc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007ff6fdd9c050 R15: 00007ffd9b393ee8 task:kmmpd-loop2 state:R running task stack:27752 pid:8639 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 preempt_schedule_irq+0xfb/0x1b0 kernel/sched/core.c:7022 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:blk_add_timer+0x5/0x310 block/blk-timeout.c:129 Code: 44 d1 48 8d 84 10 f5 01 00 00 48 89 c6 48 29 de 48 0f 48 d8 31 ff e8 1a 91 70 fd 48 89 d8 5b c3 0f 1f 44 00 00 66 0f 1f 00 55 <41> 57 41 56 41 55 41 54 53 50 49 89 fd 49 bc 00 00 00 00 00 fc ff RSP: 0018:ffffc9000eb176c0 EFLAGS: 00000293 RAX: ffffffff841bd38c RBX: 1ffff11003efc82a RCX: ffff888021ef1dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88801f7e40c0 RBP: 0000000000000000 R08: ffffffff841bd37f R09: 1ffffffff20f6874 R10: dffffc0000000000 R11: fffffbfff20f6875 R12: dffffc0000000000 R13: ffff88801f7e4154 R14: ffff88801f66a2a0 R15: ffff88801f7e40c0 blk_mq_start_request+0x204/0x5b0 block/blk-mq.c:1263 loop_queue_rq+0x7d/0xab0 drivers/block/loop.c:1851 __blk_mq_issue_directly block/blk-mq.c:2589 [inline] blk_mq_try_issue_directly+0x50e/0xa10 block/blk-mq.c:2648 blk_mq_submit_bio+0x168f/0x1eb0 block/blk-mq.c:3021 __submit_bio+0x239/0x2e0 block/blk-core.c:598 __submit_bio_noacct_mq block/blk-core.c:677 [inline] submit_bio_noacct_nocheck+0x91d/0xc60 block/blk-core.c:706 write_mmp_block_thawed+0x3ba/0x5a0 fs/ext4/mmp.c:51 write_mmp_block+0x13f/0x390 fs/ext4/mmp.c:67 kmmpd+0x410/0xa80 fs/ext4/mmp.c:178 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: rcu_preempt kthread starved for 10496 jiffies! g218189 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:26568 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 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:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 24172 Comm: kworker/u4:4 Not tainted 6.5.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:296 [inline] RIP: 0010:smp_call_function_many_cond+0x1856/0x27d0 kernel/smp.c:835 Code: 03 84 c0 75 7e 45 8b 2c 24 44 89 ee 83 e6 01 31 ff e8 de 17 0b 00 41 83 e5 01 4c 8b 6c 24 60 75 07 e8 1e 14 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 04 24 RSP: 0018:ffffc90016bff780 EFLAGS: 00000293 RAX: ffffffff8180a487 RBX: 1ffff1101732857d RCX: ffff888039d53b80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90016bff980 R08: ffffffff8180a452 R09: 1ffffffff20f6860 R10: dffffc0000000000 R11: fffffbfff20f6861 R12: ffff8880b9942be8 R13: ffff8880b983d0c8 R14: ffff8880b983d0c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd2f8dec000 CR3: 000000000d130000 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:1003 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1997 [inline] text_poke_bp_batch+0x2d7/0x960 arch/x86/kernel/alternative.c:2207 text_poke_flush arch/x86/kernel/alternative.c:2398 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2405 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+0x92c/0x12c0 kernel/workqueue.c:2600 worker_thread+0xa63/0x1210 kernel/workqueue.c:2751 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304