===================================================== 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: 0 PID: 7 Comm: kworker/0:1 Not tainted 5.11.0-rc7-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:79 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:120 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:2619 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2623 vprintk_store+0x2ab/0x1df0 kernel/printk/printk.c:1984 vprintk_emit+0x29a/0x7f0 kernel/printk/printk.c:2092 dev_vprintk_emit+0x5f7/0x6d8 drivers/base/core.c:4301 dev_printk_emit+0x1ce/0x210 drivers/base/core.c:4312 __dev_printk+0x3dc/0x458 drivers/base/core.c:4324 _dev_info+0x1e5/0x22a drivers/base/core.c:4370 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_set_configuration+0x3872/0x3eb0 drivers/usb/core/message.c:2164 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_new_device+0x1bd4/0x2a30 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+0x5b99/0x8870 drivers/usb/core/hub.c:5591 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/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 ===================================================== ===================================================== 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: 0 PID: 7 Comm: kworker/0:1 Tainted: G B 5.11.0-rc7-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:79 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:120 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:2619 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2623 vprintk_store+0x2ab/0x1df0 kernel/printk/printk.c:1984 vprintk_emit+0x29a/0x7f0 kernel/printk/printk.c:2092 dev_vprintk_emit+0x5f7/0x6d8 drivers/base/core.c:4301 dev_printk_emit+0x1ce/0x210 drivers/base/core.c:4312 __dev_printk+0x3dc/0x458 drivers/base/core.c:4324 _dev_info+0x1e5/0x22a drivers/base/core.c:4370 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_set_configuration+0x3872/0x3eb0 drivers/usb/core/message.c:2164 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_new_device+0x1bd4/0x2a30 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+0x5b99/0x8870 drivers/usb/core/hub.c:5591 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/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 ===================================================== ===================================================== 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: 0 PID: 7 Comm: kworker/0:1 Tainted: G B 5.11.0-rc7-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:79 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:120 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:2619 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2623 vprintk_store+0x2ab/0x1df0 kernel/printk/printk.c:1984 vprintk_emit+0x29a/0x7f0 kernel/printk/printk.c:2092 dev_vprintk_emit+0x5f7/0x6d8 drivers/base/core.c:4301 dev_printk_emit+0x1ce/0x210 drivers/base/core.c:4312 __dev_printk+0x3dc/0x458 drivers/base/core.c:4324 _dev_info+0x1e5/0x22a drivers/base/core.c:4370 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_set_configuration+0x3872/0x3eb0 drivers/usb/core/message.c:2164 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_new_device+0x1bd4/0x2a30 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+0x5b99/0x8870 drivers/usb/core/hub.c:5591 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421 kthread+0x521/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 ===================================================== ===================================================== 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: 0 PID: 7 Comm: kworker/0:1 Tainted: G B 5.11.0-rc7-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:79 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:120 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:2619 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2623 vprintk_store+0x2ab/0x1df0 kernel/printk/printk.c:1984 vprintk_emit+0x29a/0x7f0 kernel/printk/printk.c:2092 dev_vprintk_emit+0x5f7 Lost 1705 message(s)! ===================================================== 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: 0 PID: 7 Comm: kworker/0:1 Tainted: G B 5.11.0-rc7-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:79 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:120 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:2619 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2623 vprintk_store+0x2ab/0x1df0 kernel/printk/printk.c:1984 vprintk_emit+0x29a/0x7f0 kernel/printk/printk.c:2092 dev_vprintk_emit+0x5f7/0x6d8 drivers/base/core.c:4301 dev_printk_emit+0x1ce/0x210 drivers/base/core.c:4312 __dev_printk+0x3dc/0x458 drivers/base/core.c:4324 _dev_info+0x1e5/0x22a drivers/base/core.c:4370 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_set_configuration+0x3872/0x3eb0 drivers/usb/core/message.c:2164 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_new_device+0x1bd4/0x2a30 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+0x5b99/0x8870 drivers/usb/core/hub.c:5591 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 process_scheduled_works kernel/workqueue.c:2337 [inline] worker_thread+0x12bc/0x2340 kernel/workqueue.c:2423 kthread+0x521/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 ===================================================== ===================================================== 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: 0 PID: 7 Comm: kworker/0:1 Tainted: G B 5.11.0-rc7-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:79 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:120 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:2619 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2623 vprintk_store+0x2ab/0x1df0 kernel/printk/printk.c:1984 vprintk_emit+0x29a/0x7f0 kernel/printk/printk.c:2092 dev_vprintk_emit+0x5f7/0x6d8 drivers/base/core.c:4301 dev_printk_emit+0x1ce/0x210 drivers/base/core.c:4312 __dev_printk+0x3dc/0x458 drivers/base/core.c:4324 _dev_info+0x1e5/0x22a drivers/base/core.c:4370 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_set_configuration+0x3872/0x3eb0 drivers/usb/core/message.c:2164 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_new_device+0x1bd4/0x2a30 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+0x5b99/0x8870 drivers/usb/core/hub.c:5591 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 process_scheduled_works kernel/workqueue.c:2337 [inline] worker_thread+0x12bc/0x2340 kernel/workqueue.c:2423 kthread+0x521/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 ===================================================== ===================================================== 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: 0 PID: 7 Comm: kworker/0:1 Tainted: G B 5.11.0-rc7-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:79 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:120 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:2619 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2623 vprintk_store+0x2ab/0x1df0 kernel/printk/printk.c:1984 vprintk_emit+0x29a/0x7f0 kernel/printk/printk.c:2092 dev_vprintk_emit+0x5f7/0x6d8 drivers/base/core.c:4301 dev_printk_emit+0x1ce/0x210 drivers/base/core.c:4312 __dev_printk+0x3dc/0x458 drivers/base/core.c:4324 _dev_info+0x1e5/0x22a drivers/base/core.c:4370 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_set_configuration+0x3872/0x3eb0 drivers/usb/core/message.c:2164 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_new_device+0x1bd4/0x2a30 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+0x5b99/0x8870 drivers/usb/core/hub.c:5591 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 process_scheduled_works kernel/workqueue.c:2337 [inline] worker_thread+0x12bc/0x2340 kernel/workqueue.c:2423 kthread+0x521/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 ===================================================== ===================================================== 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: 0 PID: 7 Comm: kworker/0:1 Tainted: G B 5.11.0-rc7-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:79 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:120 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:2619 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2623 vprintk_store+0x2ab/0x1df0 kernel/printk/printk.c:1984 Lost 1730 message(s)! ===================================================== 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: 0 PID: 7 Comm: kworker/0:1 Tainted: G B 5.11.0-rc7-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:79 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:120 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:2619 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2623 vprintk_store+0x2ab/0x1df0 kernel/printk/printk.c:1984 vprintk_emit+0x29a/0x7f0 kernel/printk/printk.c:2092 dev_vprintk_emit+0x5f7/0x6d8 drivers/base/core.c:4301 dev_printk_emit+0x1ce/0x210 drivers/base/core.c:4312 __dev_printk+0x3dc/0x458 drivers/base/core.c:4324 _dev_info+0x1e5/0x22a drivers/base/core.c:4370 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_set_configuration+0x3872/0x3eb0 drivers/usb/core/message.c:2164 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_new_device+0x1bd4/0x2a30 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+0x5b99/0x8870 drivers/usb/core/hub.c:5591 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 process_scheduled_works kernel/workqueue.c:2337 [inline] worker_thread+0x12bc/0x2340 kernel/workqueue.c:2423 kthread+0x521/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 ===================================================== ===================================================== 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: 0 PID: 7 Comm: kworker/0:1 Tainted: G B 5.11.0-rc7-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:79 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:120 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:2619 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2623 vprintk_store+0x2ab/0x1df0 kernel/printk/printk.c:1984 vprintk_emit+0x29a/0x7f0 kernel/printk/printk.c:2092 dev_vprintk_emit+0x5f7/0x6d8 drivers/base/core.c:4301 dev_printk_emit+0x1ce/0x210 drivers/base/core.c:4312 __dev_printk+0x3dc/0x458 drivers/base/core.c:4324 _dev_info+0x1e5/0x22a drivers/base/core.c:4370 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_set_configuration+0x3872/0x3eb0 drivers/usb/core/message.c:2164 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_new_device+0x1bd4/0x2a30 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+0x5b99/0x8870 drivers/usb/core/hub.c:5591 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 process_scheduled_works kernel/workqueue.c:2337 [inline] worker_thread+0x12bc/0x2340 kernel/workqueue.c:2423 kthread+0x521/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 ===================================================== ===================================================== 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: 0 PID: 7 Comm: kworker/0:1 Tainted: G B 5.11.0-rc7-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:79 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:120 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:2619 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2623 vprintk_store+0x2ab/0x1df0 kernel/printk/printk.c:1984 vprintk_emit+0x29a/0x7f0 kernel/printk/printk.c:2092 dev_vprintk_emit+0x5f7/0x6d8 drivers/base/core.c:4301 dev_printk_emit+0x1ce/0x210 drivers/base/core.c:4312 __dev_printk+0x3dc/0x458 drivers/base/core.c:4324 _dev_info+0x1e5/0x22a drivers/base/core.c:4370 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_set_configuration+0x3872/0x3eb0 drivers/usb/core/message.c:2164 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_new_device+0x1bd4/0x2a30 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+0x5b99/0x8870 drivers/usb/core/hub.c:5591 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 process_scheduled_works kernel/workqueue.c:2337 [inline] worker_thread+0x12bc/0x2340 kernel/workqueue.c:2423 kthread+0x521/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 ===================================================== ===================================================== 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: 0 PID: 7 Comm: kworker/0:1 Tainted: G B 5.11.0-rc7-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:79 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:120 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:2619 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2623 vprintk_store+0x2ab/0x1df0 kernel/printk/printk.c:1984 Lost 1730 message(s)! ===================================================== 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: 0 PID: 7 Comm: kworker/0:1 Tainted: G B 5.11.0-rc7-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:79 [inline] dump_stack+0x21c/0x280 lib/dump_stack.c:120 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:2619 va_format lib/vsprintf.c:1663 [inline] pointer+0x1b8a/0x1ca0 lib/vsprintf.c:2257 vsnprintf+0x15f2/0x3600 lib/vsprintf.c:2623 vprintk_store+0x2ab/0x1df0 kernel/printk/printk.c:1984 vprintk_emit+0x29a/0x7f0 kernel/printk/printk.c:2092 dev_vprintk_emit+0x5f7/0x6d8 drivers/base/core.c:4301 dev_printk_emit+0x1ce/0x210 drivers/base/core.c:4312 __dev_printk+0x3dc/0x458 drivers/base/core.c:4324 _dev_info+0x1e5/0x22a drivers/base/core.c:4370 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_set_configuration+0x3872/0x3eb0 drivers/usb/core/message.c:2164 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+0xe15/0x24d0 drivers/base/dd.c:558 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:914 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3109 usb_new_device+0x1bd4/0x2a30 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+0x5b99/0x8870 drivers/usb/core/hub.c:5591 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275 process_scheduled_works kernel/workqueue.c:2337 [inline] worker_thread+0x12bc/0x2340 kernel/workqueue.c:2423 kthread+0x521/0x560 kernel/kthread.c:292