rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=f82c/1/0x4000000000000000 softirq=141510/141510 fqs=1 (detected by 0, t=10506 jiffies, g=209577, q=17 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8246 Comm: syz-executor.1 Not tainted 6.1.79-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:lock_is_held_type+0x0/0x180 kernel/locking/lockdep.c:5690 Code: 00 75 d6 48 c7 c7 e0 eb eb 8a 48 c7 c6 20 ec eb 8a e8 64 e1 c7 f6 0f 0b eb bf e8 ab fd ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 <55> 41 57 41 56 41 55 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 RSP: 0018:ffffc900001e0cb8 EFLAGS: 00000002 RAX: 0000000000010002 RBX: 0000000000000001 RCX: ffff888012753b80 RDX: ffff888012753b80 RSI: 00000000ffffffff RDI: ffff888096253300 RBP: ffff8880962532e8 R08: ffffffff88b4ff67 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888096253000 R13: ffff888096253340 R14: dffffc0000000000 R15: ffff888012754648 FS: 00007efc375dd6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020316030 CR3: 0000000072d80000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] advance_sched+0x69/0x970 net/sched/sch_taprio.c:701 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 b2 13 4d f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 37 63 c9 f6 65 8b 05 78 93 6d 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90014f378c0 EFLAGS: 00000206 RAX: f953fa4a43b6d800 RBX: 1ffff920029e6f1c RCX: ffffffff91c8b103 RDX: dffffc0000000000 RSI: ffffffff8aebed40 RDI: 0000000000000001 RBP: ffffc90014f37958 R08: dffffc0000000000 R09: ffffed1012711312 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920029e6f18 R14: ffffc90014f378e0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] timerfd_clock_was_set+0x1dc/0x2e0 fs/timerfd.c:113 clock_was_set+0x86e/0x900 kernel/time/hrtimer.c:980 timekeeping_inject_offset+0x65f/0x710 kernel/time/timekeeping.c:1395 do_adjtimex+0x511/0xaa0 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1149 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1161 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1152 [inline] __x64_sys_clock_adjtime+0x1dc/0x290 kernel/time/posix-timers.c:1152 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efc38a7dda9 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:00007efc375dd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007efc38bac050 RCX: 00007efc38a7dda9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007efc38aca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007efc38bac050 R15: 00007ffcd0c84808 rcu: rcu_preempt kthread starved for 10500 jiffies! g209577 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:26680 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2d2/0x1120 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 8240 Comm: syz-executor.1 Not tainted 6.1.79-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:__sanitizer_cov_trace_pc+0x45/0x60 kernel/kcov.c:213 Code: 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 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 c3 0f 1f RSP: 0018:ffffc90014e772b8 EFLAGS: 00000246 RAX: ffffffff817f3f9b RBX: 1ffff110173281b1 RCX: ffff8880aaf95940 RDX: ffffc90005edb000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90014e776a0 R08: ffffffff817f3f64 R09: fffffbfff2092645 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b9940d88 FS: 00007efc375fe6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efc375fefe8 CR3: 0000000072d80000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:424 [inline] smp_call_function_many_cond+0x1fcb/0x3460 kernel/smp.c:998 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166 __flush_tlb_multi arch/x86/include/asm/paravirt.h:87 [inline] flush_tlb_multi arch/x86/mm/tlb.c:924 [inline] flush_tlb_mm_range+0x353/0x590 arch/x86/mm/tlb.c:1010 flush_tlb_page arch/x86/include/asm/tlbflush.h:240 [inline] ptep_clear_flush+0x116/0x160 mm/pgtable-generic.c:98 wp_page_copy+0xc51/0x18c0 mm/memory.c:3202 handle_pte_fault mm/memory.c:5011 [inline] __handle_mm_fault mm/memory.c:5135 [inline] handle_mm_fault+0x2525/0x5340 mm/memory.c:5256 do_user_addr_fault arch/x86/mm/fault.c:1380 [inline] handle_page_fault arch/x86/mm/fault.c:1471 [inline] exc_page_fault+0x26f/0x660 arch/x86/mm/fault.c:1527 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:__put_user_nocheck_8+0x3/0x21 Code: 00 00 48 39 d9 73 34 0f 01 cb 89 01 31 c9 0f 01 ca c3 66 0f 1f 44 00 00 48 bb f9 ef ff ff ff 7f 00 00 48 39 d9 73 14 0f 01 cb <48> 89 01 31 c9 0f 01 ca c3 0f 1f 44 00 00 0f 01 ca b9 f2 ff ff ff RSP: 0018:ffffc90014e77d78 EFLAGS: 00050293 RAX: 0000000000000000 RBX: 00007fffffffeff9 RCX: 00007efc375fefe8 RDX: 0000000000000000 RSI: ffffffff8aebfec0 RDI: ffffffff8b3d1040 RBP: ffffc90014e77ea8 R08: dffffc0000000000 R09: fffffbfff1ce68c6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90014e77e28 R13: dffffc0000000000 R14: 1ffff920029ceffb R15: 0000000000000000 clear_rseq_cs kernel/rseq.c:228 [inline] rseq_ip_fixup kernel/rseq.c:262 [inline] __rseq_handle_notify_resume+0x5e6/0x1500 kernel/rseq.c:300 rseq_handle_notify_resume include/linux/sched.h:2329 [inline] resume_user_mode_work include/linux/resume_user_mode.h:61 [inline] exit_to_user_mode_loop+0xb4/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efc38a7dda9 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:00007efc375fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000013 RAX: ffffffffffffff83 RBX: 00007efc38babf80 RCX: 00007efc38a7dda9 RDX: 0000000000000001 RSI: 0000000020000640 RDI: 000000000000000a RBP: 00007efc38aca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007efc38babf80 R15: 00007ffcd0c84808