rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 ticks this GP) idle=38e4/1/0x4000000000000000 softirq=41611/41614 fqs=1 rcu: (detected by 1, t=10502 jiffies, g=40173, q=356 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 9418 Comm: syz-executor Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:check_preemption_disabled+0x42/0x120 lib/smp_processor_id.c:55 Code: 08 65 8b 1d 0c 14 3a 74 65 8b 05 01 14 3a 74 a9 ff ff ff 7f 74 26 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f 85 ce 00 00 00 <89> d8 48 83 c4 10 5b 41 5c 41 5e 41 5f c3 cc cc cc cc 48 c7 04 24 RSP: 0018:ffffc90000007c18 EFLAGS: 00000046 RAX: da381d654440c400 RBX: 0000000000000000 RCX: ffff88805dadda00 RDX: ffff88805dadda00 RSI: ffffffff8c608080 RDI: ffffffff8c608040 RBP: 0000000000000001 R08: ffffffff89cc9479 R09: 1ffff1100668ee2b R10: dffffc0000000000 R11: ffffed100668ee2c R12: dffffc0000000000 R13: 1812efb140000000 R14: ffff88806b057000 R15: ffff888033477360 FS: 0000555576bc0500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f147aa656c0 CR3: 0000000059be2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000097 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:737 rcu_read_unlock include/linux/rcupdate.h:878 [inline] advance_sched+0xac2/0xca0 net/sched/sch_taprio.c:987 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1803 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:folio_test_anon include/linux/page-flags.h:689 [inline] RIP: 0010:copy_present_ptes mm/memory.c:1028 [inline] RIP: 0010:copy_pte_range mm/memory.c:1173 [inline] RIP: 0010:copy_pmd_range+0xbdb/0x7eb0 mm/memory.c:1261 Code: de e8 d9 e3 b1 ff 83 fb 7f 0f 86 9c 6e 00 00 4c 89 6c 24 18 4c 89 ff be 04 00 00 00 e8 1e 99 19 00 48 8b 44 24 08 f0 ff 40 34 <48> 8d 78 18 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 RSP: 0018:ffffc900035b72e0 EFLAGS: 00000202 RAX: ffffea0001a95dc0 RBX: 0000000000000082 RCX: ffffffff81e40042 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffea0001a95df4 RBP: ffffc900035b76f0 R08: ffffea0001a95df7 R09: 1ffffd4000352bbe R10: dffffc0000000000 R11: fffff94000352bbf R12: ffffea0001a95dc8 R13: 1ffffd4000352bb9 R14: 1ffffd4000352bbe R15: ffffea0001a95df4 copy_pud_range mm/memory.c:1298 [inline] copy_p4d_range mm/memory.c:1322 [inline] copy_page_range+0x99f/0xe90 mm/memory.c:1420 dup_mmap kernel/fork.c:745 [inline] dup_mm kernel/fork.c:1675 [inline] copy_mm+0x1117/0x1e80 kernel/fork.c:1724 copy_process+0x1845/0x3d50 kernel/fork.c:2375 kernel_clone+0x223/0x880 kernel/fork.c:2787 __do_sys_clone kernel/fork.c:2930 [inline] __se_sys_clone kernel/fork.c:2914 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2914 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:0x7f1479d75093 Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 RSP: 002b:00007ffc276333a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1479d75093 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000555576bc07d0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000039b97 R14: 0000000000039a21 R15: 00007ffc27633530 rcu: rcu_preempt kthread starved for 10500 jiffies! g40173 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:26072 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 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: 1 UID: 0 PID: 10554 Comm: syz.8.1715 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x1a04/0x2ca0 kernel/smp.c:884 Code: 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 51 e4 0b 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 35 e4 0b 00 eb e4 44 89 e9 80 e1 07 80 c1 03 38 c1 7c e2 RSP: 0018:ffffc9000444f7c0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 1ffff110170c8c65 RCX: 0000000000080000 RDX: ffffc90017252000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000444f9b0 R08: ffffffff8189fb5a R09: 1ffff92000889ee8 R10: dffffc0000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880b8646328 R14: ffff8880b873f940 R15: 0000000000000000 FS: 00007f08e57656c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555571b91808 CR3: 000000006d740000 CR4: 00000000003526f0 DR0: 0000000000000003 DR1: 0000000000000004 DR2: 0000000100000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: clock_was_set+0x75c/0x810 kernel/time/hrtimer.c:963 timekeeping_inject_offset+0x3d2/0x520 kernel/time/timekeeping.c:1480 do_adjtimex+0x5b1/0xb10 kernel/time/timekeeping.c:2579 do_clock_adjtime kernel/time/posix-timers.c:1165 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1177 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1168 [inline] __x64_sys_clock_adjtime+0x1e1/0x290 kernel/time/posix-timers.c:1168 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:0x7f08e497e819 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f08e5765038 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f08e4b35fa0 RCX: 00007f08e497e819 RDX: 0000000000000000 RSI: 0000000020000480 RDI: 0000000000000000 RBP: 00007f08e49f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f08e4b35fa0 R15: 00007ffca46fd4c8