syzbot


freebsd boot error: panic: IPI scoreboard is zero, initiator 1 target 1

Status: fixed on 2021/01/12 17:48
Reported-by: syzbot+77d76784dcdcde69606a@syzkaller.appspotmail.com
Fix commit: 44121a0fbee0 amd64: fix tlb shootdown when all cpus are passed in the bitmap
First crash: 756d, last: 756d

Sample crash report:
panic: IPI scoreboard is zero, initiator 1 target 1
cpuid = 1
time = 1
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xffffffff82f49420
vpanic() at vpanic+0x1c7/frame 0xffffffff82f49480
panic() at panic+0x43/frame 0xffffffff82f494e0
smp_targeted_tlb_shootdown() at smp_targeted_tlb_shootdown+0x75f/frame 0xffffffff82f49580
pmap_invalidate_range() at pmap_invalidate_range+0x1ce/frame 0xffffffff82f49600
vm_thread_stack_create() at vm_thread_stack_create+0x56/frame 0xffffffff82f49750
kstack_import() at kstack_import+0x7e/frame 0xffffffff82f49790
cache_alloc() at cache_alloc+0x687/frame 0xffffffff82f49820
cache_alloc_retry() at cache_alloc_retry+0x33/frame 0xffffffff82f49870
vm_thread_new() at vm_thread_new+0x73/frame 0xffffffff82f498b0
thread_alloc() at thread_alloc+0x66/frame 0xffffffff82f498f0
fork1() at fork1+0x443/frame 0xffffffff82f499c0
kproc_create() at kproc_create+0x9b/frame 0xffffffff82f49aa0
kproc_kthread_add() at kproc_kthread_add+0xf5/frame 0xffffffff82f49bc0
ktls_init() at ktls_init+0x2a2/frame 0xffffffff82f49c40
mi_startup() at mi_startup+0x3ac/frame 0xffffffff82f49cb0
btext() at btext+0x2c
KDB: enter: panic
[ thread pid 0 tid 100000 ]
Stopped at      kdb_enter+0x67: movq    $0,0x145901e(%rip)
db> 

Crashes (9):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-freebsd-main 2021/01/12 08:51 freebsd-src 9402bb44f137 2c1f2513 console log report
ci-freebsd-main 2021/01/12 08:51 freebsd-src 9402bb44f137 2c1f2513 console log report
ci-freebsd-main 2021/01/12 08:51 freebsd-src 9402bb44f137 2c1f2513 console log report
ci-freebsd-main 2021/01/12 05:19 freebsd-src ff1a30780199 2c1f2513 console log report
ci-freebsd-main 2021/01/12 05:19 freebsd-src ff1a30780199 2c1f2513 console log report
ci-freebsd-main 2021/01/12 05:19 freebsd-src ff1a30780199 2c1f2513 console log report
ci-freebsd-i386 2021/01/12 08:11 freebsd-src 9402bb44f137 2c1f2513 console log report
ci-freebsd-i386 2021/01/12 08:11 freebsd-src 9402bb44f137 2c1f2513 console log report
ci-freebsd-i386 2021/01/12 04:40 freebsd-src ff1a30780199 2c1f2513 console log report
* Struck through repros no longer work on HEAD.