rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=1e04/1/0x4000000000000000 softirq=103640/103641 fqs=2 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P30616/1:b..l rcu: (detected by 1, t=10502 jiffies, g=158613, q=247 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 30614 Comm: syz-executor.4 Not tainted 6.6.0-rc4-syzkaller-00031-gba7d997a2a29 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:__hrtimer_run_queues+0x2ad/0xd10 kernel/time/hrtimer.c:1749 Code: 00 00 49 8d 5e 20 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 11 5e 6b 00 48 8b 1b 4c 89 e7 48 89 de e8 03 e4 10 00 <49> 39 dc 0f 8c 82 09 00 00 48 8b 84 24 98 00 00 00 42 0f b6 04 38 RSP: 0018:ffffc90000007d60 EFLAGS: 00000046 RAX: 0000000080010001 RBX: 178b2fbfe8df0000 RCX: ffff888036309dc0 RDX: 0000000080010001 RSI: 178b2fbfe8df0000 RDI: 1968046d2bd74007 RBP: ffffc90000007ea8 R08: ffffffff817d29bd R09: 0000000000000000 R10: ffff88803b05e340 R11: ffffed100760bc6b R12: 1968046d2bd74007 R13: ffff8880b982ba40 R14: ffff88803b05e340 R15: dffffc0000000000 FS: 00007f628016a6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201de030 CR3: 0000000035d2a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x104/0x390 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_is_held_type+0x13b/0x190 Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 3c 89 e8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc9000df678f8 EFLAGS: 00000206 RAX: dfb8b44845cb7800 RBX: ffff888036309dc0 RCX: ffff888036309dc0 RDX: 0000000000000000 RSI: ffffffff8b0ab620 RDI: ffffffff8b599ca0 RBP: 0000000000000000 R08: ffffffff81d3fe80 R09: 1ffff92001beced4 R10: dffffc0000000000 R11: fffff52001beced5 R12: 0000000000000246 R13: ffff888036309dc0 R14: 00000000ffffffff R15: ffffffff8d32c480 lock_is_held include/linux/lockdep.h:288 [inline] __might_resched+0xa5/0x780 kernel/sched/core.c:10149 __might_fault+0x6d/0x120 mm/memory.c:5893 do_recvmmsg+0x5e1/0xae0 net/socket.c:2902 __sys_recvmmsg net/socket.c:2975 [inline] __do_sys_recvmmsg net/socket.c:2998 [inline] __se_sys_recvmmsg net/socket.c:2991 [inline] __x64_sys_recvmmsg+0x199/0x240 net/socket.c:2991 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f627f47cae9 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:00007f628016a0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f627f59c050 RCX: 00007f627f47cae9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f627f4c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f627f59c050 R15: 00007fffab2fa088 task:syz-executor.4 state:R running task stack:26408 pid:30616 ppid:30615 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 preempt_schedule_common+0x83/0xc0 kernel/sched/core.c:6864 preempt_schedule+0xdd/0xf0 kernel/sched/core.c:6888 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] zap_pte_range mm/memory.c:1525 [inline] zap_pmd_range mm/memory.c:1573 [inline] zap_pud_range mm/memory.c:1602 [inline] zap_p4d_range mm/memory.c:1623 [inline] unmap_page_range+0x262e/0x3320 mm/memory.c:1644 unmap_vmas+0x2b8/0x460 mm/memory.c:1731 exit_mmap+0x297/0xc50 mm/mmap.c:3210 __mmput+0x115/0x3c0 kernel/fork.c:1349 exit_mm+0x21f/0x300 kernel/exit.c:567 do_exit+0x9af/0x2650 kernel/exit.c:861 __do_sys_exit kernel/exit.c:991 [inline] __se_sys_exit kernel/exit.c:989 [inline] __x64_sys_exit+0x40/0x40 kernel/exit.c:989 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f627f47cae9 RSP: 002b:00007f6280148f98 EFLAGS: 00000246 ORIG_RAX: 000000000000003c RAX: ffffffffffffffda RBX: 0000000000000058 RCX: 00007f627f47cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f627f4c847a R08: 0000000000000058 R09: 0000000000000058 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f627f59c120 R15: 00007fffab2fa088 rcu: rcu_preempt kthread starved for 10450 jiffies! g158613 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:25256 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_timeout+0x1bd/0x300 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1613 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1812 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/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: 18660 Comm: kworker/u4:3 Not tainted 6.6.0-rc4-syzkaller-00031-gba7d997a2a29 #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+0x1805/0x2890 kernel/smp.c:844 Code: 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 64 59 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 9f 55 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 83 55 RSP: 0018:ffffc90005127720 EFLAGS: 00000293 RAX: ffffffff8182b62d RBX: 1ffff110173087b9 RCX: ffff888067298000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90005127920 R08: ffffffff8182b5fc R09: 1ffffffff20df670 R10: dffffc0000000000 R11: fffffbfff20df671 R12: dffffc0000000000 R13: ffff8880b9843dc8 R14: ffff8880b993d440 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ca22000 CR3: 000000000d130000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 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+0x350/0xb20 arch/x86/kernel/alternative.c:2203 text_poke_flush arch/x86/kernel/alternative.c:2394 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2401 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x132/0x250 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:830 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90f/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304