Hello, syzbot found the following issue on: HEAD commit: 412af9cd936d ioremap.c: move an #include around git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=136fb126b00000 kernel config: https://syzkaller.appspot.com/x/.config?x=2d142cdf4204061 dashboard link: https://syzkaller.appspot.com/bug?extid=8d179821571093c5f928 compiler: clang version 14.0.0 (git@xxxxxxxxxx:llvm/llvm-project.git 0996585c8e3b3d409494eb5f1cad714b9e1f7fb5), GNU ld (GNU Binutils for Debian) 2.35.2 Unfortunately, I don't have any reproducer for this issue yet. IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+8d179821571093c5f928@xxxxxxxxxxxxxxxxxxxxxxxxx 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 asix 4-1:0.0 (unnamed net_device) (uninitialized): Failed to read reg index 0x0016: -71 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 hardware MII access ===================================================== BUG: KMSAN: uninit-value in ax88772a_hw_reset+0xc2a/0x12c0 drivers/net/usb/asix_devices.c:523 ax88772a_hw_reset+0xc2a/0x12c0 drivers/net/usb/asix_devices.c:523 ax88772_bind+0x838/0x19b0 drivers/net/usb/asix_devices.c:762 usbnet_probe+0x1285/0x40c0 drivers/net/usb/usbnet.c:1745 usb_probe_interface+0xf15/0x1530 drivers/usb/core/driver.c:396 really_probe+0x66e/0x1510 drivers/base/dd.c:596 __driver_probe_device+0x3e9/0x530 drivers/base/dd.c:751 driver_probe_device drivers/base/dd.c:781 [inline] __device_attach_driver+0x79f/0x1120 drivers/base/dd.c:898 bus_for_each_drv+0x2f0/0x410 drivers/base/bus.c:427 __device_attach+0x593/0x8e0 drivers/base/dd.c:969 device_initial_probe+0x4a/0x60 drivers/base/dd.c:1016 bus_probe_device+0x17b/0x3e0 drivers/base/bus.c:487 device_add+0x1d46/0x2400 drivers/base/core.c:3396 usb_set_configuration+0x389f/0x3ee0 drivers/usb/core/message.c:2170 usb_generic_driver_probe+0x13c/0x300 drivers/usb/core/generic.c:238 usb_probe_device+0x309/0x570 drivers/usb/core/driver.c:293 really_probe+0x66e/0x1510 drivers/base/dd.c:596 __driver_probe_device+0x3e9/0x530 drivers/base/dd.c:751 driver_probe_device drivers/base/dd.c:781 [inline] __device_attach_driver+0x79f/0x1120 drivers/base/dd.c:898 bus_for_each_drv+0x2f0/0x410 drivers/base/bus.c:427 __device_attach+0x593/0x8e0 drivers/base/dd.c:969 device_initial_probe+0x4a/0x60 drivers/base/dd.c:1016 bus_probe_device+0x17b/0x3e0 drivers/base/bus.c:487 device_add+0x1d46/0x2400 drivers/base/core.c:3396 usb_new_device+0x1b9a/0x2960 drivers/usb/core/hub.c:2563 hub_port_connect drivers/usb/core/hub.c:5348 [inline] hub_port_connect_change drivers/usb/core/hub.c:5488 [inline] port_event drivers/usb/core/hub.c:5634 [inline] hub_event+0x57cf/0x8690 drivers/usb/core/hub.c:5716 process_one_work+0xdc7/0x1760 kernel/workqueue.c:2297 worker_thread+0x1101/0x22b0 kernel/workqueue.c:2444 kthread+0x66b/0x780 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 Local variable smsr.i created at: asix_mdio_read_nopm+0xb7/0xab0 drivers/net/usb/asix_common.c:574 ax88772a_hw_reset+0x822/0x12c0 drivers/net/usb/asix_devices.c:511 ===================================================== 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 asix 4-1:0.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0014: -71 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 hardware MII access ===================================================== BUG: KMSAN: uninit-value in ax88772a_hw_reset+0xc37/0x12c0 drivers/net/usb/asix_devices.c:527 ax88772a_hw_reset+0xc37/0x12c0 drivers/net/usb/asix_devices.c:527 ax88772_bind+0x838/0x19b0 drivers/net/usb/asix_devices.c:762 usbnet_probe+0x1285/0x40c0 drivers/net/usb/usbnet.c:1745 usb_probe_interface+0xf15/0x1530 drivers/usb/core/driver.c:396 really_probe+0x66e/0x1510 drivers/base/dd.c:596 __driver_probe_device+0x3e9/0x530 drivers/base/dd.c:751 driver_probe_device drivers/base/dd.c:781 [inline] __device_attach_driver+0x79f/0x1120 drivers/base/dd.c:898 bus_for_each_drv+0x2f0/0x410 drivers/base/bus.c:427 __device_attach+0x593/0x8e0 drivers/base/dd.c:969 device_initial_probe+0x4a/0x60 drivers/base/dd.c:1016 bus_probe_device+0x17b/0x3e0 drivers/base/bus.c:487 device_add+0x1d46/0x2400 drivers/base/core.c:3396 usb_set_configuration+0x389f/0x3ee0 drivers/usb/core/message.c:2170 usb_generic_driver_probe+0x13c/0x300 drivers/usb/core/generic.c:238 usb_probe_device+0x309/0x570 drivers/usb/core/driver.c:293 really_probe+0x66e/0x1510 drivers/base/dd.c:596 __driver_probe_device+0x3e9/0x530 drivers/base/dd.c:751 driver_probe_device drivers/base/dd.c:781 [inline] __device_attach_driver+0x79f/0x1120 drivers/base/dd.c:898 bus_for_each_drv+0x2f0/0x410 drivers/base/bus.c:427 __device_attach+0x593/0x8e0 drivers/base/dd.c:969 device_initial_probe+0x4a/0x60 drivers/base/dd.c:1016 bus_probe_device+0x17b/0x3e0 drivers/base/bus.c:487 device_add+0x1d46/0x2400 drivers/base/core.c:3396 usb_new_device+0x1b9a/0x2960 drivers/usb/core/hub.c:2563 hub_port_connect drivers/usb/core/hub.c:5348 [inline] hub_port_connect_change drivers/usb/core/hub.c:5488 [inline] port_event drivers/usb/core/hub.c:5634 [inline] hub_event+0x57cf/0x8690 drivers/usb/core/hub.c:5716 process_one_work+0xdc7/0x1760 kernel/workqueue.c:2297 worker_thread+0x1101/0x22b0 kernel/workqueue.c:2444 kthread+0x66b/0x780 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 Local variable smsr.i created at: asix_mdio_read_nopm+0xb7/0xab0 drivers/net/usb/asix_common.c:574 ax88772a_hw_reset+0x8af/0x12c0 drivers/net/usb/asix_devices.c:513 ===================================================== 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@xxxxxxxxxxxxxxxx. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot.