syzbot


KMSAN: uninit-value in smsc95xx_reset
Status: upstream: reported C repro on 2020/08/17 17:51
Reported-by: syzbot+c74c24b43c9ae534f0e0@syzkaller.appspotmail.com
First crash: 650d, last: 489d
Patch testing requests:
Created Duration User Patch Repo Result
2020/10/02 22:48 21m anant.thazhemadam@gmail.com patch https://github.com/google/kmsan.git master OK
2020/10/02 22:47 21m anant.thazhemadam@gmail.com https://github.com/google/kmsan.git master OK
2020/10/02 05:07 20m anant.thazhemadam@gmail.com patch https://github.com/google/kmsan.git master OK
2020/09/02 23:48 14m dragonjetli@gmail.com https://github.com/google/kmsan.git master report log

Sample crash report:
smsc95xx 1-1:1.0 (unnamed net_device) (uninitialized): Failed to read reg index 0x00000030: -32
smsc95xx 1-1:1.0 (unnamed net_device) (uninitialized): Error reading E2P_CMD
=====================================================
BUG: KMSAN: uninit-value in smsc95xx_reset+0x353/0x3eb0 drivers/net/usb/smsc95xx.c:1039
CPU: 0 PID: 4597 Comm: kworker/0:2 Not tainted 5.8.0-rc5-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:77 [inline]
 dump_stack+0x21c/0x280 lib/dump_stack.c:118
 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:121
 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215
 smsc95xx_reset+0x353/0x3eb0 drivers/net/usb/smsc95xx.c:1039
 smsc95xx_bind+0x8b3/0x1720 drivers/net/usb/smsc95xx.c:1289
 usbnet_probe+0x1152/0x3f90 drivers/net/usb/usbnet.c:1737
 usb_probe_interface+0xece/0x1550 drivers/usb/core/driver.c:374
 really_probe+0xf20/0x20b0 drivers/base/dd.c:529
 driver_probe_device+0x293/0x390 drivers/base/dd.c:701
 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:807
 bus_for_each_drv+0x2ca/0x3f0 drivers/base/bus.c:431
 __device_attach+0x4e2/0x7f0 drivers/base/dd.c:873
 device_initial_probe+0x4a/0x60 drivers/base/dd.c:920
 bus_probe_device+0x177/0x3d0 drivers/base/bus.c:491
 device_add+0x3b0e/0x40d0 drivers/base/core.c:2680
 usb_set_configuration+0x380f/0x3f10 drivers/usb/core/message.c:2032
 usb_generic_driver_probe+0x138/0x300 drivers/usb/core/generic.c:241
 usb_probe_device+0x311/0x490 drivers/usb/core/driver.c:272
 really_probe+0xf20/0x20b0 drivers/base/dd.c:529
 driver_probe_device+0x293/0x390 drivers/base/dd.c:701
 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:807
 bus_for_each_drv+0x2ca/0x3f0 drivers/base/bus.c:431
 __device_attach+0x4e2/0x7f0 drivers/base/dd.c:873
 device_initial_probe+0x4a/0x60 drivers/base/dd.c:920
 bus_probe_device+0x177/0x3d0 drivers/base/bus.c:491
 device_add+0x3b0e/0x40d0 drivers/base/core.c:2680
 usb_new_device+0x1bd4/0x2a30 drivers/usb/core/hub.c:2554
 hub_port_connect drivers/usb/core/hub.c:5208 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5348 [inline]
 port_event drivers/usb/core/hub.c:5494 [inline]
 hub_event+0x5e7b/0x8a70 drivers/usb/core/hub.c:5576
 process_one_work+0x1688/0x2140 kernel/workqueue.c:2269
 worker_thread+0x10bc/0x2730 kernel/workqueue.c:2415
 kthread+0x551/0x590 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293

