syzbot


KMSAN: uninit-value in schedule_debug

Status: closed as invalid on 2021/09/28 12:42
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 633d, last: 511d

Sample crash report:
as10x_usb: device has been detected
dvbdev: DVB: registering new adapter (Sky IT Digital Key (green led))
usb 1-1: DVB: registering adapter 1 frontend 0 (Sky IT Digital Key (green led))...
=====================================================
BUG: KMSAN: uninit-value in schedule_debug+0xcc/0x1f0 kernel/sched/core.c:4837
CPU: 0 PID: 7 Comm: kworker/0:1 Not tainted 5.11.0-rc7-syzkaller #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:79 [inline]
 dump_stack+0x21c/0x280 lib/dump_stack.c:120
 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118
 __msan_warning+0x5f/0xa0 mm/kmsan/kmsan_instr.c:197
 schedule_debug+0xcc/0x1f0 kernel/sched/core.c:4837
 __schedule+0x67/0x5c0 kernel/sched/core.c:4989
 schedule+0x270/0x330 kernel/sched/core.c:5174
 io_schedule+0xcc/0x160 kernel/sched/core.c:6869
 wait_on_page_bit_common+0x11ab/0x18f0 mm/filemap.c:1277
 wait_on_page_bit_killable mm/filemap.c:1345 [inline]
 wait_on_page_locked_killable include/linux/pagemap.h:681 [inline]
 generic_file_buffered_read_pagenotuptodate+0x4f5/0x1bb0 mm/filemap.c:2259
 generic_file_buffered_read_get_pages+0xf42/0x2120 mm/filemap.c:2405
 generic_file_buffered_read+0x851/0x2160 mm/filemap.c:2485
 generic_file_read_iter+0x1bb/0xcf0 mm/filemap.c:2637
 ext4_file_read_iter+0x8e2/0xd00 fs/ext4/file.c:74
 __kernel_read+0xc2a/0x13e0 fs/read_write.c:454
 integrity_kernel_read+0xfc/0x140 security/integrity/iint.c:191
 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:484 [inline]
 ima_calc_file_shash security/integrity/ima/ima_crypto.c:515 [inline]
 ima_calc_file_hash+0x1ba5/0x40e0 security/integrity/ima/ima_crypto.c:572
 ima_collect_measurement+0x585/0xba0 security/integrity/ima/ima_api.c:250
 process_measurement+0x24f3/0x3770 security/integrity/ima/ima_main.c:330
 ima_file_check+0x131/0x170 security/integrity/ima/ima_main.c:498
 do_open fs/namei.c:3256 [inline]
 path_openat+0x5812/0x6a30 fs/namei.c:3371
 do_file_open_root+0x4c1/0xc30 fs/namei.c:3426
 file_open_root+0x920/0x990 fs/open.c:1152
 kernel_read_file_from_path_initns+0x257/0x430 fs/kernel_read_file.c:163
 fw_get_filesystem_firmware+0x68e/0xf40 drivers/base/firmware_loader/main.c:533
 _request_firmware+0x15f9/0x2170 drivers/base/firmware_loader/main.c:811
 request_firmware+0xc8/0x110 drivers/base/firmware_loader/main.c:875
 as102_fw_upload+0x2a5/0x830 drivers/media/usb/as102/as102_fw.c:180
 as102_dvb_register+0xcc3/0xe00 drivers/media/usb/as102/as102_drv.c:355
 as102_usb_probe+0xad8/0xd60 drivers/media/usb/as102/as102_usb_drv.c:399
 usb_probe_interface+0xfcc/0x1520 drivers/usb/core/driver.c:396
 really_probe+0xe15/0x24d0 drivers/base/dd.c:558
 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740
 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846
 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431
 __device_attach+0x56a/0x890 drivers/base/dd.c:914
 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961
 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491
 device_add+0x2c15/0x31d0 drivers/base/core.c:3109
 usb_set_configuration+0x3872/0x3eb0 drivers/usb/core/message.c:2164
 usb_generic_driver_probe+0x138/0x300 drivers/usb/core/generic.c:238
 usb_probe_device+0x317/0x570 drivers/usb/core/driver.c:293
 really_probe+0xe15/0x24d0 drivers/base/dd.c:558
 driver_probe_device+0x29d/0x3a0 drivers/base/dd.c:740
 __device_attach_driver+0x63f/0x830 drivers/base/dd.c:846
 bus_for_each_drv+0x2c8/0x3f0 drivers/base/bus.c:431
 __device_attach+0x56a/0x890 drivers/base/dd.c:914
 device_initial_probe+0x4a/0x60 drivers/base/dd.c:961
 bus_probe_device+0x17e/0x3d0 drivers/base/bus.c:491
 device_add+0x2c15/0x31d0 drivers/base/core.c:3109
 usb_new_device+0x1bd4/0x2a30 drivers/usb/core/hub.c:2555
 hub_port_connect drivers/usb/core/hub.c:5223 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5363 [inline]
 port_event drivers/usb/core/hub.c:5509 [inline]
 hub_event+0x5b99/0x8870 drivers/usb/core/hub.c:5591
 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2275
 worker_thread+0x10ec/0x2340 kernel/workqueue.c:2421
 kthread+0x521/0x560 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

