------------[ cut here ]------------ percpu ref (css_release) <= 0 (-2440) after switching to atomic WARNING: lib/percpu-refcount.c:197 at percpu_ref_switch_to_atomic_rcu+0x3cc/0x480, CPU#1: kworker/u10:6/561 Modules linked in: CPU: 1 UID: 0 PID: 561 Comm: kworker/u10:6 Tainted: G W 6.17.0-rc3-next-20250829 #1 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:percpu_ref_switch_to_atomic_rcu+0x3cc/0x480 Code: 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 01 00 0f 85 9e 00 00 00 49 8b 75 e8 48 c7 c7 80 97 e2 84 e8 75 c5 e9 fe 90 <0f> 0b 90 90 e9 2b ff ff ff e8 f6 de 5f ff e9 9e fe ff ff e8 7c df RSP: 0018:ffff88806cf08e20 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8139de70 RDX: ffff888017ce8000 RSI: ffffffff8139de7e RDI: 0000000000000001 RBP: 7ffffffffffff677 R08: 0000000000000001 R09: ffffed100d9e4801 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800b6e3000 R13: ffff88800b6e3020 R14: 0000000000000002 R15: 0000000000000003 FS: 0000000000000000(0000) GS:ffff8880e56dd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6992ddc368 CR3: 000000003907c000 CR4: 0000000000350ef0 Call Trace: rcu_core+0x7c8/0x1800 handle_softirqs+0x1b1/0x770 __irq_exit_rcu+0xc4/0x100 irq_exit_rcu+0x9/0x20 sysvec_apic_timer_interrupt+0x70/0x80 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:___slab_alloc+0x18b/0xf30 Code: 47 28 00 00 00 00 4c 89 ff 48 8d 35 00 00 00 00 e8 2a 9a a9 ff 48 83 bd 50 ff ff ff 00 74 06 e8 cb ed d3 ff fb 49 83 7d 18 00 <0f> 84 bf 02 00 00 4c 89 f0 4d 89 e6 49 89 c4 9c 5b fa 48 89 d8 25 RSP: 0018:ffff88803c3cf0b0 EFLAGS: 00000286 RAX: 0000000000124971 RBX: 0000000000000246 RCX: 0000000000000040 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81a83ea5 RBP: ffff88803c3cf180 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8643ac57 R11: ffff88806cf3bb10 R12: ffff888008c4b780 R13: ffff88806cf3baf0 R14: ffff888017ce8000 R15: ffff88806cf3bb10 kmem_cache_alloc_noprof+0x47e/0x690 __alloc_object+0x2b/0x2c0 __create_object+0x1d/0x80 __kmalloc_noprof+0x45c/0x6e0 cfg80211_inform_single_bss_data+0x4e9/0x1bd0 cfg80211_inform_bss_data+0x20e/0x34e0 cfg80211_inform_bss_frame_data+0x253/0x6b0 ieee80211_bss_info_update+0x2f5/0xa90 ieee80211_ibss_rx_queued_mgmt+0x18b3/0x2f50 ieee80211_iface_work+0xd52/0x1220 cfg80211_wiphy_work+0x245/0x480 process_one_work+0x8e1/0x19c0 worker_thread+0x67e/0xe90 kthread+0x3c8/0x740 ret_from_fork+0x34b/0x430 ret_from_fork_asm+0x1a/0x30 irq event stamp: 1199600 hardirqs last enabled at (1199610): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (1199619): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (1198428): [] ieee80211_ibss_work+0x2e5/0x1360 softirqs last disabled at (1198451): [] __irq_exit_rcu+0xc4/0x100 ---[ end trace 0000000000000000 ]--- percpu_ref_switch_to_atomic_rcu: percpu_ref_switch_to_atomic_rcu(): percpu_ref underflow slab kmalloc-64 start ffff88800b6e3000 pointer offset 0 size 64 percpu_ref_switch_to_atomic_rcu: percpu_ref_switch_to_atomic_rcu(): percpu_ref underflow slab kmalloc-64 start ffff88800edcf780 pointer offset 0 size 64 ---------------- Code disassembly (best guess): 0: 47 28 00 rex.RXB sub %r8b,(%r8) 3: 00 00 add %al,(%rax) 5: 00 4c 89 ff add %cl,-0x1(%rcx,%rcx,4) 9: 48 8d 35 00 00 00 00 lea 0x0(%rip),%rsi # 0x10 10: e8 2a 9a a9 ff callq 0xffa99a3f 15: 48 83 bd 50 ff ff ff cmpq $0x0,-0xb0(%rbp) 1c: 00 1d: 74 06 je 0x25 1f: e8 cb ed d3 ff callq 0xffd3edef 24: fb sti 25: 49 83 7d 18 00 cmpq $0x0,0x18(%r13) * 2a: 0f 84 bf 02 00 00 je 0x2ef <-- trapping instruction 30: 4c 89 f0 mov %r14,%rax 33: 4d 89 e6 mov %r12,%r14 36: 49 89 c4 mov %rax,%r12 39: 9c pushfq 3a: 5b pop %rbx 3b: fa cli 3c: 48 89 d8 mov %rbx,%rax 3f: 25 .byte 0x25