syzbot


KMSAN: uninit-value in usbnet_probe (2)

Status: auto-closed as invalid on 2022/09/27 01:28
Subsystems: usb
[Documentation on labels]
First crash: 882d, last: 866d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in usbnet_probe usb C 1 1811d 1811d 15/26 fixed on 2020/01/08 01:06
upstream KMSAN: uninit-value in kobject_set_name_vargs kernel 5 780d 909d 0/26 auto-closed as invalid on 2022/06/30 14:28
upstream KMSAN: uninit-value in asix_read_cmd usb syz 8 736d 886d 0/26 auto-closed as invalid on 2022/09/29 13:21
upstream KMSAN: uninit-value in hid_connect kernel C 176 565d 916d 0/26 closed as invalid on 2022/11/03 08:52
upstream KMSAN: uninit-value in number (4) kernel C 7189 544d 922d 0/26 closed as invalid on 2022/11/28 10:01
upstream KMSAN: uninit-value in preempt_count_add kernel C 6657 589d 589d 0/26 closed as invalid on 2022/10/10 13:29
upstream KMSAN: uninit-value in profile_hits (3) kernel C 658 17m 146d 0/26 upstream: reported C repro on 2023/12/26 15:59
Last patch testing requests (1)
Created Duration User Patch Repo Result
2022/09/27 00:30 20m retest repro https://github.com/google/kmsan.git master OK log

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in mac_address_string+0xe72/0x1170
 mac_address_string+0xe72/0x1170
 pointer+0x1029/0x2060 lib/vsprintf.c:2419
 vsnprintf+0x1a9b/0x3650 lib/vsprintf.c:2809
 va_format lib/vsprintf.c:1694 [inline]
 pointer+0x1844/0x2060 lib/vsprintf.c:2435
 vsnprintf+0x1a9b/0x3650 lib/vsprintf.c:2809
 vprintk_store+0x537/0x2150 kernel/printk/printk.c:2135
 vprintk_emit+0x25c/0x950 kernel/printk/printk.c:2229
 dev_vprintk_emit+0x5ef/0x6d0 drivers/base/core.c:4594
 dev_printk_emit+0x1dd/0x21f drivers/base/core.c:4605
 __netdev_printk+0x7e9/0xae0 net/core/dev.c:11447
 netdev_info+0x1ea/0x22f net/core/dev.c:11502
 usbnet_probe+0x3f71/0x4140 drivers/net/usb/usbnet.c:1823
 usb_probe_interface+0xf19/0x1600 drivers/usb/core/driver.c:396
 really_probe+0x67d/0x1510 drivers/base/dd.c:596
 __driver_probe_device+0x3e9/0x530 drivers/base/dd.c:751
 driver_probe_device drivers/base/dd.c:781 [inline]
 __device_attach_driver+0x79f/0x1120 drivers/base/dd.c:898
 bus_for_each_drv+0x2d6/0x3f0 drivers/base/bus.c:427
 __device_attach+0x593/0x8e0 drivers/base/dd.c:969
 device_initial_probe+0x4a/0x60 drivers/base/dd.c:1016
 bus_probe_device+0x17b/0x3e0 drivers/base/bus.c:487
 device_add+0x1d3e/0x2400 drivers/base/core.c:3394
 usb_set_configuration+0x37e9/0x3ed0 drivers/usb/core/message.c:2170
 usb_generic_driver_probe+0x13c/0x300 drivers/usb/core/generic.c:238
 usb_probe_device+0x309/0x570 drivers/usb/core/driver.c:293
 really_probe+0x67d/0x1510 drivers/base/dd.c:596
 __driver_probe_device+0x3e9/0x530 drivers/base/dd.c:751
 driver_probe_device drivers/base/dd.c:781 [inline]
 __device_attach_driver+0x79f/0x1120 drivers/base/dd.c:898
 bus_for_each_drv+0x2d6/0x3f0 drivers/base/bus.c:427
 __device_attach+0x593/0x8e0 drivers/base/dd.c:969
 device_initial_probe+0x4a/0x60 drivers/base/dd.c:1016
 bus_probe_device+0x17b/0x3e0 drivers/base/bus.c:487
 device_add+0x1d3e/0x2400 drivers/base/core.c:3394
 usb_new_device+0x1b8e/0x2950 drivers/usb/core/hub.c:2563
 hub_port_connect drivers/usb/core/hub.c:5353 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5497 [inline]
 port_event drivers/usb/core/hub.c:5643 [inline]
 hub_event+0x5ad2/0x8910 drivers/usb/core/hub.c:5725
 process_one_work+0xdb9/0x1820 kernel/workqueue.c:2298
 worker_thread+0x10bc/0x21f0 kernel/workqueue.c:2445
 kthread+0x721/0x850 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30

Local variable tmp created at:
 number+0xad/0x23d0 lib/vsprintf.c:453
 vsnprintf+0x1f0d/0x3650 lib/vsprintf.c:2871

CPU: 0 PID: 3608 Comm: kworker/0:4 Not tainted 5.16.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
=====================================================

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/12/22 05:30 https://github.com/google/kmsan.git master 81c325bbf94e 6caa12e4 .config console log report syz ci-upstream-kmsan-gce KMSAN: uninit-value in usbnet_probe
2022/01/05 15:03 https://github.com/google/kmsan.git master 81c325bbf94e 6acc789a .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in usbnet_probe
2021/12/27 10:00 https://github.com/google/kmsan.git master 81c325bbf94e e4f103c4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in usbnet_probe
2021/12/22 01:24 https://github.com/google/kmsan.git master 81c325bbf94e 6caa12e4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in usbnet_probe
2021/12/22 01:11 https://github.com/google/kmsan.git master 81c325bbf94e 6caa12e4 .config console log report info ci-upstream-kmsan-gce KMSAN: uninit-value in usbnet_probe
2021/12/20 18:21 https://github.com/google/kmsan.git master 81c325bbf94e 021b36cb .config console log report info ci-upstream-kmsan-gce-386 KMSAN: uninit-value in usbnet_probe
* Struck through repros no longer work on HEAD.