UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 ------------[ cut here ]------------ percpu ref (css_release) <= 0 (-2454) after switching to atomic WARNING: lib/percpu-refcount.c:197 at percpu_ref_switch_to_atomic_rcu+0x3cc/0x480, CPU#1: systemd/1 Modules linked in: CPU: 1 UID: 0 PID: 1 Comm: systemd Tainted: G W 6.17.0-rc4-next-20250901 #1 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 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 c0 99 e2 84 e8 25 ac e9 fe 90 <0f> 0b 90 90 e9 2b ff ff ff e8 56 de 5f ff e9 9e fe ff ff e8 dc de RSP: 0018:ffff88806cf08e20 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8139de70 RDX: ffff8880094f8000 RSI: ffffffff8139de7e RDI: 0000000000000001 RBP: 7ffffffffffff669 R08: 0000000000000001 R09: ffffed100d9e4801 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88800c5a1580 R13: ffff88800c5a15a0 R14: 0000000000000002 R15: 0000000000000003 FS: 00007f97d22ba900(0000) GS:ffff8880e56d8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055da26cea2c8 CR3: 000000000cecf000 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:_raw_spin_unlock_irq+0x2b/0x40 Code: 0f 1e fa 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 6a a5 93 fc 48 89 ef e8 a2 f0 93 fc e8 3d 08 be fc fb 65 ff 0d c5 4c c6 02 <74> 06 5d e9 8d 23 00 00 0f 1f 44 00 00 5d e9 82 23 00 00 66 90 90 RSP: 0018:ffff888009547b48 EFLAGS: 00000286 RAX: 00000000005b64e5 RBX: ffff88800fa48e18 RCX: 0000000000000080 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff84be3363 RBP: ffff88800fa49040 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8643b457 R11: 0000000000000001 R12: ffff88800fa49040 R13: 000000000000045c R14: ffff8880142bc878 R15: ffff88800fa4dbf8 clear_inode+0x6f/0x1a0 shmem_evict_inode+0x257/0xa20 evict+0x368/0x860 iput.part.0+0x541/0x770 iput+0x62/0x80 do_unlinkat+0x4fb/0x670 __x64_sys_unlink+0xc7/0x110 do_syscall_64+0xbf/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f97d2a89b57 Code: f0 ff ff 73 01 c3 48 8b 0d 36 d3 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 09 d3 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffde4fcf938 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 000055da26d72db0 RCX: 00007f97d2a89b57 RDX: 00007ffde4fcf840 RSI: 000055da26d67ec0 RDI: 000055da26d16500 RBP: 00007ffde4fcf970 R08: 000055da26d16500 R09: 0000000000000004 R10: 0000000000000010 R11: 0000000000000246 R12: 000055da26d72db0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001 irq event stamp: 5990368 hardirqs last enabled at (5990378): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (5990387): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (5989408): [] handle_softirqs+0x50c/0x770 softirqs last disabled at (5989607): [] __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 ffff88800c5a1580 pointer offset 0 size 64 percpu_ref_switch_to_atomic_rcu: percpu_ref_switch_to_atomic_rcu(): percpu_ref underflow slab kmalloc-64 start ffff88803c6a4c00 pointer offset 0 size 64 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 misc raw-gadget: fail, usb_gadget_register_driver returned -16 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 misc raw-gadget: fail, usb_gadget_register_driver returned -16 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 misc raw-gadget: fail, usb_gadget_register_driver returned -16 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 misc raw-gadget: fail, usb_gadget_register_driver returned -16 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 ---------------- Code disassembly (best guess): 0: 0f 1e fa nop %edx 3: 55 push %rbp 4: 48 8b 74 24 08 mov 0x8(%rsp),%rsi 9: 48 89 fd mov %rdi,%rbp c: 48 83 c7 18 add $0x18,%rdi 10: e8 6a a5 93 fc callq 0xfc93a57f 15: 48 89 ef mov %rbp,%rdi 18: e8 a2 f0 93 fc callq 0xfc93f0bf 1d: e8 3d 08 be fc callq 0xfcbe085f 22: fb sti 23: 65 ff 0d c5 4c c6 02 decl %gs:0x2c64cc5(%rip) # 0x2c64cef * 2a: 74 06 je 0x32 <-- trapping instruction 2c: 5d pop %rbp 2d: e9 8d 23 00 00 jmpq 0x23bf 32: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 37: 5d pop %rbp 38: e9 82 23 00 00 jmpq 0x23bf 3d: 66 90 xchg %ax,%ax 3f: 90 nop