rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5139 rcu: (detected by 0, t=10502 jiffies, g=47041, q=51 ncpus=2) task:syz-executor135 state:R running task stack:23712 pid:5139 tgid:5139 ppid:5135 flags:0x0000400a Call Trace: sched_show_task kernel/sched/core.c:9146 [inline] sched_show_task+0x42e/0x650 kernel/sched/core.c:9120 rcu_print_detail_task_stall_rnp kernel/rcu/tree_stall.h:262 [inline] print_other_cpu_stall kernel/rcu/tree_stall.h:637 [inline] check_cpu_stall kernel/rcu/tree_stall.h:796 [inline] rcu_pending kernel/rcu/tree.c:3891 [inline] rcu_sched_clock_irq+0x2525/0x3150 kernel/rcu/tree.c:2259 update_process_times+0x17b/0x220 kernel/time/timer.c:2071 tick_sched_handle+0x8e/0x170 kernel/time/tick-sched.c:255 tick_nohz_highres_handler+0xe9/0x110 kernel/time/tick-sched.c:1516 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x647/0xc20 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x105/0x400 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x43/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:121 [inline] RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:435 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3ff/0xc70 kernel/locking/qspinlock.c:511 Code: 41 83 e4 07 41 bd 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8d 3c 01 eb 0c f3 90 41 83 ee 01 0f 84 c2 04 00 00 41 0f b6 07 <44> 38 e0 7f 08 84 c0 0f 85 00 06 00 00 0f b6 03 84 c0 75 dc be 02 RSP: 0018:ffffc90000007d70 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff88807ccf90f0 RCX: 1ffff1100f99f21e RDX: 0000000000000001 RSI: ffffffff8a83d7a9 RDI: ffffffff8b2f0e20 RBP: ffff8880b983d580 R08: 0000000000000001 R09: fffffbfff23e39e8 R10: ffffffff91f1cf47 R11: 0000000000000002 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000e68 R15: ffffed100f99f21e pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:586 [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+0x20e/0x2b0 kernel/locking/spinlock_debug.c:115 spin_lock include/linux/spinlock.h:351 [inline] net_tx_action+0x571/0xc80 net/core/dev.c:5176 __do_softirq+0x21a/0x8de kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:finish_task_switch.isra.0+0x223/0xca0 kernel/sched/core.c:5250 Code: 0a 00 00 44 8b 0d 25 7f be 0d 45 85 c9 0f 85 c0 01 00 00 48 89 df e8 cc f8 ff ff e8 97 4b 33 00 fb 65 48 8b 1c 25 c0 bc 03 00 <48> 8d bb d8 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 RSP: 0018:ffffc90003c1f7a0 EFLAGS: 00000202 RAX: 0000000000689567 RBX: ffff8880254cbb80 RCX: 1ffffffff1e32281 RDX: 0000000000000000 RSI: ffffffff8accb520 RDI: ffffffff8b2f0e20 RBP: ffffc90003c1f7e8 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8f194697 R11: 0000000000000001 R12: ffff8880b983d478 R13: ffff8880798cbb80 R14: ffff88807a39df00 R15: ffff8880b983c700 context_switch kernel/sched/core.c:5379 [inline] __schedule+0xee3/0x5af0 kernel/sched/core.c:6688 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7008 irqentry_exit+0x36/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data+0x12/0x80 kernel/kcov.c:236 Code: 04 25 c0 bc 03 00 48 8b 80 f0 15 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 49 89 d2 49 89 f8 49 89 f1 65 48 8b 14 25 c0 bc 03 00 <65> 8b 05 7f 34 7c 7e a9 00 01 ff 00 74 0f f6 c4 01 74 59 8b 82 fc RSP: 0018:ffffc90003c1fa68 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff888077fd66b0 RCX: ffffffff81f03a8f RDX: ffff8880254cbb80 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00000000000041ff R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000081 R13: 0000000000000000 R14: ffff888077fd66d8 R15: 0000000000000000 vfsuid_eq_kuid include/linux/mnt_idmapping.h:81 [inline] acl_permission_check fs/namei.c:347 [inline] generic_permission+0x15f/0x6a0 fs/namei.c:408 do_inode_permission fs/namei.c:469 [inline] inode_permission fs/namei.c:529 [inline] inode_permission+0xc1/0x5e0 fs/namei.c:504 may_lookup fs/namei.c:1720 [inline] link_path_walk.part.0.constprop.0+0x26f/0xce0 fs/namei.c:2271 link_path_walk fs/namei.c:2254 [inline] path_parentat+0xaa/0x1b0 fs/namei.c:2530 __filename_parentat+0x1f2/0x640 fs/namei.c:2554 filename_parentat fs/namei.c:2572 [inline] do_unlinkat+0x106/0x740 fs/namei.c:4357 __do_sys_unlink fs/namei.c:4430 [inline] __se_sys_unlink fs/namei.c:4428 [inline] __x64_sys_unlink+0xc8/0x110 fs/namei.c:4428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fbabb7e86f7 Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffeb086d998 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbabb7e86f7 RDX: 00007ffeb086d9c0 RSI: 00007ffeb086da50 RDI: 00007ffeb086da50 RBP: 00007ffeb086da50 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffeb086eb00 R13: 00005555569e4820 R14: 00000000000002bb R15: 00007ffeb086eb40 rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g47041 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=71485 rcu: rcu_preempt kthread starved for 10500 jiffies! g47041 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:28752 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_timeout+0x137/0x290 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xb10 kernel/rcu/tree.c:1631 rcu_gp_kthread+0x24b/0x380 kernel/rcu/tree.c:1830 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 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: 13598 Comm: syz-executor135 Not tainted 6.7.0-rc5-syzkaller-00173-g3dc5d4454545 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:trace_lock_acquire include/trace/events/lock.h:24 [inline] RIP: 0010:lock_acquire+0xbf/0x520 kernel/locking/lockdep.c:5725 Code: 07 0f 87 d9 03 00 00 89 d5 be 08 00 00 00 48 89 e8 48 c1 e8 06 48 8d 3c c5 90 46 19 8f e8 49 1c 76 00 48 0f a3 2d 41 27 b1 0d <0f> 82 9a 03 00 00 48 c7 c0 78 7a 19 8f 48 ba 00 00 00 00 00 fc ff RSP: 0018:ffffc900001f0c90 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 1ffff9200003e194 RCX: ffffffff81681f47 RDX: fffffbfff1e328d3 RSI: 0000000000000008 RDI: ffffffff8f194690 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff1e328d2 R10: ffffffff8f194697 R11: 0000000000000003 R12: 0000000000000001 R13: 0000000000000000 R14: ffff88807ccf9300 R15: 0000000000000000 FS: 00007fbabaf996c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbabb86d9b4 CR3: 000000001f713000 CR4: 00000000003506f0 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+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xd5/0xc60 net/sched/sch_taprio.c:935 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x203/0xc20 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x105/0x400 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/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+0x31/0x70 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 c6 48 e4 f6 48 89 df e8 2e c0 e4 f6 f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f 01 00 00 00 e8 45 79 d6 f6 65 8b 05 c6 f5 7f 75 85 c0 74 12 5b RSP: 0018:ffffc900031af270 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffff88807ccf92e8 RCX: 1ffffffff23ed716 RDX: 0000000000000000 RSI: ffffffff8accb520 RDI: ffffffff8b2f0e20 RBP: 0000000000000246 R08: 0000000000000001 R09: fffffbfff23e39e8 R10: ffffffff91f1cf47 R11: 0000000000000004 R12: 0000012673660000 R13: 0000000000000002 R14: 0000000000000002 R15: 0000000000000000 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] taprio_change+0x28cb/0x38a0 net/sched/sch_taprio.c:1993 qdisc_change net/sched/sch_api.c:1387 [inline] tc_modify_qdisc+0x7d5/0x1c40 net/sched/sch_api.c:1717 rtnetlink_rcv_msg+0x3c7/0xe00 net/core/rtnetlink.c:6558 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2545 netlink_unicast_kernel net/netlink/af_netlink.c:1342 [inline] netlink_unicast+0x53b/0x810 net/netlink/af_netlink.c:1368 netlink_sendmsg+0x93c/0xe40 net/netlink/af_netlink.c:1910 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0xd5/0x180 net/socket.c:745 ____sys_sendmsg+0x6ac/0x940 net/socket.c:2584 ___sys_sendmsg+0x135/0x1d0 net/socket.c:2638 __sys_sendmsg+0x117/0x1e0 net/socket.c:2667 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fbabb7e8f19 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 1f 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbabaf99228 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fbabb8731e8 RCX: 00007fbabb7e8f19 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 00007fbabb8731e0 R08: 00007fbabaf996c0 R09: 00007fbabaf996c0 R10: 00007fbabaf996c0 R11: 0000000000000246 R12: 00007fbabb8731ec R13: 00007fbabb83879c R14: 0000000800000003 R15: 00007ffeb086e9a8