rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 ticks this GP) idle=5514/1/0x4000000000000000 softirq=174970/174970 fqs=0 rcu: (detected by 0, t=10504 jiffies, g=248513, q=525 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 454 Comm: syz.1.8166 Not tainted 6.10.0-syzkaller-12710-g3a7e02c040b1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:227 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4773 [inline] RIP: 0010:__lock_acquire+0x5c6/0x2040 kernel/locking/lockdep.c:5092 Code: d8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 79 12 00 00 0f b6 2b 41 0f b6 04 16 84 c0 0f 85 8d 12 00 00 41 8b 1f 81 e3 ff 1f 00 00 <48> 89 d8 48 c1 e8 06 48 8d 3c c5 00 78 4e 93 be 08 00 00 00 e8 b1 RSP: 0018:ffffc90000a18910 EFLAGS: 00000002 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff816fb684 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff934e7800 RBP: 0000000000000002 R08: ffffffff934e7807 R09: 1ffffffff269cf00 R10: dffffc0000000000 R11: fffffbfff269cf01 R12: ffff88806a7f8000 R13: 0000000000000001 R14: 1ffff1100d4ff16f R15: ffff88806a7f8b78 FS: 00007f97818706c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f170817c55f CR3: 000000005ad40000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x16d/0x510 lib/debugobjects.c:709 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x30/0x3c0 kernel/time/hrtimer.c:1085 __run_hrtimer kernel/time/hrtimer.c:1706 [inline] __hrtimer_run_queues+0x6cb/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:preempt_count_add+0x121/0x190 kernel/sched/core.c:5648 Code: 0e 00 75 19 90 48 c7 c7 e0 63 ea 8b 48 c7 c6 20 64 ea 8b e8 81 b0 f2 ff 90 0f 0b 90 90 90 e9 5c ff ff ff 48 c7 c1 80 f9 cd 94 <80> e1 07 80 c1 03 38 c1 0f 8c fe fe ff ff 48 c7 c7 80 f9 cd 94 e8 RSP: 0018:ffffc9000c51ea40 EFLAGS: 00000202 RAX: 0000000000000004 RBX: 0000000000000001 RCX: ffffffff94cdf980 RDX: ffff88806a7f8000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc9000c51eba0 R08: ffffffff814107f1 R09: 0000000000000000 R10: ffffc9000c51eba0 R11: fffff520018a3d80 R12: ffffc9000c51ec38 R13: dffffc0000000000 R14: 0000000000000001 R15: dffffc0000000000 unwind_next_frame+0xc1/0x2a00 arch/x86/kernel/unwind_orc.c:479 __unwind_start+0x641/0x7c0 arch/x86/kernel/unwind_orc.c:760 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x103/0x1b0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3988 [inline] slab_alloc_node mm/slub.c:4037 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4044 skb_clone+0x20c/0x390 net/core/skbuff.c:2071 __netlink_deliver_tap_skb net/netlink/af_netlink.c:300 [inline] __netlink_deliver_tap+0x3cc/0x7c0 net/netlink/af_netlink.c:325 netlink_deliver_tap+0x19d/0x1b0 net/netlink/af_netlink.c:338 __netlink_sendskb net/netlink/af_netlink.c:1275 [inline] netlink_sendskb+0x68/0x140 net/netlink/af_netlink.c:1284 netlink_unicast+0x39d/0x990 net/netlink/af_netlink.c:1372 nlmsg_unicast include/net/netlink.h:1158 [inline] nlmsg_notify+0x13b/0x1c0 net/netlink/af_netlink.c:2601 notify_and_destroy net/sched/sch_api.c:1073 [inline] qdisc_graft+0x1221/0x1580 net/sched/sch_api.c:1173 tc_modify_qdisc+0xf47/0x1e40 net/sched/sch_api.c:1788 rtnetlink_rcv_msg+0x73f/0xcf0 net/core/rtnetlink.c:6647 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f0/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9780b77299 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9781870048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9780d05f80 RCX: 00007f9780b77299 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000005 RBP: 00007f9780be48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000004d R14: 00007f9780d05f80 R15: 00007ffe382da4a8 rcu: rcu_preempt kthread timer wakeup didn't happen for 10503 jiffies! g248513 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=171690 rcu: rcu_preempt kthread starved for 10504 jiffies! g248513 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:25560 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244