rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=6794/1/0x4000000000000000 softirq=32085/32091 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5073/1:b..l rcu: (detected by 1, t=10502 jiffies, g=49969, q=86 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10110 Comm: syz-executor.5 Not tainted 6.6.0-rc4-syzkaller-00229-g82714078aee4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x8/0x20 kernel/kcov.c:304 Code: 00 00 f3 0f 1e fa 48 8b 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 b8 fe ff ff 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 <89> f2 89 fe bf 05 00 00 00 e9 9a fe ff ff 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffffc90000007e38 EFLAGS: 00000046 RAX: 0000000080010001 RBX: ffff8880b982ba40 RCX: ffffffff8175b3ad RDX: ffff88807dba6200 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff2484036 R10: ffffffff924201b3 R11: 0000000000000000 R12: ffff8880b982b940 R13: 178bcfd7a42c0000 R14: ffff888043bfe340 R15: 0000000000000001 FS: 00007fd4a51466c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555573d0938 CR3: 0000000074987000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cpu_max_bits_warn include/linux/cpumask.h:143 [inline] cpumask_check include/linux/cpumask.h:150 [inline] cpumask_test_cpu include/linux/cpumask.h:504 [inline] cpu_online include/linux/cpumask.h:1082 [inline] trace_hrtimer_cancel include/trace/events/timer.h:297 [inline] debug_deactivate kernel/time/hrtimer.c:484 [inline] __run_hrtimer kernel/time/hrtimer.c:1656 [inline] __hrtimer_run_queues+0x48d/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:unix_dgram_recvmsg+0x5f/0xf0 net/unix/af_unix.c:2456 Code: 00 0f 85 a3 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5b 18 48 8d 7b 28 48 89 fa 48 c1 ea 03 80 3c 02 00 75 7a 4c 8b 73 28 <49> 81 fe c0 e9 7b 8e 74 45 e8 e3 ef 97 f8 49 8d 7e 70 48 b8 00 00 RSP: 0018:ffffc900037bf9d0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff888077578000 RCX: ffffc9000afa0000 RDX: 1ffff1100eeaf005 RSI: ffffffff88eed4dd RDI: ffff888077578028 RBP: ffffc900037bfdb0 R08: 0000000000000005 R09: 0000000000000000 R10: 000000000000087e R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000002 R14: ffffffff8e7be9c0 R15: 0000000000000002 sock_recvmsg_nosec net/socket.c:1044 [inline] ____sys_recvmsg+0x4ab/0x5c0 net/socket.c:2775 ___sys_recvmsg+0x115/0x1a0 net/socket.c:2819 do_recvmmsg+0x2af/0x740 net/socket.c:2913 __sys_recvmmsg net/socket.c:2992 [inline] __do_sys_recvmmsg net/socket.c:3015 [inline] __se_sys_recvmmsg net/socket.c:3008 [inline] __x64_sys_recvmmsg+0x235/0x290 net/socket.c:3008 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd4a447cae9 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:00007fd4a51460c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007fd4a459c050 RCX: 00007fd4a447cae9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000004 RBP: 00007fd4a44c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fd4a459c050 R15: 00007ffe7f305578 task:syz-executor.2 state:R running task stack:24784 pid:5073 ppid:5059 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6864 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk_64.S:45 __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x3a/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] copy_pte_range mm/memory.c:1106 [inline] copy_pmd_range mm/memory.c:1167 [inline] copy_pud_range mm/memory.c:1204 [inline] copy_p4d_range mm/memory.c:1228 [inline] copy_page_range+0x12af/0x3d50 mm/memory.c:1326 dup_mmap+0x13f3/0x1d80 kernel/fork.c:758 dup_mm kernel/fork.c:1686 [inline] copy_mm kernel/fork.c:1735 [inline] copy_process+0x6bff/0x73f0 kernel/fork.c:2501 kernel_clone+0xfd/0x920 kernel/fork.c:2909 __do_sys_clone+0xba/0x100 kernel/fork.c:3052 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7feeaae79b13 RSP: 002b:00007ffd019ed508 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007feeaae79b13 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000555556b5e750 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 rcu: rcu_preempt kthread starved for 10502 jiffies! g49969 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:28432 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1613 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1812 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 8649 Comm: kworker/u4:13 Not tainted 6.6.0-rc4-syzkaller-00229-g82714078aee4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:300 [inline] RIP: 0010:smp_call_function_many_cond+0x4d6/0x1570 kernel/smp.c:844 Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 fc 4c 89 fd 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 4c 8b 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 3c 0e 00 00 8b 43 08 31 RSP: 0018:ffffc9000412f920 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b98414c0 RCX: 0000000000000000 RDX: ffff88802865e200 RSI: ffffffff817b39c4 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1017308299 R13: 0000000000000001 R14: ffff8880b993d900 R15: ffff8880b98414c8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fd2e000 CR3: 000000000c976000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1012 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1993 [inline] text_poke_bp_batch+0x2ce/0x960 arch/x86/kernel/alternative.c:2203 text_poke_flush arch/x86/kernel/alternative.c:2394 [inline] text_poke_flush arch/x86/kernel/alternative.c:2391 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2401 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32e/0x410 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:830 [inline] toggle_allocation_gate+0xf4/0x250 mm/kfence/core.c:822 process_one_work+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304