HID 045e:07da: Invalid code 65791 type 1 ------------[ cut here ]------------ init_uevent_argv: buffer size too small WARNING: CPU: 0 PID: 7156 at lib/kobject_uevent.c:259 init_uevent_argv lib/kobject_uevent.c:259 [inline] WARNING: CPU: 0 PID: 7156 at lib/kobject_uevent.c:259 kobject_uevent_env+0x1640/0x1680 lib/kobject_uevent.c:608 Modules linked in: CPU: 0 PID: 7156 Comm: kworker/0:3 Not tainted 5.12.0-rc6-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 54 a5 fe ff e9 cf f8 ff ff 48 8b 3c 24 e8 86 3f 66 ff e9 a9 f8 ff ff e8 5c e6 38 ff 48 c7 c7 e0 3d 21 86 e8 31 c7 7c 03 <0f> 0b 41 bf f4 ff ff ff e9 51 ec ff ff 4c 89 ff e8 db 3e 66 ff e9 RSP: 0018:ffffc90004936858 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff8129f803 RDI: fffff52000926cfd RBP: 00000000000007fc R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff814ab71b 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: 00007ffdc9bc1ff8 CR3: 000000013961c000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_add+0xb78/0x1db0 drivers/base/core.c:3223 input_register_device+0x73a/0xce0 drivers/input/input.c:2318 hidinput_connect+0x5053/0x9d30 drivers/hid/hid-input.c:1970 hid_connect+0x958/0xbc0 drivers/hid/hid-core.c:1952 hid_hw_start drivers/hid/hid-core.c:2056 [inline] hid_hw_start+0xa2/0x130 drivers/hid/hid-core.c:2047 ms_probe+0x159/0x4c0 drivers/hid/hid-microsoft.c:391 hid_device_probe+0x2bd/0x3f0 drivers/hid/hid-core.c:2284 really_probe+0x291/0xe60 drivers/base/dd.c:557 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:743 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:849 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:917 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbdb/0x1db0 drivers/base/core.c:3242 hid_add_device+0x344/0x9d0 drivers/hid/hid-core.c:2440 usbhid_probe+0xb88/0x1080 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:557 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:743 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:849 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:917 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbdb/0x1db0 drivers/base/core.c:3242 usb_set_configuration+0x113f/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:557 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:743 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:849 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:917 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xbdb/0x1db0 drivers/base/core.c:3242 usb_new_device.cold+0x721/0x1058 drivers/usb/core/hub.c:2556 hub_port_connect drivers/usb/core/hub.c:5276 [inline] hub_port_connect_change drivers/usb/core/hub.c:5416 [inline] port_event drivers/usb/core/hub.c:5562 [inline] hub_event+0x2357/0x4320 drivers/usb/core/hub.c:5644 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