syzbot


KMSAN: uninit-value in ax88178_reset

Status: fixed on 2023/02/24 13:51
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+6ca9f7867b77c2d316ac@syzkaller.appspotmail.com
Fix commit: 920a9fa27e78 net: asix: add proper error handling of usb read errors
First crash: 1085d, last: 961d
Discussions (5)
Title Replies (including bot) Last reply
[PATCH 5.16 0000/1017] 5.16.19-rc1 review 1034 (1035) 2022/04/07 08:34
[PATCH 5.15 000/913] 5.15.33-rc1 review 932 (933) 2022/04/06 15:36
[PATCH 5.17 0000/1126] 5.17.2-rc1 review 1143 (1144) 2022/04/06 14:06
[PATCH RFT] net: asix: add proper error handling of usb read errors 10 (10) 2022/02/07 12:30
[syzbot] KMSAN: uninit-value in ax88178_reset 1 (3) 2022/01/05 13:05
Last patch testing requests (1)
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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/19 07:50 https://github.com/google/kmsan.git master b0a8b5053e8b 44068e19 .config console log report syz C ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/22 06:44 https://github.com/google/kmsan.git master 33d9269ef6e0 2738b391 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/15 04:50 https://github.com/google/kmsan.git master 33d9269ef6e0 b17b2923 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/12 08:24 https://github.com/google/kmsan.git master 33d9269ef6e0 af01ee7d .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/11 17:37 https://github.com/google/kmsan.git master 33d9269ef6e0 af01ee7d .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/11 17:30 https://github.com/google/kmsan.git master 33d9269ef6e0 af01ee7d .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/11 11:56 https://github.com/google/kmsan.git master 33d9269ef6e0 e22c3da3 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/11 08:10 https://github.com/google/kmsan.git master 33d9269ef6e0 e22c3da3 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/10 22:35 https://github.com/google/kmsan.git master 33d9269ef6e0 e22c3da3 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/09 19:26 https://github.com/google/kmsan.git master 33d9269ef6e0 e22c3da3 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/08 22:11 https://github.com/google/kmsan.git master 33d9269ef6e0 15be3cba .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/08 05:28 https://github.com/google/kmsan.git master 33d9269ef6e0 c6ff3e05 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/08 03:30 https://github.com/google/kmsan.git master 33d9269ef6e0 c6ff3e05 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/08 00:44 https://github.com/google/kmsan.git master 33d9269ef6e0 c6ff3e05 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/07 10:12 https://github.com/google/kmsan.git master 33d9269ef6e0 c6ff3e05 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/05 11:36 https://github.com/google/kmsan.git master 33d9269ef6e0 5915c2cb .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/04 09:05 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/03 21:02 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/03 13:30 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/03 12:07 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/03 05:41 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/03 04:25 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/03 00:24 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/02 23:29 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/02 19:19 https://github.com/google/kmsan.git master 1978a14f70af 79a2a8fc .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/04/01 09:30 https://github.com/google/kmsan.git master 1978a14f70af 68fc921a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/31 18:22 https://github.com/google/kmsan.git master 1978a14f70af c4c32d8c .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/30 18:29 https://github.com/google/kmsan.git master 1978a14f70af 42718dd6 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/30 10:27 https://github.com/google/kmsan.git master 1978a14f70af 6bdac766 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/30 07:12 https://github.com/google/kmsan.git master 1978a14f70af 6bdac766 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/30 02:14 https://github.com/google/kmsan.git master 1978a14f70af 6bdac766 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/29 20:14 https://github.com/google/kmsan.git master 1978a14f70af 6bdac766 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/28 20:29 https://github.com/google/kmsan.git master c44f7500ded9 ee339263 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/27 18:23 https://github.com/google/kmsan.git master 5d33b1968cb5 89bc8608 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/26 11:09 https://github.com/google/kmsan.git master 97c7732c2bb6 89bc8608 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/25 14:22 https://github.com/google/kmsan.git master 97c7732c2bb6 89bc8608 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/25 02:18 https://github.com/google/kmsan.git master 97c7732c2bb6 89bc8608 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/25 00:34 https://github.com/google/kmsan.git master 97c7732c2bb6 89bc8608 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/24 23:18 https://github.com/google/kmsan.git master 97c7732c2bb6 89bc8608 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/24 05:40 https://github.com/google/kmsan.git master 97c7732c2bb6 5ff41e94 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/23 19:54 https://github.com/google/kmsan.git master 97c7732c2bb6 5ff41e94 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/22 16:53 https://github.com/google/kmsan.git master 97c7732c2bb6 d88ef0c5 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/22 12:32 https://github.com/google/kmsan.git master 97c7732c2bb6 e2d91b1d .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/22 02:17 https://github.com/google/kmsan.git master 97c7732c2bb6 e2d91b1d .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/21 23:55 https://github.com/google/kmsan.git master 97c7732c2bb6 e2d91b1d .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2022/03/21 15:47 https://github.com/google/kmsan.git master 97c7732c2bb6 e2d91b1d .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
2021/12/19 06:25 https://github.com/google/kmsan.git master b0a8b5053e8b 44068e19 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in ax88178_reset
* Struck through repros no longer work on HEAD.