Local variable ----buf.i.i265@smsc95xx_reset created at:
 __smsc95xx_read_reg drivers/net/usb/smsc95xx.c:1034 [inline]
 smsc95xx_read_reg drivers/net/usb/smsc95xx.c:144 [inline]
 smsc95xx_reset+0x1ba/0x3eb0 drivers/net/usb/smsc95xx.c:1035
 __smsc95xx_read_reg drivers/net/usb/smsc95xx.c:1034 [inline]
 smsc95xx_read_reg drivers/net/usb/smsc95xx.c:144 [inline]
 smsc95xx_reset+0x1ba/0x3eb0 drivers/net/usb/smsc95xx.c:1035
=====================================================

Crashes (59):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2020/08/23 11:32 https://github.com/google/kmsan.git master ce8056d1f79e 1da71ab0 .config log report syz C
ci-upstream-kmsan-gce 2020/08/16 23:41 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report syz C
ci-upstream-kmsan-gce-386 2021/01/24 18:52 https://github.com/google/kmsan.git master 73d62e81b476 52e37319 .config log report info KMSAN: uninit-value in smsc95xx_reset
ci-upstream-kmsan-gce-386 2021/01/24 15:34 https://github.com/google/kmsan.git master 73d62e81b476 52e37319 .config log report info KMSAN: uninit-value in smsc95xx_reset
ci-upstream-kmsan-gce-386 2021/01/22 15:47 https://github.com/google/kmsan.git master 73d62e81b476 d4f4eca5 .config log report info KMSAN: uninit-value in smsc95xx_reset
ci-upstream-kmsan-gce-386 2021/01/21 22:44 https://github.com/google/kmsan.git master 73d62e81b476 d4f4eca5 .config log report info KMSAN: uninit-value in smsc95xx_reset
ci-upstream-kmsan-gce-386 2021/01/20 06:02 https://github.com/google/kmsan.git master 73d62e81b476 63631df1 .config log report info KMSAN: uninit-value in smsc95xx_reset
ci-upstream-kmsan-gce 2020/12/15 20:59 https://github.com/google/kmsan.git master 73d62e81b476 97183ed7 .config log report info
ci-upstream-kmsan-gce 2020/12/15 20:49 https://github.com/google/kmsan.git master 73d62e81b476 97183ed7 .config log report info
ci-upstream-kmsan-gce 2020/12/15 20:48 https://github.com/google/kmsan.git master 73d62e81b476 97183ed7 .config log report info
ci-upstream-kmsan-gce 2020/12/09 02:05 https://github.com/google/kmsan.git master 73d62e81b476 a7f7f4a4 .config log report info
ci-upstream-kmsan-gce 2020/09/12 09:36 https://github.com/google/kmsan.git master 3b3ea6028136 79fb24e2 .config log report
ci-upstream-kmsan-gce 2020/09/12 02:24 https://github.com/google/kmsan.git master 3b3ea6028136 79fb24e2 .config log report
ci-upstream-kmsan-gce 2020/09/11 12:12 https://github.com/google/kmsan.git master 3b3ea6028136 adfb8b4e .config log report
ci-upstream-kmsan-gce 2020/09/10 22:02 https://github.com/google/kmsan.git master 3b3ea6028136 409809d8 .config log report
ci-upstream-kmsan-gce 2020/09/10 21:02 https://github.com/google/kmsan.git master 3b3ea6028136 409809d8 .config log report
ci-upstream-kmsan-gce 2020/09/08 10:33 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce 2020/09/07 19:40 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce 2020/09/07 15:30 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce 2020/09/06 18:52 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce 2020/09/06 00:33 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce 2020/09/05 05:18 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce 2020/08/31 16:39 https://github.com/google/kmsan.git master 3b3ea6028136 d5a3ae1f .config log report
ci-upstream-kmsan-gce 2020/08/28 07:48 https://github.com/google/kmsan.git master ce8056d1f79e 816e0689 .config log report
ci-upstream-kmsan-gce 2020/08/23 06:28 https://github.com/google/kmsan.git master ce8056d1f79e 1da71ab0 .config log report
ci-upstream-kmsan-gce 2020/08/23 06:16 https://github.com/google/kmsan.git master ce8056d1f79e 1da71ab0 .config log report
ci-upstream-kmsan-gce 2020/08/16 23:34 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report
ci-upstream-kmsan-gce 2020/08/16 23:22 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report
ci-upstream-kmsan-gce 2020/08/16 23:00 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report
ci-upstream-kmsan-gce-386 2021/01/17 07:07 https://github.com/google/kmsan.git master 73d62e81b476 65a7a854 .config log report info
ci-upstream-kmsan-gce-386 2021/01/15 21:53 https://github.com/google/kmsan.git master 73d62e81b476 65a7a854 .config log report info
ci-upstream-kmsan-gce-386 2021/01/13 17:53 https://github.com/google/kmsan.git master 73d62e81b476 a945f0a3 .config log report info
ci-upstream-kmsan-gce-386 2021/01/12 15:06 https://github.com/google/kmsan.git master 73d62e81b476 2c1f2513 .config log report info
ci-upstream-kmsan-gce-386 2021/01/11 23:09 https://github.com/google/kmsan.git master 73d62e81b476 2c1f2513 .config log report info
ci-upstream-kmsan-gce-386 2021/01/11 19:04 https://github.com/google/kmsan.git master 73d62e81b476 2c1f2513 .config log report info
ci-upstream-kmsan-gce-386 2021/01/10 14:03 https://github.com/google/kmsan.git master 73d62e81b476 2c1f2513 .config log report info
ci-upstream-kmsan-gce-386 2021/01/10 06:19 https://github.com/google/kmsan.git master 73d62e81b476 2c1f2513 .config log report info
ci-upstream-kmsan-gce-386 2021/01/08 22:49 https://github.com/google/kmsan.git master 73d62e81b476 c104d4a3 .config log report info
ci-upstream-kmsan-gce-386 2021/01/08 21:47 https://github.com/google/kmsan.git master 73d62e81b476 c104d4a3 .config log report info
ci-upstream-kmsan-gce-386 2021/01/08 05:32 https://github.com/google/kmsan.git master 73d62e81b476 c104d4a3 .config log report info
ci-upstream-kmsan-gce-386 2021/01/07 19:31 https://github.com/google/kmsan.git master 73d62e81b476 c104d4a3 .config log report info
ci-upstream-kmsan-gce-386 2020/12/15 21:08 https://github.com/google/kmsan.git master 73d62e81b476 97183ed7 .config log report info
ci-upstream-kmsan-gce-386 2020/12/09 02:44 https://github.com/google/kmsan.git master 73d62e81b476 a7f7f4a4 .config log report info
ci-upstream-kmsan-gce-386 2020/09/12 11:29 https://github.com/google/kmsan.git master 3b3ea6028136 79fb24e2 .config log report
ci-upstream-kmsan-gce-386 2020/09/10 21:01 https://github.com/google/kmsan.git master 3b3ea6028136 409809d8 .config log report
ci-upstream-kmsan-gce-386 2020/09/08 19:40 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce-386 2020/09/08 01:15 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce-386 2020/09/07 18:05 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce-386 2020/09/07 14:31 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce-386 2020/09/06 23:29 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce-386 2020/09/06 20:30 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce-386 2020/09/06 20:21 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce-386 2020/09/06 00:18 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce-386 2020/09/05 20:22 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce-386 2020/09/05 05:22 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce-386 2020/08/31 16:42 https://github.com/google/kmsan.git master 3b3ea6028136 d5a3ae1f .config log report
ci-upstream-kmsan-gce-386 2020/08/28 07:48 https://github.com/google/kmsan.git master ce8056d1f79e 816e0689 .config log report
ci-upstream-kmsan-gce-386 2020/08/23 05:45 https://github.com/google/kmsan.git master ce8056d1f79e 1da71ab0 .config log report