syzbot


KMSAN: uninit-value in ax88178_reset

Status: upstream: reported C repro on 2022/01/05 12:04
Reported-by: syzbot+6ca9f7867b77c2d316ac@syzkaller.appspotmail.com
Fix commit: 920a9fa27e78 net: asix: add proper error handling of usb read errors
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 195d, last: 71d
Patch testing requests:
Created Duration User Patch Repo Result
2022/01/05 12:49 14m paskripkin@gmail.com patch https://github.com/google/kmsan.git master OK

Sample crash report:
asix 1-1:0.0 eth1: Failed to read reg index 0x0000: -32
asix 1-1:0.0 eth1: Failed to read reg index 0x0000: -32
=====================================================
BUG: KMSAN: uninit-value in ax88178_reset+0xfd2/0x1590 drivers/net/usb/asix_devices.c:946 drivers/net/usb/asix_devices.c:946
 ax88178_reset+0xfd2/0x1590 drivers/net/usb/asix_devices.c:946 drivers/net/usb/asix_devices.c:946
 usbnet_open+0x16d/0x1940 drivers/net/usb/usbnet.c:894 drivers/net/usb/usbnet.c:894
 __dev_open+0x920/0xb90 net/core/dev.c:1490 net/core/dev.c:1490
 __dev_change_flags+0x4da/0xd40 net/core/dev.c:8796 net/core/dev.c:8796
 dev_change_flags+0xf5/0x280 net/core/dev.c:8867 net/core/dev.c:8867
 devinet_ioctl+0xfc1/0x3060 net/ipv4/devinet.c:1144 net/ipv4/devinet.c:1144
 inet_ioctl+0x59f/0x820 net/ipv4/af_inet.c:969 net/ipv4/af_inet.c:969
 sock_do_ioctl net/socket.c:1118 [inline]
 sock_do_ioctl net/socket.c:1118 [inline] net/socket.c:1235
 sock_ioctl+0xa3f/0x13d0 net/socket.c:1235 net/socket.c:1235
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 vfs_ioctl fs/ioctl.c:51 [inline] fs/ioctl.c:860
 __do_sys_ioctl fs/ioctl.c:874 [inline] fs/ioctl.c:860
 __se_sys_ioctl+0x2df/0x4a0 fs/ioctl.c:860 fs/ioctl.c:860
 __x64_sys_ioctl+0xd8/0x110 fs/ioctl.c:860 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_x64 arch/x86/entry/common.c:51 [inline] arch/x86/entry/common.c:82
 do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Local variable status created at:
 ax88178_reset+0x69/0x1590
 usbnet_open+0x16d/0x1940 drivers/net/usb/usbnet.c:894 drivers/net/usb/usbnet.c:894

CPU: 1 PID: 3057 Comm: dhcpcd Not tainted 5.16.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
=====================================================

Crashes (284):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2021/12/19 07:50 https://github.com/google/kmsan.git master b0a8b5053e8b 44068e19 .config log report syz C KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/22 06:44 https://github.com/google/kmsan.git master 33d9269ef6e0 2738b391 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/15 04:50 https://github.com/google/kmsan.git master 33d9269ef6e0 b17b2923 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/12 08:24 https://github.com/google/kmsan.git master 33d9269ef6e0 af01ee7d .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/11 17:37 https://github.com/google/kmsan.git master 33d9269ef6e0 af01ee7d .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/11 17:30 https://github.com/google/kmsan.git master 33d9269ef6e0 af01ee7d .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/11 11:56 https://github.com/google/kmsan.git master 33d9269ef6e0 e22c3da3 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/11 08:10 https://github.com/google/kmsan.git master 33d9269ef6e0 e22c3da3 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/10 22:35 https://github.com/google/kmsan.git master 33d9269ef6e0 e22c3da3 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/09 19:26 https://github.com/google/kmsan.git master 33d9269ef6e0 e22c3da3 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/08 22:11 https://github.com/google/kmsan.git master 33d9269ef6e0 15be3cba .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/08 05:28 https://github.com/google/kmsan.git master 33d9269ef6e0 c6ff3e05 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/08 03:30 https://github.com/google/kmsan.git master 33d9269ef6e0 c6ff3e05 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/08 00:44 https://github.com/google/kmsan.git master 33d9269ef6e0 c6ff3e05 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/07 10:12 https://github.com/google/kmsan.git master 33d9269ef6e0 c6ff3e05 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/05 11:36 https://github.com/google/kmsan.git master 33d9269ef6e0 5915c2cb .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/04 09:05 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/03 21:02 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/03 13:30 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/03 12:07 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/03 05:41 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/03 04:25 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/03 00:24 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/02 23:29 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/02 19:19 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/04/01 09:30 https://github.com/google/kmsan.git master 1978a14f70af 68fc921a .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/31 18:22 https://github.com/google/kmsan.git master 1978a14f70af c4c32d8c .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/30 18:29 https://github.com/google/kmsan.git master 1978a14f70af 42718dd6 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/30 10:27 https://github.com/google/kmsan.git master 1978a14f70af 6bdac766 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/30 07:12 https://github.com/google/kmsan.git master 1978a14f70af 6bdac766 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/30 02:14 https://github.com/google/kmsan.git master 1978a14f70af 6bdac766 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/29 20:14 https://github.com/google/kmsan.git master 1978a14f70af 6bdac766 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/28 20:29 https://github.com/google/kmsan.git master c44f7500ded9 ee339263 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/27 18:23 https://github.com/google/kmsan.git master 5d33b1968cb5 89bc8608 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/26 11:09 https://github.com/google/kmsan.git master 97c7732c2bb6 89bc8608 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/25 14:22 https://github.com/google/kmsan.git master 97c7732c2bb6 89bc8608 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/25 02:18 https://github.com/google/kmsan.git master 97c7732c2bb6 89bc8608 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/25 00:34 https://github.com/google/kmsan.git master 97c7732c2bb6 89bc8608 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/24 23:18 https://github.com/google/kmsan.git master 97c7732c2bb6 89bc8608 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/24 05:40 https://github.com/google/kmsan.git master 97c7732c2bb6 5ff41e94 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/23 19:54 https://github.com/google/kmsan.git master 97c7732c2bb6 5ff41e94 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/22 16:53 https://github.com/google/kmsan.git master 97c7732c2bb6 d88ef0c5 .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/22 12:32 https://github.com/google/kmsan.git master 97c7732c2bb6 e2d91b1d .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/22 02:17 https://github.com/google/kmsan.git master 97c7732c2bb6 e2d91b1d .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/21 23:55 https://github.com/google/kmsan.git master 97c7732c2bb6 e2d91b1d .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2022/03/21 15:47 https://github.com/google/kmsan.git master 97c7732c2bb6 e2d91b1d .config log report info KMSAN: uninit-value in ax88178_reset
ci-upstream-kmsan-gce 2021/12/19 06:25 https://github.com/google/kmsan.git master b0a8b5053e8b 44068e19 .config log report info KMSAN: uninit-value in ax88178_reset