rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 1, t=10503 jiffies, g=58189, q=58 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10501 (4295023754-4295013253), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10501 jiffies! g58189 f0x2 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:28344 pid: 17 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6428 schedule+0xd2/0x1f0 kernel/sched/core.c:6500 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1999 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2187 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 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: 12078 Comm: syz-executor.3 Not tainted 5.19.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rcu_lockdep_current_cpu_online kernel/rcu/tree.c:1185 [inline] RIP: 0010:rcu_lockdep_current_cpu_online+0x2d/0x140 kernel/rcu/tree.c:1177 Code: 59 10 9e 7e 81 e2 00 00 f0 00 b8 01 00 00 00 75 0a 8b 15 a6 6c 56 0c 85 d2 75 01 c3 55 53 65 ff 05 38 10 9e 7e e8 83 60 12 08 <48> c7 c3 80 ae 03 00 83 f8 07 89 c5 0f 87 e9 00 00 00 48 8d 3c ed RSP: 0018:ffffc90000007e18 EFLAGS: 00000002 RAX: 0000000000000000 RBX: ffff8880265c4340 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000010002 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 R13: ffff8880b9a2a600 R14: ffff8880b9a2a500 R15: 0000000000000001 FS: 0000555556be4400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb68cd9c028 CR3: 0000000041733000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:112 [inline] rcu_read_lock_held_common kernel/rcu/update.c:102 [inline] rcu_read_lock_sched_held+0x25/0x70 kernel/rcu/update.c:123 trace_hrtimer_expire_exit include/trace/events/timer.h:282 [inline] __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0xa2e/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__syscall_enter_from_user_work kernel/entry/common.c:89 [inline] RIP: 0010:syscall_enter_from_user_mode+0x2b/0x70 kernel/entry/common.c:110 Code: 54 49 89 f4 55 48 89 fd 48 8b 7c 24 10 e8 ed f5 ff ff eb 27 eb 2b e8 c4 40 09 f8 e8 7f 3e 09 f8 fb 65 48 8b 04 25 80 6f 02 00 <48> 8b 70 08 40 f6 c6 3f 75 19 4c 89 e0 5d 41 5c c3 eb 1b 0f 0b eb RSP: 0018:ffffc9000432ff28 EFLAGS: 00000202 RAX: ffff8880473b4100 RBX: 0000000000000000 RCX: 1ffffffff1b75379 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000432ff58 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff1b75952 R11: 0000000000000001 R12: 0000000000000003 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 do_syscall_64+0x16/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f1a4623bd4b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffdd43322f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007f1a4623bd4b RDX: ffffffffffffffb8 RSI: ffffffffffffffff RDI: 0000000000000015 RBP: 00007f1a4639d960 R08: 0000000000000000 R09: 00007f1a463a0448 R10: 00007ffdd43323f0 R11: 0000000000000293 R12: 00000000000b9cca R13: 00007ffdd43323f0 R14: 00007f1a4639bf60 R15: 0000000000000032 watchdog: BUG: soft lockup - CPU#1 stuck for 246s! [kworker/u4:8:3754] Modules linked in: irq event stamp: 3639864 hardirqs last enabled at (3639863): [] asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 hardirqs last disabled at (3639864): [] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (3589330): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last enabled at (3589330): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 softirqs last disabled at (3589293): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last disabled at (3589293): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 CPU: 1 PID: 3754 Comm: kworker/u4:8 Not tainted 5.19.0-rc1-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:414 [inline] RIP: 0010:smp_call_function_many_cond+0x499/0x1110 kernel/smp.c:988 Code: 01 89 ee e8 e9 98 0a 00 85 ed 74 47 48 8b 04 24 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 fc 83 c5 03 e8 89 9c 0a 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 21 0a 00 00 8b 43 08 31 RSP: 0018:ffffc90003867950 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9a44fc0 RCX: 0000000000000000 RDX: ffff88804f632040 RSI: ffffffff816f0ae7 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed10173489f9 R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb68dd24718 CR3: 000000000ba8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1154 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1231 [inline] text_poke_bp_batch+0x233/0x6c0 arch/x86/kernel/alternative.c:1419 text_poke_flush arch/x86/kernel/alternative.c:1589 [inline] text_poke_flush arch/x86/kernel/alternative.c:1586 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1596 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:830 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate mm/kfence/core.c:808 [inline] toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:800 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 12078 Comm: syz-executor.3 Not tainted 5.19.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_region_inline mm/kasan/generic.c:169 [inline] RIP: 0010:kasan_check_range+0x0/0x180 mm/kasan/generic.c:189 Code: 89 c3 74 17 8b 40 08 40 0f b6 f5 bf 00 08 00 00 89 43 0c e8 b2 e4 ff ff 89 43 08 5b 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 <48> 85 f6 0f 84 3c 01 00 00 49 89 f9 41 54 44 0f b6 c2 49 01 f1 55 RSP: 0018:ffffc90000007dc8 EFLAGS: 00000006 RAX: 0000000000a00000 RBX: ffff8880265c4340 RCX: ffffffff87888e36 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff88807c412220 RBP: 0000000000a00000 R08: 0000000000000000 R09: ffff8880265c42e7 R10: ffffed1004cb885c R11: 0000000000000001 R12: ffff88807c412200 R13: 16f6ee64f4c00000 R14: ffff88807c412220 R15: 16f6ee64f4c00000 FS: 0000555556be4400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb68cd9c028 CR3: 0000000041733000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_write include/linux/instrumented.h:86 [inline] atomic_set include/linux/atomic/atomic-instrumented.h:41 [inline] taprio_set_budget net/sched/sch_taprio.c:553 [inline] advance_sched+0x3d6/0x9a0 net/sched/sch_taprio.c:760 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__syscall_enter_from_user_work kernel/entry/common.c:89 [inline] RIP: 0010:syscall_enter_from_user_mode+0x2b/0x70 kernel/entry/common.c:110 Code: 54 49 89 f4 55 48 89 fd 48 8b 7c 24 10 e8 ed f5 ff ff eb 27 eb 2b e8 c4 40 09 f8 e8 7f 3e 09 f8 fb 65 48 8b 04 25 80 6f 02 00 <48> 8b 70 08 40 f6 c6 3f 75 19 4c 89 e0 5d 41 5c c3 eb 1b 0f 0b eb RSP: 0018:ffffc9000432ff28 EFLAGS: 00000202 RAX: ffff8880473b4100 RBX: 0000000000000000 RCX: 1ffffffff1b75379 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000432ff58 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff1b75952 R11: 0000000000000001 R12: 0000000000000003 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 do_syscall_64+0x16/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f1a4623bd4b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffdd43322f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007f1a4623bd4b RDX: ffffffffffffffb8 RSI: ffffffffffffffff RDI: 0000000000000015 RBP: 00007f1a4639d960 R08: 0000000000000000 R09: 00007f1a463a0448 R10: 00007ffdd43323f0 R11: 0000000000000293 R12: 00000000000b9cca R13: 00007ffdd43323f0 R14: 00007f1a4639bf60 R15: 0000000000000032 ---------------- Code disassembly (best guess): 0: 59 pop %rcx 1: 10 9e 7e 81 e2 00 adc %bl,0xe2817e(%rsi) 7: 00 f0 add %dh,%al 9: 00 b8 01 00 00 00 add %bh,0x1(%rax) f: 75 0a jne 0x1b 11: 8b 15 a6 6c 56 0c mov 0xc566ca6(%rip),%edx # 0xc566cbd 17: 85 d2 test %edx,%edx 19: 75 01 jne 0x1c 1b: c3 retq 1c: 55 push %rbp 1d: 53 push %rbx 1e: 65 ff 05 38 10 9e 7e incl %gs:0x7e9e1038(%rip) # 0x7e9e105d 25: e8 83 60 12 08 callq 0x81260ad * 2a: 48 c7 c3 80 ae 03 00 mov $0x3ae80,%rbx <-- trapping instruction 31: 83 f8 07 cmp $0x7,%eax 34: 89 c5 mov %eax,%ebp 36: 0f 87 e9 00 00 00 ja 0x125 3c: 48 rex.W 3d: 8d .byte 0x8d 3e: 3c ed cmp $0xed,%al