kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Fri Mar 22 17:48:54 PDT 2019 OpenBSD/amd64 (ci-openbsd-main-0.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.10.5' (ECDSA) to the list of known hosts. 2019/03/22 17:51:44 parsed 1 programs 2019/03/22 17:51:50 executed programs: 0 login: panic: fifo_badop called Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 9861 21298 0 0x2 0 0 syz-executor.1 db_enter() at db_enter+0x18 panic() at panic+0x15c fifo_badop(ffff8000149f1be0) at fifo_badop+0x14 VOP_STRATEGY(fffffd8034bbfa00) at VOP_STRATEGY+0xa5 bwrite(fffffd8034bbfa00) at bwrite+0x203 VOP_BWRITE(fffffd8034bbfa00) at VOP_BWRITE+0x56 ufs_mkdir(ffff8000149f1e80) at ufs_mkdir+0x741 VOP_MKDIR(fffffd8031bbf0e0,ffff8000149f1f38,ffff8000149f1f88,ffff8000149f1fc8) at VOP_MKDIR+0x76 domkdirat(ffff8000ffff9520,ffffff9c,7f7ffffbee30,1ff) at domkdirat+0x12d syscall(ffff8000149f21c0) at syscall+0x541 Xsyscall(6,88,7f7ffffbee30,88,0,7f7ffffbee54) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbeea0, count: 4 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic fifo_badop called ddb> trace db_enter() at db_enter+0x18 panic() at panic+0x15c fifo_badop(ffff8000149f1be0) at fifo_badop+0x14 VOP_STRATEGY(fffffd8034bbfa00) at VOP_STRATEGY+0xa5 bwrite(fffffd8034bbfa00) at bwrite+0x203 VOP_BWRITE(fffffd8034bbfa00) at VOP_BWRITE+0x56 ufs_mkdir(ffff8000149f1e80) at ufs_mkdir+0x741 VOP_MKDIR(fffffd8031bbf0e0,ffff8000149f1f38,ffff8000149f1f88,ffff8000149f1fc8) at VOP_MKDIR+0x76 domkdirat(ffff8000ffff9520,ffffff9c,7f7ffffbee30,1ff) at domkdirat+0x12d syscall(ffff8000149f21c0) at syscall+0x541 Xsyscall(6,88,7f7ffffbee30,88,0,7f7ffffbee54) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbeea0, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000149f1b10 rbx 0xffff8000149f1bc0 rdx 0x2 rcx 0x1 rax 0x1 r8 0xffff8000149f1ad0 r9 0x1 r10 0xd44641ca99a5180a r11 0xa67314feb7b82029 r12 0x3000000008 r13 0xffff8000149f1b20 r14 0x100 r15 0x1 rip 0xffffffff815a6408 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000149f1b00 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=9861 stat=onproc flags process=2 proc=0 pri=17, usrpri=70, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8008,0xffffffff822d72a8 process=0xffff8000149526a8 user=0xffff8000149ed000, vmspace=0xfffffd803f013528 estcpu=20, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND *21298 9861 12910 0 7 0x2 syz-executor.1 31276 16150 12910 0 2 0x2 syz-executor.0 12910 199186 21827 0 3 0x82 kqread syz-execprog 12910 351130 21827 0 3 0x4000082 nanosleep syz-execprog 12910 482580 21827 0 3 0x4000082 thrsleep syz-execprog 12910 261130 21827 0 2 0x4000482 syz-execprog 12910 402598 21827 0 3 0x4000082 thrsleep syz-execprog 12910 269861 21827 0 3 0x4000082 thrsleep syz-execprog 12910 39042 21827 0 3 0x4000082 thrsleep syz-execprog 21827 53003 72480 0 3 0x10008a pause ksh 72480 58655 67702 0 3 0x92 select sshd 15677 355977 1 0 3 0x100083 ttyin getty 67702 498779 1 0 3 0x80 select sshd 2875 131684 92648 73 3 0x100090 kqread syslogd 92648 392480 1 0 3 0x100082 netio syslogd 382 282645 1 77 3 0x100090 poll dhclient 70160 303262 1 0 3 0x80 poll dhclient 17395 23454 0 0 3 0x14200 pgzero zerothread 33185 438433 0 0 3 0x14200 aiodoned aiodoned 36841 10332 0 0 3 0x14200 syncer update 72477 379585 0 0 3 0x14200 cleaner cleaner 51258 369165 0 0 3 0x14200 reaper reaper 21969 107641 0 0 3 0x14200 pgdaemon pagedaemon 57228 416251 0 0 3 0x14200 bored crynlk 42768 511773 0 0 3 0x14200 bored crypto 16594 467397 0 0 3 0x40014200 acpi0 acpi0 26098 178102 0 0 3 0x14200 bored softnet 13631 432559 0 0 3 0x14200 bored systqmp 44772 315904 0 0 3 0x14200 bored systq 38218 395763 0 0 3 0x40014200 bored softclock 34980 151531 0 0 3 0x40014200 idle0 96533 275756 0 0 3 0x14200 bored smr 1 356734 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9436 6311K 6311K 78643K 10529 0 0 pcb 23 9K 9K 78643K 55 0 0 rtable 97 2K 2K 78643K 167 0 0 ifaddr 34 9K 9K 78643K 34 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 15 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1166 73K 73K 78643K 1171 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 0K 0K 78643K 2 0 0 sem 2 0K 0K 78643K 2 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 3 8K 20K 78643K 20 0 0 proc 41 30K 46K 78643K 248 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 18 79K 79K 78643K 18 0 0 exec 0 0K 1K 78643K 168 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 63 19K 20K 78643K 818 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 9 0K 0K 78643K 9 0 0 temp 46 2342K 2406K 78643K 2850 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> 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 inpcbpl 280 26 0 20 1 0 1 1 0 8 0 plimitpl 152 15 0 8 1 0 1 1 0 8 0 rtentry 112 41 0 1 2 0 2 2 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 nd6 48 4 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 186 0 0 12 0 12 12 0 8 0 art_table 32 187 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 1438 0 27 46 0 46 46 0 8 0 ffsino 240 1438 0 27 84 0 84 84 0 8 0 nchpl 144 1668 0 45 61 0 61 61 0 8 0 uvmvnodes 72 1447 0 0 27 0 27 27 0 8 0 vnodes 200 1447 0 0 77 0 77 77 0 8 0 namei 1024 3971 0 3970 3 2 1 1 0 8 0 scxspl 192 3776 0 3776 12 11 1 6 0 8 1 sigapl 432 195 0 183 2 0 2 2 0 8 0 futexpl 56 111 0 111 1 0 1 1 0 8 1 knotepl 112 45 0 28 1 0 1 1 0 8 0 kqueuepl 104 2 0 0 1 0 1 1 0 8 0 pipepl 112 154 0 135 3 2 1 1 0 8 0 fdescpl 424 196 0 183 2 0 2 2 0 8 0 filepl 120 958 0 896 3 0 3 3 0 8 0 lockfpl 104 6 0 6 1 1 0 1 0 8 0 lockfspl 32 3 0 3 1 1 0 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 53 0 46 1 0 1 1 0 8 0 zombiepl 144 183 0 183 3 2 1 1 0 8 1 processpl 840 210 0 183 4 0 4 4 0 8 0 procpl 600 219 0 186 3 0 3 3 0 8 0 sockpl 384 68 0 52 2 0 2 2 0 8 0 mcl4k 4096 10 0 10 2 1 1 1 0 8 1 mcl2k 2048 5483 0 5454 7 2 5 7 0 8 0 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 9510 0 9442 8 3 5 5 0 8 0 bufpl 256 5248 0 1151 257 0 257 257 0 8 0 anonpl 16 20706 0 19241 15 3 12 12 0 62 5 amapchunkpl 152 739 0 680 4 0 4 4 0 158 1 amappl16 192 93 0 65 2 0 2 2 0 8 0 amappl15 184 50 0 46 1 0 1 1 0 8 0 amappl14 176 25 0 23 3 2 1 1 0 8 0 amappl13 168 30 0 27 1 0 1 1 0 8 0 amappl12 160 13 0 9 2 1 1 1 0 8 0 amappl11 152 20 0 8 1 0 1 1 0 8 0 amappl10 144 62 0 60 3 2 1 1 0 8 0 amappl9 136 378 0 375 1 0 1 1 0 8 0 amappl8 128 110 0 98 1 0 1 1 0 8 0 amappl7 120 24 0 22 1 0 1 1 0 8 0 amappl6 112 59 0 51 1 0 1 1 0 8 0 amappl5 104 138 0 128 1 0 1 1 0 8 0 amappl4 96 394 0 373 2 0 2 2 0 8 1 amappl3 88 130 0 122 1 0 1 1 0 8 0 amappl2 80 686 0 648 2 0 2 2 0 8 1 amappl1 72 12802 0 12414 26 9 17 19 0 8 8 amappl 72 453 0 426 1 0 1 1 0 75 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 196 0 183 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 196 0 183 1 0 1 1 0 8 0 vmmpekpl 168 6136 0 6120 1 0 1 1 0 8 0 vmmpepl 168 26815 0 26012 89 18 71 71 0 357 33 vmsppl 264 195 0 183 2 0 2 2 0 8 1 pdppl 4096 398 0 366 5 0 5 5 0 8 0 pvpl 32 101318 0 97463 110 10 100 100 0 265 68 pmappl 192 195 0 183 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 385 0 10 11 0 11 11 0 8 0