usb 4-1: USB disconnect, device number 62 ------------[ cut here ]------------ add_uevent_var: buffer size too small WARNING: CPU: 0 PID: 17450 at lib/kobject_uevent.c:671 add_uevent_var+0x311/0x380 lib/kobject_uevent.c:671 Modules linked in: CPU: 0 PID: 17450 Comm: kworker/0:2 Not tainted 6.0.0-rc2-next-20220825-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Workqueue: usb_hub_wq hub_event RIP: 0010:add_uevent_var+0x311/0x380 lib/kobject_uevent.c:671 Code: 48 c7 c7 20 9e 4c 8a e8 5d 23 1d 05 0f 0b 41 bd f4 ff ff ff e9 55 ff ff ff e8 4b e0 59 fd 48 c7 c7 c0 9e 4c 8a e8 3f 23 1d 05 <0f> 0b 41 bd f4 ff ff ff e9 37 ff ff ff 4c 89 ee 48 c7 c7 80 a8 91 RSP: 0018:ffffc90014a5f2c8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88808d148000 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff8161ec58 RDI: fffff5200294be4b RBP: ffffc90014a5f3b8 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 000000005f646461 R12: 1ffff9200294be5c R13: 00000000000007f5 R14: ffff88808d148218 R15: 00000000000007f5 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef25000 CR3: 0000000089214000 CR4: 00000000003506f0 Call Trace: kobject_uevent_env+0x9c0/0x1640 lib/kobject_uevent.c:588 device_del+0x7f1/0xc80 drivers/base/core.c:3713 input_unregister_device+0xb4/0xf0 drivers/input/input.c:2440 hidinput_disconnect+0x15e/0x3d0 drivers/hid/hid-input.c:2290 hid_disconnect+0x13f/0x1a0 drivers/hid/hid-core.c:2250 hid_hw_stop+0x12/0x70 drivers/hid/hid-core.c:2297 ms_remove+0x12/0x90 drivers/hid/hid-microsoft.c:409 hid_device_remove+0xbf/0x200 drivers/hid/hid-core.c:2627 device_remove+0xc8/0x170 drivers/base/dd.c:548 __device_release_driver drivers/base/dd.c:1239 [inline] device_release_driver_internal+0x4a1/0x700 drivers/base/dd.c:1265 bus_remove_device+0x2e3/0x590 drivers/base/bus.c:529 device_del+0x4f3/0xc80 drivers/base/core.c:3704 hid_remove_device drivers/hid/hid-core.c:2796 [inline] hid_destroy_device+0xe1/0x150 drivers/hid/hid-core.c:2815 usbhid_disconnect+0x9f/0xe0 drivers/hid/usbhid/hid-core.c:1451 usb_unbind_interface+0x1d8/0x8e0 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:550 [inline] device_remove+0x11f/0x170 drivers/base/dd.c:542 __device_release_driver drivers/base/dd.c:1239 [inline] device_release_driver_internal+0x4a1/0x700 drivers/base/dd.c:1265 bus_remove_device+0x2e3/0x590 drivers/base/bus.c:529 device_del+0x4f3/0xc80 drivers/base/core.c:3704 usb_disable_device+0x356/0x7a0 drivers/usb/core/message.c:1419 usb_disconnect.cold+0x259/0x6ed drivers/usb/core/hub.c:2235 hub_port_connect drivers/usb/core/hub.c:5197 [inline] hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] port_event drivers/usb/core/hub.c:5653 [inline] hub_event+0x1f86/0x4610 drivers/usb/core/hub.c:5735 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306