syzbot


KMSAN: uninit-value in ax88172a_bind

Status: fixed on 2019/11/29 15:48
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+a8d4acdad35e6bbca308@syzkaller.appspotmail.com
Fix commit: a9a51bd727d1 ax88172a: fix information leak on short answers
First crash: 1685d, last: 1669d
Discussions (10)
Title Replies (including bot) Last reply
[PATCH AUTOSEL 4.19 01/25] autofs: fix a leak in autofs_expire_indirect() 27 (27) 2019/12/06 12:14
[PATCH 4.4 000/159] 4.4.203-stable review 179 (179) 2019/11/28 10:35
[PATCH AUTOSEL 4.14 01/21] autofs: fix a leak in autofs_expire_indirect() 23 (23) 2019/11/25 13:34
[PATCH 4.9 000/222] 4.9.203-stable review 227 (227) 2019/11/22 23:50
[PATCH AUTOSEL 4.9 01/13] autofs: fix a leak in autofs_expire_indirect() 13 (13) 2019/11/22 19:49
[PATCH 4.19 000/422] 4.19.85-stable review 478 (478) 2019/11/22 18:25
[PATCH 5.3 00/48] 5.3.12-stable review 57 (57) 2019/11/20 06:00
[PATCH 4.14 000/239] 4.14.155-stable review 247 (247) 2019/11/19 20:35
[PATCH] ax88172a: fix information leak on short answers 2 (2) 2019/11/15 20:19
KMSAN: uninit-value in ax88172a_bind 1 (3) 2019/10/17 14:39
Last patch testing requests (6)
Created Duration User Patch Repo Result
2019/11/05 14:26 14m tranmanphong@gmail.com patch https://github.com/google/kmsan.git master report log
2019/11/05 00:03 14m tranmanphong@gmail.com patch https://github.com/google/kmsan.git master report log
2019/11/04 13:17 13m tranmanphong@gmail.com patch https://github.com/google/kmsan.git master report log
2019/11/04 00:20 14m tranmanphong@gmail.com patch https://github.com/google/kmsan.git master report log
2019/11/03 10:25 13m tranmanphong@gmail.com patch https://github.com/google/kmsan.git master report log
2019/10/17 14:02 18m oneukum@suse.com patch https://github.com/google/kmsan.git fa169025 report log

Sample crash report:
usb 1-1: config 0 has no interface number 0
usb 1-1: New USB device found, idVendor=0b95, idProduct=172a, bcdDevice=9b.e9
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-1: config 0 descriptor??
=====================================================
BUG: KMSAN: uninit-value in ax88172a_bind+0x76d/0xf80 drivers/net/usb/ax88172a.c:217
CPU: 1 PID: 3632 Comm: kworker/1:2 Not tainted 5.4.0-rc2+ #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+0x191/0x1f0 lib/dump_stack.c:113
 kmsan_report+0x14e/0x2c0 mm/kmsan/kmsan_report.c:110
 __msan_warning+0x73/0xe0 mm/kmsan/kmsan_instr.c:245
 ax88172a_bind+0x76d/0xf80 drivers/net/usb/ax88172a.c:217
 usbnet_probe+0x10d3/0x39d0 drivers/net/usb/usbnet.c:1730
 usb_probe_interface+0xd19/0x1310 drivers/usb/core/driver.c:361
 really_probe+0xd91/0x1f90 drivers/base/dd.c:552
 driver_probe_device+0x1ba/0x510 drivers/base/dd.c:721
 __device_attach_driver+0x5b8/0x790 drivers/base/dd.c:828
 bus_for_each_drv+0x28e/0x3b0 drivers/base/bus.c:430
 __device_attach+0x489/0x750 drivers/base/dd.c:894
 device_initial_probe+0x4a/0x60 drivers/base/dd.c:941
 bus_probe_device+0x131/0x390 drivers/base/bus.c:490
 device_add+0x25b5/0x2df0 drivers/base/core.c:2201
 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+0xd91/0x1f90 drivers/base/dd.c:552
 driver_probe_device+0x1ba/0x510 drivers/base/dd.c:721
 __device_attach_driver+0x5b8/0x790 drivers/base/dd.c:828
 bus_for_each_drv+0x28e/0x3b0 drivers/base/bus.c:430
 __device_attach+0x489/0x750 drivers/base/dd.c:894
 device_initial_probe+0x4a/0x60 drivers/base/dd.c:941
 bus_probe_device+0x131/0x390 drivers/base/bus.c:490
 device_add+0x25b5/0x2df0 drivers/base/core.c:2201
 usb_new_device+0x23e5/0x2fb0 drivers/usb/core/hub.c:2536
 hub_port_connect drivers/usb/core/hub.c:5098 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5213 [inline]
 port_event drivers/usb/core/hub.c:5359 [inline]
 hub_event+0x581d/0x72f0 drivers/usb/core/hub.c:5441
 process_one_work+0x1572/0x1ef0 kernel/workqueue.c:2269
 worker_thread+0x111b/0x2460 kernel/workqueue.c:2415
 kthread+0x4b5/0x4f0 kernel/kthread.c:256
 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355

Local variable description: ----buf@ax88172a_bind
Variable was created at:
 ax88172a_bind+0x66/0xf80 drivers/net/usb/ax88172a.c:186
 ax88172a_bind+0x66/0xf80 drivers/net/usb/ax88172a.c:186
=====================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/10/12 19:31 https://github.com/google/kmsan.git master fa1690255288 426631dd .config console log report syz C ci-upstream-kmsan-gce
2019/10/28 19:14 https://github.com/google/kmsan.git master 96c6c3194b1b 439d7b14 .config console log report ci-upstream-kmsan-gce
2019/10/20 20:54 https://github.com/google/kmsan.git master 3c8ca70889aa 8c88c9c1 .config console log report ci-upstream-kmsan-gce
2019/10/18 02:49 https://github.com/google/kmsan.git master 3c8ca70889aa 8c88c9c1 .config console log report ci-upstream-kmsan-gce
2019/10/12 18:04 https://github.com/google/kmsan.git master fa1690255288 426631dd .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.