usb 3-1: USB disconnect, device number 96 general protection fault, probably for non-canonical address 0xdffffc00000000b2: 0000 [#1] SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000590-0x0000000000000597] CPU: 1 PID: 2631 Comm: kworker/1:2 Not tainted 5.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event RIP: 0010:__list_del_entry_valid+0x1d/0xf0 lib/list_debug.c:42 Code: 48 8b 34 24 eb b4 0f 1f 80 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 41 55 41 54 55 48 89 fd 48 83 c7 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 a0 00 00 00 48 89 ea 4c 8b 65 08 48 b8 00 00 00 RSP: 0018:ffffc90006f474f0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88810e783008 RCX: ffffc9000fbcf000 RDX: 00000000000000b2 RSI: ffffffff820c0c10 RDI: 0000000000000590 RBP: 0000000000000588 R08: 0000000000000001 R09: ffffffff8a1f8737 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000588 R13: 0000000000000590 R14: ffff888102e0a1a0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8932dc8130 CR3: 0000000100c63000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry include/linux/list.h:132 [inline] list_del include/linux/list.h:146 [inline] gpiodevice_release+0x49/0x250 drivers/gpio/gpiolib.c:479 device_release+0x9f/0x240 drivers/base/core.c:2108 kobject_cleanup lib/kobject.c:705 [inline] kobject_release lib/kobject.c:736 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1c8/0x540 lib/kobject.c:753 put_device+0x1b/0x30 drivers/base/core.c:3341 ftdi_gpio_remove drivers/usb/serial/ftdi_sio.c:2215 [inline] ftdi_sio_port_remove+0x276/0x340 drivers/usb/serial/ftdi_sio.c:2407 usb_serial_device_remove+0x13f/0x1a0 drivers/usb/serial/bus.c:97 __device_release_driver+0x3bd/0x6f0 drivers/base/dd.c:1156 device_release_driver_internal drivers/base/dd.c:1187 [inline] device_release_driver+0x26/0x40 drivers/base/dd.c:1210 bus_remove_device+0x2eb/0x5a0 drivers/base/bus.c:533 device_del+0x502/0xd40 drivers/base/core.c:3421 usb_serial_disconnect+0x218/0x3a0 drivers/usb/serial/usb-serial.c:1102 usb_unbind_interface+0x1d8/0x8d0 drivers/usb/core/driver.c:458 __device_release_driver+0x3bd/0x6f0 drivers/base/dd.c:1156 device_release_driver_internal drivers/base/dd.c:1187 [inline] device_release_driver+0x26/0x40 drivers/base/dd.c:1210 bus_remove_device+0x2eb/0x5a0 drivers/base/bus.c:533 device_del+0x502/0xd40 drivers/base/core.c:3421 usb_disable_device+0x35b/0x7b0 drivers/usb/core/message.c:1413 usb_disconnect.cold+0x27d/0x791 drivers/usb/core/hub.c:2218 hub_port_connect drivers/usb/core/hub.c:5074 [inline] hub_port_connect_change drivers/usb/core/hub.c:5363 [inline] port_event drivers/usb/core/hub.c:5509 [inline] hub_event+0x1c9c/0x4320 drivers/usb/core/hub.c:5591 process_one_work+0x98d/0x1580 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x38c/0x460 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Modules linked in: ---[ end trace d249fc82ac66d0ed ]--- RIP: 0010:__list_del_entry_valid+0x1d/0xf0 lib/list_debug.c:42 Code: 48 8b 34 24 eb b4 0f 1f 80 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 41 55 41 54 55 48 89 fd 48 83 c7 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 a0 00 00 00 48 89 ea 4c 8b 65 08 48 b8 00 00 00 RSP: 0018:ffffc90006f474f0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88810e783008 RCX: ffffc9000fbcf000 RDX: 00000000000000b2 RSI: ffffffff820c0c10 RDI: 0000000000000590 RBP: 0000000000000588 R08: 0000000000000001 R09: ffffffff8a1f8737 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000588 R13: 0000000000000590 R14: ffff888102e0a1a0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8932dc8130 CR3: 0000000100c63000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400