kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Sat Aug 17 07:40:45 PDT 2019 OpenBSD/amd64 (ci-openbsd-multicore-test-job-test-job-2.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.1.24' (ECDSA) to the list of known hosts. 2019/08/17 07:41:08 parsed 1 programs 2019/08/17 07:41:08 executed programs: 0 2019/08/17 07:41:13 executed programs: 306 2019/08/17 07:41:18 executed programs: 564 2019/08/17 07:41:23 executed programs: 797 2019/08/17 07:41:28 executed programs: 1086 2019/08/17 07:41:33 executed programs: 1360 2019/08/17 07:41:38 executed programs: 1675 2019/08/17 07:41:43 executed programs: 1984 2019/08/17 07:41:48 executed programs: 2373 2019/08/17 07:41:53 executed programs: 2629 2019/08/17 07:41:58 executed programs: 2959 2019/08/17 07:42:03 executed programs: 3277 2019/08/17 07:42:08 executed programs: 3489 2019/08/17 07:42:13 executed programs: 3763 2019/08/17 07:42:18 executed programs: 4059 2019/08/17 07:42:23 executed programs: 4394 2019/08/17 07:42:28 executed programs: 4635 2019/08/17 07:42:33 executed programs: 4987 2019/08/17 07:42:39 executed programs: 5241 2019/08/17 07:42:44 executed programs: 5517 2019/08/17 07:42:49 executed programs: 5746 2019/08/17 07:42:54 executed programs: 6065 2019/08/17 07:42:59 executed programs: 6350 2019/08/17 07:43:04 executed programs: 6688 2019/08/17 07:43:09 executed programs: 6987 2019/08/17 07:43:14 executed programs: 7310 2019/08/17 07:43:19 executed programs: 7589 2019/08/17 07:43:24 executed programs: 7883 login: witness: userret: returning with the following locks held: exclusive rrwlock inode r = 0 (0xfffffd807e99bb48) panic: witness_warn Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *500034 88839 0 0x1000 0x4080000 0 syz-executor1 335334 51436 73 0x100010 0x80 1 syslogd db_enter() at db_enter+0x18 panic() at panic+0x15c witness_warn(2,0,ffffffff822074f4) at witness_warn+0x69e userret(ffff800020ae0290) at userret+0x36a syscall(ffff800020beb270) at syscall+0x44a Xsyscall(6,5,c,0,3,1a9480780d8) at Xsyscall+0x128 end of kernel end trace frame: 0x1ac438011b0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic witness_warn ddb{0}> trace db_enter() at db_enter+0x18 panic() at panic+0x15c witness_warn(2,0,ffffffff822074f4) at witness_warn+0x69e userret(ffff800020ae0290) at userret+0x36a syscall(ffff800020beb270) at syscall+0x44a Xsyscall(6,5,c,0,3,1a9480780d8) at Xsyscall+0x128 end of kernel end trace frame: 0x1ac438011b0, count: -6 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020beafb0 rbx 0xffff800020beb060 rdx 0xffff800020ae0290 rcx 0 rax 0 r8 0xffffffff81faa3c3 kprintf+0x173 r9 0x1 r10 0x25 r11 0x222819c4edc903b1 r12 0x3000000008 r13 0xffff800020beafc0 r14 0x100 r15 0x1 rip 0xffffffff81b0d898 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020beafa0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor1) pid=500034 stat=onproc flags process=1000 proc=4080000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ae0018,0xffff800020ae0ef8 process=0xffff800020b2dc00 user=0xffff800020be6000, vmspace=0xfffffd806e7652e8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 36383 239295 60172 0 2 0 syz-executor0 36383 167076 60172 0 2 0x4000080 syz-executor0 36383 28513 60172 0 2 0x4000000 syz-executor0 88839 482830 22059 0 3 0x3000 suspend syz-executor1 *88839 500034 22059 0 7 0x4081000 syz-executor1 60172 98115 78502 0 2 0x2 syz-executor0 22059 271064 78502 0 3 0x82 nanosleep syz-executor1 78502 459302 15906 0 3 0x82 thrsleep syz-execprog 78502 166326 15906 0 3 0x4000082 thrsleep syz-execprog 78502 351806 15906 0 3 0x4000082 thrsleep syz-execprog 78502 131250 15906 0 3 0x4000082 kqread syz-execprog 78502 283707 15906 0 3 0x4000082 thrsleep syz-execprog 78502 119973 15906 0 3 0x4000082 thrsleep syz-execprog 78502 408856 15906 0 3 0x4000082 thrsleep syz-execprog 78502 37676 15906 0 3 0x4000082 thrsleep syz-execprog 78502 404297 15906 0 3 0x4000082 thrsleep syz-execprog 78502 128894 15906 0 3 0x4000082 thrsleep syz-execprog 15906 496390 40034 0 3 0x10008a pause ksh 40034 324871 66218 0 3 0x92 select sshd 92451 459144 1 0 3 0x100083 ttyin getty 66218 162563 1 0 3 0x80 select sshd 41650 45208 41636 74 3 0x100092 bpf pflogd 41636 278670 1 0 3 0x80 netio pflogd 51436 335334 54850 73 7 0x100090 syslogd 54850 53921 1 0 3 0x100082 netio syslogd 93851 519068 1 77 3 0x100090 poll dhclient 73735 21956 1 0 3 0x80 poll dhclient 72468 203821 0 0 2 0x14200 zerothread 44810 48919 0 0 3 0x14200 aiodoned aiodoned 31520 153929 0 0 3 0x14200 syncer update 92518 58208 0 0 3 0x14200 cleaner cleaner 4698 320838 0 0 3 0x14200 reaper reaper 49400 441691 0 0 3 0x14200 pgdaemon pagedaemon 78245 63231 0 0 3 0x14200 bored crynlk 87515 318950 0 0 3 0x14200 bored crypto 48038 521208 0 0 3 0x40014200 acpi0 acpi0 4319 480147 0 0 3 0x40014200 idle1 18557 83512 0 0 3 0x14200 bored softnet 75834 374062 0 0 3 0x14200 bored systqmp 7087 73206 0 0 3 0x14200 bored systq 30731 508547 0 0 2 0x40014200 softclock 75791 25634 0 0 3 0x40014200 idle0 62385 329459 0 0 3 0x14200 bored smr 1 423421 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 88839 (syz-executor1) thread 0xffff800020ae0290 (500034) exclusive rrwlock inode r = 0 (0xfffffd807e99bb48) ddb{0}> 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 20092 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 6 17K 21K 78643K 8203 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 90 20K 20K 78643K 24872 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 3526K 3590K 78643K 19682 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> 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 tcpqe 32 11 0 11 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 28526 0 27097 47 0 47 47 0 8 0 ffsino 272 28526 0 27097 96 0 96 96 0 8 0 nchpl 144 36969 0 35330 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 213752 0 213752 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 69450 0 69450 8 7 1 7 0 8 1 plimitpl 152 20 0 12 1 0 1 1 0 8 0 sigapl 432 8422 0 8406 2 0 2 2 0 8 0 futexpl 56 83299 0 83299 2 1 1 1 0 8 1 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 8423 0 8406 3 0 3 3 0 8 0 filepl 152 141668 0 141591 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 131113 0 131104 1 0 1 1 0 8 0 zombiepl 144 8407 0 8406 1 0 1 1 0 8 0 processpl 896 8438 0 8406 4 0 4 4 0 8 0 procpl 632 24029 0 23985 4 0 4 4 0 8 0 sockpl 384 95 0 77 3 1 2 3 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 89 0 0 11 0 11 11 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 113 0 0 7 0 7 7 0 8 0 bufpl 256 14193 0 7168 440 0 440 440 0 8 0 anonpl 16 466466 0 463763 18 7 11 13 0 125 0 amapchunkpl 152 40246 0 40151 7 3 4 5 0 158 0 amappl16 192 34699 0 34595 7 1 6 6 0 8 0 amappl15 184 5 0 4 2 1 1 1 0 8 0 amappl14 176 85 0 76 1 0 1 1 0 8 0 amappl13 168 15 0 15 2 2 0 1 0 8 0 amappl12 160 12 0 10 2 1 1 1 0 8 0 amappl11 152 58 0 43 1 0 1 1 0 8 0 amappl10 144 89 0 86 1 0 1 1 0 8 0 amappl9 136 8969 0 8962 1 0 1 1 0 8 0 amappl8 128 8339 0 8324 1 0 1 1 0 8 0 amappl7 120 37 0 34 1 0 1 1 0 8 0 amappl6 112 87 0 81 1 0 1 1 0 8 0 amappl5 104 200 0 185 1 0 1 1 0 8 0 amappl4 96 8778 0 8747 3 2 1 2 0 8 0 amappl3 88 230 0 220 1 0 1 1 0 8 0 amappl2 80 66556 0 66479 4 2 2 3 0 8 0 amappl1 72 196795 0 196323 29 19 10 20 0 8 0 amappl 80 24294 0 24255 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 8423 0 8406 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8423 0 8406 1 0 1 1 0 8 0 vmmpekpl 168 56841 0 56814 2 0 2 2 0 8 0 vmmpepl 168 726774 0 725565 84 31 53 78 0 357 0 vmsppl 368 8422 0 8406 2 0 2 2 0 8 0 pdppl 4096 16853 0 16812 7 1 6 6 0 8 0 pvpl 32 1325602 0 1320214 111 67 44 108 0 265 0 pmappl 232 8422 0 8406 2 1 1 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 586 0 4 17 0 17 17 0 8 0