syzbot


KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy

Status: fixed on 2023/12/21 03:45
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+2c97a98a5ba9ea9c23bd@syzkaller.appspotmail.com
Fix commit: 51a32e828109 net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg
First crash: 378d, last: 263d
Discussions (4)
Title Replies (including bot) Last reply
[PATCH net] net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg 2 (2) 2023/10/22 10:40
[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] [usb?] KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy 0 (1) 2023/07/05 12:53
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/10/05 15:55 26m syoshida@redhat.com patch https://github.com/google/kmsan.git master OK log

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy+0x1eb/0x360 drivers/net/usb/smsc95xx.c:348
 smsc95xx_eeprom_confirm_not_busy+0x1eb/0x360 drivers/net/usb/smsc95xx.c:348
 smsc95xx_read_eeprom+0x59/0x670 drivers/net/usb/smsc95xx.c:367
 smsc95xx_init_mac_address drivers/net/usb/smsc95xx.c:816 [inline]
 smsc95xx_bind+0x6d8/0x22e0 drivers/net/usb/smsc95xx.c:1128
 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 buf.i created at:
 smsc95xx_read_reg drivers/net/usb/smsc95xx.c:90 [inline]
 smsc95xx_eeprom_confirm_not_busy+0x92/0x360 drivers/net/usb/smsc95xx.c:342
 smsc95xx_read_eeprom+0x59/0x670 drivers/net/usb/smsc95xx.c:367

CPU: 1 PID: 33 Comm: kworker/1:1 Not tainted 6.6.0-rc5-syzkaller-00067-g8182d7a3f1b8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Workqueue: usb_hub_wq hub_event
=====================================================

Crashes (521):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/12 07:10 upstream 8182d7a3f1b8 83165b57 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/07/04 02:25 https://github.com/google/kmsan.git master 257152fe29be 6e553898 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/26 14:52 upstream 611da07b89fd 23afc60f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/25 23:53 upstream 4f82870119a4 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/25 22:12 upstream 4f82870119a4 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/25 17:40 upstream 4f82870119a4 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/25 11:27 upstream 4f82870119a4 17e6d526 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/24 14:12 upstream e017769f4ce2 af8d2e46 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/22 23:36 upstream fe3cfe869d5e 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/19 11:59 upstream dd72f9c7e512 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/18 21:27 upstream dd72f9c7e512 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/17 10:24 upstream 213f891525c2 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/17 02:01 upstream 58720809f527 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/16 14:02 upstream 58720809f527 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/15 16:28 upstream 9a3dad63edbe 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/15 00:31 upstream 70f8c6f8f880 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/14 10:51 upstream 727fb8376504 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/14 01:23 upstream ad7f1baed071 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/13 08:26 upstream ce583d5fb9d3 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/12 05:23 upstream 8182d7a3f1b8 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/11 21:34 upstream 1c8b86a3799f 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/11 21:34 upstream 1c8b86a3799f 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/09 21:07 upstream 94f6f0550c62 3c53c7d9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/08 10:09 upstream 59f3fd30af35 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/06 09:45 upstream f291209eca5e db17ad9f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/06 07:17 upstream f291209eca5e db17ad9f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/03 11:21 upstream ce36c8b14987 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/02 22:27 upstream 8f1b4600373f 50b20e75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/02 19:16 upstream 8a749fd1a872 50b20e75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/02 15:54 upstream 8a749fd1a872 50b20e75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/01 23:56 upstream e402b08634b3 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/01 12:52 upstream 3b517966c561 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/09/30 16:18 upstream 9f3ebbef746f 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/09/30 13:35 upstream 9f3ebbef746f 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/09/29 21:57 upstream 71e58659bfc0 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/09/29 05:05 upstream 9ed22ae6be81 d265efd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/09/27 23:59 upstream 0e945134b680 2895a507 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/09/27 17:27 upstream 0e945134b680 2895a507 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/09/27 10:39 upstream 0e945134b680 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/09/27 04:13 upstream 50768a425b46 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/14 06:24 upstream ad7f1baed071 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/13 10:55 upstream ce583d5fb9d3 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/10/13 03:18 upstream 401644852d0b fc170927 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/09/30 19:14 upstream 9f3ebbef746f 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
2023/09/30 01:46 upstream 71e58659bfc0 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in smsc95xx_eeprom_confirm_not_busy
* Struck through repros no longer work on HEAD.