kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Thu Jan 30 20:48:36 PST 2020 OpenBSD/amd64 (ci-openbsd-multicore-1.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.0.12' (ECDSA) to the list of known hosts. 2020/01/30 20:49:30 parsed 1 programs 2020/01/30 20:49:34 executed programs: 0 login: panic: sbdrop Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 169690 53905 0 0x14000 0x200 0 reaper *228890 57100 0 0x14000 0x200 1 softnet db_enter() at db_enter+0x18 panic(ffffffff821eee94) at panic+0x15c sbdrop(fffffd806eaf3c88,fffffd806eaf3d80,54) at sbdrop+0x3c6 tcp_input(ffff800020a4f5a8,ffff800020a4f5b4,6,2) at tcp_input+0x3d73 ip_deliver(ffff800020a4f5a8,ffff800020a4f5b4,6,2) at ip_deliver+0x353 ip_ours(ffff800020a4f5a8,ffff800020a4f5b4,8b,0) at ip_ours+0x412 ip_input_if(ffff800020a4f5a8,ffff800020a4f5b4,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd806f171100) at ipv4_input+0x48 ether_input(ffff80000017b2a8,fffffd806f171100,0) at ether_input+0x345 if_input_process(ffff80000017b2a8,ffff800020a4f6d8) 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic sbdrop ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff821eee94) at panic+0x15c sbdrop(fffffd806eaf3c88,fffffd806eaf3d80,54) at sbdrop+0x3c6 tcp_input(ffff800020a4f5a8,ffff800020a4f5b4,6,2) at tcp_input+0x3d73 ip_deliver(ffff800020a4f5a8,ffff800020a4f5b4,6,2) at ip_deliver+0x353 ip_ours(ffff800020a4f5a8,ffff800020a4f5b4,8b,0) at ip_ours+0x412 ip_input_if(ffff800020a4f5a8,ffff800020a4f5b4,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd806f171100) at ipv4_input+0x48 ether_input(ffff80000017b2a8,fffffd806f171100,0) at ether_input+0x345 if_input_process(ffff80000017b2a8,ffff800020a4f6d8) 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{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a4f130 rbx 0xffff800020a4f1e0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff81d5b7df kprintf+0x16f r9 0x1 r10 0x8f50b4e383b9a7a4 r11 0x6d8bd52e31413f00 r12 0x3000000008 r13 0xffff800020a4f140 r14 0x100 r15 0x1 rip 0xffffffff815becf8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a4f120 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (softnet) pid=228890 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a28270,0xffff800020a28760 process=0xffff800020a2af00 user=0xffff800020a4a000, vmspace=0xffffffff8264a5d8 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 57506 472177 58164 0 3 0x82 nanosleep syz-executor.0 58164 458324 40649 0 3 0x82 thrsleep syz-execprog 58164 248282 40649 0 3 0x4000082 nanosleep syz-execprog 58164 355503 40649 0 3 0x4000082 thrsleep syz-execprog 58164 437115 40649 0 3 0x4000082 thrsleep syz-execprog 58164 413100 40649 0 3 0x4000082 thrsleep syz-execprog 58164 145947 40649 0 3 0x4000082 thrsleep syz-execprog 58164 304938 40649 0 3 0x4000082 thrsleep syz-execprog 58164 323262 40649 0 3 0x4000082 nanosleep syz-execprog 58164 8116 40649 0 3 0x4000082 kqread syz-execprog 40649 465777 98214 0 3 0x10008a pause ksh 98214 445050 45815 0 3 0x92 select sshd 4343 151695 1 0 3 0x100083 ttyin getty 45815 271028 1 0 3 0x80 select sshd 64454 134203 65564 74 3 0x100092 bpf pflogd 65564 234898 1 0 3 0x80 netio pflogd 63307 331790 81350 73 3 0x100090 kqread syslogd 81350 354178 1 0 3 0x100082 netio syslogd 39345 265265 1 77 3 0x100090 poll dhclient 96066 247541 1 0 3 0x80 poll dhclient 22197 285732 0 0 2 0x14200 zerothread 6889 324536 0 0 3 0x14200 aiodoned aiodoned 93736 404323 0 0 3 0x14200 syncer update 20779 30670 0 0 3 0x14200 cleaner cleaner 53905 169690 0 0 7 0x14200 reaper 9672 39707 0 0 3 0x14200 pgdaemon pagedaemon 33530 169044 0 0 3 0x14200 bored crynlk 52386 154190 0 0 3 0x14200 bored crypto 90881 219151 0 0 3 0x40014200 acpi0 acpi0 94644 431713 0 0 3 0x40014200 idle1 *57100 228890 0 0 7 0x14200 softnet 683 242218 0 0 3 0x14200 bored systqmp 80480 64416 0 0 3 0x14200 bored systq 23341 225026 0 0 3 0x40014200 bored softclock 86571 193622 0 0 3 0x40014200 idle0 84199 158616 0 0 3 0x14200 bored smr 1 14233 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 0 (0xffffffff8264fd30) #0 witness_lock+0x52e #1 wakeup_n+0x37 #2 uvm_pmr_freepages+0x31d #3 pmap_do_remove+0x68b #4 uvm_map_teardown+0x195 #5 uvmspace_free+0x86 #6 uvm_exit+0x29 #7 reaper+0x189 #8 proc_trampoline+0x1c exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff826255e8) #0 witness_lock+0x52e #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b #3 uvm_pmr_freepages+0x126 #4 pmap_do_remove+0x68b #5 uvm_map_teardown+0x195 #6 uvmspace_free+0x86 #7 uvm_exit+0x29 #8 reaper+0x189 #9 proc_trampoline+0x1c Process 57100 (softnet) thread 0xffff800020a284e0 (228890) shared rwlock netlock r = 0 (0xffffffff82460e68) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9465 6395K 6395K 78643K 10556 0 pcb 13 8K 8K 78643K 13 0 rtable 83 2K 2K 78643K 163 0 ifaddr 37 9K 9K 78643K 40 0 counters 41 33K 33K 78643K 41 0 ioctlops 0 0K 4K 78643K 1468 0 mount 1 1K 1K 78643K 1 0 vnodes 1181 74K 74K 78643K 1186 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 19 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 80 12K 12K 78643K 975 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 7 0K 0K 78643K 7 0 temp 29 3005K 3069K 78643K 1938 0 kqueue 3 4K 4K 78643K 3 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 4 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 17 0 15 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 120 29 0 19 1 0 1 1 0 8 0 syncache 264 5 0 5 2 1 1 1 0 8 1 tcpcb 544 8 0 5 1 0 1 1 0 8 0 inpcb 280 37 0 31 1 0 1 1 0 8 0 nd6 48 2 0 0 1 0 1 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 11 0 2 1 0 1 1 0 8 0 pfstkey 112 11 0 2 1 0 1 1 0 8 0 pfstate 328 11 0 2 1 0 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 166 0 0 11 0 11 11 0 8 0 art_table 32 167 0 0 2 0 2 2 0 8 0 art_node 16 33 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1425 0 21 46 0 46 46 0 8 0 ffsino 272 1425 0 21 94 0 94 94 0 8 0 nchpl 144 1652 0 41 60 0 60 60 0 8 0 uvmvnodes 72 1435 0 0 27 0 27 27 0 8 0 vnodes 208 1435 0 0 76 0 76 76 0 8 0 namei 1024 4160 0 4160 2 1 1 1 0 8 1 percpumem 16 31 0 0 1 0 1 1 0 8 0 scxspl 192 4657 0 4657 9 8 1 7 0 8 1 plimitpl 152 15 0 8 1 0 1 1 0 8 0 sigapl 432 226 0 213 2 0 2 2 0 8 0 futexpl 56 15 0 15 1 0 1 1 0 8 1 knotepl 112 39 0 28 1 0 1 1 0 8 0 kqueuepl 104 2 0 0 1 0 1 1 0 8 0 pipelkpl 48 74 0 67 2 1 1 1 0 8 0 pipepl 120 148 0 135 2 1 1 1 0 8 0 fdescpl 496 227 0 213 3 0 3 3 0 8 0 filepl 152 1140 0 1082 3 0 3 3 0 8 0 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 52 0 43 1 0 1 1 0 8 0 zombiepl 144 213 0 212 2 1 1 1 0 8 0 processpl 960 242 0 212 5 0 5 5 0 8 1 procpl 624 254 0 216 4 0 4 4 0 8 0 sockpl 400 83 0 65 3 0 3 3 0 8 1 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 56 0 0 7 0 7 7 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 92 0 0 5 0 5 5 0 8 0 bufpl 280 3806 0 188 259 0 259 259 0 8 0 anonpl 16 22481 0 20862 14 1 13 13 0 125 6 amapchunkpl 152 804 0 737 5 0 5 5 0 158 1 amappl16 192 91 0 64 2 0 2 2 0 8 0 amappl15 184 59 0 56 1 0 1 1 0 8 0 amappl14 176 27 0 24 2 1 1 1 0 8 0 amappl12 160 10 0 7 2 1 1 1 0 8 0 amappl11 152 48 0 33 1 0 1 1 0 8 0 amappl10 144 9 0 7 1 0 1 1 0 8 0 amappl9 136 438 0 435 1 0 1 1 0 8 0 amappl8 128 94 0 83 1 0 1 1 0 8 0 amappl7 120 99 0 88 1 0 1 1 0 8 0 amappl6 112 56 0 52 1 0 1 1 0 8 0 amappl5 104 126 0 111 1 0 1 1 0 8 0 amappl4 96 498 0 470 1 0 1 1 0 8 0 amappl3 88 123 0 116 1 0 1 1 0 8 0 amappl2 80 946 0 879 3 0 3 3 0 8 0 amappl1 72 15374 0 14944 26 8 18 21 0 8 8 amappl 80 479 0 451 1 0 1 1 0 84 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 64 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 227 0 213 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 227 0 213 1 0 1 1 0 8 0 vmmpekpl 168 6258 0 6232 2 0 2 2 0 8 0 vmmpepl 168 33367 0 32409 94 12 82 82 0 357 38 vmsppl 368 226 0 213 2 0 2 2 0 8 0 pdppl 4096 461 0 426 6 0 6 6 0 8 1 pvpl 32 112646 0 108614 118 2 116 116 0 265 81 pmappl 232 226 0 213 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 144 0 4 4 0 4 4 0 8 0 ddb{1}>