input: GTCO_CalComp as /devices/platform/dummy_hcd.3/usb4/4-1/4-1:0.0/input/input6 ===================================================== BUG: KMSAN: uninit-value in joydev_connect+0x1053/0x18b0 drivers/input/joydev.c:958 CPU: 0 PID: 8767 Comm: kworker/0:5 Not tainted 5.10.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:118 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197 joydev_connect+0x1053/0x18b0 drivers/input/joydev.c:958 input_attach_handler drivers/input/input.c:1031 [inline] input_register_device+0x1d48/0x2180 drivers/input/input.c:2229 gtco_probe+0x3205/0x38c0 drivers/input/tablet/gtco.c:990 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xebd/0x2420 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:738 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:844 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:912 device_initial_probe+0x4a/0x60 drivers/base/dd.c:959 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x397e/0x3f00 drivers/base/core.c:2936 usb_set_configuration+0x39a2/0x4000 drivers/usb/core/message.c:2159 usb_generic_driver_probe+0x138/0x300 drivers/usb/core/generic.c:238 usb_probe_device+0x317/0x570 drivers/usb/core/driver.c:293 really_probe+0xebd/0x2420 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:738 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:844 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:912 device_initial_probe+0x4a/0x60 drivers/base/dd.c:959 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x397e/0x3f00 drivers/base/core.c:2936 usb_new_device+0x1bd4/0x2a30 drivers/usb/core/hub.c:2554 hub_port_connect drivers/usb/core/hub.c:5222 [inline] hub_port_connect_change drivers/usb/core/hub.c:5362 [inline] port_event drivers/usb/core/hub.c:5508 [inline] hub_event+0x5b99/0x8870 drivers/usb/core/hub.c:5590 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2272 worker_thread+0x123c/0x2730 kernel/workqueue.c:2418 kthread+0x51c/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289 __msan_chain_origin+0x57/0xa0 mm/kmsan/kmsan_instr.c:147 input_set_abs_params+0x2f7/0x4e0 drivers/input/input.c:514 gtco_setup_caps drivers/input/tablet/gtco.c:598 [inline] gtco_probe+0x273e/0x38c0 drivers/input/tablet/gtco.c:966 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xebd/0x2420 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:738 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:844 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:912 device_initial_probe+0x4a/0x60 drivers/base/dd.c:959 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x397e/0x3f00 drivers/base/core.c:2936 usb_set_configuration+0x39a2/0x4000 drivers/usb/core/message.c:2159 usb_generic_driver_probe+0x138/0x300 drivers/usb/core/generic.c:238 usb_probe_device+0x317/0x570 drivers/usb/core/driver.c:293 really_probe+0xebd/0x2420 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:738 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:844 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:912 device_initial_probe+0x4a/0x60 drivers/base/dd.c:959 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x397e/0x3f00 drivers/base/core.c:2936 usb_new_device+0x1bd4/0x2a30 drivers/usb/core/hub.c:2554 hub_port_connect drivers/usb/core/hub.c:5222 [inline] hub_port_connect_change drivers/usb/core/hub.c:5362 [inline] port_event drivers/usb/core/hub.c:5508 [inline] hub_event+0x5b99/0x8870 drivers/usb/core/hub.c:5590 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2272 worker_thread+0x123c/0x2730 kernel/workqueue.c:2418 kthread+0x51c/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_chain_origin+0xad/0x130 mm/kmsan/kmsan.c:289 __msan_chain_origin+0x57/0xa0 mm/kmsan/kmsan_instr.c:147 parse_hid_report_descriptor drivers/input/tablet/gtco.c:339 [inline] gtco_probe+0x1b3e/0x38c0 drivers/input/tablet/gtco.c:935 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xebd/0x2420 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:738 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:844 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:912 device_initial_probe+0x4a/0x60 drivers/base/dd.c:959 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x397e/0x3f00 drivers/base/core.c:2936 usb_set_configuration+0x39a2/0x4000 drivers/usb/core/message.c:2159 usb_generic_driver_probe+0x138/0x300 drivers/usb/core/generic.c:238 usb_probe_device+0x317/0x570 drivers/usb/core/driver.c:293 really_probe+0xebd/0x2420 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:738 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:844 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:912 device_initial_probe+0x4a/0x60 drivers/base/dd.c:959 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x397e/0x3f00 drivers/base/core.c:2936 usb_new_device+0x1bd4/0x2a30 drivers/usb/core/hub.c:2554 hub_port_connect drivers/usb/core/hub.c:5222 [inline] hub_port_connect_change drivers/usb/core/hub.c:5362 [inline] port_event drivers/usb/core/hub.c:5508 [inline] hub_event+0x5b99/0x8870 drivers/usb/core/hub.c:5590 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2272 worker_thread+0x123c/0x2730 kernel/workqueue.c:2418 kthread+0x51c/0x560 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Local variable ----globalval.i@gtco_probe created at: parse_hid_report_descriptor drivers/input/tablet/gtco.c:220 [inline] gtco_probe+0xac1/0x38c0 drivers/input/tablet/gtco.c:935 parse_hid_report_descriptor drivers/input/tablet/gtco.c:220 [inline] gtco_probe+0xac1/0x38c0 drivers/input/tablet/gtco.c:935 =====================================================