usb 1-1: USB disconnect, device number 60 ------------[ cut here ]------------ add_uevent_var: buffer size too small WARNING: CPU: 0 PID: 5104 at lib/kobject_uevent.c:670 add_uevent_var+0x2d5/0x450 lib/kobject_uevent.c:670 Modules linked in: CPU: 0 PID: 5104 Comm: kworker/0:5 Not tainted 6.9.0-syzkaller-08414-g7ee332c9f12b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: usb_hub_wq hub_event RIP: 0010:add_uevent_var+0x2d5/0x450 lib/kobject_uevent.c:670 Code: 0f b6 04 27 84 c0 0f 85 28 01 00 00 48 8b 44 24 18 01 18 31 c0 eb 2b e8 d9 c1 1a f6 90 48 c7 c7 e0 19 ec 8c e8 2c e4 dc f5 90 <0f> 0b 90 90 b8 f4 ff ff ff 49 bc 00 00 00 00 00 fc ff df 4c 8b 6c RSP: 0018:ffffc90003f2eec0 EFLAGS: 00010246 RAX: b489568487613000 RBX: 00000000000007f4 RCX: ffff88802a6f5a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003f2eff0 R08: ffffffff81585642 R09: fffffbfff1c3995c R10: dffffc0000000000 R11: fffffbfff1c3995c R12: 000000000000000c R13: 000000000000000c R14: 1ffff1100f5fd443 R15: 1ffff1100f5fd543 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3329c38443 CR3: 000000000e132000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kobject_uevent_env+0x523/0x8e0 lib/kobject_uevent.c:588 device_del+0x808/0x9e0 drivers/base/core.c:3927 input_unregister_device+0xa3/0x100 drivers/input/input.c:2440 hidinput_disconnect+0x26c/0x300 drivers/hid/hid-input.c:2390 hid_disconnect drivers/hid/hid-core.c:2280 [inline] hid_hw_stop+0x75/0x1e0 drivers/hid/hid-core.c:2329 ms_remove+0x23/0xa0 drivers/hid/hid-microsoft.c:409 hid_device_remove+0x225/0x370 device_remove drivers/base/dd.c:566 [inline] __device_release_driver drivers/base/dd.c:1270 [inline] device_release_driver_internal+0x4a9/0x7c0 drivers/base/dd.c:1293 bus_remove_device+0x34f/0x420 drivers/base/bus.c:574 device_del+0x57a/0x9e0 drivers/base/core.c:3909 hid_remove_device drivers/hid/hid-core.c:2867 [inline] hid_destroy_device+0x68/0x100 drivers/hid/hid-core.c:2887 usbhid_disconnect+0x9e/0xc0 drivers/hid/usbhid/hid-core.c:1456 usb_unbind_interface+0x25e/0x940 drivers/usb/core/driver.c:461 device_remove drivers/base/dd.c:568 [inline] __device_release_driver drivers/base/dd.c:1270 [inline] device_release_driver_internal+0x503/0x7c0 drivers/base/dd.c:1293 bus_remove_device+0x34f/0x420 drivers/base/bus.c:574 device_del+0x57a/0x9e0 drivers/base/core.c:3909 usb_disable_device+0x3bf/0x850 drivers/usb/core/message.c:1418 usb_disconnect+0x340/0x950 drivers/usb/core/hub.c:2305 hub_port_connect drivers/usb/core/hub.c:5362 [inline] hub_port_connect_change drivers/usb/core/hub.c:5662 [inline] port_event drivers/usb/core/hub.c:5822 [inline] hub_event+0x1eb9/0x5150 drivers/usb/core/hub.c:5904 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd70 kernel/workqueue.c:3393 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244