asix 4-1:0.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0000: -71 asix 4-1:0.0 (unnamed net_device) (uninitialized): Failed to enable software MII access asix 4-1:0.0 (unnamed net_device) (uninitialized): Failed to read reg index 0x0000: -71 ===================================================== BUG: KMSAN: uninit-value in asix_mdio_read+0x4ce/0xa20 drivers/net/usb/asix_common.c:460 CPU: 0 PID: 9484 Comm: kworker/0:6 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:121 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 asix_mdio_read+0x4ce/0xa20 drivers/net/usb/asix_common.c:460 asix_mdio_bus_read+0xbc/0xe0 drivers/net/usb/ax88172a.c:31 __mdiobus_read+0xb4/0x410 drivers/net/phy/mdio_bus.c:743 mdiobus_read+0xaa/0xf0 drivers/net/phy/mdio_bus.c:850 get_phy_c22_id drivers/net/phy/phy_device.c:795 [inline] get_phy_device+0xde9/0x12f0 drivers/net/phy/phy_device.c:851 mdiobus_scan+0x1ae/0x970 drivers/net/phy/mdio_bus.c:673 __mdiobus_register+0xd71/0x10f0 drivers/net/phy/mdio_bus.c:572 ax88172a_init_mdio drivers/net/usb/ax88172a.c:94 [inline] ax88172a_bind+0xdbd/0x1080 drivers/net/usb/ax88172a.c:233 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 ----smsr@asix_mdio_read created at: asix_mdio_read+0x95/0xa20 drivers/net/usb/asix_common.c:448 asix_mdio_read+0x95/0xa20 drivers/net/usb/asix_common.c:448 =====================================================