rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=f9dc/1/0x4000000000000000 softirq=27852/27852 fqs=3 rcu: (detected by 1, t=10505 jiffies, g=43877, q=758 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11391 Comm: syz-executor.0 Not tainted 6.8.0-syzkaller-05271-gf99c5f563c17 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:kasan_check_range+0x5/0x290 mm/kasan/generic.c:188 Code: 8d e8 6f 8c e5 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <41> 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 RSP: 0018:ffffc90000007b90 EFLAGS: 00000046 RAX: ffffffff89455edf RBX: ffffffff897d37f2 RCX: ffffffff89455ef1 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff888042d36158 RBP: ffffc90000007c80 R08: ffffffff897d3822 R09: 1ffffffff2598ea0 R10: dffffc0000000000 R11: fffffbfff2598ea1 R12: ffff888042d36000 R13: dffffc0000000000 R14: 1ffff92000000f78 R15: ffff888042d36360 FS: 0000555574886480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f48a9c88d58 CR3: 000000007f7e0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read_write include/linux/instrumented.h:96 [inline] test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:71 [inline] __netif_schedule+0x91/0x310 net/core/dev.c:3086 advance_sched+0xaa9/0xca0 net/sched/sch_taprio.c:986 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x595/0xd00 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x107/0x3a0 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:neigh_flush_dev+0x20c/0xae0 net/core/neighbour.c:395 Code: 90 ae f8 4c 8b 3b 4d 85 ff 0f 84 ee fe ff ff 48 83 7c 24 38 00 74 6e 49 8d 9f 08 03 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 <74> 08 48 89 df e8 8a 90 ae f8 48 8b 44 24 38 48 39 03 0f 85 ea 07 RSP: 0018:ffffc90005036720 EFLAGS: 00000246 RAX: 1ffff11005221a61 RBX: ffff88802910d308 RCX: ffff88807dc99e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 1ffff110056d8200 R08: ffffffff8949a586 R09: fffff52000a06ce8 R10: dffffc0000000000 R11: fffff52000a06ce8 R12: dffffc0000000000 R13: 0000000000000001 R14: dffffc0000000000 R15: ffff88802910d000 __neigh_ifdown+0x45/0x400 net/core/neighbour.c:446 neigh_carrier_down+0x22/0x30 net/core/neighbour.c:457 ndisc_netdev_event+0x3fb/0x4d0 net/ipv6/ndisc.c:1917 notifier_call_chain+0x18f/0x3b0 kernel/notifier.c:93 netdev_state_change+0x11f/0x1a0 net/core/dev.c:1332 netdev_set_operstate+0x1a8/0x240 net/core/rtnetlink.c:854 hsr_check_carrier_and_operstate+0x30b/0x530 net/hsr/hsr_device.c:95 hsr_netdev_notify+0x414/0xb50 net/hsr/hsr_main.c:60 notifier_call_chain+0x18f/0x3b0 kernel/notifier.c:93 __dev_notify_flags+0x207/0x400 dev_change_flags+0xf0/0x1a0 net/core/dev.c:8763 do_setlink+0xccd/0x41f0 net/core/rtnetlink.c:2884 __rtnl_newlink net/core/rtnetlink.c:3680 [inline] rtnl_newlink+0x180b/0x20a0 net/core/rtnetlink.c:3727 rtnetlink_rcv_msg+0x89b/0x10d0 net/core/rtnetlink.c:6595 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2559 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline] netlink_unicast+0x7ea/0x980 net/netlink/af_netlink.c:1361 netlink_sendmsg+0x8e1/0xcb0 net/netlink/af_netlink.c:1905 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2191 __do_sys_sendto net/socket.c:2203 [inline] __se_sys_sendto net/socket.c:2199 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2199 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fe932e7fb5c Code: 1a 51 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 60 51 02 00 48 8b RSP: 002b:00007ffc70ef7270 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fe933ad4620 RCX: 00007fe932e7fb5c RDX: 0000000000000020 RSI: 00007fe933ad4670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffc70ef72c4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fe933ad4670 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10490 jiffies! g43877 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:26256 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17d3/0x4a20 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6828 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2572 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 2821 Comm: kworker/u8:8 Not tainted 6.8.0-syzkaller-05271-gf99c5f563c17 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:queued_write_lock_slowpath+0x15f/0x44a kernel/locking/qrwlock.c:85 Code: 87 62 7d f6 f0 41 81 0f 00 01 00 00 48 8b 5c 24 08 43 0f b6 04 2e 84 c0 0f 85 94 00 00 00 41 8b 07 3d 00 01 00 00 74 27 f3 90 <43> 0f b6 04 2e 84 c0 74 eb 44 89 f9 80 e1 07 80 c1 03 38 c1 7c de RSP: 0018:ffffc90000a084c0 EFLAGS: 00000206 RAX: 00000000000001ff RBX: 1ffff920001410a2 RCX: ffffffff8b7ad689 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffff8f4964c0 RBP: ffffc90000a08570 R08: ffffffff8f4964c3 R09: 1ffffffff1e92c98 R10: dffffc0000000000 R11: fffffbfff1e92c99 R12: ffffc90000a08510 R13: dffffc0000000000 R14: 1ffffffff1e92c98 R15: ffffffff8f4964c0 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f48a8fad988 CR3: 000000000df32000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: queued_write_lock include/asm-generic/qrwlock.h:101 [inline] do_raw_write_lock+0x395/0x4f0 kernel/locking/spinlock_debug.c:211 ___neigh_create+0xe65/0x2450 net/core/neighbour.c:682 ip6_finish_output2+0x1629/0x1670 net/ipv6/ip6_output.c:128 ip6_finish_output+0x41e/0x810 net/ipv6/ip6_output.c:222 NF_HOOK include/linux/netfilter.h:314 [inline] ndisc_send_skb+0xab0/0x1380 net/ipv6/ndisc.c:509 addrconf_rs_timer+0x36e/0x660 net/ipv6/addrconf.c:4037 call_timer_fn+0x17e/0x600 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2408 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2419 run_timer_base kernel/time/timer.c:2428 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2438 __do_softirq+0x2bc/0x943 kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf2/0x1c0 kernel/softirq.c:633 irq_exit_rcu+0x9/0x30 kernel/softirq.c:645 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/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 arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x11/0x70 kernel/kcov.c:207 Code: 5b e9 83 f1 57 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 80 ce 03 00 <65> 8b 15 00 de 6e 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 RSP: 0018:ffffc9000a6f76d8 EFLAGS: 00000202 RAX: ffffffff81891f08 RBX: 1ffff11017288ba5 RCX: ffff88802a90da00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000a6f78e0 R08: ffffffff81891ed7 R09: 1ffffffff2598ea0 R10: dffffc0000000000 R11: fffffbfff2598ea1 R12: dffffc0000000000 R13: ffff8880b9445d28 R14: ffff8880b953f280 R15: 0000000000000000 csd_lock_wait kernel/smp.c:311 [inline] smp_call_function_many_cond+0x1868/0x2960 kernel/smp.c:855 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2086 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2296 text_poke_flush arch/x86/kernel/alternative.c:2487 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2494 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa00/0x1770 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243