syzbot


KMSAN: uninit-value in friio_power_ctrl

Status: auto-obsoleted due to no activity on 2022/09/08 15:23
Reported-by: syzbot+9e6bf7282557bd1fc80d@syzkaller.appspotmail.com
First crash: 1176d, last: 1064d
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/08 10:27 19m https://github.com/google/kmsan.git master OK log
2022/09/08 07:27 21m https://github.com/google/kmsan.git master OK log
2022/09/08 04:27 21m https://github.com/google/kmsan.git master OK log
2020/09/20 16:37 20m anant.thazhemadam@gmail.com https://github.com/google/kmsan.git master OK
2019/08/15 08:25 21m hverkuil@xs4all.nl patch https://github.com/google/kmsan.git master OK
2019/08/15 07:47 21m hverkuil@xs4all.nl patch https://github.com/google/kmsan.git master OK
2019/07/25 04:05 20m c0d1n61at3@gmail.com patch https://github.com/google/kmsan.git master OK

Sample crash report:
==================================================================
BUG: KMSAN: uninit-value in friio_reset drivers/media/usb/dvb-usb-v2/gl861.c:433 [inline]
BUG: KMSAN: uninit-value in friio_power_ctrl+0xb3e/0x1a70 drivers/media/usb/dvb-usb-v2/gl861.c:482
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
 friio_reset drivers/media/usb/dvb-usb-v2/gl861.c:433 [inline]
 friio_power_ctrl+0xb3e/0x1a70 drivers/media/usb/dvb-usb-v2/gl861.c:482
 dvb_usbv2_device_power_ctrl drivers/media/usb/dvb-usb-v2/dvb_usb_core.c:540 [inline]
 dvb_usbv2_init drivers/media/usb/dvb-usb-v2/dvb_usb_core.c:853 [inline]
 dvb_usbv2_probe+0xd3d/0x5dd0 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c:980
 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: ----rbuf.i@friio_power_ctrl
Variable was created at:
 friio_reset drivers/media/usb/dvb-usb-v2/gl861.c:400 [inline]
 friio_power_ctrl+0x92/0x1a70 drivers/media/usb/dvb-usb-v2/gl861.c:482
 dvb_usbv2_device_power_ctrl drivers/media/usb/dvb-usb-v2/dvb_usb_core.c:540 [inline]
 dvb_usbv2_init drivers/media/usb/dvb-usb-v2/dvb_usb_core.c:853 [inline]
 dvb_usbv2_probe+0xd3d/0x5dd0 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c:980
==================================================================

