panic() at panic+0x15c sys/kern/subr_prf.c:207 fifo_badop(ffff8000159e41d8) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd802e450700) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:715 bwrite(fffffd802e450700) at bwrite+0x203 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd802e450700) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:727 ufs_mkdir(ffff8000159e4468) at ufs_mkdir+0x6c0 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd802fa18e30,ffff8000159e45c0,ffff8000159e4610,ffff8000159e44f0) at VOP_MKDIR+0x6a sys/kern/vfs_vops.c:449 domkdirat(ffff8000159f3b40,ffffff9c,7f7ffffc72d0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2967 syscall(ffff8000159e4790) at syscall+0x508 Xsyscall(6,88,7f7ffffc72d0,88,0,7f7ffffc72f4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7340, 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 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 fifo_badop(ffff8000159e41d8) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd802e450700) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:715 bwrite(fffffd802e450700) at bwrite+0x203 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd802e450700) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:727 ufs_mkdir(ffff8000159e4468) at ufs_mkdir+0x6c0 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd802fa18e30,ffff8000159e45c0,ffff8000159e4610,ffff8000159e44f0) at VOP_MKDIR+0x6a sys/kern/vfs_vops.c:449 domkdirat(ffff8000159f3b40,ffffff9c,7f7ffffc72d0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2967 syscall(ffff8000159e4790) at syscall+0x508 Xsyscall(6,88,7f7ffffc72d0,88,0,7f7ffffc72f4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7340, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000159e4100 rbx 0xffff8000159e41b0 rdx 0x2 rcx 0 rax 0 r8 0xffff8000159e40c0 r9 0x1 r10 0 r11 0xc9e546fa63684b4c r12 0x3000000008 r13 0xffff8000159e4110 r14 0x100 r15 0x1 rip 0xffffffff811c6b38 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000159e40f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=222362 stat=onproc flags process=2 proc=0 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000159f2290,0xffffffff822bdf40 process=0xffff8000ffff6a30 user=0xffff8000159df000, vmspace=0xfffffd803f014990 estcpu=36, cpticks=5, pctcpu=0.0 user=0, sys=3, intr=2 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND *12056 222362 25782 0 7 0x2 syz-executor.0 63072 97592 1 0 3 0x100083 ttyopn getty 11306 329523 0 0 3 0x14200 bored sosplice 22621 224193 25782 0 2 0x2 syz-executor.1 25782 292234 79134 0 3 0x82 thrsleep syz-fuzzer 25782 106708 79134 0 2 0x4000482 syz-fuzzer 25782 313117 79134 0 3 0x4000082 kqread syz-fuzzer 25782 239006 79134 0 3 0x4000082 thrsleep syz-fuzzer 25782 314596 79134 0 3 0x4000082 thrsleep syz-fuzzer 25782 246337 79134 0 3 0x4000082 thrsleep syz-fuzzer 25782 370193 79134 0 3 0x4000082 thrsleep syz-fuzzer 79134 385870 3727 0 3 0x10008a pause ksh 3727 309942 17543 0 3 0x92 select sshd 17543 403809 1 0 3 0x80 select sshd 68752 393019 49043 73 3 0x100090 kqread syslogd 49043 319766 1 0 3 0x100082 netio syslogd 15245 303354 1 77 3 0x100090 poll dhclient 45887 199445 1 0 3 0x80 poll dhclient 6113 138783 0 0 3 0x14200 pgzero zerothread 61697 240039 0 0 3 0x14200 aiodoned aiodoned 78610 77673 0 0 3 0x14200 syncer update 38945 255204 0 0 3 0x14200 cleaner cleaner 55855 286723 0 0 3 0x14200 reaper reaper 90338 111284 0 0 3 0x14200 pgdaemon pagedaemon 47987 427423 0 0 3 0x14200 bored crynlk 96409 212229 0 0 3 0x14200 bored crypto 4814 275964 0 0 3 0x40014200 acpi0 acpi0 34628 253966 0 0 3 0x14200 bored softnet 84256 143979 0 0 2 0x14200 systqmp 26693 503581 0 0 3 0x14200 bored systq 64839 318256 0 0 2 0x40014200 softclock 130 456954 0 0 3 0x40014200 idle0 4773 19737 0 0 3 0x14200 bored smr 1 489783 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 9568 6371K 14554K 78643K 37212 0 0 pcb 13 8K 8K 78643K 741 0 0 rtable 122 4K 5K 78643K 1821 0 0 ifaddr 73 18K 19K 78643K 865 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 494 0 0 iov 0 0K 24K 78643K 1389 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1200 75K 77K 78643K 10765 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 9K 78643K 124 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 1K 78643K 1040 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 4 9K 25K 78643K 10355 0 0 sigio 0 0K 0K 78643K 184 0 0 proc 43 30K 54K 78643K 1364 0 0 subproc 32 2K 2K 78643K 58 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 957 0 0 in_multi 33 2K 2K 78643K 342 0 0 ether_multi 1 0K 0K 78643K 34 0 0 mrt 0 0K 0K 78643K 21 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 126 556K 556K 78643K 126 0 0 exec 0 0K 1K 78643K 1158 0 0 pfkey data 0 0K 4K 78643K 10 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 85 20K 30K 78643K 25084 0 0 UVM aobj 130 4K 4K 78643K 154 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 1K 78643K 430 0 0 NDP 17 0K 0K 78643K 234 0 0 temp 204 2728K 3368K 78643K 34625 0 0 kqueue 0 0K 0K 78643K 77 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 8 0 2 1 0 1 1 0 8 0 rtpcb 80 478 0 476 1 0 1 1 0 8 0 rtentry 112 72 0 27 2 0 2 2 0 8 0 unpcb 120 3488 0 3480 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 589 0 589 1 1 0 1 0 8 0 tcpcb 544 1508 0 1504 1 0 1 1 0 8 0 inpcb 280 4137 0 4130 1 0 1 1 0 8 0 ip6q 72 14 0 14 7 7 0 1 0 8 0 ip6af 48 28 0 28 7 7 0 1 0 8 0 nd6 48 9 0 3 1 0 1 1 0 8 0 pkpcb 40 56 0 56 17 17 0 1 0 8 0 swfcl 56 3 0 0 1 0 1 1 0 8 0 ppxss 1128 168 0 168 29 29 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 235 0 44 13 1 12 12 0 8 0 art_table 32 236 0 44 2 0 2 2 0 8 0 art_node 16 56 0 16 1 0 1 1 0 8 0 sysvmsgpl 40 38 0 29 2 1 1 1 0 8 0 semapl 112 1038 0 1028 1 0 1 1 0 8 0 shmpl 112 152 0 24 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 18363 0 16959 46 0 46 46 0 8 0 ffsino 240 18363 0 16959 84 0 84 84 0 8 0 nchpl 144 33089 0 31472 63 1 62 62 0 8 0 uvmvnodes 72 6616 0 0 121 0 121 121 0 8 0 vnodes 200 6616 0 0 349 0 349 349 0 8 0 namei 1024 106106 0 106105 4 3 1 1 0 8 0 scsiplug 64 12 0 12 10 10 0 1 0 8 0 scxspl 192 102836 0 102836 46 45 1 5 0 8 1 plimitpl 152 875 0 868 1 0 1 1 0 8 0 sigapl 432 10528 0 10516 2 0 2 2 0 8 0 futexpl 56 170945 0 170945 3 2 1 1 0 8 1 knotepl 112 1815 0 1796 1 0 1 1 0 8 0 kqueuepl 104 2368 0 2366 1 0 1 1 0 8 0 pipepl 112 5792 0 5773 8 7 1 2 0 8 0 fdescpl 424 10529 0 10516 2 0 2 2 0 8 0 filepl 120 63252 0 63157 5 1 4 5 0 8 1 lockfpl 104 3678 0 3678 4 3 1 1 0 8 1 lockfspl 48 1256 0 1256 4 3 1 1 0 8 1 sessionpl 112 23 0 13 1 0 1 1 0 8 0 pgrppl 48 143 0 133 1 0 1 1 0 8 0 ucredpl 96 13627 0 13620 1 0 1 1 0 8 0 zombiepl 144 10516 0 10516 2 1 1 1 0 8 1 processpl 864 10544 0 10516 4 0 4 4 0 8 0 procpl 632 23915 0 23881 4 0 4 4 0 8 0 sosppl 128 141 0 141 32 32 0 1 0 8 0 sockpl 384 8243 0 8226 7 4 3 4 0 8 1 mcl64k 65536 2545 0 2545 271 270 1 128 0 8 1 mcl16k 16384 46 0 46 27 27 0 1 0 8 0 mcl12k 12288 199 0 199 23 22 1 1 0 8 1 mcl9k 9216 158 0 158 26 26 0 1 0 8 0 mcl8k 8192 168 0 168 26 26 0 1 0 8 0 mcl4k 4096 468 0 468 6 5 1 1 0 8 1 mcl2k2 2112 65 0 65 27 26 1 1 0 8 1 mcl2k 2048 70068 0 70028 18 12 6 11 0 8 0 mtagpl 80 100 0 91 2 1 1 1 0 8 0 mbufpl 256 163681 0 163600 159 152 7 70 0 8 0 bufpl 256 34356 0 27745 414 0 414 414 0 8 0 anonpl 16 863063 0 851742 351 288 63 64 0 62 14 amapchunkpl 152 43830 0 43732 111 106 5 14 0 158 0 amappl16 192 53586 0 52961 279 238 41 45 0 8 8 amappl15 184 1 0 1 1 1 0 1 0 8 0 amappl14 176 5166 0 5159 1 0 1 1 0 8 0 amappl13 168 6 0 6 1 1 0 1 0 8 0 amappl12 160 9 0 7 1 0 1 1 0 8 0 amappl11 152 2348 0 2335 1 0 1 1 0 8 0 amappl10 144 68 0 68 8 8 0 1 0 8 0 amappl9 136 3483 0 3480 1 0 1 1 0 8 0 amappl8 128 3062 0 3046 1 0 1 1 0 8 0 amappl7 120 36 0 32 1 0 1 1 0 8 0 amappl6 112 2346 0 2337 1 0 1 1 0 8 0 amappl5 104 233 0 222 1 0 1 1 0 8 0 amappl4 96 10846 0 10820 1 0 1 1 0 8 0 amappl3 88 5635 0 5625 1 0 1 1 0 8 0 amappl2 80 84337 0 84279 4 2 2 3 0 8 0 amappl1 72 184376 0 183984 25 15 10 19 0 8 0 amappl 80 24271 0 24239 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 153 0 24 3 0 3 3 0 8 0 uaddrrnd 24 10529 0 10516 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 10529 0 10516 1 0 1 1 0 8 0 vmmpekpl 168 62863 0 62841 2 0 2 2 0 8 0 vmmpepl 168 1206114 0 1204564 294 206 88 94 0 357 9 vmsppl 272 10528 0 10516 2 1 1 2 0 8 0 pdppl 4096 21064 0 21032 6 1 5 6 0 8 0 pvpl 32 2521114 0 2506821 678 527 151 251 0 265 28 pmappl 200 10528 0 10516 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1037 0 500 22 5 17 18 0 8 0