HID 045e:07da: Invalid code 65791 type 1 ------------[ cut here ]------------ init_uevent_argv: buffer size too small WARNING: CPU: 0 PID: 5 at lib/kobject_uevent.c:259 init_uevent_argv lib/kobject_uevent.c:259 [inline] WARNING: CPU: 0 PID: 5 at lib/kobject_uevent.c:259 kobject_uevent_env+0x1640/0x1680 lib/kobject_uevent.c:608 Modules linked in: CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 5.11.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event RIP: 0010:init_uevent_argv lib/kobject_uevent.c:259 [inline] RIP: 0010:kobject_uevent_env+0x1640/0x1680 lib/kobject_uevent.c:608 Code: 87 e8 04 b1 fe ff e9 cf f8 ff ff 48 8b 3c 24 e8 26 98 66 ff e9 a9 f8 ff ff e8 8c 4a 3a ff 48 c7 c7 c0 fc 20 86 e8 68 41 79 03 <0f> 0b 41 bf f4 ff ff ff e9 51 ec ff ff 4c 89 ff e8 7b 97 66 ff e9 RSP: 0018:ffffc9000005e858 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff81299db3 RDI: fffff5200000bcfd RBP: 00000000000007fc R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff8149c27f R11: 0000000000000000 R12: 0000000000000005 R13: 00000000000007fc R14: 0000000000000004 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdd6300f5e0 CR3: 0000000137118000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_add+0xb61/0x1d90 drivers/base/core.c:3090 input_register_device+0x73a/0xce0 drivers/input/input.c:2318 hidinput_connect+0x4ffe/0x9ce0 drivers/hid/hid-input.c:1958 hid_connect+0x958/0xbc0 drivers/hid/hid-core.c:1949 hid_hw_start drivers/hid/hid-core.c:2053 [inline] hid_hw_start+0xa2/0x130 drivers/hid/hid-core.c:2044 ms_probe+0x159/0x4b0 drivers/hid/hid-microsoft.c:391 hid_device_probe+0x2bd/0x3f0 drivers/hid/hid-core.c:2281 really_probe+0x291/0xe60 drivers/base/dd.c:554 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:740 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:846 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:914 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbc4/0x1d90 drivers/base/core.c:3109 hid_add_device+0x344/0x9d0 drivers/hid/hid-core.c:2437 usbhid_probe+0xb85/0x1070 drivers/hid/usbhid/hid-core.c:1409 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:396 really_probe+0x291/0xe60 drivers/base/dd.c:554 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:740 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:846 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:914 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbc4/0x1d90 drivers/base/core.c:3109 usb_set_configuration+0x113c/0x1910 drivers/usb/core/message.c:2164 usb_generic_driver_probe+0xba/0x100 drivers/usb/core/generic.c:238 usb_probe_device+0xd9/0x2c0 drivers/usb/core/driver.c:293 really_probe+0x291/0xe60 drivers/base/dd.c:554 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:740 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:846 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:914 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbc4/0x1d90 drivers/base/core.c:3109 usb_new_device.cold+0x721/0x1058 drivers/usb/core/hub.c:2555 hub_port_connect drivers/usb/core/hub.c:5223 [inline] hub_port_connect_change drivers/usb/core/hub.c:5363 [inline] port_event drivers/usb/core/hub.c:5509 [inline] hub_event+0x2357/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:296