===================================================== BUG: KMSAN: uninit-value in idmouse_create_image drivers/usb/misc/idmouse.c:187 [inline] BUG: KMSAN: uninit-value in idmouse_open+0x107c/0x17d0 drivers/usb/misc/idmouse.c:249 idmouse_create_image drivers/usb/misc/idmouse.c:187 [inline] idmouse_open+0x107c/0x17d0 drivers/usb/misc/idmouse.c:249 usb_open+0x29d/0x340 drivers/usb/core/file.c:48 chrdev_open+0x9ee/0xb20 fs/char_dev.c:414 do_dentry_open+0xd30/0x17c0 fs/open.c:878 vfs_open+0x77/0xa0 fs/open.c:1014 do_open fs/namei.c:3557 [inline] path_openat+0x478f/0x5600 fs/namei.c:3691 do_filp_open+0x249/0x660 fs/namei.c:3718 do_sys_openat2+0x1f0/0x910 fs/open.c:1311 do_sys_open fs/open.c:1327 [inline] __do_sys_openat fs/open.c:1343 [inline] __se_sys_openat fs/open.c:1338 [inline] __x64_sys_openat+0x2b0/0x330 fs/open.c:1338 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd Uninit was created at: __alloc_pages+0x9f1/0xe80 mm/page_alloc.c:5556 alloc_pages+0xaae/0xd80 mm/mempolicy.c:2270 kmalloc_order mm/slab_common.c:930 [inline] kmalloc_order_trace+0x70/0x450 mm/slab_common.c:946 kmalloc_large include/linux/slab.h:529 [inline] kmalloc include/linux/slab.h:593 [inline] idmouse_probe+0x390/0x830 drivers/usb/misc/idmouse.c:352 usb_probe_interface+0xc4b/0x11f0 drivers/usb/core/driver.c:396 really_probe+0x506/0x1000 drivers/base/dd.c:639 __driver_probe_device+0x2fa/0x3d0 drivers/base/dd.c:778 driver_probe_device+0x72/0x7a0 drivers/base/dd.c:808 __device_attach_driver+0x548/0x8e0 drivers/base/dd.c:936 bus_for_each_drv+0x1fc/0x360 drivers/base/bus.c:427 __device_attach+0x42a/0x720 drivers/base/dd.c:1008 device_initial_probe+0x2e/0x40 drivers/base/dd.c:1057 bus_probe_device+0x13c/0x3b0 drivers/base/bus.c:487 device_add+0x1d4b/0x26c0 drivers/base/core.c:3517 usb_set_configuration+0x30f8/0x37e0 drivers/usb/core/message.c:2170 usb_generic_driver_probe+0x105/0x290 drivers/usb/core/generic.c:238 usb_probe_device+0x288/0x490 drivers/usb/core/driver.c:293 really_probe+0x506/0x1000 drivers/base/dd.c:639 __driver_probe_device+0x2fa/0x3d0 drivers/base/dd.c:778 driver_probe_device+0x72/0x7a0 drivers/base/dd.c:808 __device_attach_driver+0x548/0x8e0 drivers/base/dd.c:936 bus_for_each_drv+0x1fc/0x360 drivers/base/bus.c:427 __device_attach+0x42a/0x720 drivers/base/dd.c:1008 device_initial_probe+0x2e/0x40 drivers/base/dd.c:1057 bus_probe_device+0x13c/0x3b0 drivers/base/bus.c:487 device_add+0x1d4b/0x26c0 drivers/base/core.c:3517 usb_new_device+0x17ac/0x2370 drivers/usb/core/hub.c:2573 hub_port_connect drivers/usb/core/hub.c:5353 [inline] hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] port_event drivers/usb/core/hub.c:5653 [inline] hub_event+0x5589/0x8080 drivers/usb/core/hub.c:5735 process_one_work+0xb27/0x13e0 kernel/workqueue.c:2289 worker_thread+0x1076/0x1d60 kernel/workqueue.c:2436 kthread+0x31b/0x430 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 CPU: 1 PID: 3597 Comm: syz-executor.0 Not tainted 6.0.0-rc5-syzkaller-00050-g8f4ae27df775 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 =====================================================