rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=7a9c/1/0x4000000000000000 softirq=12650/12651 fqs=8 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P6121/1:b..l rcu: (detected by 1, t=10502 jiffies, g=13177, q=435 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 6119 Comm: syz.3.203 Not tainted 6.10.0-rc7-next-20240712-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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 kernel/kcov.c:236 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x11/0x90 kernel/kcov.c:304 Code: 2e 0f 1f 84 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 4c 8b 04 24 65 48 8b 14 25 40 d7 03 00 <65> 8b 05 00 08 70 7e a9 00 01 ff 00 74 10 a9 00 01 00 00 74 5b 83 RSP: 0018:ffffc90000007d20 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000010 RCX: ffff8880286cbc00 RDX: ffff8880286cbc00 RSI: 0000000000000001 RDI: 0000000000000020 RBP: 0000000000000001 R08: ffffffff81814210 R09: 1ffffffff1f5ffad R10: dffffc0000000000 R11: fffffbfff1f5ffae R12: dffffc0000000000 R13: ffff8880b942c980 R14: ffff888065806340 R15: 1ffff11017285930 FS: 00005555856e5500(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003c80 CR3: 000000002028e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: enqueue_hrtimer+0x140/0x3c0 kernel/time/hrtimer.c:1088 __run_hrtimer kernel/time/hrtimer.c:1706 [inline] __hrtimer_run_queues+0x6cb/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 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:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5113 Code: c9 50 e8 39 b8 0b 00 48 83 c4 08 4c 89 f7 e8 dd 38 00 00 cc 1f 44 00 00 4c 89 f7 e8 10 ff 39 0a e8 1b 85 37 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc RSP: 0018:ffffc90002f1f6e8 EFLAGS: 00000282 RAX: 250c772910759b00 RBX: ffff8880286cbc00 RCX: ffffffff819b7b4c RDX: dffffc0000000000 RSI: ffffffff8c209f40 RDI: ffffffff8163f735 RBP: ffffc90002f1f730 R08: ffffffff8faffd6f R09: 1ffffffff1f5ffad R10: dffffc0000000000 R11: fffffbfff1f5ffae R12: 1ffff11017287ef3 R13: dffffc0000000000 R14: ffff8880b943ea00 R15: ffff8880b943f798 context_switch kernel/sched/core.c:5242 [inline] __schedule+0x1808/0x4a60 kernel/sched/core.c:6603 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6782 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6806 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 class_preempt_destructor include/linux/preempt.h:480 [inline] try_to_wake_up+0x9a1/0x1470 kernel/sched/core.c:4205 wake_up_process kernel/sched/core.c:4330 [inline] wake_up_q+0xc8/0x120 kernel/sched/core.c:1037 futex_wake+0x523/0x5c0 kernel/futex/waitwake.c:199 do_futex+0x392/0x560 kernel/futex/syscalls.c:107 __do_sys_futex kernel/futex/syscalls.c:179 [inline] __se_sys_futex+0x3f9/0x480 kernel/futex/syscalls.c:160 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:0x7f83d4d75bd9 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:00007ffe78904168 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00000000000000d8 RCX: 00007f83d4d75bd9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f83d4f04040 RBP: 0000000000000099 R08: 0000000000000001 R09: 000000157890448f R10: 00007f83d4c00000 R11: 0000000000000246 R12: 00007f83d4f04044 R13: 0000000000000001 R14: 00007f83d4f03f60 R15: 00007f83d4f04038 task:modprobe state:R running task stack:24528 pid:6121 tgid:6121 ppid:63 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6782 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6806 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3e/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] zap_pte_range mm/memory.c:1688 [inline] zap_pmd_range mm/memory.c:1736 [inline] zap_pud_range mm/memory.c:1765 [inline] zap_p4d_range mm/memory.c:1786 [inline] unmap_page_range+0x3818/0x42c0 mm/memory.c:1807 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1904 exit_mmap+0x264/0xc80 mm/mmap.c:3412 __mmput+0x115/0x390 kernel/fork.c:1347 exit_mm+0x220/0x310 kernel/exit.c:571 do_exit+0x9b2/0x27f0 kernel/exit.c:869 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 __do_sys_exit_group kernel/exit.c:1042 [inline] __se_sys_exit_group kernel/exit.c:1040 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1040 x64_sys_call+0x26c3/0x26d0 arch/x86/include/generated/asm/syscalls_64.h:232 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:0x7f467c894a90 RSP: 002b:00007ffc2fd30428 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f467c985860 RCX: 00007f467c894a90 RDX: 00000000000000e7 RSI: 000000000000003c RDI: 0000000000000001 RBP: 00007f467c985860 R08: 00007ffc2fd302a0 R09: 00007ffc2fd30380 R10: 00007ffc2fd302e0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f467c989658 R15: 0000000000000001 rcu: rcu_preempt kthread starved for 10483 jiffies! g13177 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:26448 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 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: 6125 Comm: syz.2.204 Not tainted 6.10.0-rc7-next-20240712-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline] RIP: 0010:smp_call_function_many_cond+0x1865/0x29d0 kernel/smp.c:856 Code: 89 e6 83 e6 01 31 ff e8 89 14 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 34 10 0c 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 18 10 0c 00 eb e4 44 RSP: 0018:ffffc9000e1a72e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff11017288c61 RCX: 0000000000040000 RDX: ffffc9000a5cc000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc9000e1a74c0 R08: ffffffff8187baa7 R09: 1ffffffff1f5ffad R10: dffffc0000000000 R11: fffffbfff1f5ffae R12: dffffc0000000000 R13: ffff8880b9446308 R14: ffff8880b953fb80 R15: 0000000000000000 FS: 00007f409c74b6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa9c0164d58 CR3: 0000000020f40000 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:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 __sched_core_enable kernel/sched/core.c:407 [inline] sched_core_get+0xae/0x180 kernel/sched/core.c:431 sched_core_alloc_cookie+0x71/0xa0 kernel/sched/core_sched.c:18 sched_core_share_pid+0x298/0x7d0 kernel/sched/core_sched.c:185 __do_sys_prctl kernel/sys.c:2729 [inline] __se_sys_prctl+0xe27/0x3990 kernel/sys.c:2457 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:0x7f409b975bd9 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:00007f409c74b048 EFLAGS: 00000246 ORIG_RAX: 000000000000009d RAX: ffffffffffffffda RBX: 00007f409bb04038 RCX: 00007f409b975bd9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 000000000000003e RBP: 00007f409b9e4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f409bb04038 R15: 00007ffef02aa158