rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=1784/1/0x4000000000000000 softirq=25144/25144 fqs=13 rcu: (detected by 0, t=10502 jiffies, g=36709, q=523 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9265 Comm: syz-executor.1 Not tainted 6.9.0-rc2-next-20240404-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__hrtimer_run_queues+0x6f2/0xd50 kernel/time/hrtimer.c:1756 Code: f7 48 8b 74 24 50 31 d2 e8 2b 2b 00 00 eb 16 e8 44 7c 12 00 49 bd 00 00 00 00 00 fc ff df eb 0a e8 33 7c 12 00 48 8b 5c 24 18 <48> 8b 74 24 58 42 0f b6 04 2e 84 c0 48 8b 54 24 10 0f 85 ca 01 00 RSP: 0018:ffffc90000a18d60 EFLAGS: 00000086 RAX: 0000000000000001 RBX: ffff8880b952c9c8 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffff8880b952c9d0 RDI: ffff888068cd6340 RBP: ffffc90000a18ea8 R08: ffff888068cd6357 R09: 0000000000000000 R10: ffff888068cd6340 R11: ffffed100d19ac6b R12: 1ffff110172a593b R13: dffffc0000000000 R14: ffff888068cd6340 R15: ffff8880b952c880 FS: 00007fc2255006c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001000 CR3: 000000002e1b4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 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_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 7e 33 6c f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 63 f6 d6 f5 65 8b 05 24 84 75 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc900040678a0 EFLAGS: 00000206 RAX: 8c1b417a48f8f500 RBX: 1ffff9200080cf18 RCX: ffffffff94766603 RDX: dffffc0000000000 RSI: ffffffff8bcad640 RDI: 0000000000000001 RBP: ffffc90004067938 R08: ffffffff8fabfc6f R09: 1ffffffff1f57f8d R10: dffffc0000000000 R11: fffffbfff1f57f8e R12: dffffc0000000000 R13: 1ffff9200080cf14 R14: ffffc900040678c0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] timerfd_clock_was_set+0x1e0/0x2f0 fs/timerfd.c:113 clock_was_set+0x7b0/0x830 kernel/time/hrtimer.c:983 timekeeping_inject_offset+0x4e8/0x580 kernel/time/timekeeping.c:1396 do_adjtimex+0x515/0xab0 kernel/time/timekeeping.c:2445 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+0x1e1/0x290 kernel/time/posix-timers.c:1162 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7fc22487de69 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:00007fc2255000c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007fc2249ac1f0 RCX: 00007fc22487de69 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007fc2248ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fc2249ac1f0 R15: 00007ffcdd1f3f28 rcu: rcu_preempt kthread starved for 10435 jiffies! g36709 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:25528 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:2024 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2226 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 9273 Comm: syz-executor.3 Not tainted 6.9.0-rc2-next-20240404-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x70 kernel/kcov.c:207 Code: 40 d3 03 00 65 8b 15 70 49 6e 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 <83> fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 8b 89 fc RSP: 0018:ffffc90003407658 EFLAGS: 00000246 RAX: ffffffff8189b2cc RBX: 1ffff110172a8861 RCX: ffff888060655a00 RDX: 0000000000000002 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90003407850 R08: ffffffff8189b29b R09: 1ffffffff25edcc6 R10: dffffc0000000000 R11: fffffbfff25edcc7 R12: dffffc0000000000 R13: ffff8880b9544308 R14: ffff8880b943f740 R15: 0000000000000001 FS: 00007fc30607c6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc2fb01f000 CR3: 000000006563e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:311 [inline] smp_call_function_many_cond+0x18ac/0x2a00 kernel/smp.c:855 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 kill_bdev block/bdev.c:84 [inline] set_blocksize+0x309/0x390 block/bdev.c:161 sb_set_blocksize+0x48/0x100 block/bdev.c:170 fat_fill_super+0x27e4/0x5220 fs/fat/inode.c:1685 mount_bdev+0x20a/0x2d0 fs/super.c:1658 legacy_get_tree+0xee/0x190 fs/fs_context.c:662 vfs_get_tree+0x90/0x2a0 fs/super.c:1779 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_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7fc30527f56a 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:00007fc30607bef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fc30607bf80 RCX: 00007fc30527f56a RDX: 00000000200000c0 RSI: 0000000020000080 RDI: 00007fc30607bf40 RBP: 00000000200000c0 R08: 00007fc30607bf80 R09: 0000000002018886 R10: 0000000002018886 R11: 0000000000000202 R12: 0000000020000080 R13: 00007fc30607bf40 R14: 0000000000000331 R15: 0000000020000100