syzbot


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

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

Sample crash report:
panic: IPI scoreboard is zero, initiator 0 target 0
cpuid = 0
time = 1
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xffffffff82f49520
vpanic() at vpanic+0x1c7/frame 0xffffffff82f49580
panic() at panic+0x43/frame 0xffffffff82f495e0
smp_targeted_tlb_shootdown() at smp_targeted_tlb_shootdown+0x75f/frame 0xffffffff82f49680
pmap_invalidate_range() at pmap_invalidate_range+0x1ce/frame 0xffffffff82f49700
vm_thread_stack_create() at vm_thread_stack_create+0x56/frame 0xffffffff82f49850
kstack_import() at kstack_import+0x7e/frame 0xffffffff82f49890
cache_alloc() at cache_alloc+0x687/frame 0xffffffff82f49920
cache_alloc_retry() at cache_alloc_retry+0x33/frame 0xffffffff82f49970
vm_thread_new() at vm_thread_new+0x73/frame 0xffffffff82f499b0
thread_alloc() at thread_alloc+0x66/frame 0xffffffff82f499f0
fork1() at fork1+0x443/frame 0xffffffff82f49ac0
kproc_create() at kproc_create+0x9b/frame 0xffffffff82f49ba0
seq_modevent() at seq_modevent+0x9a3/frame 0xffffffff82f49c00
module_register_init() at module_register_init+0xd7/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 (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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 ci-freebsd-i386
2021/01/12 04:40 freebsd-src ff1a30780199 2c1f2513 console log report ci-freebsd-i386
* Struck through repros no longer work on HEAD.