input: CM109 USB driver as /devices/platform/dummy_hcd.6/usb11/11-1/11-1:0.8/input/input39 list_add double add: new=ffff888047968c18, prev=ffff888047968c18, next=ffff88803609c078. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:35! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 3 UID: 0 PID: 34 Comm: kworker/3:0 Not tainted syzkaller #0 PREEMPT(full) 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+0x143/0x190 lib/list_debug.c:35 Code: 89 f1 48 c7 c7 c0 6e f0 8b 48 89 ee e8 a6 0d ef fc 90 0f 0b 48 89 f2 48 89 e9 4c 89 e6 48 c7 c7 40 6f f0 8b e8 8e 0d ef fc 90 <0f> 0b 48 89 f7 48 89 34 24 e8 1f 46 79 fd 48 8b 34 24 e9 07 ff ff RSP: 0018:ffffc900006ded50 EFLAGS: 00010086 RAX: 0000000000000058 RBX: ffff888047968c00 RCX: ffffffff819b7079 RDX: 0000000000000000 RSI: ffffffff819beba6 RDI: 0000000000000005 RBP: ffff88803609c078 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000002 R11: 0000000000002b91 R12: ffff888047968c18 R13: ffff88803609c080 R14: 0000000000000000 R15: ffff888047968c18 FS: 0000000000000000(0000) GS:ffff8880d6d0a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3c92d9 CR3: 00000000320a4000 CR4: 0000000000352ef0 Call Trace: __list_add_valid include/linux/list.h:96 [inline] __list_add include/linux/list.h:158 [inline] list_add_tail include/linux/list.h:191 [inline] usb_hcd_link_urb_to_ep+0x220/0x3a0 drivers/usb/core/hcd.c:1158 dummy_urb_enqueue+0x2a7/0x920 drivers/usb/gadget/udc/dummy_hcd.c:1288 usb_hcd_submit_urb+0x25b/0x1c60 drivers/usb/core/hcd.c:1546 usb_submit_urb+0x89f/0x1990 drivers/usb/core/urb.c:587 cm109_input_open+0x27a/0x490 drivers/input/misc/cm109.c:566 input_open_device+0x24c/0x3d0 drivers/input/input.c:601 kbd_connect+0x103/0x160 drivers/tty/vt/keyboard.c:1584 input_attach_handler.isra.0+0x176/0x250 drivers/input/input.c:994 input_register_device+0xab9/0x1180 drivers/input/input.c:2378 cm109_usb_probe+0x122f/0x17c0 drivers/input/misc/cm109.c:797 usb_probe_interface+0x303/0xa40 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:581 [inline] really_probe+0x241/0xa90 drivers/base/dd.c:659 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:801 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:831 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:959 bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:462 __device_attach+0x1e4/0x4b0 drivers/base/dd.c:1031 bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:537 device_add+0x1148/0x1aa0 drivers/base/core.c:3689 usb_set_configuration+0x1187/0x1e20 drivers/usb/core/message.c:2210 usb_generic_driver_probe+0xb1/0x110 drivers/usb/core/generic.c:250 usb_probe_device+0xef/0x3e0 drivers/usb/core/driver.c:291 call_driver_probe drivers/base/dd.c:581 [inline] really_probe+0x241/0xa90 drivers/base/dd.c:659 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:801 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:831 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:959 bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:462 __device_attach+0x1e4/0x4b0 drivers/base/dd.c:1031 bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:537 device_add+0x1148/0x1aa0 drivers/base/core.c:3689 usb_new_device+0xd07/0x1a60 drivers/usb/core/hub.c:2694 hub_port_connect drivers/usb/core/hub.c:5566 [inline] hub_port_connect_change drivers/usb/core/hub.c:5706 [inline] port_event drivers/usb/core/hub.c:5870 [inline] hub_event+0x2f34/0x4fe0 drivers/usb/core/hub.c:5952 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3263 process_scheduled_works kernel/workqueue.c:3346 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3427 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_add_valid_or_report+0x143/0x190 lib/list_debug.c:35 Code: 89 f1 48 c7 c7 c0 6e f0 8b 48 89 ee e8 a6 0d ef fc 90 0f 0b 48 89 f2 48 89 e9 4c 89 e6 48 c7 c7 40 6f f0 8b e8 8e 0d ef fc 90 <0f> 0b 48 89 f7 48 89 34 24 e8 1f 46 79 fd 48 8b 34 24 e9 07 ff ff RSP: 0018:ffffc900006ded50 EFLAGS: 00010086 RAX: 0000000000000058 RBX: ffff888047968c00 RCX: ffffffff819b7079 RDX: 0000000000000000 RSI: ffffffff819beba6 RDI: 0000000000000005 RBP: ffff88803609c078 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000002 R11: 0000000000002b91 R12: ffff888047968c18 R13: ffff88803609c080 R14: 0000000000000000 R15: ffff888047968c18 FS: 0000000000000000(0000) GS:ffff8880d6d0a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3c92d9 CR3: 00000000320a4000 CR4: 0000000000352ef0