rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (300 ticks this GP) idle=a4fc/1/0x4000000000000000 softirq=69702/69702 fqs=1 (t=10502 jiffies g=101969 q=1206 ncpus=2) rcu: rcu_preempt kthread starved for 10498 jiffies! g101969 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:26048 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 17879 Comm: syz.1.4474 Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:arch_atomic_try_cmpxchg include/linux/atomic/atomic-arch-fallback.h:1247 [inline] RIP: 0010:arch_atomic_fetch_add_unless include/linux/atomic/atomic-arch-fallback.h:1247 [inline] RIP: 0010:arch_atomic_add_unless include/linux/atomic/atomic-arch-fallback.h:1267 [inline] RIP: 0010:arch_atomic_inc_not_zero include/linux/atomic/atomic-arch-fallback.h:1283 [inline] RIP: 0010:try_get_desc arch/x86/kernel/alternative.c:1366 [inline] RIP: 0010:poke_int3_handler+0x23/0x1a0 arch/x86/kernel/alternative.c:1416 Code: cc cc cc cc cc cc cc 31 c9 f6 87 88 00 00 00 03 74 03 89 c8 c3 8b 05 f8 1a 5d 05 85 c0 74 f3 8d 50 01 f0 0f b1 15 e9 1a 5d 05 <75> ef 48 8b 97 80 00 00 00 4c 8d 42 ff 8b 35 d2 1a 5d 05 48 8b 05 RSP: 0018:ffffc90000006d48 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffffc90000006d68 RCX: 0000000000000000 RDX: 0000000000000002 RSI: 0000000000000000 RDI: ffffc90000006d68 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f06b6a986c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a921e6d030 CR3: 000000002d2df000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000020000300 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: exc_int3+0xa/0x70 arch/x86/kernel/traps.c:827 asm_exc_int3+0x35/0x40 arch/x86/include/asm/idtentry.h:569 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline] RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline] RIP: 0010:lock_release+0x7d/0xa20 kernel/locking/lockdep.c:5673 Code: a9 6a 81 4c 8d 64 24 60 49 c1 ec 03 48 b8 f1 f1 f1 f1 04 f2 00 f2 4b 89 04 3c 48 b8 f2 f2 00 f3 f3 f3 f3 f3 4b 89 44 3c 08 cc <1f> 44 00 00 65 8b 1d c8 6f 97 7e 48 c7 c0 78 fb 99 8e 48 c1 e8 03 RSP: 0018:ffffc90000006e40 EFLAGS: 00000806 RAX: f3f3f3f3f300f2f2 RBX: 0000000000000046 RCX: ffffffff816b3d32 RDX: dffffc0000000000 RSI: ffffffff817a2a5f RDI: ffffffff8d344108 RBP: ffffc90000006f70 R08: dffffc0000000000 R09: fffffbfff223ba46 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000dd4 R13: ffffffff817a2a5f R14: ffffc90000006fa0 R15: dffffc0000000000 seqcount_lockdep_reader_access+0x10b/0x220 include/linux/seqlock.h:101 timekeeping_get_delta kernel/time/timekeeping.c:254 [inline] timekeeping_get_ns kernel/time/timekeeping.c:388 [inline] ktime_get+0x7f/0x270 kernel/time/timekeeping.c:848 hrtimer_forward_now include/linux/hrtimer.h:508 [inline] perf_swevent_hrtimer+0x43b/0x4f0 kernel/events/core.c:10881 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x5a7/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:unwind_next_frame+0x1/0x2220 arch/x86/kernel/unwind_orc.c:423 Code: 02 31 c0 5b 41 5e 41 5f c3 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 95 4c 89 f7 e8 fb 7c a5 00 eb 8b 66 0f 1f 84 00 00 00 00 00 55 <41> 57 41 56 41 55 41 54 53 48 81 ec a8 00 00 00 48 89 fb 49 be 00 RSP: 0018:ffffc90000007610 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc90000007620 RCX: ffffffff8fdb3000 RDX: dffffc0000000000 RSI: ffffffff819e3598 RDI: ffffc90000007620 RBP: ffffc900000076b0 R08: 0000000000000017 R09: ffffc90000007710 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802dbe8000 R13: ffffffff81786c50 R14: ffffc90000007700 R15: 0000000000000000 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 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+0x25c/0x3c0 mm/slub.c:3674 skb_free_head net/core/skbuff.c:762 [inline] skb_release_data+0x5de/0x7a0 net/core/skbuff.c:791 skb_release_all net/core/skbuff.c:856 [inline] __kfree_skb net/core/skbuff.c:870 [inline] consume_skb+0xa3/0x140 net/core/skbuff.c:1035 mac80211_hwsim_beacon_tx+0x5f8/0xaa0 drivers/net/wireless/mac80211_hwsim.c:2116 __iterate_interfaces+0x21e/0x4b0 net/mac80211/util.c:788 ieee80211_iterate_active_interfaces_atomic+0xd4/0x170 net/mac80211/util.c:824 mac80211_hwsim_beacon+0xd0/0x1e0 drivers/net/wireless/mac80211_hwsim.c:2142 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1753 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1770 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 bd 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:ffffc900048eebc8 EFLAGS: 00000282 RAX: e2cf563d00992600 RBX: ffff88802e59bbb4 RCX: ffffffff97334103 RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: ffff88802dbe95f8 RBP: ffffc900048eec10 R08: dffffc0000000000 R09: ffffed10171c7539 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802dbe8000 R13: 1ffff110171c76e3 R14: ffff8880b8e3a9c0 R15: ffff8880b8e3b718 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:check_kcov_mode kernel/kcov.c:193 [inline] RIP: 0010:write_comp_data kernel/kcov.c:245 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x30/0x80 kernel/kcov.c:313 Code: 8b 15 94 bc 77 7e 65 8b 05 95 bc 77 7e 25 00 01 ff 00 74 10 3d 00 01 00 00 75 5b 83 ba 1c 16 00 00 00 74 52 8b 82 f8 15 00 00 <83> f8 03 75 47 48 8b 8a 00 16 00 00 44 8b 8a fc 15 00 00 49 c1 e1 RSP: 0018:ffffc900048eef58 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffff88802dbe8000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc900048ef250 R08: ffffffff819e3598 R09: ffffffff819fda59 R10: 0000000000000005 R11: ffff88802dbe8000 R12: 000000000000000d R13: ffff8880a219e438 R14: dffffc0000000000 R15: 0000000000000000 propagate_liveness_reg kernel/bpf/verifier.c:12051 [inline] propagate_liveness kernel/bpf/verifier.c:12094 [inline] is_state_visited kernel/bpf/verifier.c:12267 [inline] do_check kernel/bpf/verifier.c:12471 [inline] do_check_common+0x4218/0xca90 kernel/bpf/verifier.c:14953 do_check_main kernel/bpf/verifier.c:15016 [inline] bpf_check+0x65a2/0x16140 kernel/bpf/verifier.c:15593 bpf_prog_load+0x12df/0x1bb0 kernel/bpf/syscall.c:2646 __sys_bpf+0x382/0x6c0 kernel/bpf/syscall.c:5020 __do_sys_bpf kernel/bpf/syscall.c:5124 [inline] __se_sys_bpf kernel/bpf/syscall.c:5122 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5122 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f06b5d7dff9 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:00007f06b6a98038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f06b5f35f80 RCX: 00007f06b5d7dff9 RDX: 0000000000000090 RSI: 0000000020000840 RDI: 0000000000000005 RBP: 00007f06b5df0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f06b5f35f80 R15: 00007ffdd84de958 CPU: 1 PID: 17882 Comm: syz.0.4475 Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:168 [inline] RIP: 0010:unwind_next_frame+0x1e9/0x2220 arch/x86/kernel/unwind_orc.c:448 Code: 80 3d 5a 19 9c 0b 00 44 0f 45 f9 41 8d 47 ff 44 39 f0 0f 86 26 19 00 00 44 89 f0 48 8d 1c 85 ec c7 af 8f 48 89 d8 48 c1 e8 03 <0f> b6 04 38 84 c0 0f 85 d0 1a 00 00 44 8b 23 44 89 f0 ff c0 48 8d RSP: 0018:ffffc900001e01a0 EFLAGS: 00000a02 RAX: 1ffffffff1f6428a RBX: ffffffff8fb21450 RCX: 000000000009e078 RDX: dffffc0000000000 RSI: ffffffff81931978 RDI: dffffc0000000000 RBP: 1ffff9200003c056 R08: 000000000000001b R09: ffffc900001e0370 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802b833b80 R13: ffffffff81931977 R14: 0000000000009319 R15: 000000000009e078 FS: 00007f63da12c6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f63da0ead58 CR3: 00000000a74ab000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 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_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0x97/0xb0 mm/kasan/common.c:383 kmalloc include/linux/slab.h:557 [inline] kzalloc include/linux/slab.h:693 [inline] ref_tracker_alloc+0x13c/0x470 lib/ref_tracker.c:85 __netdev_tracker_alloc include/linux/netdevice.h:4008 [inline] netdev_hold include/linux/netdevice.h:4037 [inline] dst_init+0xee/0x440 net/core/dst.c:52 dst_alloc+0x155/0x190 net/core/dst.c:92 ip6_dst_alloc net/ipv6/route.c:345 [inline] icmp6_dst_alloc+0x7b/0x470 net/ipv6/route.c:3269 ndisc_send_skb+0x344/0x14e0 net/ipv6/ndisc.c:491 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:__sanitizer_cov_trace_pc+0x58/0x60 kernel/kcov.c:234 Code: f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 48 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2 08 0f 1f 80 00 00 00 00 4c 8b 04 24 65 48 8b 15 94 bf 77 7e 65 8b RSP: 0018:ffffc90004f274f8 EFLAGS: 00000287 RAX: ffffffff817f6f29 RBX: 1ffff110171c8595 RCX: 0000000000040000 RDX: ffffc90030409000 RSI: 0000000000009111 RDI: 0000000000009112 RBP: ffffc90004f278e0 R08: ffffffff817f6ef2 R09: fffffbfff223ba45 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b8e42ca8 csd_lock_wait kernel/smp.c:424 [inline] smp_call_function_many_cond+0x1fc9/0x3460 kernel/smp.c:998 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1334 [inline] text_poke_bp_batch+0x5f9/0x940 arch/x86/kernel/alternative.c:1596 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1732 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xce/0x1b0 kernel/jump_label.c:235 static_key_disable+0x16/0x20 kernel/jump_label.c:243 tracepoint_remove_func kernel/tracepoint.c:417 [inline] tracepoint_probe_unregister+0x6e6/0x980 kernel/tracepoint.c:551 trace_event_reg+0x216/0x250 perf_trace_event_unreg+0xb0/0x1a0 kernel/trace/trace_event_perf.c:162 perf_trace_destroy+0x98/0x140 kernel/trace/trace_event_perf.c:241 _free_event+0xd0a/0x1090 kernel/events/core.c:5066 put_event kernel/events/core.c:5160 [inline] perf_event_release_kernel+0x873/0x900 kernel/events/core.c:5285 perf_release+0x37/0x40 kernel/events/core.c:5295 __fput+0x3f6/0x8d0 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f63d937dff9 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:00007f63da12c038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffea RBX: 00007f63d9535f80 RCX: 00007f63d937dff9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f63d93f0296 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f63d9535f80 R15: 00007fff85941938