rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=b014/1/0x4000000000000000 softirq=60410/60411 fqs=0 rcu: (detected by 0, t=10506 jiffies, g=77845, q=177 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 19979 Comm: syz-executor.0 Not tainted 6.5.0-next-20230829-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:debug_object_deactivate lib/debugobjects.c:791 [inline] RIP: 0010:debug_object_deactivate+0x25e/0x320 lib/debugobjects.c:771 Code: 44 24 60 05 00 00 00 e8 10 f5 ff ff e9 42 fe ff ff 48 8d 7b 14 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 7e 8b 43 14 85 c0 RSP: 0018:ffffc900001f0d40 EFLAGS: 00000803 RAX: dffffc0000000000 RBX: ffff8880276efd58 RCX: ffffffff8169045e RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff8880276efd6c RBP: ffffc900001f0e30 R08: 0000000000000001 R09: fffff5200003e196 R10: 0000000000000003 R11: ffffc900001f0ff8 R12: 0000000000000001 R13: 1ffff9200003e1ac R14: ffffffff8a8f2a60 R15: ffff88801e9b9340 FS: 00007efe711176c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201ea030 CR3: 0000000075946000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_hrtimer_deactivate kernel/time/hrtimer.c:427 [inline] debug_deactivate kernel/time/hrtimer.c:483 [inline] __run_hrtimer kernel/time/hrtimer.c:1656 [inline] __hrtimer_run_queues+0x470/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:kfree+0x5/0x140 mm/slab_common.c:1054 Code: ee 48 c7 c7 ed f4 4c 8c c6 05 aa ea f4 0c 01 e8 a1 a1 a7 ff 48 8b 74 24 20 48 89 ef e8 44 21 1a 00 eb c3 66 90 f3 0f 1e fa 55 <48> 89 fd 53 48 8b 74 24 10 0f 1f 44 00 00 65 8b 05 f2 6f 40 7e 83 RSP: 0018:ffffc90015d07b50 EFLAGS: 00000286 RAX: 0000000000000000 RBX: 1ffff92002ba0f6e RCX: ffffc90005211000 RDX: 0000000000040000 RSI: fffff52002ba0f49 RDI: 0000000000000000 RBP: ffffc90015d07cb8 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000002 R14: ffffc90015d07db0 R15: 00000000201ea000 ___sys_recvmsg+0x122/0x1a0 net/socket.c:2802 do_recvmmsg+0x2af/0x740 net/socket.c:2895 __sys_recvmmsg net/socket.c:2974 [inline] __do_sys_recvmmsg net/socket.c:2997 [inline] __se_sys_recvmmsg net/socket.c:2990 [inline] __x64_sys_recvmmsg+0x235/0x290 net/socket.c:2990 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:0x7efe7047cae9 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:00007efe711170c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007efe7059c050 RCX: 00007efe7047cae9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007efe704c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007efe7059c050 R15: 00007fff33d10eb8 rcu: rcu_preempt kthread starved for 10506 jiffies! g77845 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:28176 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x59f0 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+0x33a/0x430 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: 0 PID: 42 Comm: kworker/u4:2 Not tainted 6.5.0-next-20230829-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/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 dc 8c 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:ffffc90000b2f928 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9941a60 RCX: 0000000000000000 RDX: ffff888013a88000 RSI: ffffffff817c4514 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed101732834d R13: 0000000000000001 R14: ffff8880b983d8c0 R15: ffff8880b9941a68 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0017ed000 CR3: 000000000c976000 CR4: 00000000003526f0 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:1990 [inline] text_poke_bp_batch+0x2ce/0x960 arch/x86/kernel/alternative.c:2200 text_poke_flush arch/x86/kernel/alternative.c:2391 [inline] text_poke_flush arch/x86/kernel/alternative.c:2388 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2398 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+0x887/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784 kthread+0x33a/0x430 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