rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-....: (1 GPs behind) idle=433/1/0x4000000000000002 softirq=72200/72205 fqs=4524 (detected by 1, t=10502 jiffies, g=95553, q=132435) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 15146 Comm: syz.2.5895 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:331 [inline] RIP: 0010:rcu_is_watching+0x31/0xa0 kernel/rcu/tree.c:1123 Code: 05 8c 56 97 7e e8 df 47 c9 08 89 c3 83 f8 08 73 72 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 00 48 3b 8c 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 20 0b 5f 00 48 c7 c3 c8 b2 03 00 RSP: 0018:ffffc90000007a08 EFLAGS: 00000806 RAX: 1ffffffff1876900 RBX: 0000000000000000 RCX: ffffffff812d7969 RDX: 0000000000000000 RSI: ffffffff8ad904a0 RDI: ffffffff8ad90460 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1bd2c16 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8c3b4800 R15: dffffc0000000000 FS: 00007f573bf006c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0571cb0988 CR3: 000000002a0c3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: ffffffff8ddaea20 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: trace_irq_work_entry arch/x86/include/asm/trace/irq_vectors.h:64 [inline] __sysvec_irq_work+0x8a/0x250 arch/x86/kernel/irq_work.c:20 sysvec_irq_work+0x3b/0xb0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:664 RIP: 0010:rcu_read_unlock_special+0x84/0x520 kernel/rcu/tree_plugin.h:671 Code: f1 f1 f1 00 f2 f2 f2 49 89 04 17 66 41 c7 44 17 09 f3 f3 41 c6 44 17 0b f3 65 44 8b 25 9d a2 96 7e 41 f7 c4 00 00 f0 00 74 45 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 3a 00 00 00 00 66 42 c7 44 3a RSP: 0018:ffffc90000007b00 EFLAGS: 00000206 RAX: 29005313a0ce5900 RBX: 1ffff92000000f68 RCX: ffffffff96868f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: ffffffff8ad904c0 RBP: ffffc90000007bd0 R08: ffffffff8186dcf8 R09: ffffed101720765a R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8c923c00 R13: ffff88807b2d8458 R14: ffffc90000007b40 R15: 1ffff92000000f64 __rcu_read_unlock+0x92/0x100 kernel/rcu/tree_plugin.h:422 rcu_read_unlock include/linux/rcupdate.h:771 [inline] ieee80211_iterate_active_interfaces_atomic+0x12e/0x140 net/mac80211/util.c:831 mac80211_hwsim_beacon+0xa7/0x180 drivers/net/wireless/mac80211_hwsim.c:1865 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1769 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:finish_lock_switch+0x91/0x100 kernel/sched/core.c:4782 Code: 45 31 c9 68 97 9b 59 81 e8 9c 11 09 00 48 83 c4 08 4c 89 ff e8 50 db fe ff 66 90 4c 89 ff e8 d6 48 e4 08 e8 51 3f 2d 00 fb 5b <41> 5c 41 5d 41 5e 41 5f c3 44 89 f1 80 e1 07 80 c1 03 38 c1 7c 87 RSP: 0018:ffffc9000150ee98 EFLAGS: 00000286 RAX: 29005313a0ce5900 RBX: ffff88804a361df4 RCX: ffffffff96868f03 RDX: dffffc0000000000 RSI: ffffffff8a8b2b00 RDI: ffffffff8ad904c0 RBP: ffffc9000150ef10 R08: ffffffff8186dcf8 R09: ffffed101720765a R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff1101720760b R14: ffff8880b903b058 R15: ffff8880b903a300 finish_task_switch+0x134/0x630 kernel/sched/core.c:4899 context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12cc/0x45b0 kernel/sched/core.c:6373 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6549 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6574 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] _raw_spin_unlock_irqrestore+0x128/0x130 kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:981 [inline] debug_check_no_obj_freed+0x455/0x4e0 lib/debugobjects.c:1002 slab_free_hook mm/slub.c:1680 [inline] slab_free_freelist_hook+0x86/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kfree+0xf1/0x270 mm/slub.c:4559 free_func_state kernel/bpf/verifier.c:913 [inline] free_verifier_state+0xd6/0x230 kernel/bpf/verifier.c:930 do_check_common+0x877/0x1070 kernel/bpf/verifier.c:13488 do_check_main kernel/bpf/verifier.c:13545 [inline] bpf_check+0xcb80/0x12d00 kernel/bpf/verifier.c:14116 bpf_prog_load+0x12b3/0x1b60 kernel/bpf/syscall.c:2353 __sys_bpf+0x343/0x670 kernel/bpf/syscall.c:4651 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753 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:0x7f573da87ff9 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:00007f573bf00038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f573dc3ff80 RCX: 00007f573da87ff9 RDX: 0000000000000042 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00007f573dafa296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f573dc3ff80 R15: 00007ffce3983308