syzbot


KMSAN: uninit-value in swake_up_locked

Status: auto-closed as invalid on 2021/11/21 11:48
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 476d, last: 466d

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in __list_del_entry_valid+0x403/0x410 lib/list_debug.c:54
 __list_del_entry_valid+0x403/0x410 lib/list_debug.c:54
 __list_del_entry include/linux/list.h:132 [inline]
 list_del_init include/linux/list.h:204 [inline]
 swake_up_locked+0xc7/0x2f0 kernel/sched/swait.c:31
 complete+0xcf/0x150 kernel/sched/completion.c:36
 wq_barrier_func+0x3b/0x50 kernel/workqueue.c:2630
 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2276
 process_scheduled_works kernel/workqueue.c:2338 [inline]
 worker_thread+0x18bc/0x2340 kernel/workqueue.c:2427
 kthread+0x521/0x560 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Local variable ----ue.sroa.0.i.i@enqueue_task_fair created at:
 _task_util_est kernel/sched/fair.c:3954 [inline]
 util_est_enqueue kernel/sched/fair.c:3988 [inline]
 enqueue_task_fair+0x133/0x2e00 kernel/sched/fair.c:5582
 enqueue_task kernel/sched/core.c:1609 [inline]
 activate_task+0x1ae/0x4f0 kernel/sched/core.c:1628
=====================================================
Kernel panic - not syncing: panic_on_kmsan set ...
CPU: 0 PID: 8446 Comm: kworker/0:3 Tainted: G    B             5.13.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: mm_percpu_wq wq_barrier_func
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x24c/0x2e0 lib/dump_stack.c:120
 panic+0x4c6/0xea7 kernel/panic.c:231
 kmsan_report+0x2fa/0x300 mm/kmsan/report.c:179
 __msan_warning+0xd7/0x150 mm/kmsan/instrumentation.c:205
 __list_del_entry_valid+0x403/0x410 lib/list_debug.c:54
 __list_del_entry include/linux/list.h:132 [inline]
 list_del_init include/linux/list.h:204 [inline]
 swake_up_locked+0xc7/0x2f0 kernel/sched/swait.c:31
 complete+0xcf/0x150 kernel/sched/completion.c:36
 wq_barrier_func+0x3b/0x50 kernel/workqueue.c:2630
 process_one_work+0x1219/0x1fe0 kernel/workqueue.c:2276
 process_scheduled_works kernel/workqueue.c:2338 [inline]
 worker_thread+0x18bc/0x2340 kernel/workqueue.c:2427
 kthread+0x521/0x560 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2021/08/23 11:41 https://github.com/google/kmsan.git master 40b1d724c752 b599f2fc .config log report info KMSAN: uninit-value in swake_up_locked
ci-upstream-kmsan-gce 2021/08/13 15:36 https://github.com/google/kmsan.git master 40b1d724c752 3fd2ea69 .config log report info KMSAN: uninit-value in swake_up_locked
* Struck through repros no longer work on HEAD.