syzbot


KMSAN: uninit-value in smsc95xx_read_eeprom (2)

Status: upstream: reported C repro on 2019/07/10 14:48
Reported-by: syzbot+0dfe788c0e7be7c95931@syzkaller.appspotmail.com
First crash: 1089d, last: 565d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in smsc95xx_read_eeprom C 4 1094d 1089d 0/22 closed as invalid on 2019/07/09 14:56
Patch testing requests:
Created Duration User Patch Repo Result
2020/10/03 05:22 20m anant.thazhemadam@gmail.com https://github.com/google/kmsan.git master OK

Sample crash report:
==================================================================
BUG: KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy drivers/net/usb/smsc95xx.c:326 [inline]
BUG: KMSAN: uninit-value in smsc95xx_read_eeprom+0x203/0x920 drivers/net/usb/smsc95xx.c:345
CPU: 1 PID: 17 Comm: kworker/1:0 Not tainted 5.2.0+ #15
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+0x191/0x1f0 lib/dump_stack.c:113
 kmsan_report+0x162/0x2d0 mm/kmsan/kmsan_report.c:109
 __msan_warning+0x75/0xe0 mm/kmsan/kmsan_instr.c:294
 smsc95xx_eeprom_confirm_not_busy drivers/net/usb/smsc95xx.c:326 [inline]
 smsc95xx_read_eeprom+0x203/0x920 drivers/net/usb/smsc95xx.c:345
 smsc95xx_init_mac_address drivers/net/usb/smsc95xx.c:914 [inline]
 smsc95xx_bind+0x467/0x1690 drivers/net/usb/smsc95xx.c:1286
 usbnet_probe+0x10d3/0x3950 drivers/net/usb/usbnet.c:1722
 usb_probe_interface+0xd19/0x1310 drivers/usb/core/driver.c:361
 really_probe+0x1344/0x1d90 drivers/base/dd.c:513
 driver_probe_device+0x1ba/0x510 drivers/base/dd.c:670
 __device_attach_driver+0x5b8/0x790 drivers/base/dd.c:777
 bus_for_each_drv+0x28e/0x3b0 drivers/base/bus.c:454
 __device_attach+0x489/0x750 drivers/base/dd.c:843
 device_initial_probe+0x4a/0x60 drivers/base/dd.c:890
 bus_probe_device+0x131/0x390 drivers/base/bus.c:514
 device_add+0x25b5/0x2df0 drivers/base/core.c:2111
 usb_set_configuration+0x309f/0x3710 drivers/usb/core/message.c:2027
 generic_probe+0xe7/0x280 drivers/usb/core/generic.c:210
 usb_probe_device+0x146/0x200 drivers/usb/core/driver.c:266
 really_probe+0x1344/0x1d90 drivers/base/dd.c:513
 driver_probe_device+0x1ba/0x510 drivers/base/dd.c:670
 __device_attach_driver+0x5b8/0x790 drivers/base/dd.c:777
 bus_for_each_drv+0x28e/0x3b0 drivers/base/bus.c:454
 __device_attach+0x489/0x750 drivers/base/dd.c:843
 device_initial_probe+0x4a/0x60 drivers/base/dd.c:890
 bus_probe_device+0x131/0x390 drivers/base/bus.c:514
 device_add+0x25b5/0x2df0 drivers/base/core.c:2111
 usb_new_device+0x23e5/0x2fb0 drivers/usb/core/hub.c:2534
 hub_port_connect drivers/usb/core/hub.c:5089 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5204 [inline]
 port_event drivers/usb/core/hub.c:5350 [inline]
 hub_event+0x5853/0x7320 drivers/usb/core/hub.c:5432
 process_one_work+0x1572/0x1f00 kernel/workqueue.c:2269
 process_scheduled_works kernel/workqueue.c:2331 [inline]
 worker_thread+0x189c/0x2460 kernel/workqueue.c:2417
 kthread+0x4b5/0x4f0 kernel/kthread.c:256
 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355

Local variable description: ----buf.i.i86@smsc95xx_read_eeprom
Variable was created at:
 __smsc95xx_read_reg drivers/net/usb/smsc95xx.c:330 [inline]
 smsc95xx_read_reg drivers/net/usb/smsc95xx.c:144 [inline]
 smsc95xx_eeprom_confirm_not_busy drivers/net/usb/smsc95xx.c:320 [inline]
 smsc95xx_read_eeprom+0x109/0x920 drivers/net/usb/smsc95xx.c:345
 smsc95xx_init_mac_address drivers/net/usb/smsc95xx.c:914 [inline]
 smsc95xx_bind+0x467/0x1690 drivers/net/usb/smsc95xx.c:1286
