rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 1, t=10506 jiffies, g=4621, q=59 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10506 (4294954329-4294943823), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10506 jiffies! g4621 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:28672 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: 3628 Comm: syz-executor136 Not tainted 5.18.0-next-20220526-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:match_held_lock+0x1/0xc0 kernel/locking/lockdep.c:5111 Code: ee 48 c7 c7 40 7d cc 89 e8 43 dc bb ff 48 c7 c7 a0 7d cc 89 e8 37 dc bb ff e8 91 28 cc ff 31 c0 5d c3 0f 1f 80 00 00 00 00 53 <48> 89 fb 48 83 ec 08 48 39 77 10 74 6a 66 f7 47 22 f0 ff 74 5a 48 RSP: 0018:ffffc90000007be8 EFLAGS: 00000093 RAX: 000000000000000a RBX: 0000000000000002 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8bd86f60 RDI: ffff88801c3fc5b0 RBP: ffffffff8bd86f60 R08: 0000000000000000 R09: ffffffff8dbb4997 R10: fffffbfff1b76932 R11: 0000000000000001 R12: ffff88801c3fbb00 R13: ffff88801c3fc560 R14: 00000000ffffffff R15: ffff88801c3fc5b0 FS: 0000555555bfc300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 00000000719d6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:5406 [inline] lock_is_held_type+0xa7/0x140 kernel/locking/lockdep.c:5708 lock_is_held include/linux/lockdep.h:279 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x560/0x780 kernel/locking/lockdep.c:5676 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x16/0x70 kernel/locking/spinlock.c:194 debug_object_activate+0x287/0x3e0 lib/debugobjects.c:686 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x27/0x3e0 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0xb02/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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 0a ae e4 f7 48 89 ef e8 12 2f e5 f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 43 37 d8 f7 65 8b 05 dc a6 88 76 85 c0 74 0a 5b 5d c3 e8 60 18 RSP: 0018:ffffc9000303f1e0 EFLAGS: 00000206 RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff201ee0e RDX: 0000000000000000 RSI: 0000000000000202 RDI: 0000000000000001 RBP: ffff88804ed4dae8 R08: 0000000000000001 R09: ffffffff900ac987 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88804ed4dae8 R14: 0000000000000246 R15: ffff88804ed4d800 spin_unlock_irqrestore include/linux/spinlock.h:415 [inline] taprio_change+0x2eab/0x4050 net/sched/sch_taprio.c:1607 taprio_init+0x52e/0x670 net/sched/sch_taprio.c:1739 qdisc_create.constprop.0+0x44a/0x10f0 net/sched/sch_api.c:1253 tc_modify_qdisc+0x4c5/0x1a00 net/sched/sch_api.c:1660 rtnetlink_rcv_msg+0x43a/0xc90 net/core/rtnetlink.c:6089 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2501 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:734 ____sys_sendmsg+0x6eb/0x810 net/socket.c:2492 ___sys_sendmsg+0xf3/0x170 net/socket.c:2546 __sys_sendmsg net/socket.c:2575 [inline] __do_sys_sendmsg net/socket.c:2584 [inline] __se_sys_sendmsg net/socket.c:2582 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2582 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f8cac15cea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffcc8216508 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f8cac15cea9 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 0000000000000000 R08: 000000000000000d R09: 000000000000000d R10: 000000000000000d R11: 0000000000000246 R12: 00007ffcc8216520 R13: 00000000000f4240 R14: 0000000000000000 R15: 0000000000000000 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.689 msecs watchdog: BUG: soft lockup - CPU#1 stuck for 246s! [kworker/u4:1:11] Modules linked in: irq event stamp: 174684 hardirqs last enabled at (174683): [] asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 hardirqs last disabled at (174684): [] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1106 softirqs last enabled at (141402): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last enabled at (141402): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 softirqs last disabled at (141369): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last disabled at (141369): [] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 CPU: 1 PID: 11 Comm: kworker/u4:1 Not tainted 5.18.0-next-20220526-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:write_comp_data+0x21/0x90 kernel/kcov.c:229 Code: 84 00 00 00 00 00 0f 1f 00 65 8b 05 a9 df 87 7e 49 89 f1 89 c6 49 89 d2 81 e6 00 01 00 00 49 89 f8 65 48 8b 14 25 80 6f 02 00 00 01 ff 00 74 0e 85 f6 74 59 8b 82 a4 15 00 00 85 c0 74 4f 8b RSP: 0018:ffffc90000107948 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffff8880b9c42500 RCX: ffffffff816fff5d RDX: ffff888010f0bb00 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed10173884a1 R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8cac11ac84 CR3: 000000000ba8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:414 [inline] smp_call_function_many_cond+0x4bd/0x1110 kernel/smp.c:988 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 ---------------- Code disassembly (best guess): 0: ee out %al,(%dx) 1: 48 c7 c7 40 7d cc 89 mov $0xffffffff89cc7d40,%rdi 8: e8 43 dc bb ff callq 0xffbbdc50 d: 48 c7 c7 a0 7d cc 89 mov $0xffffffff89cc7da0,%rdi 14: e8 37 dc bb ff callq 0xffbbdc50 19: e8 91 28 cc ff callq 0xffcc28af 1e: 31 c0 xor %eax,%eax 20: 5d pop %rbp 21: c3 retq 22: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 29: 53 push %rbx * 2a: 48 89 fb mov %rdi,%rbx <-- trapping instruction 2d: 48 83 ec 08 sub $0x8,%rsp 31: 48 39 77 10 cmp %rsi,0x10(%rdi) 35: 74 6a je 0xa1 37: 66 f7 47 22 f0 ff testw $0xfff0,0x22(%rdi) 3d: 74 5a je 0x99 3f: 48 rex.W