Crashes (38):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2019/08/03 12:30 https://github.com/google/kmsan.git master beaab8a31e0d 6affd8e8 .config log report syz C
ci-upstream-kmsan-gce 2019/08/03 07:33 https://github.com/google/kmsan.git master beaab8a31e0d 6affd8e8 .config log report syz C
ci-upstream-kmsan-gce 2019/07/10 13:59 https://github.com/google/kmsan.git master 4009f3cf8673 f62e1e85 .config log report syz C
ci-upstream-kmsan-gce 2019/10/29 19:46 https://github.com/google/kmsan.git master 96c6c3194b1b 5ea87a66 .config log report
ci-upstream-kmsan-gce 2019/10/29 19:42 https://github.com/google/kmsan.git master 96c6c3194b1b 5ea87a66 .config log report
ci-upstream-kmsan-gce 2019/10/26 20:13 https://github.com/google/kmsan.git master d86c15562d02 25bb509e .config log report
ci-upstream-kmsan-gce 2019/10/26 04:14 https://github.com/google/kmsan.git master d86c15562d02 c2e837da .config log report
ci-upstream-kmsan-gce 2019/10/26 00:31 https://github.com/google/kmsan.git master d86c15562d02 c2e837da .config log report
ci-upstream-kmsan-gce 2019/10/25 02:53 https://github.com/google/kmsan.git master d86c15562d02 d01bb02a .config log report
ci-upstream-kmsan-gce 2019/10/22 18:38 https://github.com/google/kmsan.git master 3c8ca70889aa 5681358a .config log report
ci-upstream-kmsan-gce 2019/10/21 19:57 https://github.com/google/kmsan.git master 3c8ca70889aa b24d2b8a .config log report
ci-upstream-kmsan-gce 2019/10/21 08:02 https://github.com/google/kmsan.git master 3c8ca70889aa 8c88c9c1 .config log report
ci-upstream-kmsan-gce 2019/10/19 22:32 https://github.com/google/kmsan.git master 3c8ca70889aa 8c88c9c1 .config log report
ci-upstream-kmsan-gce 2019/10/19 17:40 https://github.com/google/kmsan.git master 3c8ca70889aa 8c88c9c1 .config log report
ci-upstream-kmsan-gce 2019/10/19 14:41 https://github.com/google/kmsan.git master 3c8ca70889aa 8c88c9c1 .config log report
ci-upstream-kmsan-gce 2019/10/18 21:36 https://github.com/google/kmsan.git master 3c8ca70889aa 8c88c9c1 .config log report
ci-upstream-kmsan-gce 2019/10/18 11:28 https://github.com/google/kmsan.git master 3c8ca70889aa 8c88c9c1 .config log report
ci-upstream-kmsan-gce 2019/10/17 15:53 https://github.com/google/kmsan.git master 18ccb5c7d3f4 8c88c9c1 .config log report
ci-upstream-kmsan-gce 2019/10/16 14:29 https://github.com/google/kmsan.git master c24534505750 d4ea592f .config log report
ci-upstream-kmsan-gce 2019/10/12 21:59 https://github.com/google/kmsan.git master fa1690255288 426631dd .config log report
ci-upstream-kmsan-gce 2019/10/11 09:08 https://github.com/google/kmsan.git master c38191cb7026 1a3bad90 .config log report
ci-upstream-kmsan-gce 2019/10/09 19:01 https://github.com/google/kmsan.git master eff1487c45ce 312c6a5a .config log report
ci-upstream-kmsan-gce 2019/10/09 05:13 https://github.com/google/kmsan.git master cebb918b7474 b1ebbfef .config log report
ci-upstream-kmsan-gce 2019/10/06 17:48 https://github.com/google/kmsan.git master 1e76a3e537c3 f3f7d9c8 .config log report
ci-upstream-kmsan-gce 2019/10/04 21:23 https://github.com/google/kmsan.git master 1e76a3e537c3 f3f7d9c8 .config log report
ci-upstream-kmsan-gce 2019/10/03 10:53 https://github.com/google/kmsan.git master 1e76a3e537c3 fc17ba49 .config log report
ci-upstream-kmsan-gce 2019/09/28 01:27 https://github.com/google/kmsan.git master 9baf75aa4188 d8074e0b .config log report
ci-upstream-kmsan-gce 2019/09/17 03:51 https://github.com/google/kmsan.git master cebbfdbcf2b7 51ca0454 .config log report
ci-upstream-kmsan-gce 2019/08/22 12:19 https://github.com/google/kmsan.git master 61ccdad1fcdf 984250d5 .config log report
ci-upstream-kmsan-gce 2019/08/17 09:31 https://github.com/google/kmsan.git master 61ccdad1fcdf 8fd428a1 .config log report
ci-upstream-kmsan-gce 2019/08/16 04:57 https://github.com/google/kmsan.git master 61ccdad1fcdf 8fd428a1 .config log report
ci-upstream-kmsan-gce 2019/08/12 12:25 https://github.com/google/kmsan.git master 61ccdad1fcdf acb51638 .config log report
ci-upstream-kmsan-gce 2019/08/12 12:10 https://github.com/google/kmsan.git master 61ccdad1fcdf acb51638 .config log report
ci-upstream-kmsan-gce 2019/08/02 00:22 https://github.com/google/kmsan.git master beaab8a31e0d 835dffe7 .config log report
ci-upstream-kmsan-gce 2019/07/24 00:44 https://github.com/google/kmsan.git master beaab8a31e0d de453f34 .config log report
ci-upstream-kmsan-gce 2019/07/24 00:42 https://github.com/google/kmsan.git master beaab8a31e0d de453f34 .config log report
ci-upstream-kmsan-gce 2019/07/10 11:21 https://github.com/google/kmsan.git master 4009f3cf8673 f62e1e85 .config log report
ci-upstream-kmsan-gce 2019/07/10 10:33 https://github.com/google/kmsan.git master 4009f3cf8673 f62e1e85 .config log report
* Struck through repros no longer work on HEAD.