rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P11243/1:b..l (detected by 0, t=10506 jiffies, g=45577, q=696 ncpus=2) task:syz-executor.5 state:R running task stack:24088 pid:11243 ppid: 3630 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6431 preempt_schedule_common+0x93/0xe0 kernel/sched/core.c:6596 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6620 preempt_schedule_thunk+0x16/0x18 __local_bh_enable_ip+0x174/0x1f0 kernel/softirq.c:403 rcu_read_unlock_bh include/linux/rcupdate.h:765 [inline] __dev_queue_xmit+0x1e5d/0x3820 net/core/dev.c:4280 dev_queue_xmit include/linux/netdevice.h:2994 [inline] __bpf_tx_skb net/core/filter.c:2114 [inline] __bpf_redirect_no_mac net/core/filter.c:2139 [inline] __bpf_redirect+0x7a8/0xf60 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2429 [inline] bpf_clone_redirect+0x243/0x350 net/core/filter.c:2401 bpf_prog_973cd02a7a0e8181+0x56/0x5b bpf_dispatcher_nop_func include/linux/bpf.h:869 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_test_run+0x4bc/0x8e0 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0xad8/0x1380 net/bpf/test_run.c:1155 bpf_prog_test_run+0x32c/0x3a0 kernel/bpf/syscall.c:3591 __sys_bpf+0x43a/0x6c0 kernel/bpf/syscall.c:4935 __do_sys_bpf kernel/bpf/syscall.c:5021 [inline] __se_sys_bpf kernel/bpf/syscall.c:5019 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5019 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f3a9f889109 RSP: 002b:00007f3aa0a1c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f3a9f99bf60 RCX: 00007f3a9f889109 RDX: 000000000000002c RSI: 0000000020000080 RDI: 000000000000000a RBP: 00007f3a9f8e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffb660bf7f R14: 00007f3aa0a1c300 R15: 0000000000022000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10481 jiffies! g45577 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=24420 rcu: rcu_preempt kthread starved for 10482 jiffies! g45577 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26424 pid: 17 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6431 schedule+0xeb/0x1b0 kernel/sched/core.c:6503 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2b9/0xfb0 kernel/rcu/tree.c:1999 rcu_gp_kthread+0xa5/0x360 kernel/rcu/tree.c:2187 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11264 Comm: syz-executor.0 Not tainted 5.18.0-syzkaller-10643-g9d004b2f4fea #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/12/2022 RIP: 0010:lock_acquire+0x81/0x400 kernel/locking/lockdep.c:5633 Code: 4c 8d 6c 24 40 49 c1 ed 03 48 b8 f1 f1 f1 f1 00 f2 f2 f2 4b 89 44 25 00 43 c7 44 25 09 f2 f2 f2 00 43 c7 44 25 11 f3 f3 f3 f3 <66> 43 c7 44 25 15 f3 f3 43 c6 44 25 17 f3 89 54 24 18 48 89 4c 24 RSP: 0018:ffffc900001f0b00 EFLAGS: 00000802 RAX: f2f2f200f1f1f1f1 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888077f03300 RBP: ffffc900001f0c58 R08: 0000000000000001 R09: 0000000000000000 R10: fffffbfff1c06c26 R11: 1ffffffff1c06c25 R12: dffffc0000000000 R13: 1ffff9200003e168 R14: ffff888077f03300 R15: 0000000000000000 FS: 00007f6c9c382700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb7a599d090 CR3: 000000007a86c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] advance_sched+0x49/0x8c0 net/sched/sch_taprio.c:715 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 a2 af a8 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 27 3f 2a f7 65 8b 05 78 cb d0 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90004c1fa80 EFLAGS: 00000206 RAX: 322e5ae42aefef00 RBX: 1ffff92000983f54 RCX: ffffffff90bc5603 RDX: dffffc0000000000 RSI: ffffffff8a8d2280 RDI: 0000000000000001 RBP: ffffc90004c1fb10 R08: ffffffff818e1a80 R09: ffffed1003333131 R10: ffffed1003333131 R11: 1ffff11003333130 R12: dffffc0000000000 R13: 1ffff92000983f50 R14: ffffc90004c1faa0 R15: 0000000000000246 try_to_wake_up+0x49f/0x990 kernel/sched/core.c:4197 wake_up_process kernel/sched/core.c:4279 [inline] wake_up_q+0x9a/0xf0 kernel/sched/core.c:1019 futex_wake+0x50f/0x5b0 kernel/futex/waitwake.c:184 do_futex+0x370/0x490 kernel/futex/syscalls.c:111 __do_sys_futex kernel/futex/syscalls.c:183 [inline] __se_sys_futex+0x413/0x4a0 kernel/futex/syscalls.c:164 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f6c9b289109 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6c9c382218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f6c9b39bf68 RCX: 00007f6c9b289109 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f6c9b39bf6c RBP: 00007f6c9b39bf60 R08: 0000000000000010 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6c9b39bf6c R13: 00007ffe73bf765f R14: 00007f6c9c382300 R15: 0000000000022000 watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [kworker/u4:4:940] Modules linked in: irq event stamp: 7706218 hardirqs last enabled at (7706217): [] asm_sysvec_apic_timer_interrupt+0x1b/0x20 hardirqs last disabled at (7706218): [] sysvec_apic_timer_interrupt+0xa/0xb0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (7658394): [] __irq_exit_rcu+0xec/0x170 kernel/softirq.c:650 softirqs last disabled at (7658325): [] __irq_exit_rcu+0xec/0x170 kernel/softirq.c:650 CPU: 0 PID: 940 Comm: kworker/u4:4 Not tainted 5.18.0-syzkaller-10643-g9d004b2f4fea #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/12/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:414 [inline] RIP: 0010:smp_call_function_many_cond+0xf12/0x1500 kernel/smp.c:988 Code: 8b 3c 24 44 89 fe 83 e6 01 31 ff e8 58 e0 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 08 e8 23 dc 0a 00 eb 46 90 f3 90 <42> 0f b6 04 3b 84 c0 75 11 41 f7 04 24 01 00 00 00 74 2b e8 06 dc RSP: 0018:ffffc9000431f780 EFLAGS: 00000293 RAX: ffffffff817c964a RBX: 1ffff11017367fc5 RCX: ffff88801cc39d80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000431f940 R08: ffffffff817c9618 R09: fffffbfff1f6b3f1 R10: fffffbfff1f6b3f1 R11: 1ffffffff1f6b3f0 R12: ffff8880b9b3fe28 R13: 1ffff11017347580 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa764b088a2 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:1154 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1231 [inline] text_poke_bp_batch+0x324/0x970 arch/x86/kernel/alternative.c:1419 text_poke_flush arch/x86/kernel/alternative.c:1589 [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 static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x470 mm/kfence/core.c:808 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11264 Comm: syz-executor.0 Not tainted 5.18.0-syzkaller-10643-g9d004b2f4fea #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/12/2022 RIP: 0010:advance_sched+0x0/0x8c0 net/sched/sch_taprio.c:707 Code: eb 05 e8 43 9a 1d f9 4c 89 f7 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d e9 2d bc 6f f9 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <55> 41 57 41 56 41 55 41 54 53 48 83 ec 68 49 89 fd 49 bc 00 00 00 RSP: 0018:ffffc900001f0d18 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88801e6f0000 RDX: 0000000000010002 RSI: 0000000000000000 RDI: ffff888077f03340 RBP: ffffc900001f0e78 R08: ffffffff8177219b R09: fffffbfff1c06c26 R10: fffffbfff1c06c26 R11: 1ffffffff1c06c25 R12: dffffc0000000000 R13: ffff88801e6f0a48 R14: 1ffff11003cde149 R15: ffff888077f03340 FS: 00007f6c9c382700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb7a599d090 CR3: 000000007a86c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 a2 af a8 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 27 3f 2a f7 65 8b 05 78 cb d0 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90004c1fa80 EFLAGS: 00000206 RAX: 322e5ae42aefef00 RBX: 1ffff92000983f54 RCX: ffffffff90bc5603 RDX: dffffc0000000000 RSI: ffffffff8a8d2280 RDI: 0000000000000001 RBP: ffffc90004c1fb10 R08: ffffffff818e1a80 R09: ffffed1003333131 R10: ffffed1003333131 R11: 1ffff11003333130 R12: dffffc0000000000 R13: 1ffff92000983f50 R14: ffffc90004c1faa0 R15: 0000000000000246 try_to_wake_up+0x49f/0x990 kernel/sched/core.c:4197 wake_up_process kernel/sched/core.c:4279 [inline] wake_up_q+0x9a/0xf0 kernel/sched/core.c:1019 futex_wake+0x50f/0x5b0 kernel/futex/waitwake.c:184 do_futex+0x370/0x490 kernel/futex/syscalls.c:111 __do_sys_futex kernel/futex/syscalls.c:183 [inline] __se_sys_futex+0x413/0x4a0 kernel/futex/syscalls.c:164 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f6c9b289109 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6c9c382218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f6c9b39bf68 RCX: 00007f6c9b289109 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f6c9b39bf6c RBP: 00007f6c9b39bf60 R08: 0000000000000010 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6c9b39bf6c R13: 00007ffe73bf765f R14: 00007f6c9c382300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 4c 8d 6c 24 40 lea 0x40(%rsp),%r13 5: 49 c1 ed 03 shr $0x3,%r13 9: 48 b8 f1 f1 f1 f1 00 movabs $0xf2f2f200f1f1f1f1,%rax 10: f2 f2 f2 13: 4b 89 44 25 00 mov %rax,0x0(%r13,%r12,1) 18: 43 c7 44 25 09 f2 f2 movl $0xf2f2f2,0x9(%r13,%r12,1) 1f: f2 00 21: 43 c7 44 25 11 f3 f3 movl $0xf3f3f3f3,0x11(%r13,%r12,1) 28: f3 f3 * 2a: 66 43 c7 44 25 15 f3 movw $0xf3f3,0x15(%r13,%r12,1) <-- trapping instruction 31: f3 32: 43 c6 44 25 17 f3 movb $0xf3,0x17(%r13,%r12,1) 38: 89 54 24 18 mov %edx,0x18(%rsp) 3c: 48 rex.W 3d: 89 .byte 0x89 3e: 4c rex.WR 3f: 24 .byte 0x24