syzbot


KMSAN: uninit-value in mii_nway_restart

Status: fixed on 2023/12/21 03:45
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+1f53a30781af65d2c955@syzkaller.appspotmail.com
Fix commit: 8f8abb863fa5 net: usb: dm9601: fix uninitialized variable use in dm9601_mdio_read
First crash: 1951d, last: 360d
Discussions (19)
Title Replies (including bot) Last reply
[PATCH v2] net: usb: dm9601: fix uninitialized variable use in dm9601_mdio_read 7 (7) 2023/10/11 03:10
[PATCH] net: usb: dm9601: fix uninitialized variable use in dm9601_mdio_read 3 (3) 2023/10/09 21:48
[syzbot] Monthly usb report (Oct 2023) 0 (1) 2023/10/04 07:28
[syzbot] Monthly usb report (Sep 2023) 0 (1) 2023/09/04 08:33
[syzbot] Monthly usb report (Aug 2023) 0 (1) 2023/08/02 11:18
[syzbot] Monthly usb report (Jul 2023) 0 (1) 2023/07/03 09:03
[syzbot] Monthly usb report (May 2023) 0 (1) 2023/05/31 12:38
[syzbot] Monthly usb report (Apr 2023) 0 (1) 2023/05/01 09:05
[syzbot] Monthly usb report 12 (17) 2023/04/10 16:42
[syzbot] Monthly net report 0 (1) 2023/03/27 11:04
Re: KMSAN: uninit-value in mii_nway_restart 1 (1) 2022/08/30 08:26
Reminder: 67 active syzbot reports in usb subsystem 1 (1) 2019/10/04 03:38
Reminder: 52 active syzbot reports in usb subsystem 1 (1) 2019/08/22 03:28
Reminder: 99 open syzbot bugs in net subsystem 14 (14) 2019/07/31 15:13
Reminder: 67 open syzbot bugs in usb subsystem 1 (1) 2019/07/24 01:35
Reminder: 47 open syzbot bugs in usb subsystem 1 (1) 2019/07/09 19:01
Reminder: 94 open syzbot bugs in net subsystem 1 (1) 2019/06/25 05:48
Reminder: 42 open syzbot bugs in usb subsystem 1 (1) 2019/06/25 03:44
KMSAN: uninit-value in mii_nway_restart 0 (1) 2019/06/04 10:32
Last patch testing requests (5)
Created Duration User Patch Repo Result
2023/10/09 21:55 26m javier.carrasco.cruz@gmail.com patch upstream OK log
2023/10/09 18:19 26m javier.carrasco.cruz@gmail.com patch upstream OK log
2023/10/09 17:55 25m javier.carrasco@wolfvision.net patch upstream OK log
2023/10/09 15:22 25m javier.carrasco.cruz@gmail.com patch upstream OK log
2020/09/20 16:36 19m anant.thazhemadam@gmail.com https://github.com/google/kmsan.git master OK

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in mii_nway_restart+0x11b/0x1e0 drivers/net/mii.c:465
 mii_nway_restart+0x11b/0x1e0 drivers/net/mii.c:465
 dm9601_bind+0xa10/0xb30 drivers/net/usb/dm9601.c:431
 usbnet_probe+0x100b/0x4060 drivers/net/usb/usbnet.c:1750
 usb_probe_interface+0xc75/0x1210 drivers/usb/core/driver.c:396
 really_probe+0x506/0xf40 drivers/base/dd.c:658
 __driver_probe_device+0x2a7/0x5d0 drivers/base/dd.c:800
 driver_probe_device+0x72/0x7b0 drivers/base/dd.c:830
 __device_attach_driver+0x55a/0x8f0 drivers/base/dd.c:958
 bus_for_each_drv+0x3ff/0x620 drivers/base/bus.c:457
 __device_attach+0x3bd/0x640 drivers/base/dd.c:1030
 device_initial_probe+0x32/0x40 drivers/base/dd.c:1079
 bus_probe_device+0x3d8/0x5a0 drivers/base/bus.c:532
 device_add+0x1700/0x1f20 drivers/base/core.c:3624
 usb_set_configuration+0x31c9/0x38c0 drivers/usb/core/message.c:2207
 usb_generic_driver_probe+0x109/0x2a0 drivers/usb/core/generic.c:238
 usb_probe_device+0x290/0x4a0 drivers/usb/core/driver.c:293
 really_probe+0x506/0xf40 drivers/base/dd.c:658
 __driver_probe_device+0x2a7/0x5d0 drivers/base/dd.c:800
 driver_probe_device+0x72/0x7b0 drivers/base/dd.c:830
 __device_attach_driver+0x55a/0x8f0 drivers/base/dd.c:958
 bus_for_each_drv+0x3ff/0x620 drivers/base/bus.c:457
 __device_attach+0x3bd/0x640 drivers/base/dd.c:1030
 device_initial_probe+0x32/0x40 drivers/base/dd.c:1079
 bus_probe_device+0x3d8/0x5a0 drivers/base/bus.c:532
 device_add+0x1700/0x1f20 drivers/base/core.c:3624
 usb_new_device+0x15f6/0x22f0 drivers/usb/core/hub.c:2589
 hub_port_connect drivers/usb/core/hub.c:5440 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5580 [inline]
 port_event drivers/usb/core/hub.c:5740 [inline]
 hub_event+0x53bc/0x7290 drivers/usb/core/hub.c:5822
 process_one_work kernel/workqueue.c:2630 [inline]
 process_scheduled_works+0x104e/0x1e70 kernel/workqueue.c:2703
 worker_thread+0xf45/0x1490 kernel/workqueue.c:2784
 kthread+0x3e8/0x540 kernel/kthread.c:388
 ret_from_fork+0x66/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304

