Warning: Permanently added '10.128.0.243' (ECDSA) to the list of known hosts. 2019/08/20 00:49:55 parsed 1 programs 2019/08/20 00:49:56 executed programs: 0 vn_write: 0xfffffd8068969cf8, type VBAD, use 1, write 1, hold 0, 2019/08/20 00:50:01 executed programs: 336 vn_write: 0xfffffd806918e038, type VBAD, use 1, write 1, hold 0, 2019/08/20 00:50:06 executed programs: 735 2019/08/20 00:50:11 executed programs: 1135 vn_write: 0xfffffd80680e8bd0, type VBAD, use 1, write 1, hold 0, 2019/08/20 00:50:16 executed programs: 1509 2019/08/20 00:50:21 executed programs: 1902 2019/08/20 00:50:26 executed programs: 2302 vn_write: 0xfffffd807e999c50, type VBAD, use 1, write 1, hold 0, 2019/08/20 00:50:31 executed programs: 2675 vn_write: 0xfffffd806b5b14a0, type VBAD, use 1, write 1, hold 0, vn_write: 0xfffffd806b5b10b8, type VBAD, use 1, write 1, hold 0, 2019/08/20 00:50:36 executed programs: 3057 2019/08/20 00:50:41 executed programs: 3434 vn_write: 0xfffffd806b5b1950, type VBAD, use 1, write 1, hold 0, 2019/08/20 00:50:46 executed programs: 3838 vn_write: 0xfffffd806b5b1630, type VBAD, use 1, write 1, hold 0, vn_write: 0xfffffd807e999c50, type VBAD, use 1, write 1, hold 0, 2019/08/20 00:50:51 executed programs: 4216 2019/08/20 00:50:56 executed programs: 4595 2019/08/20 00:51:01 executed programs: 5022 2019/08/20 00:51:06 executed programs: 5412 2019/08/20 00:51:11 executed programs: 5791 2019/08/20 00:51:16 executed programs: 6215 2019/08/20 00:51:21 executed programs: 6590 2019/08/20 00:51:26 executed programs: 6986 2019/08/20 00:51:31 executed programs: 7406 2019/08/20 00:51:36 executed programs: 7796 2019/08/20 00:51:41 executed programs: 8214 2019/08/20 00:51:46 executed programs: 8620 2019/08/20 00:51:51 executed programs: 8945 vn_write: 0xfffffd8069160230, type VBAD, use 1, write 1, hold 0, 2019/08/20 00:51:56 executed programs: 9209 2019/08/20 00:52:01 executed programs: 9547 2019/08/20 00:52:06 executed programs: 9943 2019/08/20 00:52:11 executed programs: 10370 2019/08/20 00:52:16 executed programs: 10757 vn_write: 0xfffffd806b5b10b8, type VBAD, use 1, write 1, hold 0, 2019/08/20 00:52:21 executed programs: 11125 vn_write: 0xfffffd8069160230, type VBAD, use 1, write 1, hold 0, 2019/08/20 00:52:26 executed programs: 11517 2019/08/20 00:52:31 executed programs: 11932 2019/08/20 00:52:36 executed programs: 12323 2019/08/20 00:52:41 executed programs: 12715 2019/08/20 00:52:46 executed programs: 13111 2019/08/20 00:52:51 executed programs: 13469 2019/08/20 00:52:56 executed programs: 13845 vn_write: 0xfffffd806b5b1950, type VBAD, use 1, write 1, hold 0, 2019/08/20 00:53:01 executed programs: 14248 2019/08/20 00:53:06 executed programs: 14637 2019/08/20 00:53:11 executed programs: 15027 vn_write: 0xfffffd806b5b1630, type VBAD, use 1, write 1, hold 0, 2019/08/20 00:53:16 executed programs: 15407 2019/08/20 00:53:21 executed programs: 15820 2019/08/20 00:53:26 executed programs: 16216 2019/08/20 00:53:31 executed programs: 16599 2019/08/20 00:53:36 executed programs: 16947 vn_write: 0xfffffd806b5b1950, type VBAD, use 1, write 1, hold 0, witness: userret: returning with the following locks held: exclusive rrwlock inode r = 0 (0xfffffd806987e3d8) #0 witness_lock+0x52e #1 rw_enter+0x46d #2 rrw_enter+0x4f #3 VOP_LOCK+0x4b #4 vn_write+0x169 #5 dofilewritev+0x1ac #6 sys_write+0x83 #7 syscall+0x552 #8 Xsyscall+0x128 panic: witness_warn Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 141144 69832 0 0 0 0 syz-executor1 *111339 68947 0 0 0x4000000 1 syz-executor0 db_enter() at db_enter+0x18 panic() at panic+0x15c witness_warn(2,0,ffffffff82209915) at witness_warn+0x69e userret(ffff800020ab0020) at userret+0x36a syscall(ffff800020b958a0) at syscall+0x44a Xsyscall(6,5,c,0,3,9d90b92a0d8) at Xsyscall+0x128 end of kernel end trace frame: 0x9db2bf433b0, count: 9 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 witness_warn ddb{1}> trace db_enter() at db_enter+0x18 panic() at panic+0x15c witness_warn(2,0,ffffffff82209915) at witness_warn+0x69e userret(ffff800020ab0020) at userret+0x36a syscall(ffff800020b958a0) at syscall+0x44a Xsyscall(6,5,c,0,3,9d90b92a0d8) at Xsyscall+0x128 end of kernel end trace frame: 0x9db2bf433b0, count: -6 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020b955e0 rbx 0xffff800020b95690 rdx 0xffff800020ab0020 rcx 0 rax 0 r8 0xffffffff81c59ef3 kprintf+0x173 r9 0x1 r10 0x25 r11 0x48b75532a577ffa5 r12 0x3000000008 r13 0xffff800020b955f0 r14 0x100 r15 0x1 rip 0xffffffff81fd43e8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b955d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor0) pid=111339 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff800020ab0788,0xffff800020ab0c88 process=0xffff800020adce00 user=0xffff800020b90000, vmspace=0xfffffd806e7a52e8 estcpu=27, cpticks=6, pctcpu=0.0 user=0, sys=6, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 69832 141144 1430 0 7 0 syz-executor1 69832 291764 1430 0 3 0x4000000 inode syz-executor1 69832 82936 1430 0 2 0x4000000 syz-executor1 68947 314802 63541 0 2 0 syz-executor0 68947 66837 63541 0 3 0x4000080 fsleep syz-executor0 *68947 111339 63541 0 7 0x4000000 syz-executor0 68947 265494 63541 0 3 0x4000080 fsleep syz-executor0 1430 351475 47482 0 2 0x482 syz-executor1 63541 480213 47482 0 3 0x82 nanosleep syz-executor0 47482 265870 81370 0 3 0x82 thrsleep syz-execprog 47482 147042 81370 0 3 0x4000082 thrsleep syz-execprog 47482 478118 81370 0 3 0x4000082 thrsleep syz-execprog 47482 489038 81370 0 3 0x4000082 thrsleep syz-execprog 47482 115939 81370 0 3 0x4000082 thrsleep syz-execprog 47482 357933 81370 0 3 0x4000082 thrsleep syz-execprog 47482 305081 81370 0 3 0x4000082 thrsleep syz-execprog 47482 139586 81370 0 3 0x4000082 thrsleep syz-execprog 47482 241386 81370 0 3 0x4000082 kqread syz-execprog 47482 402110 81370 0 3 0x4000082 thrsleep syz-execprog 81370 289729 97624 0 3 0x10008a pause ksh 97624 344730 69502 0 3 0x92 select sshd 49825 279468 1 0 3 0x100083 ttyin getty 69502 154648 1 0 3 0x80 select sshd 98721 451358 79366 74 3 0x100092 bpf pflogd 79366 173659 1 0 3 0x80 netio pflogd 46157 9771 24433 73 2 0x100090 syslogd 24433 513111 1 0 3 0x100082 netio syslogd 79669 441014 1 77 3 0x100090 poll dhclient 46776 134180 1 0 3 0x80 poll dhclient 85900 194336 0 0 2 0x14200 zerothread 13535 143625 0 0 3 0x14200 aiodoned aiodoned 79427 313135 0 0 3 0x14200 syncer update 34749 65359 0 0 3 0x14200 cleaner cleaner 81560 293512 0 0 3 0x14200 reaper reaper 34971 402618 0 0 3 0x14200 pgdaemon pagedaemon 35624 345777 0 0 3 0x14200 bored crynlk 7008 220583 0 0 3 0x14200 bored crypto 46794 389183 0 0 3 0x40014200 acpi0 acpi0 82677 277007 0 0 3 0x40014200 idle1 13886 360361 0 0 3 0x14200 bored softnet 38534 250690 0 0 3 0x14200 bored systqmp 47793 487170 0 0 3 0x14200 bored systq 52706 250665 0 0 3 0x40014200 bored softclock 75141 421983 0 0 3 0x40014200 idle0 13731 20162 0 0 3 0x14200 bored smr 1 82505 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 68947 (syz-executor0) thread 0xffff800020ab0020 (111339) exclusive rrwlock inode r = 0 (0xfffffd806987e3d8) #0 witness_lock+0x52e #1 rw_enter+0x46d #2 rrw_enter+0x4f #3 VOP_LOCK+0x4b #4 vn_write+0x169 #5 dofilewritev+0x1ac #6 sys_write+0x83 #7 syscall+0x552 #8 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9468 6388K 6388K 78643K 10555 0 0 pcb 13 8K 8K 78643K 13 0 0 rtable 97 3K 3K 78643K 177 0 0 ifaddr 38 10K 10K 78643K 39 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1469 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1198 75K 75K 78643K 38972 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 1K 78643K 2 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 2 0K 0K 78643K 2 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 5 16K 20K 78643K 17210 0 0 proc 52 50K 71K 78643K 374 0 0 subproc 0 0K 1K 78643K 17 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 in_multi 33 2K 2K 78643K 33 0 0 ether_multi 1 0K 0K 78643K 1 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 54 238K 238K 78643K 54 0 0 exec 0 0K 1K 78643K 212 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 89 20K 20K 78643K 52611 0 0 UVM aobj 2 2K 2K 78643K 2 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 NDP 6 0K 0K 78643K 10 0 0 temp 55 3538K 3602K 78643K 37699 0 0 SYN cache 2 16K 16K 78643K 2 0 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 15 0 13 1 0 1 1 0 8 0 rtentry 112 41 0 1 2 0 2 2 0 8 0 unpcb 120 41 0 31 1 0 1 1 0 8 0 syncache 264 8 0 8 1 1 0 1 0 8 0 tcpcb 544 14 0 11 1 0 1 1 0 8 0 inpcb 280 39 0 33 1 0 1 1 0 8 0 nd6 48 4 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 16 0 15 1 0 1 1 0 8 0 pfstkey 112 16 0 15 1 0 1 1 0 8 0 pfstate 328 16 0 15 2 1 1 2 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 185 0 0 12 0 12 12 0 8 0 art_table 32 186 0 0 2 0 2 2 0 8 0 art_node 16 40 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 56414 0 54985 47 0 47 47 0 8 0 ffsino 272 56414 0 54985 96 0 96 96 0 8 0 nchpl 144 73865 0 72226 61 0 61 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 200 5926 0 0 312 0 312 312 0 8 0 namei 1024 436000 0 436000 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 141822 0 141822 8 7 1 7 0 8 1 plimitpl 152 20 0 12 1 0 1 1 0 8 0 sigapl 432 17430 0 17414 2 0 2 2 0 8 0 futexpl 56 138150 0 138148 2 1 1 1 0 8 0 knotepl 112 95 0 78 1 0 1 1 0 8 0 kqueuepl 104 3 0 1 1 0 1 1 0 8 0 pipepl 112 218 0 199 1 0 1 1 0 8 0 fdescpl 488 17431 0 17414 3 0 3 3 0 8 0 filepl 152 291157 0 291082 5 1 4 4 0 8 1 lockfpl 104 6 0 6 1 1 0 1 0 8 0 lockfspl 48 3 0 3 1 1 0 1 0 8 0 sessionpl 112 27 0 16 1 0 1 1 0 8 0 pgrppl 48 27 0 16 1 0 1 1 0 8 0 ucredpl 96 268318 0 268309 1 0 1 1 0 8 0 zombiepl 144 17414 0 17414 1 0 1 1 0 8 1 processpl 896 17446 0 17414 4 0 4 4 0 8 0 procpl 632 51780 0 51734 5 1 4 4 0 8 0 sockpl 384 95 0 77 3 1 2 3 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 105 0 0 13 0 13 13 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 138 0 0 8 0 8 8 0 8 0 bufpl 256 23202 0 16182 439 0 439 439 0 8 0 anonpl 16 961768 0 959050 18 7 11 13 0 124 0 amapchunkpl 152 86752 0 86658 7 3 4 5 0 158 0 amappl16 192 71466 0 71362 8 2 6 6 0 8 0 amappl14 176 8665 0 8657 1 0 1 1 0 8 0 amappl13 168 13 0 13 2 2 0 1 0 8 0 amappl12 160 16 0 14 2 1 1 1 0 8 0 amappl11 152 8656 0 8639 1 0 1 1 0 8 0 amappl10 144 94 0 91 1 0 1 1 0 8 0 amappl9 136 796 0 792 1 0 1 1 0 8 0 amappl8 128 158 0 145 1 0 1 1 0 8 0 amappl7 120 39 0 36 1 0 1 1 0 8 0 amappl6 112 8684 0 8677 1 0 1 1 0 8 0 amappl5 104 189 0 176 1 0 1 1 0 8 0 amappl4 96 9205 0 9175 3 2 1 2 0 8 0 amappl3 88 17417 0 17403 1 0 1 1 0 8 0 amappl2 80 138621 0 138542 4 2 2 3 0 8 0 amappl1 72 398247 0 397770 32 22 10 20 0 8 0 amappl 80 52038 0 51999 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 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 17431 0 17414 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 17431 0 17414 1 0 1 1 0 8 0 vmmpekpl 168 112872 0 112848 2 0 2 2 0 8 0 vmmpepl 168 1465883 0 1464670 87 34 53 78 0 357 0 vmsppl 368 17430 0 17414 2 0 2 2 0 8 0 pdppl 4096 34869 0 34828 7 1 6 6 0 8 0 pvpl 32 2644058 0 2638657 111 67 44 107 0 265 0 pmappl 232 17430 0 17414 2 1 1 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 588 0 4 17 0 17 17 0 8 0