==================================================================

Crashes (96):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2019/08/02 17:26 https://github.com/google/kmsan.git master beaab8a31e0d 835dffe7 .config log report syz C
ci-upstream-kmsan-gce 2019/07/30 06:07 https://github.com/google/kmsan.git master beaab8a31e0d f67095ee .config log report syz C
ci-upstream-kmsan-gce 2019/07/29 05:39 https://github.com/google/kmsan.git master beaab8a31e0d c85e1c5b .config log report syz C
ci-upstream-kmsan-gce 2019/07/09 21:44 https://github.com/google/kmsan.git master fe36eb20e4a4 f62e1e85 .config log report syz C
ci-upstream-kmsan-gce 2020/12/14 22:18 https://github.com/google/kmsan.git master 73d62e81b476 97183ed7 .config log report info
ci-upstream-kmsan-gce 2020/12/12 03:33 https://github.com/google/kmsan.git master 73d62e81b476 ba24ffcd .config log report info
ci-upstream-kmsan-gce 2020/12/09 02:01 https://github.com/google/kmsan.git master 73d62e81b476 a7f7f4a4 .config log report info
ci-upstream-kmsan-gce 2020/09/12 01:24 https://github.com/google/kmsan.git master 3b3ea6028136 79fb24e2 .config log report
ci-upstream-kmsan-gce 2020/09/10 12:44 https://github.com/google/kmsan.git master 3b3ea6028136 409809d8 .config log report
ci-upstream-kmsan-gce 2020/09/06 07:06 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce 2020/09/02 12:17 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce 2020/09/02 03:25 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce 2020/08/31 20:35 https://github.com/google/kmsan.git master 3b3ea6028136 d5a3ae1f .config log report
ci-upstream-kmsan-gce 2020/08/31 14:35 https://github.com/google/kmsan.git master 3b3ea6028136 d5a3ae1f .config log report
ci-upstream-kmsan-gce 2020/08/28 07:18 https://github.com/google/kmsan.git master ce8056d1f79e 816e0689 .config log report
ci-upstream-kmsan-gce 2020/08/26 07:18 https://github.com/google/kmsan.git master ce8056d1f79e 344da168 .config log report
ci-upstream-kmsan-gce 2020/08/23 05:55 https://github.com/google/kmsan.git master ce8056d1f79e 1da71ab0 .config log report
ci-upstream-kmsan-gce 2020/08/23 05:31 https://github.com/google/kmsan.git master ce8056d1f79e 1da71ab0 .config log report
ci-upstream-kmsan-gce 2020/08/22 08:40 https://github.com/google/kmsan.git master ce8056d1f79e 6436ce4b .config log report
ci-upstream-kmsan-gce 2020/08/21 18:47 https://github.com/google/kmsan.git master ce8056d1f79e 6436ce4b .config log report
ci-upstream-kmsan-gce 2020/08/21 06:16 https://github.com/google/kmsan.git master ce8056d1f79e 1d75fe45 .config log report
ci-upstream-kmsan-gce 2020/08/21 00:49 https://github.com/google/kmsan.git master ce8056d1f79e 1d75fe45 .config log report
ci-upstream-kmsan-gce 2020/08/18 11:16 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report
ci-upstream-kmsan-gce 2020/08/17 16:45 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report
ci-upstream-kmsan-gce 2020/08/16 22:45 https://github.com/google/kmsan.git master ce8056d1f79e 424dd8e7 .config log report
ci-upstream-kmsan-gce 2019/10/08 17:52 https://github.com/google/kmsan.git master cebb918b7474 b1ebbfef .config log report
ci-upstream-kmsan-gce 2019/10/02 19:27 https://github.com/google/kmsan.git master 1e76a3e537c3 2e29b534 .config log report
ci-upstream-kmsan-gce 2019/10/02 19:23 https://github.com/google/kmsan.git master 1e76a3e537c3 2e29b534 .config log report
ci-upstream-kmsan-gce 2019/10/02 19:14 https://github.com/google/kmsan.git master 1e76a3e537c3 2e29b534 .config log report
ci-upstream-kmsan-gce 2019/10/02 18:12 https://github.com/google/kmsan.git master 1e76a3e537c3 2e29b534 .config log report
ci-upstream-kmsan-gce 2019/10/02 18:02 https://github.com/google/kmsan.git master 1e76a3e537c3 2e29b534 .config log report
ci-upstream-kmsan-gce 2019/10/02 17:58 https://github.com/google/kmsan.git master 1e76a3e537c3 2e29b534 .config log report
ci-upstream-kmsan-gce 2019/10/02 17:41 https://github.com/google/kmsan.git master 1e76a3e537c3 2e29b534 .config log report
ci-upstream-kmsan-gce 2019/10/02 17:24 https://github.com/google/kmsan.git master 1e76a3e537c3 2e29b534 .config log report
ci-upstream-kmsan-gce 2019/09/23 20:03 https://github.com/google/kmsan.git master cebbfdbcf2b7 1e9788a0 .config log report
ci-upstream-kmsan-gce 2019/09/22 18:33 https://github.com/google/kmsan.git master cebbfdbcf2b7 d96e88f3 .config log report
ci-upstream-kmsan-gce 2019/09/22 18:32 https://github.com/google/kmsan.git master cebbfdbcf2b7 d96e88f3 .config log report
ci-upstream-kmsan-gce 2019/09/22 02:16 https://github.com/google/kmsan.git master cebbfdbcf2b7 d96e88f3 .config log report
ci-upstream-kmsan-gce 2019/09/20 17:43 https://github.com/google/kmsan.git master cebbfdbcf2b7 d96e88f3 .config log report
ci-upstream-kmsan-gce 2019/09/08 21:43 https://github.com/google/kmsan.git master 014077b5cd62 a60cb4cd .config log report
ci-upstream-kmsan-gce 2019/09/08 05:57 https://github.com/google/kmsan.git master 014077b5cd62 a60cb4cd .config log report
ci-upstream-kmsan-gce 2019/09/07 15:47 https://github.com/google/kmsan.git master 014077b5cd62 a60cb4cd .config log report
ci-upstream-kmsan-gce 2019/09/07 15:36 https://github.com/google/kmsan.git master 014077b5cd62 a60cb4cd .config log report
ci-upstream-kmsan-gce 2019/09/07 09:24 https://github.com/google/kmsan.git master 014077b5cd62 a60cb4cd .config log report
ci-upstream-kmsan-gce 2019/09/07 09:23 https://github.com/google/kmsan.git master 014077b5cd62 a60cb4cd .config log report
ci-upstream-kmsan-gce 2019/09/06 20:40 https://github.com/google/kmsan.git master 014077b5cd62 a60cb4cd .config log report
ci-upstream-kmsan-gce 2019/08/20 09:46 https://github.com/google/kmsan.git master 61ccdad1fcdf ee12860b .config log report
ci-upstream-kmsan-gce 2019/08/18 06:12 https://github.com/google/kmsan.git master 61ccdad1fcdf 55bf8926 .config log report
ci-upstream-kmsan-gce 2019/08/17 03:18 https://github.com/google/kmsan.git master 61ccdad1fcdf 8fd428a1 .config log report
ci-upstream-kmsan-gce 2019/08/08 21:36 https://github.com/google/kmsan.git master 61ccdad1fcdf e6ebef88 .config log report
ci-upstream-kmsan-gce 2019/07/27 04:29 https://github.com/google/kmsan.git master beaab8a31e0d c85e1c5b .config log report
ci-upstream-kmsan-gce 2019/07/24 14:16 https://github.com/google/kmsan.git master beaab8a31e0d 32329ceb .config log report
ci-upstream-kmsan-gce 2019/07/23 10:28 https://github.com/google/kmsan.git master beaab8a31e0d 55e0c077 .config log report
ci-upstream-kmsan-gce 2019/07/09 19:21 https://github.com/google/kmsan.git master fe36eb20e4a4 f62e1e85 .config log report
ci-upstream-kmsan-gce-386 2020/09/03 10:56 https://github.com/google/kmsan.git master 3b3ea6028136 abf9ba4f .config log report
ci-upstream-kmsan-gce-386 2020/09/01 00:57 https://github.com/google/kmsan.git master 3b3ea6028136 d5a3ae1f .config log report