list_add double add: new=ffff88802c932e18, prev=ffff88802c932e18, next=ffff88807fac6078. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:35! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5924 Comm: syz.2.11 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:__list_add_valid_or_report.cold+0x34/0x36 lib/list_debug.c:35 Code: eb ff 90 0f 0b 48 c7 c7 00 63 83 8c e8 fa a1 eb ff 90 0f 0b 48 89 d9 4c 89 ea 48 89 ee 48 c7 c7 40 65 83 8c e8 e2 a1 eb ff 90 <0f> 0b 48 89 de 48 c7 c7 00 66 83 8c e8 d0 a1 eb ff 90 0f 0b 48 89 RSP: 0018:ffffc90000007890 EFLAGS: 00010082 RAX: 0000000000000058 RBX: ffff88807fac6078 RCX: 0000000000000000 RDX: 0000000000000058 RSI: ffffffff81ec0c99 RDI: fffff52000000f03 RBP: ffff88802c932e18 R08: 0000000000000000 R09: 0000000000000000 R10: ffffc90000007657 R11: 0000000000000001 R12: ffff88807fac6080 R13: ffff88802c932e18 R14: 0000000000000000 R15: ffff88802c932e18 FS: 000055558a220500(0000) GS:ffff888122470000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe9a6e51fe8 CR3: 0000000054ce3000 CR4: 0000000000350ef0 Call Trace: __list_add_valid include/linux/list.h:104 [inline] __list_add include/linux/list.h:169 [inline] list_add_tail include/linux/list.h:206 [inline] usb_hcd_link_urb_to_ep+0x220/0x3a0 drivers/usb/core/hcd.c:1154 dummy_urb_enqueue+0x2b5/0x8b0 drivers/usb/gadget/udc/dummy_hcd.c:1342 usb_hcd_submit_urb+0x268/0x2140 drivers/usb/core/hcd.c:1542 usb_submit_urb+0x827/0x19b0 drivers/usb/core/urb.c:594 keyspan_usa49_send_setup.isra.0+0x72c/0xf10 drivers/usb/serial/keyspan.c:2466 usa49_glocont_callback+0x18d/0x260 drivers/usb/serial/keyspan.c:1047 __usb_hcd_giveback_urb+0x38e/0x610 drivers/usb/core/hcd.c:1657 usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741 dummy_timer+0xdb5/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:2051 __run_hrtimer kernel/time/hrtimer.c:2079 [inline] __hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136 hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x178/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:211 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:221 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 b6 ac f7 f5 48 89 df e8 3e 03 f8 f5 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 85 c9 e6 f5 65 48 83 3d f4 60 c9 09 00 74 16 5b RSP: 0018:ffffc90004a1fab8 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff88802c0f0000 RCX: 0000000000000040 RDX: 0000000000000001 RSI: ffffffff8e62869f RDI: ffffffff8c836280 RBP: 0000000000000293 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000293 R13: ffff88802c0f0000 R14: 0000000000000000 R15: ffff88802c0f0c00 spin_unlock_irqrestore include/linux/spinlock.h:425 [inline] dummy_pullup+0xfe/0x170 drivers/usb/gadget/udc/dummy_hcd.c:965 usb_gadget_disconnect_locked+0x142/0x4e0 drivers/usb/gadget/udc/core.c:786 gadget_unbind_driver+0xd8/0x4f0 drivers/usb/gadget/udc/core.c:1719 device_remove+0xcb/0x180 drivers/base/dd.c:617 __device_release_driver drivers/base/dd.c:1357 [inline] device_release_driver_internal+0x441/0x610 drivers/base/dd.c:1380 driver_detach+0xd8/0x1b0 drivers/base/dd.c:1443 bus_remove_driver+0x13b/0x2e0 drivers/base/bus.c:851 driver_unregister+0x76/0xb0 drivers/base/driver.c:202 usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1785 raw_release+0x19b/0x260 drivers/usb/gadget/legacy/raw_gadget.c:463 __fput+0x3fb/0xb50 fs/file_table.c:512 fput_close_sync+0x118/0x250 fs/file_table.c:618 filp_close_sync+0x75/0xa0 fs/open.c:1574 __range_close+0x4a6/0x8b0 fs/file.c:919 __do_sys_close_range fs/file.c:1003 [inline] __se_sys_close_range fs/file.c:954 [inline] __x64_sys_close_range+0x1f8/0x430 fs/file.c:954 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f402259fb19 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffeca8ae1c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: ffffffffffffffda RBX: 00007ffeca8ae2b0 RCX: 00007f402259fb19 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 0000000000019c24 R08: 0000000000000001 R09: 0000000000000000 R10: 0000001b33920000 R11: 0000000000000246 R12: 00007ffeca8ae2f0 R13: 00007f4022825fac R14: 000000000001a0b1 R15: 00007f4022825fa0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_add_valid_or_report.cold+0x34/0x36 lib/list_debug.c:35 Code: eb ff 90 0f 0b 48 c7 c7 00 63 83 8c e8 fa a1 eb ff 90 0f 0b 48 89 d9 4c 89 ea 48 89 ee 48 c7 c7 40 65 83 8c e8 e2 a1 eb ff 90 <0f> 0b 48 89 de 48 c7 c7 00 66 83 8c e8 d0 a1 eb ff 90 0f 0b 48 89 RSP: 0018:ffffc90000007890 EFLAGS: 00010082 RAX: 0000000000000058 RBX: ffff88807fac6078 RCX: 0000000000000000 RDX: 0000000000000058 RSI: ffffffff81ec0c99 RDI: fffff52000000f03 RBP: ffff88802c932e18 R08: 0000000000000000 R09: 0000000000000000 R10: ffffc90000007657 R11: 0000000000000001 R12: ffff88807fac6080 R13: ffff88802c932e18 R14: 0000000000000000 R15: ffff88802c932e18 FS: 000055558a220500(0000) GS:ffff888122470000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe9a6e51fe8 CR3: 0000000054ce3000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: f5 cmc 1: 53 push %rbx 2: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 7: 48 89 fb mov %rdi,%rbx a: 48 83 c7 18 add $0x18,%rdi e: e8 b6 ac f7 f5 call 0xf5f7acc9 13: 48 89 df mov %rbx,%rdi 16: e8 3e 03 f8 f5 call 0xf5f80359 1b: f7 c5 00 02 00 00 test $0x200,%ebp 21: 75 23 jne 0x46 23: 9c pushf 24: 58 pop %rax 25: f6 c4 02 test $0x2,%ah 28: 75 37 jne 0x61 * 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2f: e8 85 c9 e6 f5 call 0xf5e6c9b9 34: 65 48 83 3d f4 60 c9 cmpq $0x0,%gs:0x9c960f4(%rip) # 0x9c96131 3b: 09 00 3d: 74 16 je 0x55 3f: 5b pop %rbx