syzbot


KMSAN: uninit-value in __kthread_should_park

Status: auto-closed as invalid on 2022/03/10 09:44
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 361d, last: 361d

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in constant_test_bit arch/x86/include/asm/bitops.h:207 [inline]
BUG: KMSAN: uninit-value in test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline]
BUG: KMSAN: uninit-value in __kthread_should_park+0x170/0x180 kernel/kthread.c:142
 constant_test_bit arch/x86/include/asm/bitops.h:207 [inline]
 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline]
 __kthread_should_park+0x170/0x180 kernel/kthread.c:142
 ksoftirqd_running kernel/softirq.c:95 [inline]
 invoke_softirq+0x8d/0x130 kernel/softirq.c:422
 __irq_exit_rcu kernel/softirq.c:636 [inline]
 irq_exit_rcu+0x76/0x130 kernel/softirq.c:648
 sysvec_apic_timer_interrupt+0xa2/0xc0 arch/x86/kernel/apic/apic.c:1097
 asm_sysvec_apic_timer_interrupt+0x12/0x20
 kmsan_internal_is_module_addr+0x0/0x20 mm/kmsan/core.c:426
 kmsan_get_shadow_origin_ptr+0x86/0xf0 mm/kmsan/shadow.c:134
 get_shadow_origin_ptr mm/kmsan/instrumentation.c:30 [inline]
 __msan_metadata_ptr_for_load_4+0x20/0x30 mm/kmsan/instrumentation.c:65
 smp_call_function_many_cond+0x1133/0x12a0 kernel/smp.c:969
 on_each_cpu_cond_mask+0xfe/0x160 kernel/smp.c:1135
 on_each_cpu include/linux/smp.h:71 [inline]
 flush_tlb_kernel_range+0x2d5/0x400 arch/x86/mm/tlb.c:1060
 kmsan_vmap_pages_range_noflush+0x2df/0x3a0 mm/kmsan/shadow.c:311
 vmap_pages_range_noflush+0xfb/0x180 mm/vmalloc.c:615
 __pcpu_map_pages mm/percpu-vm.c:196 [inline]
 pcpu_map_pages mm/percpu-vm.c:221 [inline]
 pcpu_populate_chunk+0xa8e/0x1e40 mm/percpu-vm.c:288
 pcpu_balance_populated mm/percpu.c:2092 [inline]
 pcpu_balance_workfn+0x1a1c/0x1f80 mm/percpu.c:2248
 process_one_work+0xdc2/0x1820 kernel/workqueue.c:2298
 worker_thread+0x10f1/0x2290 kernel/workqueue.c:2445
 kthread+0x721/0x850 kernel/kthread.c:327
 ret_from_fork+0x1f/0x30

Local variable flags.i.i.i created at:
 arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline]
 acpi_os_acquire_object include/acpi/platform/aclinuxex.h:68 [inline]
 acpi_ut_create_generic_state+0x66/0x1b1 drivers/acpi/acpica/utstate.c:90
 acpi_ps_push_scope+0x75/0x3a0 drivers/acpi/acpica/psscope.c:119

CPU: 1 PID: 2845 Comm: kworker/1:3 Not tainted 5.16.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events pcpu_balance_workfn

=====================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce-386 2021/12/10 09:38 https://github.com/google/kmsan.git master 8b936c96768e 4d4ce9bc .config log report info KMSAN: uninit-value in __kthread_should_park
* Struck through repros no longer work on HEAD.