kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Tue Feb 25 12:20:08 PST 2020 OpenBSD/amd64 (ci-openbsd-multicore-2.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.0.85' (ECDSA) to the list of known hosts. 2020/02/25 12:20:21 parsed 1 programs 2020/02/25 12:20:28 executed programs: 0 2020/02/25 12:20:33 executed programs: 235 login: panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *364059 21580 0 0x14000 0x200 0 softnet db_enter() at db_enter+0x18 panic(ffffffff8220d25f) at panic+0x15c sbdrop(fffffd806eb6f7d8,fffffd806eb6f8d0,54) at sbdrop+0x3c6 tcp_input(ffff800020a4f7c8,ffff800020a4f7d4,6,2) at tcp_input+0x3d73 ip_deliver(ffff800020a4f7c8,ffff800020a4f7d4,6,2) at ip_deliver+0x353 ip_ours(ffff800020a4f7c8,ffff800020a4f7d4,8b,0) at ip_ours+0x412 ip_input_if(ffff800020a4f7c8,ffff800020a4f7d4,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd807f01e200) at ipv4_input+0x48 ether_input(ffff80000017b2a8,fffffd807f01e200,0) at ether_input+0x345 if_input_process(ffff80000017b2a8,ffff800020a4f8f8) at if_input_process+0xfb ifiq_process(ffff80000017b6a0) at ifiq_process+0x80 taskq_thread(ffff80000002b080) at taskq_thread+0x9c end trace frame: 0x0, count: 3 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic sbdrop ddb{0}> trace db_enter() at db_enter+0x18 panic(ffffffff8220d25f) at panic+0x15c sbdrop(fffffd806eb6f7d8,fffffd806eb6f8d0,54) at sbdrop+0x3c6 tcp_input(ffff800020a4f7c8,ffff800020a4f7d4,6,2) at tcp_input+0x3d73 ip_deliver(ffff800020a4f7c8,ffff800020a4f7d4,6,2) at ip_deliver+0x353 ip_ours(ffff800020a4f7c8,ffff800020a4f7d4,8b,0) at ip_ours+0x412 ip_input_if(ffff800020a4f7c8,ffff800020a4f7d4,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd807f01e200) at ipv4_input+0x48 ether_input(ffff80000017b2a8,fffffd807f01e200,0) at ether_input+0x345 if_input_process(ffff80000017b2a8,ffff800020a4f8f8) at if_input_process+0xfb ifiq_process(ffff80000017b6a0) at ifiq_process+0x80 taskq_thread(ffff80000002b080) at taskq_thread+0x9c end trace frame: 0x0, count: -12 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a4f350 rbx 0xffff800020a4f400 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff8111e7ff kprintf+0x16f r9 0x1 r10 0x3b833d04d0eff1ab r11 0x6abf1a295a2dad12 r12 0x3000000008 r13 0xffff800020a4f360 r14 0x100 r15 0x1 rip 0xffffffff814a4098 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a4f340 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (softnet) pid=364059 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a28c30,0xffff800020a284f0 process=0xffff800020a2b680 user=0xffff800020a4a000, vmspace=0xffffffff82640af0 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 76032 241067 18332 0 3 0x82 nanosleep syz-executor.0 18332 223017 69056 0 3 0x82 thrsleep syz-execprog 18332 49120 69056 0 3 0x4000082 nanosleep syz-execprog 18332 92399 69056 0 3 0x4000082 thrsleep syz-execprog 18332 224567 69056 0 3 0x4000082 thrsleep syz-execprog 18332 479785 69056 0 3 0x4000082 thrsleep syz-execprog 18332 115664 69056 0 3 0x4000082 nanosleep syz-execprog 18332 321560 69056 0 3 0x4000082 thrsleep syz-execprog 18332 41682 69056 0 3 0x4000082 thrsleep syz-execprog 18332 467659 69056 0 3 0x4000082 kqread syz-execprog 69056 520115 54536 0 3 0x10008a pause ksh 54536 351470 66199 0 3 0x92 select sshd 60023 369318 1 0 3 0x100083 ttyin getty 66199 114450 1 0 3 0x80 select sshd 38320 174269 5977 74 3 0x100092 bpf pflogd 5977 341298 1 0 3 0x80 netio pflogd 33007 223760 48655 73 3 0x100090 kqread syslogd 48655 216062 1 0 3 0x100082 netio syslogd 10344 236948 1 77 3 0x100090 poll dhclient 18727 108261 1 0 3 0x80 poll dhclient 21619 213070 0 0 3 0x14200 pgzero zerothread 77223 461956 0 0 3 0x14200 aiodoned aiodoned 25931 414357 0 0 3 0x14200 syncer update 16607 508991 0 0 3 0x14200 cleaner cleaner 16000 203598 0 0 3 0x14200 reaper reaper 48437 187187 0 0 3 0x14200 pgdaemon pagedaemon 71634 331154 0 0 3 0x14200 bored crynlk 13489 128148 0 0 3 0x14200 bored crypto 30987 290289 0 0 3 0x40014200 acpi0 acpi0 4021 77457 0 0 7 0x40014200 idle1 *21580 364059 0 0 7 0x14200 softnet 67102 364956 0 0 3 0x14200 bored systqmp 41664 453180 0 0 3 0x14200 bored systq 87785 414428 0 0 3 0x40014200 bored softclock 51686 510858 0 0 3 0x40014200 idle0 14169 161268 0 0 3 0x14200 bored smr 1 291895 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 21580 (softnet) thread 0xffff800020a28750 (364059) shared rwlock netlock r = 0 (0xffffffff82495588) #0 witness_lock+0x52e #1 if_input_process+0x84 #2 ifiq_process+0x80 #3 taskq_thread+0x9c #4 proc_trampoline+0x1c shared rwlock softnet r = 0 (0xffff80000002b0e0) #0 witness_lock+0x52e #1 taskq_thread+0x8f #2 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9466 6395K 6395K 78643K 10557 0 pcb 13 8K 8K 78643K 13 0 rtable 83 2K 2K 78643K 163 0 ifaddr 37 9K 9K 78643K 282 0 counters 41 33K 33K 78643K 41 0 ioctlops 0 0K 4K 78643K 1468 0 mount 1 1K 1K 78643K 1 0 vnodes 1183 74K 75K 78643K 1188 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 2 4K 12K 78643K 261 0 proc 59 63K 83K 78643K 398 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 22 1K 1K 78643K 22 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 19 95K 95K 78643K 19 0 exec 0 0K 1K 78643K 197 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 75 12K 12K 78643K 1196 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 5 0K 0K 78643K 7 0 temp 29 3009K 3073K 78643K 2399 0 kqueue 3 4K 4K 78643K 3 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}>