===================================================== BUG: KMSAN: uninit-value in mac_address_string+0x1040/0x1170 lib/vsprintf.c:1281 CPU: 1 PID: 8856 Comm: kworker/1:4 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 mac_address_string+0x1040/0x1170 lib/vsprintf.c:1281 pointer+0x9fe/0x1ca0 lib/vsprintf.c:2241 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 vprintk_default+0x86/0xa0 kernel/printk/printk.c:2126 vprintk_func+0x2ed/0x2f0 kernel/printk/printk_safe.c:393 printk+0x180/0x1cd kernel/printk/printk.c:2157 dvb_usb_adapter_dvb_init+0x818/0x1300 drivers/media/usb/dvb-usb/dvb-usb-dvb.c:166 dvb_usb_adapter_init drivers/media/usb/dvb-usb/dvb-usb-init.c:83 [inline] dvb_usb_init drivers/media/usb/dvb-usb/dvb-usb-init.c:173 [inline] dvb_usb_device_init+0x2817/0x3370 drivers/media/usb/dvb-usb/dvb-usb-init.c:287 nova_t_probe+0x73/0x80 drivers/media/usb/dvb-usb/nova-t-usb2.c:156 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 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 nova_t_read_mac_address+0x2d4/0x2f0 drivers/media/usb/dvb-usb/nova-t-usb2.c:144 dvb_usb_adapter_dvb_init+0x774/0x1300 drivers/media/usb/dvb-usb/dvb-usb-dvb.c:165 dvb_usb_adapter_init drivers/media/usb/dvb-usb/dvb-usb-init.c:83 [inline] dvb_usb_init drivers/media/usb/dvb-usb/dvb-usb-init.c:173 [inline] dvb_usb_device_init+0x2817/0x3370 drivers/media/usb/dvb-usb/dvb-usb-init.c:287 nova_t_probe+0x73/0x80 drivers/media/usb/dvb-usb/nova-t-usb2.c:156 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 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 dibusb_read_eeprom_byte+0x53d/0x560 drivers/media/usb/dvb-usb/dibusb-common.c:233 nova_t_read_mac_address+0x1e5/0x2f0 drivers/media/usb/dvb-usb/nova-t-usb2.c:142 dvb_usb_adapter_dvb_init+0x774/0x1300 drivers/media/usb/dvb-usb/dvb-usb-dvb.c:165 dvb_usb_adapter_init drivers/media/usb/dvb-usb/dvb-usb-init.c:83 [inline] dvb_usb_init drivers/media/usb/dvb-usb/dvb-usb-init.c:173 [inline] dvb_usb_device_init+0x2817/0x3370 drivers/media/usb/dvb-usb/dvb-usb-init.c:287 nova_t_probe+0x73/0x80 drivers/media/usb/dvb-usb/nova-t-usb2.c:156 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 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104 kmsan_slab_alloc+0x8d/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2907 [inline] slab_alloc mm/slub.c:2916 [inline] kmem_cache_alloc_trace+0x8ca/0x1020 mm/slub.c:2933 kmalloc include/linux/slab.h:552 [inline] dibusb_read_eeprom_byte+0xbb/0x560 drivers/media/usb/dvb-usb/dibusb-common.c:226 nova_t_read_mac_address+0x1e5/0x2f0 drivers/media/usb/dvb-usb/nova-t-usb2.c:142 dvb_usb_adapter_dvb_init+0x774/0x1300 drivers/media/usb/dvb-usb/dvb-usb-dvb.c:165 dvb_usb_adapter_init drivers/media/usb/dvb-usb/dvb-usb-init.c:83 [inline] dvb_usb_init drivers/media/usb/dvb-usb/dvb-usb-init.c:173 [inline] dvb_usb_device_init+0x2817/0x3370 drivers/media/usb/dvb-usb/dvb-usb-init.c:287 nova_t_probe+0x73/0x80 drivers/media/usb/dvb-usb/nova-t-usb2.c:156 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 ===================================================== ===================================================== BUG: KMSAN: uninit-value in mac_address_string+0x1061/0x1170 lib/vsprintf.c:1281 CPU: 1 PID: 8856 Comm: kworker/1:4 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 mac_address_string+0x1061/0x1170 lib/vsprintf.c:1281 pointer+0x9fe/0x1ca0 lib/vsprintf.c:2241 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 vprintk_default+0x86/0xa0 kernel/printk/printk.c:2126 vprintk_func+0x2ed/0x2f0 kernel/printk/printk_safe.c:393 printk+0x180/0x1cd kernel/printk/printk.c:2157 dvb_usb_adapter_dvb_init+0x818/0x1300 drivers/media/usb/dvb-usb/dvb-usb-dvb.c:166 dvb_usb_adapter_init drivers/media/usb/dvb-usb/dvb-usb-init.c:83 [inline] dvb_usb_init drivers/media/usb/dvb-usb/dvb-usb-init.c:173 [inline] dvb_usb_device_init+0x2817/0x3370 drivers/media/usb/dvb-usb/dvb-usb-init.c:287 nova_t_probe+0x73/0x80 drivers/media/usb/dvb-usb/nova-t-usb2.c:156 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 Lost 1927 message(s)!