Local variable res created at:
 dm9601_mdio_read+0x3d/0xd0 drivers/net/usb/dm9601.c:226
 mii_nway_restart+0x88/0x1e0 drivers/net/mii.c:463

CPU: 0 PID: 4719 Comm: kworker/0:3 Not tainted 6.6.0-rc2-syzkaller-00244-g27bbf45eae9c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
Workqueue: usb_hub_wq hub_event
=====================================================

Crashes (2449):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/22 12:08 upstream 27bbf45eae9c 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/06/14 01:56 https://github.com/google/kmsan.git master 7cccf3be6dcb d2ee9228 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/03/04 12:49 https://github.com/google/kmsan.git master 944070199c5e f8902b57 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2022/11/24 11:36 https://github.com/google/kmsan.git master ddce02aa9c40 12c66417 .config strace log report syz C ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2022/08/09 23:19 https://github.com/google/kmsan.git master 1b070a5d1a2c c2a623d6 .config strace log report syz C ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2019/08/12 00:31 https://github.com/google/kmsan.git master 61ccdad1fcdf acb51638 .config console log report syz C ci-upstream-kmsan-gce
2019/08/11 10:37 https://github.com/google/kmsan.git master 61ccdad1fcdf acb51638 .config console log report syz C ci-upstream-kmsan-gce
2019/08/09 17:23 https://github.com/google/kmsan.git master 61ccdad1fcdf ede31a9b .config console log report syz C ci-upstream-kmsan-gce
2019/07/28 02:28 https://github.com/google/kmsan.git master beaab8a31e0d c85e1c5b .config console log report syz C ci-upstream-kmsan-gce
2019/07/02 09:57 https://github.com/google/kmsan.git master 41550654dedf cccc4302 .config console log report syz C ci-upstream-kmsan-gce
2019/06/04 08:56 https://github.com/google/kmsan.git master f75e4cfea97f ce07a7ae .config console log report syz C ci-upstream-kmsan-gce
2023/10/13 01:05 upstream 401644852d0b fc170927 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/10/12 21:08 upstream 401644852d0b fc170927 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/10/10 11:35 upstream 94f6f0550c62 c9be5398 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/10/10 01:42 upstream 94f6f0550c62 3c53c7d9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/10/09 03:37 upstream 94f6f0550c62 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/10/07 23:35 upstream 59f3fd30af35 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/10/07 09:49 upstream 82714078aee4 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/10/06 06:05 upstream f291209eca5e db17ad9f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/10/05 07:03 upstream ba7d997a2a29 b7d7ff54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/10/03 14:26 upstream ce36c8b14987 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/10/01 20:11 upstream e402b08634b3 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/26 15:17 upstream 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/26 08:47 upstream 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/26 05:10 upstream 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/26 00:49 upstream 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/25 23:16 upstream 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/25 16:09 upstream 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/24 11:48 upstream 3aba70aed91f 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/24 05:05 upstream 3aba70aed91f 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/23 00:45 upstream dc912ba91b7e 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/22 10:08 upstream 27bbf45eae9c 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/21 13:42 upstream 42dc814987c1 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/20 10:31 upstream 2cf0f7156238 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/20 00:25 upstream 2cf0f7156238 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/19 20:32 upstream 2cf0f7156238 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/19 14:32 upstream 2cf0f7156238 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/19 12:31 upstream 2cf0f7156238 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/19 03:12 upstream 2cf0f7156238 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/18 17:59 upstream ce9ecca0238b 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/18 13:33 upstream ce9ecca0238b 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/17 18:36 upstream f0b0d403eabb 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/17 17:23 upstream f0b0d403eabb 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/17 15:29 upstream f0b0d403eabb 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/17 09:31 upstream f0b0d403eabb 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/17 05:19 upstream f0b0d403eabb 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/17 03:45 upstream f0b0d403eabb 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/16 19:56 upstream 57d88e8a5974 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/16 14:33 upstream 57d88e8a5974 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/16 04:18 upstream e42bebf6db29 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/15 19:20 upstream 9fdfb15a3dbf 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/15 03:03 upstream 9fdfb15a3dbf 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/14 18:03 upstream aed8aee11130 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/13 02:35 upstream a747acc0b752 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/12 05:05 upstream 0bb80ecc33a8 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/11 10:40 upstream 0bb80ecc33a8 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/11 06:06 upstream 0bb80ecc33a8 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/11 03:30 upstream 0bb80ecc33a8 6654cf89 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in mii_nway_restart
2023/09/26 15:17 upstream 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in mii_nway_restart
2023/09/12 11:36 upstream 0bb80ecc33a8 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in mii_nway_restart
2019/10/28 14:47 https://github.com/google/kmsan.git master d86c15562d02 25bb509e .config console log report ci-upstream-kmsan-gce
2019/06/04 07:39 https://github.com/google/kmsan.git master f75e4cfea97f ce07a7ae .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.