Local variable ----wait@mempool_alloc created at:
 mempool_alloc+0x66/0x990 mm/mempool.c:377
 mempool_alloc+0x66/0x990 mm/mempool.c:377
=====================================================

Crashes (73):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2021/03/14 23:21 https://github.com/google/kmsan.git master 29ad81a1074a cc1cff8f .config log report syz C KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/04/09 00:50 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/04/08 09:30 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/04/07 14:54 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/04/07 10:14 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/04/07 09:11 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/04/07 03:00 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/04/06 17:26 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/04/06 08:45 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/04/05 08:02 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/04/05 04:21 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/04/03 05:06 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/04/01 13:46 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/29 16:51 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/29 06:42 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/29 03:19 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/29 03:12 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/29 03:12 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/27 14:59 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/27 14:40 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/26 23:59 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/26 21:26 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/25 10:16 https://github.com/google/kmsan.git master 29ad81a1074a 607e3baf .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/25 09:54 https://github.com/google/kmsan.git master 29ad81a1074a 607e3baf .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/25 09:10 https://github.com/google/kmsan.git master 29ad81a1074a 607e3baf .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/25 08:23 https://github.com/google/kmsan.git master 29ad81a1074a 607e3baf .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/23 13:56 https://github.com/google/kmsan.git master 29ad81a1074a 8092f30d .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/23 13:39 https://github.com/google/kmsan.git master 29ad81a1074a 8092f30d .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/23 13:35 https://github.com/google/kmsan.git master 29ad81a1074a 8092f30d .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/23 07:57 https://github.com/google/kmsan.git master 29ad81a1074a 8092f30d .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/23 07:54 https://github.com/google/kmsan.git master 29ad81a1074a 8092f30d .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/23 07:42 https://github.com/google/kmsan.git master 29ad81a1074a 8092f30d .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/23 01:59 https://github.com/google/kmsan.git master 29ad81a1074a 8092f30d .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/23 01:16 https://github.com/google/kmsan.git master 29ad81a1074a 8092f30d .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/23 01:08 https://github.com/google/kmsan.git master 29ad81a1074a 8092f30d .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/21 16:38 https://github.com/google/kmsan.git master 29ad81a1074a 17810eae .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/21 16:08 https://github.com/google/kmsan.git master 29ad81a1074a 17810eae .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/21 15:55 https://github.com/google/kmsan.git master 29ad81a1074a 17810eae .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/21 15:40 https://github.com/google/kmsan.git master 29ad81a1074a 17810eae .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/15 05:45 https://github.com/google/kmsan.git master 29ad81a1074a cc1cff8f .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce 2021/03/14 22:40 https://github.com/google/kmsan.git master 29ad81a1074a cc1cff8f .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/07/14 11:26 https://github.com/google/kmsan.git master 57b5797c8013 484502bd .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/04/08 02:38 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/04/07 01:20 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/04/06 20:29 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/04/02 08:32 https://github.com/google/kmsan.git master 29ad81a1074a 6a81331a .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/03/29 04:24 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/03/29 04:24 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/03/29 03:17 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/03/27 14:46 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/03/27 14:30 https://github.com/google/kmsan.git master 29ad81a1074a a8529b82 .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/03/25 09:22 https://github.com/google/kmsan.git master 29ad81a1074a 607e3baf .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/03/25 08:48 https://github.com/google/kmsan.git master 29ad81a1074a 607e3baf .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/03/23 13:39 https://github.com/google/kmsan.git master 29ad81a1074a 8092f30d .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/03/23 13:27 https://github.com/google/kmsan.git master 29ad81a1074a 8092f30d .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/03/23 08:05 https://github.com/google/kmsan.git master 29ad81a1074a 8092f30d .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/03/23 07:57 https://github.com/google/kmsan.git master 29ad81a1074a 8092f30d .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/03/21 15:54 https://github.com/google/kmsan.git master 29ad81a1074a 17810eae .config log report info KMSAN: uninit-value in schedule_debug
ci-upstream-kmsan-gce-386 2021/03/15 04:56 https://github.com/google/kmsan.git master 29ad81a1074a cc1cff8f .config log report info KMSAN: uninit-value in schedule_debug
* Struck through repros no longer work on HEAD.