syzbot


KMSAN: uninit-value in wq_barrier_func

Status: auto-closed as invalid on 2021/11/07 19:42
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 492d, last: 483d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in wq_barrier_func (2) 1 370d 370d 0/24 auto-closed as invalid on 2022/02/28 22:13

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in complete+0x11d/0x150 kernel/sched/completion.c:34
 complete+0x11d/0x150 kernel/sched/completion.c:34
 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 ----barr@__flush_work created at:
 __flush_work+0x59/0x1020 kernel/workqueue.c:3039
 flush_work+0x44/0x50 kernel/workqueue.c:3074
=====================================================
Kernel panic - not syncing: panic_on_kmsan set ...
CPU: 0 PID: 2943 Comm: kworker/0:2 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
 complete+0x11d/0x150 kernel/sched/completion.c:34
 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 (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2021/08/09 19:35 https://github.com/google/kmsan.git master 0416de4b1964 6972b106 .config log report info KMSAN: uninit-value in wq_barrier_func
ci-upstream-kmsan-gce 2021/08/08 22:13 https://github.com/google/kmsan.git master c64a7f0a1b65 6972b106 .config log report info KMSAN: uninit-value in wq_barrier_func
ci-upstream-kmsan-gce 2021/08/01 09:00 https://github.com/google/kmsan.git master dfab4dc3af38 6c236867 .config log report info KMSAN: uninit-value in wq_barrier_func
* Struck through repros no longer work on HEAD.