list_add double add: new=ffff88802d78a018, prev=ffff88802d78a018, next=ffff888059c02078. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:35! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 6952 Comm: syz.2.828 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 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 10 40 8c e8 da f6 eb ff 90 0f 0b 48 89 d9 4c 89 ea 48 89 ee 48 c7 c7 40 12 40 8c e8 c2 f6 eb ff 90 <0f> 0b 48 89 de 48 c7 c7 00 13 40 8c e8 b0 f6 eb ff 90 0f 0b 48 89 RSP: 0018:ffffc90003387580 EFLAGS: 00010082 RAX: 0000000000000058 RBX: ffff888059c02078 RCX: 0000000000000000 RDX: 0000000000000058 RSI: ffffffff81e82d99 RDI: fffff52000670ea1 RBP: ffff88802d78a018 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000004 R11: 0000000000000001 R12: ffff888059c02080 R13: ffff88802d78a018 R14: 0000000000000000 R15: ffff88802d78a018 FS: 00005555583ad500(0000) GS:ffff8880d5eea000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb4e944fcfb CR3: 0000000022285000 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:1154 dummy_urb_enqueue+0x2b5/0x880 drivers/usb/gadget/udc/dummy_hcd.c:1292 usb_hcd_submit_urb+0x268/0x2150 drivers/usb/core/hcd.c:1542 usb_submit_urb+0x827/0x19b0 drivers/usb/core/urb.c:586 cm109_submit_buzz_toggle+0xd1/0x130 drivers/input/misc/cm109.c:351 cm109_toggle_buzzer_async drivers/input/misc/cm109.c:484 [inline] cm109_input_ev+0x209/0x250 drivers/input/misc/cm109.c:615 input_event_dispose drivers/input/input.c:322 [inline] input_handle_event+0x151/0x1500 drivers/input/input.c:370 input_inject_event+0x1c0/0x380 drivers/input/input.c:424 kd_sound_helper+0x17a/0x280 drivers/tty/vt/keyboard.c:257 input_handler_for_each_handle+0xd7/0x250 drivers/input/input.c:2540 kd_mksound+0x88/0x130 drivers/tty/vt/keyboard.c:281 handle_ascii drivers/tty/vt/vt.c:2382 [inline] do_con_trol drivers/tty/vt/vt.c:2699 [inline] do_con_write+0x2107/0x4a30 drivers/tty/vt/vt.c:3325 con_write+0x23/0xb0 drivers/tty/vt/vt.c:3661 process_output_block drivers/tty/n_tty.c:557 [inline] n_tty_write+0x431/0x1160 drivers/tty/n_tty.c:2366 iterate_tty_write drivers/tty/tty_io.c:1006 [inline] file_tty_write.isra.0+0x4d2/0x890 drivers/tty/tty_io.c:1081 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x6ac/0x1050 fs/read_write.c:687 ksys_write+0x12a/0x250 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb4e939de59 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:00007ffcf68d87f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb4e9625fa0 RCX: 00007fb4e939de59 RDX: 000000000000045c RSI: 00002000000004c0 RDI: 0000000000000005 RBP: 00007fb4e9433e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb4e9625fac R14: 00007fb4e9625fa0 R15: 00007fb4e9625fa0 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 10 40 8c e8 da f6 eb ff 90 0f 0b 48 89 d9 4c 89 ea 48 89 ee 48 c7 c7 40 12 40 8c e8 c2 f6 eb ff 90 <0f> 0b 48 89 de 48 c7 c7 00 13 40 8c e8 b0 f6 eb ff 90 0f 0b 48 89 RSP: 0018:ffffc90003387580 EFLAGS: 00010082 RAX: 0000000000000058 RBX: ffff888059c02078 RCX: 0000000000000000 RDX: 0000000000000058 RSI: ffffffff81e82d99 RDI: fffff52000670ea1 RBP: ffff88802d78a018 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000004 R11: 0000000000000001 R12: ffff888059c02080 R13: ffff88802d78a018 R14: 0000000000000000 R15: ffff88802d78a018 FS: 00005555583ad500(0000) GS:ffff8880d5eea000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb4e944fcfb CR3: 0000000022285000 CR4: 0000000000352ef0