rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10419 ticks this GP) idle=a3d/1/0x4000000000000000 softirq=70541/70541 fqs=14 (t=10500 jiffies g=117393 q=1256) rcu: rcu_preempt kthread starved for 10471 jiffies! g117393 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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:26400 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 14420 Comm: syz.4.3006 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] RIP: 0010:__lock_acquire+0xcd0/0x1ff0 kernel/locking/lockdep.c:4982 Code: 86 96 48 c1 e8 03 48 bf 00 00 00 00 00 fc ff df 0f b6 04 38 84 c0 0f 85 0e 0c 00 00 83 3d 77 cf 23 15 00 75 44 48 8b 6c 24 58 <8d> 45 3f 85 ed 0f 49 c5 c1 f8 06 48 98 48 8d 3c c5 c0 20 71 90 be RSP: 0018:ffffc90000006e60 EFLAGS: 00000046 RAX: 0000000000000004 RBX: ffff888038e58b90 RCX: ffffffff96868f03 RDX: 0000000000000000 RSI: 0000000000000000 RDI: dffffc0000000000 RBP: 0000000000000045 R08: dffffc0000000000 R09: fffffbfff20e241a R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000004 R13: ffff888038e58ae8 R14: 0000000000000000 R15: ffff888038e58bb0 FS: 00007f00fbc106c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000004b044000 CR4: 00000000003506f0 DR0: 0000000020000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 seqcount_lockdep_reader_access+0xf8/0x220 include/linux/seqlock.h:103 ktime_get+0x31/0x270 kernel/time/timekeeping.c:829 clockevents_program_event+0xe1/0x310 kernel/time/clockevents.c:326 hrtimer_interrupt+0x546/0x980 kernel/time/hrtimer.c:1827 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 f2 3e 8c f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 87 87 19 f7 65 8b 05 08 8a c4 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc900000073e0 EFLAGS: 00000206 RAX: 1e2b80636aca6e00 RBX: 1ffff92000000e80 RCX: ffffffff81631ae8 RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: 0000000000000001 RBP: ffffc90000007470 R08: dffffc0000000000 R09: fffffbfff20e2437 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000000e7c R14: ffffc90000007400 R15: 0000000000000246 __debug_object_init+0x258/0xd30 lib/debugobjects.c:632 debug_timer_init kernel/time/timer.c:724 [inline] debug_init kernel/time/timer.c:772 [inline] init_timer_key+0x3e/0x2d0 kernel/time/timer.c:816 neigh_alloc net/core/neighbour.c:451 [inline] ___neigh_create+0xa15/0x2220 net/core/neighbour.c:591 ip6_finish_output2+0x11c5/0x15a0 net/ipv6/ip6_output.c:127 dst_output include/net/dst.h:443 [inline] NF_HOOK include/linux/netfilter.h:302 [inline] ndisc_send_skb+0xae0/0x13c0 net/ipv6/ndisc.c:511 addrconf_rs_timer+0x357/0x610 net/ipv6/addrconf.c:3959 call_timer_fn+0x16d/0x560 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x67c/0x890 kernel/time/timer.c:1767 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:kasan_check_range+0x3/0x290 mm/kasan/generic.c:188 Code: 48 89 c7 e8 7f cb 6a 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc 55 41 57 <41> 56 53 b0 01 48 85 f6 0f 84 9a 01 00 00 48 89 fd 48 01 f5 0f 82 RSP: 0018:ffffc90003c87788 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8162ae1c RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8de960a8 RBP: ffffc90003c87900 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000790efc R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] cpumask_test_cpu include/linux/cpumask.h:344 [inline] cpu_online include/linux/cpumask.h:895 [inline] trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0xcc/0x4f0 kernel/locking/lockdep.c:5594 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] BPF_PROG_RUN_ARRAY include/linux/bpf.h:1333 [inline] trace_call_bpf+0x146/0x660 kernel/trace/bpf_trace.c:127 perf_trace_run_bpf_submit+0x7b/0x1d0 kernel/events/core.c:9987 perf_trace_lock+0x37f/0x440 include/trace/events/lock.h:39 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x93c/0x9a0 kernel/locking/lockdep.c:5634 rcu_read_unlock include/linux/rcupdate.h:772 [inline] mntput_no_expire+0x1f9/0x770 fs/namespace.c:1181 __fput+0x665/0x8e0 fs/file_table.c:291 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f00fd797ff9 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:00007f00fbc10038 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007f00fd94ff80 RCX: 00007f00fd797ff9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f00fd80a296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f00fd94ff80 R15: 00007ffc91919338 NMI backtrace for cpu 1 CPU: 1 PID: 14408 Comm: syz.1.3002 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline] rcu_dump_cpu_stacks+0x223/0x390 kernel/rcu/tree_stall.h:349 print_cpu_stall+0x320/0x600 kernel/rcu/tree_stall.h:633 check_cpu_stall kernel/rcu/tree_stall.h:727 [inline] rcu_pending kernel/rcu/tree.c:3932 [inline] rcu_sched_clock_irq+0x8d9/0x1150 kernel/rcu/tree.c:2619 update_process_times+0x196/0x200 kernel/time/timer.c:1818 tick_sched_handle kernel/time/tick-sched.c:254 [inline] tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:ipv6_get_ifaddr+0x1fc/0x750 net/ipv6/addrconf.c:2053 Code: 9e 38 01 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 d3 ae bb f8 48 8b 1b 48 89 d8 48 c1 e8 03 42 80 3c 20 00 <74> 08 48 89 df e8 ba ae bb f8 4c 8b 3b 49 8d 9f d8 05 00 00 48 89 RSP: 0018:ffffc90000dd0940 EFLAGS: 00000246 RAX: 1ffff1100ed84800 RBX: ffff888076c24000 RCX: ffff8880379a8000 RDX: 0000000000000100 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000dd0a40 R08: ffffffff890e759b R09: fffffbfff20e2419 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88804d6f4f80 R14: ffff88807d6c2400 R15: ffff88804d1de000 ndisc_send_rs+0x92/0x6a0 net/ipv6/ndisc.c:674 addrconf_rs_timer+0x357/0x610 net/ipv6/addrconf.c:3959 call_timer_fn+0x16d/0x560 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x67c/0x890 kernel/time/timer.c:1767 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:rcu_lock_release+0x0/0x20 include/linux/rcupdate.h:316 Code: d6 ae f5 ff 48 c7 c7 60 fc 91 8c 31 f6 31 d2 b9 02 00 00 00 45 31 c0 45 31 c9 68 95 ab 8a 81 e8 96 01 d8 ff 48 83 c4 08 c3 90 ab ae f5 ff e8 a6 ae f5 ff 48 c7 c7 60 fc 91 8c 48 c7 c6 c5 ab RSP: 0018:ffffc90003c97718 EFLAGS: 00000287 RAX: 0000000000000000 RBX: 1ffff92000792ef0 RCX: 0000000000040000 RDX: ffffc9000b549000 RSI: 00000000000007c9 RDI: 00000000000007ca RBP: ffffc90003c97838 R08: ffffffff818a19ac R09: fffffbfff20e2419 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888068f9d1a8 rcu_read_unlock include/linux/rcupdate.h:772 [inline] BPF_PROG_RUN_ARRAY include/linux/bpf.h:1346 [inline] trace_call_bpf+0x5a6/0x660 kernel/trace/bpf_trace.c:127 perf_trace_run_bpf_submit+0x7b/0x1d0 kernel/events/core.c:9987 perf_trace_lock+0x37f/0x440 include/trace/events/lock.h:39 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x93c/0x9a0 kernel/locking/lockdep.c:5634 __mutex_unlock_slowpath+0xde/0x750 kernel/locking/mutex.c:851 perf_event_ctx_unlock kernel/events/core.c:1413 [inline] perf_ioctl+0x1b9b/0x2580 kernel/events/core.c:5949 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f06858b8ff9 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:00007f0683d31038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0685a70f80 RCX: 00007f06858b8ff9 RDX: 0000000000000008 RSI: 0000000040042408 RDI: 0000000000000007 RBP: 00007f068592b296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0685a70f80 R15: 00007ffe784c02c8