ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to read reg index 0x0006: -71 ===================================================== BUG: KMSAN: uninit-value in is_valid_ether_addr include/linux/etherdevice.h:195 [inline] BUG: KMSAN: uninit-value in ax88179_get_mac_addr+0x487/0x860 drivers/net/usb/ax88179_178a.c:1310 CPU: 1 PID: 1985 Comm: kworker/1:2 Not tainted 5.12.0-rc6-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+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 is_valid_ether_addr include/linux/etherdevice.h:195 [inline] ax88179_get_mac_addr+0x487/0x860 drivers/net/usb/ax88179_178a.c:1310 ax88179_bind+0x3f5/0x19e0 drivers/net/usb/ax88179_178a.c:1348 usbnet_probe+0x113f/0x3e10 drivers/net/usb/usbnet.c:1702 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 Local variable ----mac@ax88179_get_mac_addr created at: ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ===================================================== ===================================================== BUG: KMSAN: uninit-value in ax88179_get_mac_addr+0x5ca/0x860 drivers/net/usb/ax88179_178a.c:1310 CPU: 1 PID: 1985 Comm: kworker/1:2 Tainted: G B 5.12.0-rc6-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+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 ax88179_get_mac_addr+0x5ca/0x860 drivers/net/usb/ax88179_178a.c:1310 ax88179_bind+0x3f5/0x19e0 drivers/net/usb/ax88179_178a.c:1348 usbnet_probe+0x113f/0x3e10 drivers/net/usb/usbnet.c:1702 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 Local variable ----mac@ax88179_get_mac_addr created at: ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ===================================================== ===================================================== BUG: KMSAN: kernel-usb-infoleak in kmsan_handle_urb+0x28/0x40 mm/kmsan/kmsan_hooks.c:303 CPU: 1 PID: 1985 Comm: kworker/1:2 Tainted: G B 5.12.0-rc6-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+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 kmsan_internal_check_memory+0x2b8/0x520 mm/kmsan/kmsan.c:423 kmsan_handle_urb+0x28/0x40 mm/kmsan/kmsan_hooks.c:303 usb_submit_urb+0x89f/0x2590 drivers/usb/core/urb.c:421 usb_start_wait_urb+0x155/0x4c0 drivers/usb/core/message.c:58 usb_internal_control_msg drivers/usb/core/message.c:102 [inline] usb_control_msg+0x498/0x7d0 drivers/usb/core/message.c:153 __usbnet_write_cmd drivers/net/usb/usbnet.c:2000 [inline] usbnet_write_cmd+0x3d3/0x480 drivers/net/usb/usbnet.c:2038 __ax88179_write_cmd drivers/net/usb/ax88179_178a.c:224 [inline] ax88179_write_cmd drivers/net/usb/ax88179_178a.c:327 [inline] ax88179_get_mac_addr+0x402/0x860 drivers/net/usb/ax88179_178a.c:1317 ax88179_bind+0x3f5/0x19e0 drivers/net/usb/ax88179_178a.c:1348 usbnet_probe+0x113f/0x3e10 drivers/net/usb/usbnet.c:1702 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:246 __msan_memcpy+0x46/0x60 mm/kmsan/kmsan_instr.c:110 kmemdup+0x107/0x140 mm/util.c:130 __usbnet_write_cmd drivers/net/usb/usbnet.c:1989 [inline] usbnet_write_cmd+0x1a0/0x480 drivers/net/usb/usbnet.c:2038 __ax88179_write_cmd drivers/net/usb/ax88179_178a.c:224 [inline] ax88179_write_cmd drivers/net/usb/ax88179_178a.c:327 [inline] ax88179_get_mac_addr+0x402/0x860 drivers/net/usb/ax88179_178a.c:1317 ax88179_bind+0x3f5/0x19e0 drivers/net/usb/ax88179_178a.c:1348 usbnet_probe+0x113f/0x3e10 drivers/net/usb/usbnet.c:1702 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:246 __msan_memcpy+0x46/0x60 mm/kmsan/kmsan_instr.c:110 ax88179_get_mac_addr+0x33b/0x860 drivers/net/usb/ax88179_178a.c:1311 ax88179_bind+0x3f5/0x19e0 drivers/net/usb/ax88179_178a.c:1348 usbnet_probe+0x113f/0x3e10 drivers/net/usb/usbnet.c:1702 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 Local variable ----mac@ax88179_get_mac_addr created at: ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 Bytes 0-3 of 6 are uninitialized Memory access of size 6 starts at ffff88810273cdb8 ===================================================== ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x0006: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x0005: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x0002: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x0002: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to read reg index 0x0001: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x001f: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x0019: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x001f: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x000d: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x000e: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x000d: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to read reg index 0x000e: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x000d: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x000e: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x000d: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x000e: -71 ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to read reg index 0x0000: -71 ===================================================== BUG: KMSAN: uninit-value in mii_nway_restart+0x236/0x270 drivers/net/mii.c:469 CPU: 1 PID: 1985 Comm: kworker/1:2 Tainted: G B 5.12.0-rc6-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+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 mii_nway_restart+0x236/0x270 drivers/net/mii.c:469 ax88179_bind+0xf99/0x19e0 drivers/net/usb/ax88179_178a.c:1421 usbnet_probe+0x113f/0x3e10 drivers/net/usb/usbnet.c:1702 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 Local variable ----buf.i@ax88179_mdio_read created at: ax88179_read_cmd include/linux/netdevice.h:2346 [inline] ax88179_mdio_read+0x7b/0x260 drivers/net/usb/ax88179_178a.c:358 ax88179_read_cmd include/linux/netdevice.h:2346 [inline] ax88179_mdio_read+0x7b/0x260 drivers/net/usb/ax88179_178a.c:358 ===================================================== ax88179_178a 6-1:5.97 (unnamed net_device) (uninitialized): Failed to write reg index 0x0000: -71 ===================================================== BUG: KMSAN: uninit-value in _mix_pool_bytes+0x7d2/0x950 drivers/char/random.c:570 CPU: 1 PID: 1985 Comm: kworker/1:2 Tainted: G B 5.12.0-rc6-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+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 _mix_pool_bytes+0x7d2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:246 __msan_memcpy+0x46/0x60 mm/kmsan/kmsan_instr.c:110 ax88179_get_mac_addr+0x33b/0x860 drivers/net/usb/ax88179_178a.c:1311 ax88179_bind+0x3f5/0x19e0 drivers/net/usb/ax88179_178a.c:1348 usbnet_probe+0x113f/0x3e10 drivers/net/usb/usbnet.c:1702 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 Local variable ----mac@ax88179_get_mac_addr created at: ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ===================================================== ===================================================== BUG: KMSAN: uninit-value in _mix_pool_bytes+0x7d2/0x950 drivers/char/random.c:570 CPU: 1 PID: 1985 Comm: kworker/1:2 Tainted: G B 5.12.0-rc6-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+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 _mix_pool_bytes+0x7d2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 _mix_pool_bytes+0x7f2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:246 __msan_memcpy+0x46/0x60 mm/kmsan/kmsan_instr.c:110 ax88179_get_mac_addr+0x33b/0x860 drivers/net/usb/ax88179_178a.c:1311 ax88179_bind+0x3f5/0x19e0 drivers/net/usb/ax88179_178a.c:1348 usbnet_probe+0x113f/0x3e10 drivers/net/usb/usbnet.c:1702 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 Local variable ----mac@ax88179_get_mac_addr created at: ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ===================================================== ===================================================== BUG: KMSAN: uninit-value in _mix_pool_bytes+0x7d2/0x950 drivers/char/random.c:570 CPU: 1 PID: 1985 Comm: kworker/1:2 Tainted: G B 5.12.0-rc6-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+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 _mix_pool_bytes+0x7d2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 _mix_pool_bytes+0x7f2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 _mix_pool_bytes+0x7f2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:246 __msan_memcpy+0x46/0x60 mm/kmsan/kmsan_instr.c:110 ax88179_get_mac_addr+0x33b/0x860 drivers/net/usb/ax88179_178a.c:1311 ax88179_bind+0x3f5/0x19e0 drivers/net/usb/ax88179_178a.c:1348 usbnet_probe+0x113f/0x3e10 drivers/net/usb/usbnet.c:1702 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 Local variable ----mac@ax88179_get_mac_addr created at: ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ===================================================== ===================================================== BUG: KMSAN: uninit-value in _mix_pool_bytes+0x7d2/0x950 drivers/char/random.c:570 CPU: 1 PID: 1985 Comm: kworker/1:2 Tainted: G B 5.12.0-rc6-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+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 _mix_pool_bytes+0x7d2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 _mix_pool_bytes+0x7f2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 _mix_pool_bytes+0x7f2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 _mix_pool_bytes+0x7f2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:246 __msan_memcpy+0x46/0x60 mm/kmsan/kmsan_instr.c:110 ax88179_get_mac_addr+0x33b/0x860 drivers/net/usb/ax88179_178a.c:1311 ax88179_bind+0x3f5/0x19e0 drivers/net/usb/ax88179_178a.c:1348 usbnet_probe+0x113f/0x3e10 drivers/net/usb/usbnet.c:1702 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 Local variable ----mac@ax88179_get_mac_addr created at: ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ===================================================== ===================================================== BUG: KMSAN: uninit-value in _mix_pool_bytes+0x7d2/0x950 drivers/char/random.c:570 CPU: 1 PID: 1985 Comm: kworker/1:2 Tainted: G B 5.12.0-rc6-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+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 _mix_pool_bytes+0x7d2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 _mix_pool_bytes+0x7f2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 _mix_pool_bytes+0x7f2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 _mix_pool_bytes+0x7f2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 _mix_pool_bytes+0x7f2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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 kmsan_memcpy_memmove_metadata+0x25e/0x2d0 mm/kmsan/kmsan.c:226 kmsan_memcpy_metadata+0xb/0x10 mm/kmsan/kmsan.c:246 __msan_memcpy+0x46/0x60 mm/kmsan/kmsan_instr.c:110 ax88179_get_mac_addr+0x33b/0x860 drivers/net/usb/ax88179_178a.c:1311 ax88179_bind+0x3f5/0x19e0 drivers/net/usb/ax88179_178a.c:1348 usbnet_probe+0x113f/0x3e10 drivers/net/usb/usbnet.c:1702 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 Local variable ----mac@ax88179_get_mac_addr created at: ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ax88179_get_mac_addr+0x4d/0x860 drivers/net/usb/ax88179_178a.c:1297 ===================================================== ===================================================== BUG: KMSAN: uninit-value in _mix_pool_bytes+0x7d2/0x950 drivers/char/random.c:570 CPU: 1 PID: 1985 Comm: kworker/1:2 Tainted: G B 5.12.0-rc6-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+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 _mix_pool_bytes+0x7d2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 _mix_pool_bytes+0x7f2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 _mix_pool_bytes+0x7f2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431 __device_attach+0x56a/0x890 drivers/base/dd.c:917 device_initial_probe+0x4a/0x60 drivers/base/dd.c:964 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491 device_add+0x2c15/0x31d0 drivers/base/core.c:3242 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:294 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+0x54/0xa0 mm/kmsan/kmsan_instr.c:147 _mix_pool_bytes+0x7f2/0x950 drivers/char/random.c:570 add_device_randomness+0x702/0x1020 drivers/char/random.c:1140 register_netdevice+0x2ce8/0x3710 net/core/dev.c:10228 register_netdev+0xbe/0x100 net/core/dev.c:10331 usbnet_probe+0x3140/0x3e10 drivers/net/usb/usbnet.c:1770 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396 really_probe+0xe15/0x24d0 drivers/base/dd.c:561 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:743 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:849 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431