rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10499 ticks this GP) idle=c014/1/0x4000000000000000 softirq=27897/38025 fqs=0 rcu: (t=10500 jiffies g=45613 q=221 ncpus=2) rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g45613 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=20747 rcu: rcu_preempt kthread starved for 10500 jiffies! g45613 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28736 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2572 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:1663 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:1862 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10526 Comm: dhcpcd-run-hook Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data+0x11/0x90 kernel/kcov.c:236 Code: cc cc 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 49 89 d2 49 89 f8 49 89 f1 65 48 8b 15 df e1 76 7e <65> 8b 05 e0 e1 76 7e a9 00 01 ff 00 74 0f f6 c4 01 74 59 8b 82 14 RSP: 0018:ffffc90000007e28 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff817a4ede RDX: ffff88801f653c00 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 000000000003d3cc R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000005 R12: ffff8880b942cac0 R13: ffff88805d030340 R14: ffff8880b942c9c0 R15: ffffffff88e73220 FS: 00007f6ebf012380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6ebf1ff5e8 CR3: 00000000297d0000 CR4: 00000000003506f0 Call Trace: trace_hrtimer_expire_entry include/trace/events/timer.h:259 [inline] __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x5fe/0xc20 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x410 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_callee_save___pv_queued_spin_unlock+0x15/0x1a Code: 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 52 b8 01 00 00 00 31 d2 f0 0f b0 17 3c 01 75 06 5a cc cc cc cc 56 0f b6 f0 e8 9d ff ff ff 5e 5a c3 cc cc cc cc 66 RSP: 0018:ffffc90003927628 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffff88802f53a728 RCX: ffffffff816bbe23 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffff88802f53a728 RBP: ffff88802f53a730 R08: 0000000000000000 R09: ffffed1005ea74e5 R10: ffff88802f53a72b R11: 0000000000000004 R12: ffff88802f53a738 R13: ffff88807a659b40 R14: ffff88807dd688d8 R15: 0000000000000004 pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:589 [inline] queued_spin_unlock arch/x86/include/asm/qspinlock.h:57 [inline] do_raw_spin_unlock+0x172/0x230 kernel/locking/spinlock_debug.c:142 __raw_spin_unlock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_unlock+0x1e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] jbd2_journal_dirty_metadata+0x619/0xe00 fs/jbd2/transaction.c:1647 __ext4_handle_dirty_metadata+0x16e/0x970 fs/ext4/ext4_jbd2.c:354 ext4_do_update_inode fs/ext4/inode.c:5091 [inline] ext4_mark_iloc_dirty+0x610/0x1b90 fs/ext4/inode.c:5709 __ext4_mark_inode_dirty+0x253/0x860 fs/ext4/inode.c:5913 ext4_dirty_inode+0xd9/0x130 fs/ext4/inode.c:5942 __mark_inode_dirty+0x1f0/0xda0 fs/fs-writeback.c:2477 generic_update_time+0xcf/0xf0 fs/inode.c:1907 inode_update_time fs/inode.c:1920 [inline] touch_atime+0x4ee/0x5d0 fs/inode.c:1992 file_accessed include/linux/fs.h:2457 [inline] filemap_read+0xb0e/0xcf0 mm/filemap.c:2671 generic_file_read_iter+0x350/0x460 mm/filemap.c:2784 ext4_file_read_iter+0x1dc/0x6c0 fs/ext4/file.c:147 __kernel_read+0x3ec/0xb20 fs/read_write.c:434 kernel_read+0x55/0x70 fs/read_write.c:452 prepare_binprm fs/exec.c:1712 [inline] search_binary_handler fs/exec.c:1761 [inline] exec_binprm fs/exec.c:1819 [inline] bprm_execve fs/exec.c:1871 [inline] bprm_execve+0x61e/0x1980 fs/exec.c:1847 do_execveat_common.isra.0+0x5cb/0x750 fs/exec.c:1978 do_execve fs/exec.c:2052 [inline] __do_sys_execve fs/exec.c:2128 [inline] __se_sys_execve fs/exec.c:2123 [inline] __x64_sys_execve+0x8c/0xb0 fs/exec.c:2123 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f6ebf14cef7 Code: ba 0f 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 63 d8 fb ff 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 90 b8 3b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 01 3f 0f 00 f7 d8 64 89 01 48 RSP: 002b:00007ffd36a00238 EFLAGS: 00000246 ORIG_RAX: 000000000000003b RAX: ffffffffffffffda RBX: 000055df2a35dc80 RCX: 00007f6ebf14cef7 RDX: 000055df2a35dcc8 RSI: 000055df2a35dc80 RDI: 000055df2a35dd58 RBP: 000055df2a35dd58 R08: 000055df2a35dd5d R09: 00007ffd36a04eae R10: 00007f6ebf34b088 R11: 0000000000000246 R12: 000055df2a35dcc8 R13: 00007f6ebf2fa904 R14: 000055df2a35dcc8 R15: 0000000000000000 CPU: 1 PID: 10527 Comm: syz-executor.3 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data+0x11/0x90 kernel/kcov.c:236 Code: cc cc 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 49 89 d2 49 89 f8 49 89 f1 65 48 8b 15 df e1 76 7e <65> 8b 05 e0 e1 76 7e a9 00 01 ff 00 74 0f f6 c4 01 74 59 8b 82 14 RSP: 0018:ffffc90003917b80 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff8880b94464e0 RCX: ffffffff8180f38b RDX: ffff88807b7a3c00 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: ffffed1017288c9d R13: 0000000000000001 R14: ffff8880b94464e8 R15: ffff8880b953f840 FS: 00007f36209de6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055df2a34c300 CR3: 000000005d614000 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+0x50b/0x1590 kernel/smp.c:855 clock_was_set+0x646/0x850 kernel/time/hrtimer.c:977 do_settimeofday64+0x3a6/0x5c0 kernel/time/timekeeping.c:1346 do_sys_settimeofday64+0x1dc/0x260 kernel/time/time.c:195 __do_sys_clock_settime kernel/time/posix-timers.c:1129 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1113 [inline] __x64_sys_clock_settime+0x1bf/0x2a0 kernel/time/posix-timers.c:1113 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f362167dda9 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:00007f36209de0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f36217ac050 RCX: 00007f362167dda9 RDX: 0000000000000000 RSI: 0000000020005b00 RDI: 0000000000000000 RBP: 00007f36216ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f36217ac050 R15: 00007ffd5ebb52d8