hrtimer: interrupt took 9238898 ns rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=d84c/1/0x4000000000000000 softirq=7580/7581 fqs=0 rcu: (t=16825 jiffies g=5269 q=167 ncpus=2) rcu: rcu_preempt kthread timer wakeup didn't happen for 16824 jiffies! g5269 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=2388 rcu: rcu_preempt kthread starved for 16825 jiffies! g5269 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:29008 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1808 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 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: 5058 Comm: syz-executor308 Not tainted 6.5.0-rc6-syzkaller-01675-g978f41751aa0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:do_raw_spin_unlock+0x0/0x230 kernel/locking/spinlock_debug.c:138 Code: d2 eb ce 48 89 df e8 af 67 73 00 e9 21 ff ff ff e8 45 68 73 00 eb 89 e8 ae 04 ce 08 e8 59 68 73 00 eb a5 0f 1f 80 00 00 00 00 <66> 0f 1f 00 48 b8 00 00 00 00 00 fc ff df 41 54 55 53 48 89 fb 48 RSP: 0018:ffffc900001e0cf0 EFLAGS: 00000086 RAX: 0000000000000000 RBX: ffffffff923b1b80 RCX: ffffc900001e0c80 RDX: 1ffff11002ff9157 RSI: ffffffff8a6c8440 RDI: ffffffff923b1b80 RBP: 0000000000000006 R08: 0000000000000000 R09: fffffbfff1d58b8a R10: ffffffff8eac5c57 R11: 0000000000000001 R12: 0000000000000001 R13: ffff88807bd30340 R14: ffffffff8a6efc80 R15: 1ffff9200003c1a6 FS: 0000555556f65380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 0000000072f8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock_irqrestore+0x22/0x70 kernel/locking/spinlock.c:194 debug_object_activate+0x283/0x490 lib/debugobjects.c:745 debug_hrtimer_activate kernel/time/hrtimer.c:422 [inline] debug_activate kernel/time/hrtimer.c:477 [inline] enqueue_hrtimer+0x23/0x310 kernel/time/hrtimer.c:1087 __run_hrtimer kernel/time/hrtimer.c:1705 [inline] __hrtimer_run_queues+0xa0a/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x70 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 46 ca 2d f7 48 89 df e8 1e 49 2e f7 f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f 01 00 00 00 e8 c5 eb 1f f7 65 8b 05 a6 61 ca 75 85 c0 74 12 5b RSP: 0018:ffffc90003bcf1a0 EFLAGS: 00000246 RAX: 0000000000000012 RBX: ffff8880b982b880 RCX: 1ffffffff231681a RDX: 0000000000000000 RSI: ffffffff8a6c8140 RDI: ffffffff8ac82200 RBP: 0000000000000246 R08: 0000000000000001 R09: fffffbfff230c9e8 R10: ffffffff91864f47 R11: 0000000000000000 R12: 00000000ffffffff R13: ffff8880b982b980 R14: dffffc0000000000 R15: ffff88807e248370 unlock_hrtimer_base kernel/time/hrtimer.c:1020 [inline] hrtimer_try_to_cancel+0x161/0x4b0 kernel/time/hrtimer.c:1339 hrtimer_cancel+0x16/0x40 kernel/time/hrtimer.c:1446 taprio_reset+0x76/0x200 net/sched/sch_taprio.c:2022 qdisc_reset+0xd8/0x620 net/sched/sch_generic.c:1022 dev_reset_queue+0xb1/0x1d0 net/sched/sch_generic.c:1293 netdev_for_each_tx_queue include/linux/netdevice.h:2508 [inline] dev_deactivate_many+0x36f/0xb10 net/sched/sch_generic.c:1359 dev_deactivate+0xed/0x1b0 net/sched/sch_generic.c:1382 qdisc_graft+0xde1/0x1680 net/sched/sch_api.c:1108 tc_modify_qdisc+0xcd2/0x1bf0 net/sched/sch_api.c:1731 rtnetlink_rcv_msg+0x439/0xd30 net/core/rtnetlink.c:6427 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2545 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline] netlink_unicast+0x536/0x810 net/netlink/af_netlink.c:1368 netlink_sendmsg+0x93c/0xe40 net/netlink/af_netlink.c:1910 sock_sendmsg_nosec net/socket.c:728 [inline] sock_sendmsg+0xd9/0x180 net/socket.c:751 ____sys_sendmsg+0x6ac/0x940 net/socket.c:2538 ___sys_sendmsg+0x135/0x1d0 net/socket.c:2592 __sys_sendmsg+0x117/0x1e0 net/socket.c:2621 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc370009de9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffdd345dd68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fc370009de9 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000100000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdd345ddc0 R13: 0000000000050142 R14: 00007ffdd345dd8c R15: 0000000000000003 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.584 msecs CPU: 0 PID: 41 Comm: kworker/u4:2 Not tainted 6.5.0-rc6-syzkaller-01675-g978f41751aa0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:296 [inline] RIP: 0010:smp_call_function_many_cond+0x4d6/0x1570 kernel/smp.c:835 Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 fc 4c 89 fd 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 1c 5f 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 3c 0e 00 00 8b 43 08 31 RSP: 0018:ffffc90000b27938 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9943020 RCX: 0000000000000000 RDX: ffff888017641dc0 RSI: ffffffff817ac174 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1017328605 R13: 0000000000000001 R14: ffff8880b983d580 R15: ffff8880b9943028 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc37008b2d0 CR3: 000000000c776000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1003 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2001 [inline] text_poke_bp_batch+0x250/0x780 arch/x86/kernel/alternative.c:2211 text_poke_flush arch/x86/kernel/alternative.c:2402 [inline] text_poke_flush arch/x86/kernel/alternative.c:2399 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2409 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32e/0x410 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:831 [inline] toggle_allocation_gate+0xf4/0x250 mm/kfence/core.c:823 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2600 worker_thread+0x687/0x1110 kernel/workqueue.c:2751 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5058 Comm: syz-executor308 Not tainted 6.5.0-rc6-syzkaller-01675-g978f41751aa0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:iterate_chain_key kernel/locking/lockdep.c:450 [inline] RIP: 0010:__lock_acquire+0xd35/0x5de0 kernel/locking/lockdep.c:5132 Code: cd 89 e9 29 e8 01 d5 c1 c1 10 89 ee 31 c1 89 c8 29 ca 01 e9 c1 c8 0d 31 c2 89 d0 29 d6 01 ca c1 c0 04 89 d2 31 f0 48 c1 e0 20 <48> 09 d0 48 8b 54 24 30 48 89 44 24 10 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc900001e0ac8 EFLAGS: 00000086 RAX: d4c9f0e400000000 RBX: 00000000153e3a38 RCX: 000000001359b7b9 RDX: 0000000022e098f3 RSI: 000000002ca7e344 RDI: ffffffff918653b0 RBP: 000000003c2ec47e R08: 0000000000000000 R09: fffffbfff230c9d0 R10: ffffffff91864e87 R11: 0000000000000001 R12: ffff888017fc8b62 R13: ffff888017fc8b40 R14: 000000003be9ba32 R15: 0000000000000002 FS: 0000555556f65380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 0000000072f8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5761 [inline] lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5726 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x50 kernel/locking/spinlock.c:162 debug_object_deactivate lib/debugobjects.c:783 [inline] debug_object_deactivate+0x113/0x320 lib/debugobjects.c:771 debug_hrtimer_deactivate kernel/time/hrtimer.c:427 [inline] debug_deactivate kernel/time/hrtimer.c:483 [inline] __run_hrtimer kernel/time/hrtimer.c:1656 [inline] __hrtimer_run_queues+0x470/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x70 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 46 ca 2d f7 48 89 df e8 1e 49 2e f7 f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f 01 00 00 00 e8 c5 eb 1f f7 65 8b 05 a6 61 ca 75 85 c0 74 12 5b RSP: 0018:ffffc90003bcf1a0 EFLAGS: 00000246 RAX: 0000000000000012 RBX: ffff8880b982b880 RCX: 1ffffffff231681a RDX: 0000000000000000 RSI: ffffffff8a6c8140 RDI: ffffffff8ac82200 RBP: 0000000000000246 R08: 0000000000000001 R09: fffffbfff230c9e8 R10: ffffffff91864f47 R11: 0000000000000000 R12: 00000000ffffffff R13: ffff8880b982b980 R14: dffffc0000000000 R15: ffff88807e248370 unlock_hrtimer_base kernel/time/hrtimer.c:1020 [inline] hrtimer_try_to_cancel+0x161/0x4b0 kernel/time/hrtimer.c:1339 hrtimer_cancel+0x16/0x40 kernel/time/hrtimer.c:1446 taprio_reset+0x76/0x200 net/sched/sch_taprio.c:2022 qdisc_reset+0xd8/0x620 net/sched/sch_generic.c:1022 dev_reset_queue+0xb1/0x1d0 net/sched/sch_generic.c:1293 netdev_for_each_tx_queue include/linux/netdevice.h:2508 [inline] dev_deactivate_many+0x36f/0xb10 net/sched/sch_generic.c:1359 dev_deactivate+0xed/0x1b0 net/sched/sch_generic.c:1382 qdisc_graft+0xde1/0x1680 net/sched/sch_api.c:1108 tc_modify_qdisc+0xcd2/0x1bf0 net/sched/sch_api.c:1731 rtnetlink_rcv_msg+0x439/0xd30 net/core/rtnetlink.c:6427 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2545 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline] netlink_unicast+0x536/0x810 net/netlink/af_netlink.c:1368 netlink_sendmsg+0x93c/0xe40 net/netlink/af_netlink.c:1910 sock_sendmsg_nosec net/socket.c:728 [inline] sock_sendmsg+0xd9/0x180 net/socket.c:751 ____sys_sendmsg+0x6ac/0x940 net/socket.c:2538 ___sys_sendmsg+0x135/0x1d0 net/socket.c:2592 __sys_sendmsg+0x117/0x1e0 net/socket.c:2621 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc370009de9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffdd345dd68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fc370009de9 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000100000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdd345ddc0 R13: 0000000000050142 R14: 00007ffdd345dd8c R15: 0000000000000003