rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (2 ticks this GP) idle=2c2c/1/0x4000000000000000 softirq=8392/8392 fqs=0 (detected by 0, t=10502 jiffies, g=9285, q=133 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5554 Comm: syz-executor.0 Not tainted 6.1.0-next-20221220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:check_region_inline mm/kasan/generic.c:170 [inline] RIP: 0010:kasan_check_range+0x130/0x190 mm/kasan/generic.c:189 Code: 00 74 ef 49 8d 04 2c 48 85 d2 75 0b 48 89 da 48 29 c2 e9 55 ff ff ff 49 39 d2 75 17 49 0f be 02 41 83 e1 07 49 39 c1 7d 0a 5b 01 00 00 00 5d 41 5c c3 44 89 c2 e8 3f ef ff ff 5b 83 f0 01 5d RSP: 0018:ffffc900001e09d0 EFLAGS: 00000046 RAX: fffffbfff226817c RBX: 1ffff9200003c144 RCX: ffffffff816377ce RDX: fffffbfff226817c RSI: 0000000000000008 RDI: ffffffff91340bd8 RBP: fffffbfff226817b R08: 0000000000000000 R09: ffffffff91340bdf R10: fffffbfff226817b R11: 0000000000000000 R12: ffff88801cee6248 R13: 0000000000000000 R14: 00000000000008f9 R15: ffff88801cee6268 FS: 00007fba0450c700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 0000000017285000 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] hlock_class kernel/locking/lockdep.c:227 [inline] mark_lock.part.0+0xee/0x1910 kernel/locking/lockdep.c:4612 mark_lock kernel/locking/lockdep.c:4598 [inline] mark_usage kernel/locking/lockdep.c:4526 [inline] __lock_acquire+0x14a2/0x56d0 kernel/locking/lockdep.c:5009 lock_acquire.part.0+0x11a/0x350 kernel/locking/lockdep.c:5668 __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+0x600/0xcc0 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+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 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+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 b6 18 59 f7 48 89 ef e8 ae 83 59 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 3f b3 4b f7 65 8b 05 20 cd f8 75 85 c0 74 0a 5b 5d c3 e8 4c f6 RSP: 0018:ffffc9000526f128 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff2271216 RDX: 0000000000000000 RSI: 0000000000000202 RDI: 0000000000000001 RBP: ffff888022ea22e8 R08: 0000000000000001 R09: ffffffff91340b87 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888022ea22e8 R13: 00000013fe0a5d00 R14: ffff888022ea2000 R15: 0000000000000000 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] taprio_change+0x2edc/0x4010 net/sched/sch_taprio.c:1677 taprio_init+0x4c9/0x6b0 net/sched/sch_taprio.c:1808 qdisc_create+0x44a/0x1170 net/sched/sch_api.c:1273 tc_modify_qdisc+0x479/0x19a0 net/sched/sch_api.c:1673 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:0x7fba03489049 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:00007fba0450c168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fba0359bf60 RCX: 00007fba03489049 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 00007fba034e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff92a0bfdf R14: 00007fba0450c300 R15: 0000000000022000 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g9285 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=2984 rcu: rcu_preempt kthread starved for 10502 jiffies! g9285 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:28672 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x2544/0x53f0 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 schedule_timeout+0x14e/0x2a0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1656 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1855 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 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: 5554 Comm: syz-executor.0 Not tainted 6.1.0-next-20221220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:hlock_class kernel/locking/lockdep.c:227 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4729 [inline] RIP: 0010:__lock_acquire+0x3c5/0x56d0 kernel/locking/lockdep.c:5005 Code: 45 89 4c 24 20 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 03 12 00 00 8b 84 24 60 01 00 00 41 89 44 24 24 <48> 8b 6c 24 18 be 08 00 00 00 81 e5 ff 1f 00 00 48 89 e8 48 c1 e8 RSP: 0018:ffffc900001e0bc8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff88801cee61f8 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88801cee626c RBP: 0000000000000000 R08: 1ffff110039dcc48 R09: 00000000000c4065 R10: fffffbfff1ce5f5a R11: 0000000000000000 R12: ffff88801cee6248 R13: ffff88801cee57c0 R14: ffff8880b992b798 R15: 0000000000044000 FS: 00007fba0450c700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 0000000017285000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire.part.0+0x11a/0x350 kernel/locking/lockdep.c:5668 __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/0xcc0 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+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 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+0x3c/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 b6 18 59 f7 48 89 ef e8 ae 83 59 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 3f b3 4b f7 65 8b 05 20 cd f8 75 85 c0 74 0a 5b 5d c3 e8 4c f6 RSP: 0018:ffffc9000526f128 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff2271216 RDX: 0000000000000000 RSI: 0000000000000202 RDI: 0000000000000001 RBP: ffff888022ea22e8 R08: 0000000000000001 R09: ffffffff91340b87 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888022ea22e8 R13: 00000013fe0a5d00 R14: ffff888022ea2000 R15: 0000000000000000 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] taprio_change+0x2edc/0x4010 net/sched/sch_taprio.c:1677 taprio_init+0x4c9/0x6b0 net/sched/sch_taprio.c:1808 qdisc_create+0x44a/0x1170 net/sched/sch_api.c:1273 tc_modify_qdisc+0x479/0x19a0 net/sched/sch_api.c:1673 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:0x7fba03489049 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:00007fba0450c168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fba0359bf60 RCX: 00007fba03489049 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 00007fba034e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff92a0bfdf R14: 00007fba0450c300 R15: 0000000000022000