usb 3-1: r8712u: USB_SPEED_HIGH with 0 endpoints ===================================================== BUG: KMSAN: uninit-value in string_nocheck lib/vsprintf.c:611 [inline] BUG: KMSAN: uninit-value in string+0x573/0x6d0 lib/vsprintf.c:693 CPU: 1 PID: 8488 Comm: kworker/1:0 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 string_nocheck lib/vsprintf.c:611 [inline] string+0x573/0x6d0 lib/vsprintf.c:693 vsnprintf+0x1acd/0x3600 lib/vsprintf.c:2618 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2622 vscnprintf+0xbe/0x1c0 lib/vsprintf.c:2721 vprintk_store+0xff/0x1490 kernel/printk/printk.c:1954 vprintk_emit+0x2ae/0x820 kernel/printk/printk.c:2018 dev_vprintk_emit+0x5f7/0x6d8 drivers/base/core.c:4128 dev_printk_emit+0x1ce/0x210 drivers/base/core.c:4139 __dev_printk+0x3dc/0x458 drivers/base/core.c:4151 _dev_info+0x1e5/0x22a drivers/base/core.c:4197 r871xu_drv_init+0x1a59/0x2fe0 drivers/staging/rtl8712/usb_intf.c:404 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 ----data@usb_read8 created at: usb_read8+0x5d/0x130 drivers/staging/rtl8712/usb_ops.c:33 usb_read8+0x5d/0x130 drivers/staging/rtl8712/usb_ops.c:33 =====================================================