rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=1264/1/0x4000000000000000 softirq=13646/13651 fqs=5 (t=10502 jiffies g=15069 q=977 ncpus=2) rcu: rcu_preempt kthread starved for 10492 jiffies! g15069 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:25528 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 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: 4818 Comm: syz.0.384 Not tainted 6.1.110-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:timerqueue_add+0x262/0x280 lib/timerqueue.c:40 Code: ff df 80 3c 08 00 74 08 48 89 df e8 28 24 41 f7 4c 89 3b 4d 85 ff 0f 95 c3 4c 89 ff 4c 89 e6 e8 54 6c ff ff 89 d8 48 83 c4 30 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 e8 9e a1 e9 f6 0f 0b e9 dc fd ff RSP: 0018:ffffc900001dfaf0 EFLAGS: 00000086 RAX: 00000000b8f2a501 RBX: ffff8880b8f2a501 RCX: dffffc0000000000 RDX: 0000000000010100 RSI: ffff8880b8f2a590 RDI: ffff8880565d5560 RBP: ffff8880b8f2adc0 R08: dffffc0000000000 R09: ffff8880565d5568 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b8f2a590 R13: 1ffff110171e55ba R14: 0000000000000010 R15: ffff8880565d5560 FS: 00007f077f7e66c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe2a739fe8 CR3: 0000000073b15000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: enqueue_hrtimer+0x1bd/0x410 kernel/time/hrtimer.c:1093 __run_hrtimer kernel/time/hrtimer.c:1706 [inline] __hrtimer_run_queues+0x728/0xe50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:212 Code: e8 25 00 00 00 0f 0b 0f 1f 00 53 48 89 fb e8 17 00 00 00 48 8b 3d a8 37 0f 0d 48 89 de 5b e9 07 ab 56 00 cc cc cc cc cc cc cc <48> 8b 04 24 65 48 8b 0d f4 bf 77 7e 65 8b 15 f5 bf 77 7e 81 e2 00 RSP: 0018:ffffc900001dfec0 EFLAGS: 00000246 RAX: 1ffffffff1c9f81d RBX: 0000000000000000 RCX: ffff8880256b8000 RDX: 0000000000000100 RSI: 00007f077e97def9 RDI: ffffffffa0003a40 RBP: 0000000000000000 R08: ffffffff8197d17b R09: fffffbfff223b845 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffffa0003a40 R13: dffffc0000000000 R14: 0000000000000001 R15: 00007f077e97def9 __lt_find include/linux/rbtree_latch.h:113 [inline] latch_tree_find include/linux/rbtree_latch.h:208 [inline] bpf_ksym_find kernel/bpf/core.c:698 [inline] is_bpf_text_address+0x1b6/0x2a0 kernel/bpf/core.c:732 kernel_text_address+0x9f/0xd0 kernel/extable.c:125 __kernel_text_address+0x9/0x40 kernel/extable.c:79 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323 arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack+0x3b/0x60 mm/kasan/common.c:45 __kasan_record_aux_stack+0xb0/0xc0 mm/kasan/generic.c:486 call_rcu+0x163/0xa10 kernel/rcu/tree.c:2845 refdst_drop include/net/dst.h:256 [inline] skb_dst_drop include/net/dst.h:268 [inline] __dev_queue_xmit+0x9cf/0x3cf0 net/core/dev.c:4248 neigh_output include/net/neighbour.h:544 [inline] ip6_finish_output2+0xee6/0x15f0 net/ipv6/ip6_output.c:138 __ip6_finish_output net/ipv6/ip6_output.c:205 [inline] ip6_finish_output+0x6a0/0xa80 net/ipv6/ip6_output.c:216 dst_output include/net/dst.h:444 [inline] NF_HOOK include/linux/netfilter.h:302 [inline] ndisc_send_skb+0xbab/0x14e0 net/ipv6/ndisc.c:511 addrconf_rs_timer+0x357/0x610 net/ipv6/addrconf.c:3963 call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504 expire_timers kernel/time/timer.c:1549 [inline] __run_timers+0x67c/0x890 kernel/time/timer.c:1820 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571 __do_softirq kernel/softirq.c:605 [inline] invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:finish_task_switch+0x1d3/0x810 kernel/sched/core.c:5120 Code: 32 0b 00 48 83 c4 08 4c 89 f7 e8 68 31 00 00 0f 1f 44 00 00 4c 89 f7 e8 9b ed 51 09 e8 26 21 32 00 fb 49 8d bc 24 f8 15 00 00 <48> 89 f8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 0f b6 04 28 RSP: 0018:ffffc900034cfb68 EFLAGS: 00000286 RAX: 7970796848ce1f00 RBX: ffff888025653bb4 RCX: ffffffff97333103 RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: ffff8880256b95f8 RBP: ffffc900034cfbb0 R08: ffffffff81b659cc R09: ffffed10171e6ad6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880256b8000 R13: 1ffff110171e76e3 R14: ffff8880b8f3a9c0 R15: ffff8880b8f3b718 context_switch kernel/sched/core.c:5244 [inline] __schedule+0x1447/0x4570 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__syscall_enter_from_user_work kernel/entry/common.c:97 [inline] RIP: 0010:syscall_enter_from_user_mode+0x37/0x230 kernel/entry/common.c:118 Code: 49 89 fe 48 8b 7c 24 30 e8 f6 fa ff ff 0f 1f 44 00 00 0f 1f 44 00 00 e8 d7 91 ea f6 e8 52 90 ea f6 fb 65 4c 8b 3d 69 8d 5b 75 <49> 8b 5f 08 f6 c3 3f 0f 84 ad 00 00 00 f6 c3 20 74 17 4c 89 f7 e8 RSP: 0018:ffffc900034cfef8 EFLAGS: 00000282 RAX: 7970796848ce1f00 RBX: ffffc900034cff30 RCX: ffffffff97333103 RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: ffffffff8b5d6dc0 RBP: ffffc900034cff48 R08: ffffffff81b659cc R09: ffffed10171e6ad6 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 00000000000000ca R14: ffffc900034cff58 R15: ffff8880256b8000 do_syscall_64+0x1e/0xb0 arch/x86/entry/common.c:77 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f077e97def9 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:00007f077f7e60e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007f077eb35f88 RCX: 00007f077e97def9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f077eb35f88 RBP: 00007f077eb35f80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f077eb35f8c R13: 0000000000000000 R14: 00007ffd36cf8e60 R15: 00007ffd36cf8f48 CPU: 0 PID: 4820 Comm: syz.2.386 Not tainted 6.1.110-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__kasan_check_read+0x2/0x10 mm/kasan/shadow.c:31 Code: 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 9c be b7 8c eb 0a 48 c7 c7 d4 be b7 8c 4c 89 fe e8 66 a5 c2 08 31 db eb d7 cc cc 89 f6 <48> 8b 0c 24 31 d2 e9 d3 ec ff ff 0f 1f 00 89 f6 48 8b 0c 24 ba 01 RSP: 0000:ffffc90000006c38 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000008b0d1605 RDX: ffffffff8197d062 RSI: 0000000000000008 RDI: ffffffff8e99e4a8 RBP: ffffc90000006d78 R08: dffffc0000000000 R09: fffffbfff1d33c96 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000d94 R13: ffffffff8197d062 R14: ffffffff8197d062 R15: dffffc0000000000 FS: 00007f6a46dc36c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d119ff8 CR3: 00000000768f3000 CR4: 00000000003506f0 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] cpumask_test_cpu include/linux/cpumask.h:444 [inline] cpu_online include/linux/cpumask.h:1030 [inline] trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0xc7/0xa20 kernel/locking/lockdep.c:5673 rcu_lock_release include/linux/rcupdate.h:355 [inline] rcu_read_unlock include/linux/rcupdate.h:824 [inline] is_bpf_text_address+0x289/0x2a0 kernel/bpf/core.c:733 kernel_text_address+0x9f/0xd0 kernel/extable.c:125 __kernel_text_address+0x9/0x40 kernel/extable.c:79 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323 arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x27/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0xd6/0x120 mm/kasan/common.c:236 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1724 [inline] slab_free_freelist_hook mm/slub.c:1750 [inline] slab_free mm/slub.c:3661 [inline] kmem_cache_free+0x292/0x510 mm/slub.c:3683 packet_rcv+0x13b/0x12c0 net/packet/af_packet.c:2294 dev_queue_xmit_nit+0xabc/0xbf0 net/core/dev.c:2322 xmit_one net/core/dev.c:3623 [inline] dev_hard_start_xmit+0x142/0x8c0 net/core/dev.c:3643 __dev_queue_xmit+0x1bb1/0x3cf0 net/core/dev.c:4293 neigh_output include/net/neighbour.h:544 [inline] ip6_finish_output2+0xee6/0x15f0 net/ipv6/ip6_output.c:138 __ip6_finish_output net/ipv6/ip6_output.c:205 [inline] ip6_finish_output+0x6a0/0xa80 net/ipv6/ip6_output.c:216 dst_output include/net/dst.h:444 [inline] NF_HOOK include/linux/netfilter.h:302 [inline] ndisc_send_skb+0xbab/0x14e0 net/ipv6/ndisc.c:511 addrconf_rs_timer+0x357/0x610 net/ipv6/addrconf.c:3963 call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504 expire_timers kernel/time/timer.c:1549 [inline] __run_timers+0x67c/0x890 kernel/time/timer.c:1820 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833 handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571 __do_softirq kernel/softirq.c:605 [inline] invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:654 irq_exit_rcu+0x5/0x20 kernel/softirq.c:666 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:preempt_schedule_irq+0xf2/0x1c0 kernel/sched/core.c:6870 Code: 89 f5 49 c1 ed 03 eb 0d 48 f7 03 08 00 00 00 0f 84 97 00 00 00 bf 01 00 00 00 e8 e9 f2 ae f6 e8 14 ef e1 f6 fb bf 01 00 00 00 79 b4 ff ff 43 80 7c 3d 00 00 74 08 4c 89 f7 e8 79 ae 32 f7 48 RSP: 0000:ffffc9000340fda0 EFLAGS: 00000286 RAX: b4b7144cfb467a00 RBX: 1ffff92000681fbc RCX: ffffffff97333103 RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: 0000000000000001 RBP: ffffc9000340fe50 R08: ffffffff81b659cc R09: ffffed10171c6ad6 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000681fb4 R13: 1ffff92000681fb8 R14: ffffc9000340fdc0 R15: dffffc0000000000 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:exit_to_user_mode_loop+0x3d/0x100 kernel/entry/common.c:164 Code: 49 89 fe eb 1c e8 23 ae 30 09 65 48 8b 05 bb 29 8c 7e 48 8b 18 f7 c3 0e 30 02 00 0f 84 be 00 00 00 e8 87 2c 1b 00 fb f6 c3 08 <74> 05 e8 5c 37 39 09 f7 c3 00 10 00 00 74 08 4c 89 f7 e8 6c 5f 3f RSP: 0000:ffffc9000340ff10 EFLAGS: 00000202 RAX: b4b7144cfb467a00 RBX: 0000000000000008 RCX: ffffffff97333103 RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: ffffffff8b5d6dc0 RBP: 0000000000000000 R08: ffffffff81b659cc R09: ffffed10171c6ad6 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc9000340ff58 R15: ffff88802685d940 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:316 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0033:0x7f6a45f7df01 Code: 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 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:00007f6a46dc30e8 EFLAGS: 00000217 RAX: 0000000000000000 RBX: 00007f6a46135f88 RCX: 00007f6a45f7def9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f6a46135f8c RBP: 00007f6a46135f80 R08: 0000000000000010 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f6a46135f8c R13: 0000000000000000 R14: 00007ffebdae5390 R15: 00007ffebdae5478