hrtimer: interrupt took 4799862 ns rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=1c1c/1/0x4000000000000000 softirq=7420/7421 fqs=0 (t=12032 jiffies g=7973 q=132 ncpus=2) rcu: rcu_preempt kthread starved for 12032 jiffies! g7973 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: 0 Comm: swapper/1 Not tainted 6.1.0-rc5-syzkaller-00135-gbadbda1a0186 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:mark_lock.part.0+0x26/0x1910 kernel/locking/lockdep.c:4593 Code: 00 00 00 00 41 57 41 56 41 55 41 89 d5 48 ba 00 00 00 00 00 fc ff df 41 54 49 89 f4 55 53 48 81 ec 38 01 00 00 48 8d 5c 24 38 <48> 89 3c 24 48 c7 44 24 38 b3 8a b5 41 48 c1 eb 03 48 c7 44 24 40 RSP: 0018:ffffc900001e06a0 EFLAGS: 00000086 RAX: 000000000000000c RBX: ffffc900001e06d8 RCX: 1ffffffff222f6d6 RDX: dffffc0000000000 RSI: ffff88801237a7e0 RDI: ffff888012379d40 RBP: ffff88801237a802 R08: 0000000000000000 R09: ffffffff91110b5f R10: 0000000000000001 R11: 0000000000000001 R12: ffff88801237a7e0 R13: 0000000000000008 R14: 0000000000000002 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000051e370 CR3: 00000000768c5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_lock kernel/locking/lockdep.c:4598 [inline] mark_usage kernel/locking/lockdep.c:4555 [inline] __lock_acquire+0x8ab/0x56d0 kernel/locking/lockdep.c:5009 lock_acquire kernel/locking/lockdep.c:5668 [inline] lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:350 [inline] advance_sched+0x57/0x9b0 net/sched/sch_taprio.c:700 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x690/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 4f 70 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 e2 6e 4f 00 8b 74 24 0c RSP: 0018:ffffc900001e0d88 EFLAGS: 00000246 RAX: 0000000000030eca RBX: 0000000000000000 RCX: 1ffffffff222b1a6 RDX: 0000000000000000 RSI: 0000000000000102 RDI: 0000000000000000 RBP: ffff888020b0f0f0 R08: 0000000000000001 R09: ffffffff91110aff R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: ffffed1004161e1e R14: 0000000000000001 R15: ffff8880b9b3bf80 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:5070 __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:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:113 [inline] RIP: 0010:acpi_idle_do_entry+0x1fd/0x2a0 drivers/acpi/processor_idle.c:572 Code: 89 de e8 f6 a8 8b f7 84 db 75 ac e8 7d ac 8b f7 e8 08 2d 92 f7 66 90 e8 71 ac 8b f7 0f 00 2d 0a 60 be 00 e8 65 ac 8b f7 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 20 a9 8b f7 48 85 db RSP: 0018:ffffc90000177d10 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888012379d40 RSI: ffffffff89f46d1b RDI: 0000000000000000 RBP: ffff888017d0b864 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 R13: ffff888017d0b800 R14: ffff888017d0b864 R15: ffff88801c7e4804 acpi_idle_enter+0x368/0x510 drivers/acpi/processor_idle.c:709 cpuidle_enter_state+0x1af/0xd40 drivers/cpuidle/cpuidle.c:239 cpuidle_enter+0x4e/0xa0 drivers/cpuidle/cpuidle.c:356 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3f7/0x590 kernel/sched/idle.c:303 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:400 start_secondary+0x256/0x300 arch/x86/kernel/smpboot.c:262 secondary_startup_64_no_verify+0xce/0xdb CPU: 0 PID: 4117 Comm: syz-executor.0 Not tainted 6.1.0-rc5-syzkaller-00135-gbadbda1a0186 #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 76 85 6e f7 48 89 ef e8 1e f2 6e 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 2f 7a 61 f7 65 8b 05 98 fe 0d 76 85 c0 74 0a 5b 5d c3 e8 1c 19 RSP: 0018:ffffc900049b7250 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff222b1a6 RDX: 0000000000000000 RSI: 0000000000000202 RDI: 0000000000000001 RBP: ffff8880b9b2b580 R08: 0000000000000001 R09: ffffffff91110aff R10: 0000000000000001 R11: 0000000000000000 R12: 00000000ffffffff R13: 0000000000000246 R14: ffff8880b9b2b780 R15: dffffc0000000000 FS: 00007f04fc693700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000051e370 CR3: 0000000027013000 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:2440 [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:6091 netlink_rcv_skb+0x157/0x430 net/netlink/af_netlink.c:2540 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x91b/0xe10 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xd3/0x120 net/socket.c:734 ____sys_sendmsg+0x712/0x8c0 net/socket.c:2482 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2536 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2565 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:0x4665d9 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:00007f04fc693188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd04062f1f R14: 00007f04fc693300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.0-rc5-syzkaller-00135-gbadbda1a0186 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:lock_is_held_type+0x14/0x140 kernel/locking/lockdep.c:5696 Code: b8 b9 ff 0f 0b 8b 44 24 04 eb bd 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 41 57 41 56 41 55 41 bd ff ff ff ff 41 54 55 53 <48> 83 ec 08 8b 0d de 45 62 04 85 c9 0f 84 d9 00 00 00 65 8b 05 c3 RSP: 0018:ffffc900001e09a0 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 1ffff9200003c140 RCX: ffffffff81630f30 RDX: 0000000000000003 RSI: 00000000ffffffff RDI: ffffffff8c58fb80 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8e534e57 R10: fffffbfff1ca69ca R11: 0000000000000001 R12: 0000000000000001 R13: 00000000ffffffff R14: ffff8880b9b2b598 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000051e370 CR3: 00000000768c5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3e/0x70 kernel/rcu/update.c:125 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x500/0x630 kernel/locking/lockdep.c:5639 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x266/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 4f 70 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 e2 6e 4f 00 8b 74 24 0c RSP: 0018:ffffc900001e0d88 EFLAGS: 00000246 RAX: 0000000000030eca RBX: 0000000000000000 RCX: 1ffffffff222b1a6 RDX: 0000000000000000 RSI: 0000000000000102 RDI: 0000000000000000 RBP: ffff888020b0f0f0 R08: 0000000000000001 R09: ffffffff91110aff R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: ffffed1004161e1e R14: 0000000000000001 R15: ffff8880b9b3bf80 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:5070 __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:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:113 [inline] RIP: 0010:acpi_idle_do_entry+0x1fd/0x2a0 drivers/acpi/processor_idle.c:572 Code: 89 de e8 f6 a8 8b f7 84 db 75 ac e8 7d ac 8b f7 e8 08 2d 92 f7 66 90 e8 71 ac 8b f7 0f 00 2d 0a 60 be 00 e8 65 ac 8b f7 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 20 a9 8b f7 48 85 db RSP: 0018:ffffc90000177d10 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888012379d40 RSI: ffffffff89f46d1b RDI: 0000000000000000 RBP: ffff888017d0b864 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 R13: ffff888017d0b800 R14: ffff888017d0b864 R15: ffff88801c7e4804 acpi_idle_enter+0x368/0x510 drivers/acpi/processor_idle.c:709 cpuidle_enter_state+0x1af/0xd40 drivers/cpuidle/cpuidle.c:239 cpuidle_enter+0x4e/0xa0 drivers/cpuidle/cpuidle.c:356 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3f7/0x590 kernel/sched/idle.c:303 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:400 start_secondary+0x256/0x300 arch/x86/kernel/smpboot.c:262 secondary_startup_64_no_verify+0xce/0xdb