rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (16 ticks this GP) idle=2cc4/1/0x4000000000000000 softirq=7211/7211 fqs=0 (t=10616 jiffies g=7969 q=153 ncpus=2) rcu: rcu_preempt kthread starved for 10616 jiffies! g7969 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:28680 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6503 schedule+0xde/0x1b0 kernel/sched/core.c:6579 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1660 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1859 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 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: 102 Comm: kworker/u4:4 Not tainted 6.1.0-rc5-syzkaller-01261-g2c45455ea1a3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0xdf/0x190 mm/kasan/generic.c:189 Code: 80 38 00 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 74 5e 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 50 <80> 38 00 74 f2 eb d4 41 bc 08 00 00 00 48 89 ea 45 29 dc 4d 8d 1c RSP: 0018:ffffc900001e09f0 EFLAGS: 00000082 RAX: fffffbfff1ca7baa RBX: fffffbfff1ca7bab RCX: ffffffff81630939 RDX: fffffbfff1ca7bab RSI: 0000000000000008 RDI: ffffffff8e53dd50 RBP: fffffbfff1ca7baa R08: 0000000000000000 R09: ffffffff8e53dd57 R10: fffffbfff1ca7baa R11: 0000000000000001 R12: ffff8880b9b2b598 R13: ffff8880b9b2b680 R14: 0000000000000001 R15: ffff88806bcc0340 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 000000000c28e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:444 [inline] cpu_online include/linux/cpumask.h:1030 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xd9/0x810 kernel/locking/lockdep.c:5679 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x1a/0x70 kernel/locking/spinlock.c:194 __run_hrtimer kernel/time/hrtimer.c:1681 [inline] __hrtimer_run_queues+0x578/0xfb0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x180/0x640 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x44/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:kvm_wait+0x9c/0x100 arch/x86/kernel/kvm.c:1070 Code: fa 83 e2 07 38 d0 7f 04 84 c0 75 63 0f b6 07 40 38 c6 74 35 48 83 c4 10 c3 c3 e8 3f 76 4f 00 66 90 0f 00 2d 96 40 12 09 fb f4 <48> 83 c4 10 c3 89 74 24 0c 48 89 3c 24 e8 d2 74 4f 00 8b 74 24 0c RSP: 0018:ffffc900001e0d88 EFLAGS: 00000242 RAX: 000000000004a432 RBX: 0000000000000000 RCX: 1ffffffff222cda6 RDX: 0000000000000000 RSI: 0000000000000102 RDI: 0000000000000000 RBP: ffff88806bcc00f0 R08: 0000000000000001 R09: ffffffff9111eaff R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: ffffed100d79801e R14: 0000000000000001 R15: ffff8880b9b3bfc0 pv_wait arch/x86/include/asm/paravirt.h:603 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x8cb/0xb50 kernel/locking/qspinlock.c:511 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x204/0x2b0 kernel/locking/spinlock_debug.c:115 spin_lock include/linux/spinlock.h:350 [inline] net_tx_action+0x578/0xe40 net/core/dev.c:5063 __do_softirq+0x1fb/0xadc kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x43f/0x10a0 kernel/smp.c:987 Code: e6 e8 95 f7 0a 00 45 85 e4 74 48 48 8b 04 24 49 89 c5 83 e0 07 49 c1 ed 03 49 89 c4 4d 01 fd 41 83 c4 03 e8 c3 fa 0a 00 f3 90 <41> 0f b6 45 00 41 38 c4 7c 08 84 c0 0f 85 4e 0a 00 00 8b 43 08 31 RSP: 0018:ffffc900015a7970 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9a43460 RCX: 0000000000000000 RDX: ffff888018fb0000 RSI: ffffffff817524ad RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000003 R13: ffffed101734868d R14: 0000000000000001 R15: dffffc0000000000 on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1311 [inline] text_poke_bp_batch+0x22e/0x6b0 arch/x86/kernel/alternative.c:1502 text_poke_flush arch/x86/kernel/alternative.c:1670 [inline] text_poke_flush arch/x86/kernel/alternative.c:1667 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1677 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:801 static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:177 static_key_enable+0x1a/0x20 kernel/jump_label.c:190 toggle_allocation_gate mm/kfence/core.c:800 [inline] toggle_allocation_gate+0x104/0x390 mm/kfence/core.c:792 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 CPU: 0 PID: 4269 Comm: syz-executor.0 Not tainted 6.1.0-rc5-syzkaller-01261-g2c45455ea1a3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 c6 29 6c f7 48 89 ef e8 6e 96 6c 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 7f 1e 5f f7 65 8b 05 b8 a0 0b 76 85 c0 74 0a 5b 5d c3 e8 2c c1 RSP: 0018:ffffc9000529f1d0 EFLAGS: 00000206 RAX: 0000000000000016 RBX: 0000000000000200 RCX: 1ffffffff222cda6 RDX: 0000000000000000 RSI: 0000000000000202 RDI: 0000000000000001 RBP: ffff8880b9b2b580 R08: 0000000000000001 R09: ffffffff9111eaff R10: 0000000000000001 R11: 0000000000000000 R12: 00000000ffffffff R13: 0000000000000246 R14: ffff8880b9b2b680 R15: dffffc0000000000 FS: 00007fa96a7d6700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 00000000209f3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unlock_hrtimer_base kernel/time/hrtimer.c:1017 [inline] hrtimer_try_to_cancel kernel/time/hrtimer.c:1336 [inline] hrtimer_try_to_cancel+0x152/0x1e0 kernel/time/hrtimer.c:1316 hrtimer_cancel+0x17/0x40 kernel/time/hrtimer.c:1443 taprio_reset+0x76/0x200 net/sched/sch_taprio.c:1702 qdisc_reset+0x10c/0x770 net/sched/sch_generic.c:1022 dev_reset_queue+0x92/0x130 net/sched/sch_generic.c:1285 netdev_for_each_tx_queue include/linux/netdevice.h:2458 [inline] dev_deactivate_many+0x36d/0x9f0 net/sched/sch_generic.c:1351 dev_deactivate+0xed/0x1b0 net/sched/sch_generic.c:1374 qdisc_graft+0xdc5/0x1280 net/sched/sch_api.c:1079 tc_modify_qdisc+0xb6b/0x19a0 net/sched/sch_api.c:1683 rtnetlink_rcv_msg+0x43e/0xca0 net/core/rtnetlink.c:6141 netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2564 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline] netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1356 netlink_sendmsg+0x91b/0xe10 net/netlink/af_netlink.c:1932 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xd3/0x120 net/socket.c:734 ____sys_sendmsg+0x712/0x8c0 net/socket.c:2476 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2530 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2559 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa969689279 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:00007fa96a7d6168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa96979bf80 RCX: 00007fa969689279 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 00007fa9696e3189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe1af7396f R14: 00007fa96a7d6300 R15: 0000000000022000