rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (1 GPs behind) idle=b29/1/0x4000000000000000 softirq=72661/72663 fqs=1 (t=10500 jiffies g=113269 q=1344) rcu: rcu_preempt kthread starved for 10497 jiffies! g113269 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:26576 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x1fd/0x770 kernel/rcu/tree.c:1955 rcu_gp_kthread+0xa5/0x350 kernel/rcu/tree.c:2128 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 974 Comm: kworker/u4:4 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0xbb2/0xda0 kernel/smp.c:969 Code: 83 e6 01 31 ff e8 7e b8 0b 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 0e e8 59 b4 0b 00 eb 4c 0f 1f 80 00 00 00 00 f3 90 <42> 0f b6 04 3b 84 c0 75 11 41 f7 45 00 01 00 00 00 74 2b e8 36 b4 RSP: 0018:ffffc900047bf820 EFLAGS: 00000293 RAX: ffffffff8178e95a RBX: 1ffff11017367ef9 RCX: ffff88801c7bba00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900047bf960 R08: ffffffff8178e922 R09: ffffffff844a7400 R10: 0000000000000009 R11: ffff88801c7bba00 R12: 0000000000000001 R13: ffff8880b9b3f7c8 R14: ffff8880b9a3a640 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007facf5932270 CR3: 000000000c88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1112 [inline] text_poke_bp_batch+0x310/0x940 arch/x86/kernel/alternative.c:1297 text_poke_flush arch/x86/kernel/alternative.c:1451 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12d/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x460 mm/kfence/core.c:732 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 NMI backtrace for cpu 1 CPU: 1 PID: 28082 Comm: syz-executor.1 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x22d/0x390 kernel/rcu/tree_stall.h:343 print_cpu_stall kernel/rcu/tree_stall.h:627 [inline] check_cpu_stall kernel/rcu/tree_stall.h:711 [inline] rcu_pending kernel/rcu/tree.c:3878 [inline] rcu_sched_clock_irq+0x1e33/0x2bc0 kernel/rcu/tree.c:2597 update_process_times+0x197/0x200 kernel/time/timer.c:1785 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1428 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: d1 52 fd ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 1e e9 50 f7 48 89 df e8 26 9a 52 f7 e8 01 f4 75 f7 fb bf 01 00 00 00 86 f2 44 f7 65 8b 05 b7 29 ed 75 85 c0 74 02 5b c3 e8 3c 11 eb RSP: 0018:ffffc90000dc0cb0 EFLAGS: 00000282 RAX: 1e29da80b0c24d00 RBX: ffff8880b9b280c0 RCX: ffffffff81668511 RDX: dffffc0000000000 RSI: 0000000000000101 RDI: 0000000000000001 RBP: ffffc90000dc0e10 R08: dffffc0000000000 R09: fffffbfff1ff39e2 R10: fffffbfff1ff39e2 R11: 0000000000000000 R12: ffffffff883f4f70 R13: dffffc0000000000 R14: ffff8880b9b28100 R15: ffff88806ff4d810 expire_timers kernel/time/timer.c:1465 [inline] __run_timers+0x70a/0x910 kernel/time/timer.c:1734 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1747 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:__crypto_alg_lookup+0x7b/0x4e0 crypto/api.c:63 Code: 44 89 64 24 04 66 2e 0f 1f 84 00 00 00 00 00 49 8d 6e 20 48 89 e8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 84 03 00 00 8b 5d 00 <89> de 83 e6 60 31 ff e8 a9 9a a1 fd 89 d8 83 e0 60 74 12 e8 8d 96 RSP: 0018:ffffc900156afc08 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000402 RCX: 0000000000040000 RDX: ffffc90005b4a000 RSI: 0000000000000cd4 RDI: 0000000000000cd5 RBP: ffffffff8d0f4ea0 R08: ffffffff83e30721 R09: ffffed100f489214 R10: ffffed100f489214 R11: 0000000000000000 R12: 000000000000040e R13: dffffc0000000000 R14: ffffffff8d0f4e80 R15: 000000000000240f crypto_alg_lookup+0x53/0x1d0 crypto/api.c:243 crypto_larval_lookup crypto/api.c:268 [inline] crypto_alg_mod_lookup+0x4f/0x6e0 crypto/api.c:317 crypto_find_alg crypto/api.c:530 [inline] crypto_alloc_tfm_node+0x139/0x370 crypto/api.c:567 sctp_listen_start net/sctp/socket.c:8487 [inline] sctp_inet_listen+0x588/0xa30 net/sctp/socket.c:8574 __sys_listen+0x1b0/0x230 net/socket.c:1727 __do_sys_listen net/socket.c:1736 [inline] __se_sys_listen net/socket.c:1734 [inline] __x64_sys_listen+0x56/0x60 net/socket.c:1734 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fd395929e99 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd39427e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000032 RAX: ffffffffffffffda RBX: 00007fd395a3d030 RCX: 00007fd395929e99 RDX: 0000000000000000 RSI: 000000000000001f RDI: 0000000000000004 RBP: 00007fd395983ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffa4b57d2f R14: 00007fd39427e300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 83 e6 01 and $0x1,%esi 3: 31 ff xor %edi,%edi 5: e8 7e b8 0b 00 callq 0xbb888 a: 41 83 e7 01 and $0x1,%r15d e: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 15: fc ff df 18: 75 0e jne 0x28 1a: e8 59 b4 0b 00 callq 0xbb478 1f: eb 4c jmp 0x6d 21: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 28: f3 90 pause * 2a: 42 0f b6 04 3b movzbl (%rbx,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 75 11 jne 0x44 33: 41 f7 45 00 01 00 00 testl $0x1,0x0(%r13) 3a: 00 3b: 74 2b je 0x68 3d: e8 .byte 0xe8 3e: 36 ss 3f: b4 .byte 0xb4