usb 5-1: new high-speed USB device number 2 using dummy_hcd usb 5-1: New USB device found: idVendor=064b, idProduct=7825, bcdDevice=2d.b1 usb 5-1: config 6 has an invalid descriptor of length 0, skipping remainder of the config usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 5-1: Product: syz usb 5-1: Manufacturer: syz usb 5-1: SerialNumber: syz upd78f0730 5-1:6.0: upd78f0730 converter detected usb 5-1: upd78f0730 converter now attached to ttyUSB0 usb 5-1: USB disconnect, device number 2 Oops: general protection fault, probably for non-canonical address 0xdffffc00000000c4: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000620-0x0000000000000627] CPU: 0 UID: 0 PID: 11 Comm: kworker/0:1 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 Workqueue: usb_hub_wq hub_event RIP: 0010:upd78f0730_tiocmset+0x86/0x4a0 drivers/usb/serial/upd78f0730.c:207 Code: 48 c1 e9 03 48 b8 f1 f1 f1 f1 f8 f3 f3 f3 48 89 4c 24 18 4a 89 04 31 e8 38 14 fd f9 48 81 c3 20 06 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 6b 7a 76 fa 48 8b 1b 48 b9 00 00 RSP: 0018:ffffc9000024f1e0 EFLAGS: 00010202 RAX: 00000000000000c4 RBX: 0000000000000620 RCX: ffff88801d7b0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000024f2a0 R08: ffff88801478023f R09: 1ffff110028f0047 R10: dffffc0000000000 R11: ffffffff87cc2770 R12: dffffc0000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000006 FS: 0000000000000000(0000) GS:ffff88808a9f1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f525f3d3fe8 CR3: 00000000441eb000 CR4: 0000000000352ef0 Call Trace: tty_port_lower_dtr_rts drivers/tty/tty_port.c:500 [inline] tty_port_shutdown_locked+0x1b5/0x290 drivers/tty/tty_port.c:359 tty_port_hangup+0xf9/0x180 drivers/tty/tty_port.c:405 __tty_hangup+0x5ec/0x6a0 drivers/tty/tty_io.c:646 tty_port_tty_vhangup+0xc1/0x120 drivers/tty/tty_port.c:442 usb_serial_disconnect+0x134/0x580 drivers/usb/serial/usb-serial.c:1244 usb_unbind_interface+0x295/0x9c0 drivers/usb/core/driver.c:460 device_remove drivers/base/dd.c:619 [inline] __device_release_driver drivers/base/dd.c:1357 [inline] device_release_driver_internal+0x48d/0x7d0 drivers/base/dd.c:1380 bus_remove_device+0x444/0x560 drivers/base/bus.c:678 device_del+0x524/0x8f0 drivers/base/core.c:3967 usb_disable_device+0x3d4/0x8d0 drivers/usb/core/message.c:1484 usb_disconnect+0x346/0x9a0 drivers/usb/core/hub.c:2355 hub_port_connect drivers/usb/core/hub.c:5425 [inline] hub_port_connect_change drivers/usb/core/hub.c:5725 [inline] port_event drivers/usb/core/hub.c:5889 [inline] hub_event+0x1bbb/0x4d30 drivers/usb/core/hub.c:5971 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3659 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 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:upd78f0730_tiocmset+0x86/0x4a0 drivers/usb/serial/upd78f0730.c:207 Code: 48 c1 e9 03 48 b8 f1 f1 f1 f1 f8 f3 f3 f3 48 89 4c 24 18 4a 89 04 31 e8 38 14 fd f9 48 81 c3 20 06 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 6b 7a 76 fa 48 8b 1b 48 b9 00 00 RSP: 0018:ffffc9000024f1e0 EFLAGS: 00010202 RAX: 00000000000000c4 RBX: 0000000000000620 RCX: ffff88801d7b0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000024f2a0 R08: ffff88801478023f R09: 1ffff110028f0047 R10: dffffc0000000000 R11: ffffffff87cc2770 R12: dffffc0000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000006 FS: 0000000000000000(0000) GS:ffff88808a9f1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f525f3d3fe8 CR3: 000000000ff48000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 48 c1 e9 03 shr $0x3,%rcx 4: 48 b8 f1 f1 f1 f1 f8 movabs $0xf3f3f3f8f1f1f1f1,%rax b: f3 f3 f3 e: 48 89 4c 24 18 mov %rcx,0x18(%rsp) 13: 4a 89 04 31 mov %rax,(%rcx,%r14,1) 17: e8 38 14 fd f9 call 0xf9fd1454 1c: 48 81 c3 20 06 00 00 add $0x620,%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 6b 7a 76 fa call 0xfa767aa4 39: 48 8b 1b mov (%rbx),%rbx 3c: 48 rex.W 3d: b9 .byte 0xb9