input: CM109 USB driver as /devices/platform/dummy_hcd.8/usb13/13-1/13-1:0.8/input/input55 list_add double add: new=ffff888059891318, prev=ffff888059891318, next=ffff88804741c070. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:35! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 2 UID: 0 PID: 25 Comm: kworker/2:0 Not tainted 6.12.0-rc5-syzkaller-00005-ge42b1a9a2557 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: usb_hub_wq hub_event RIP: 0010:__list_add_valid_or_report+0xd6/0x100 lib/list_debug.c:35 Code: 89 f1 48 c7 c7 40 af d1 8b 48 89 de e8 83 b2 d7 fc 90 0f 0b 48 89 f2 48 89 d9 48 89 ee 48 c7 c7 c0 af d1 8b e8 6b b2 d7 fc 90 <0f> 0b 48 89 f7 48 89 34 24 e8 dc 82 59 fd 48 8b 34 24 e9 6c ff ff RSP: 0018:ffffc9000083ecf0 EFLAGS: 00010082 RAX: 0000000000000058 RBX: ffff88804741c070 RCX: ffffffff816d3f49 RDX: 0000000000000000 RSI: ffffffff816de866 RDI: 0000000000000005 RBP: ffff888059891318 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000002 R11: ffffffff961ccdd0 R12: 0000000000000000 R13: ffff888059891318 R14: ffff888059891318 R15: ffff88804741c078 FS: 0000000000000000(0000) GS:ffff88806a800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d600cff41 CR3: 000000002451a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 00000000872c9164 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add_valid include/linux/list.h:88 [inline] __list_add include/linux/list.h:150 [inline] list_add_tail include/linux/list.h:183 [inline] usb_hcd_link_urb_to_ep+0x21d/0x390 drivers/usb/core/hcd.c:1158 dummy_urb_enqueue+0x291/0x8e0 drivers/usb/gadget/udc/dummy_hcd.c:1287 usb_hcd_submit_urb+0x2d1/0x2090 drivers/usb/core/hcd.c:1533 usb_submit_urb+0x87c/0x1730 drivers/usb/core/urb.c:581 cm109_input_open+0x271/0x460 drivers/input/misc/cm109.c:572 input_open_device+0x1c9/0x320 drivers/input/input.c:617 kbd_connect+0x103/0x160 drivers/tty/vt/keyboard.c:1591 input_attach_handler.isra.0+0x181/0x260 drivers/input/input.c:1027 input_register_device+0xa84/0x1110 drivers/input/input.c:2470 cm109_usb_probe+0x122f/0x17c0 drivers/input/misc/cm109.c:806 usb_probe_interface+0x309/0x9d0 drivers/usb/core/driver.c:399 call_driver_probe drivers/base/dd.c:579 [inline] really_probe+0x23e/0xa90 drivers/base/dd.c:658 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:800 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:830 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:958 bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:459 __device_attach+0x1e8/0x4b0 drivers/base/dd.c:1030 bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:534 device_add+0x114b/0x1a70 drivers/base/core.c:3675 usb_set_configuration+0x10cb/0x1c50 drivers/usb/core/message.c:2210 usb_generic_driver_probe+0xb1/0x110 drivers/usb/core/generic.c:254 usb_probe_device+0xec/0x3e0 drivers/usb/core/driver.c:294 call_driver_probe drivers/base/dd.c:579 [inline] really_probe+0x23e/0xa90 drivers/base/dd.c:658 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:800 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:830 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:958 bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:459 __device_attach+0x1e8/0x4b0 drivers/base/dd.c:1030 bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:534 device_add+0x114b/0x1a70 drivers/base/core.c:3675 usb_new_device+0xd90/0x1a10 drivers/usb/core/hub.c:2651 hub_port_connect drivers/usb/core/hub.c:5521 [inline] hub_port_connect_change drivers/usb/core/hub.c:5661 [inline] port_event drivers/usb/core/hub.c:5821 [inline] hub_event+0x2d9a/0x4e10 drivers/usb/core/hub.c:5903 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_add_valid_or_report+0xd6/0x100 lib/list_debug.c:35 Code: 89 f1 48 c7 c7 40 af d1 8b 48 89 de e8 83 b2 d7 fc 90 0f 0b 48 89 f2 48 89 d9 48 89 ee 48 c7 c7 c0 af d1 8b e8 6b b2 d7 fc 90 <0f> 0b 48 89 f7 48 89 34 24 e8 dc 82 59 fd 48 8b 34 24 e9 6c ff ff RSP: 0018:ffffc9000083ecf0 EFLAGS: 00010082 RAX: 0000000000000058 RBX: ffff88804741c070 RCX: ffffffff816d3f49 RDX: 0000000000000000 RSI: ffffffff816de866 RDI: 0000000000000005 RBP: ffff888059891318 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000002 R11: ffffffff961ccdd0 R12: 0000000000000000 R13: ffff888059891318 R14: ffff888059891318 R15: ffff88804741c078 FS: 0000000000000000(0000) GS:ffff88806a800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d600cff41 CR3: 000000002451a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 00000000872c9164 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400