panic() at panic+0x15c sys/kern/subr_prf.c:212 fifo_badop(ffff8000149f6988) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd802fe76f00) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:715 bwrite(fffffd802fe76f00) at bwrite+0x203 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd802fe76f00) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:727 ufs_mkdir(ffff8000149f6c18) at ufs_mkdir+0x6c0 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd803162d658,ffff8000149f6d70,ffff8000149f6dc0,ffff8000149f6ca0) at VOP_MKDIR+0x6a sys/kern/vfs_vops.c:449 domkdirat(ffff800014902868,ffffff9c,7f7ffffd4990,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2974 syscall(ffff8000149f6f40) at syscall+0x508 Xsyscall(6,88,7f7ffffd4990,88,0,7f7ffffd49b4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4a00, 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:212 fifo_badop(ffff8000149f6988) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd802fe76f00) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:715 bwrite(fffffd802fe76f00) at bwrite+0x203 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd802fe76f00) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:727 ufs_mkdir(ffff8000149f6c18) at ufs_mkdir+0x6c0 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd803162d658,ffff8000149f6d70,ffff8000149f6dc0,ffff8000149f6ca0) at VOP_MKDIR+0x6a sys/kern/vfs_vops.c:449 domkdirat(ffff800014902868,ffffff9c,7f7ffffd4990,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2974 syscall(ffff8000149f6f40) at syscall+0x508 Xsyscall(6,88,7f7ffffd4990,88,0,7f7ffffd49b4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4a00, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000149f68b0 rbx 0xffff8000149f6960 rdx 0x2 rcx 0 rax 0 r8 0xffff8000149f6870 r9 0x1 r10 0 r11 0x107f5918c32e3242 r12 0x3000000008 r13 0xffff8000149f68c0 r14 0x100 r15 0x1 rip 0xffffffff8183bdb8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000149f68a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=174405 stat=onproc flags process=2 proc=0 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000149014e8,0xffff80001496fec0 process=0xffff800014956360 user=0xffff8000149f1000, vmspace=0xfffffd803f00b880 estcpu=36, cpticks=7, pctcpu=0.0 user=0, sys=4, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 43833 154298 0 0 3 0x14200 bored sosplice *21849 174405 75193 0 7 0x2 syz-executor.0 78110 224555 75193 0 2 0x2 syz-executor.1 75193 224200 90092 0 3 0x82 thrsleep syz-fuzzer 75193 282840 90092 0 2 0x4000482 syz-fuzzer 75193 92313 90092 0 3 0x4000082 thrsleep syz-fuzzer 75193 182240 90092 0 3 0x4000082 thrsleep syz-fuzzer 75193 98743 90092 0 3 0x4000082 thrsleep syz-fuzzer 75193 8982 90092 0 3 0x4000082 kqread syz-fuzzer 75193 97499 90092 0 3 0x4000082 thrsleep syz-fuzzer 90092 354533 80368 0 3 0x10008a pause ksh 80368 402885 33012 0 3 0x92 select sshd 26947 359119 1 0 3 0x100083 ttyin getty 33012 11474 1 0 3 0x80 select sshd 76996 169836 8006 73 3 0x100090 kqread syslogd 8006 459998 1 0 3 0x100082 netio syslogd 71692 244170 1 77 3 0x100090 poll dhclient 36348 7181 1 0 3 0x80 poll dhclient 23218 195694 0 0 3 0x14200 pgzero zerothread 88814 482534 0 0 3 0x14200 aiodoned aiodoned 78933 78189 0 0 3 0x14200 syncer update 65820 429972 0 0 3 0x14200 cleaner cleaner 59985 419086 0 0 3 0x14200 reaper reaper 52364 420579 0 0 3 0x14200 pgdaemon pagedaemon 42163 33621 0 0 3 0x14200 bored crynlk 56071 468636 0 0 3 0x14200 bored crypto 50887 451544 0 0 3 0x40014200 acpi0 acpi0 41311 382163 0 0 3 0x14200 bored softnet 68759 475434 0 0 3 0x14200 bored systqmp 44136 353093 0 0 3 0x14200 bored systq 30940 360143 0 0 3 0x40014200 bored softclock 82905 373349 0 0 3 0x40014200 idle0 94086 366992 0 0 3 0x14200 bored smr 1 308241 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 9482 6336K 7039K 78643K 12929 0 0 pcb 23 9K 10K 78643K 489 0 0 rtable 111 4K 4K 78643K 311 0 0 ifaddr 48 11K 12K 78643K 95 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 55 0 0 iov 0 0K 16K 78643K 80 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1204 76K 76K 78643K 2020 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 11 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 0K 78643K 68 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 4 9K 25K 78643K 889 0 0 sigio 0 0K 0K 78643K 15 0 0 proc 41 30K 54K 78643K 402 0 0 subproc 32 2K 2K 78643K 34 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 66 0 0 in_multi 33 2K 2K 78643K 54 0 0 ether_multi 1 0K 0K 78643K 2 0 0 mrt 0 0K 0K 78643K 3 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 78 344K 344K 78643K 78 0 0 exec 0 0K 1K 78643K 252 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 74 20K 24K 78643K 2876 0 0 UVM aobj 31 2K 2K 78643K 34 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 34 0 0 NDP 9 0K 0K 78643K 25 0 0 temp 150 2715K 2783K 78643K 5655 0 0 kqueue 0 0K 0K 78643K 10 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 6 0 0 1 0 1 1 0 8 0 inpcbpl 280 384 0 377 1 0 1 1 0 8 0 rtentry 112 47 0 3 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 61 0 61 2 2 0 1 0 8 0 tcpcb 544 144 0 140 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 ppxss 1128 11 0 11 3 2 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 9 3 2 1 1 0 8 0 semapl 112 66 0 56 1 0 1 1 0 8 0 shmpl 112 32 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2795 0 1379 46 0 46 46 0 8 0 ffsino 240 2795 0 1379 84 0 84 84 0 8 0 nchpl 144 4189 0 2559 61 0 61 61 0 8 0 uvmvnodes 72 3368 0 0 62 0 62 62 0 8 0 vnodes 200 3368 0 0 178 0 178 178 0 8 0 namei 1024 12028 0 12027 2 1 1 1 0 8 0 scxspl 192 12075 0 12075 8 7 1 6 0 8 1 plimitpl 152 36 0 29 1 0 1 1 0 8 0 sigapl 432 1060 0 1048 2 0 2 2 0 8 0 futexpl 56 13628 0 13628 1 0 1 1 0 8 1 knotepl 112 209 0 190 1 0 1 1 0 8 0 kqueuepl 104 170 0 168 1 0 1 1 0 8 0 pipepl 112 562 0 543 3 1 2 2 0 8 1 fdescpl 424 1061 0 1048 2 0 2 2 0 8 0 filepl 120 5968 0 5874 5 0 5 5 0 8 2 lockfpl 104 304 0 304 2 1 1 1 0 8 1 lockfspl 48 100 0 100 2 1 1 1 0 8 1 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 35 0 25 1 0 1 1 0 8 0 ucredpl 96 1165 0 1158 1 0 1 1 0 8 0 zombiepl 144 1048 0 1048 2 1 1 1 0 8 1 processpl 840 1076 0 1048 4 0 4 4 0 8 0 procpl 624 2183 0 2149 4 0 4 4 0 8 1 sosppl 128 7 0 7 3 2 1 1 0 8 1 sockpl 384 792 0 775 3 0 3 3 0 8 1 mcl64k 65536 247 0 247 30 29 1 29 0 8 1 mcl16k 16384 6 0 6 3 2 1 1 0 8 1 mcl12k 12288 20 0 20 2 1 1 1 0 8 1 mcl9k 9216 12 0 12 2 2 0 1 0 8 0 mcl8k 8192 12 0 12 5 4 1 1 0 8 1 mcl4k 4096 30 0 30 4 4 0 1 0 8 0 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 51878 0 51837 18 12 6 14 0 8 0 mtagpl 80 4 0 4 2 2 0 1 0 8 0 mbufpl 256 85684 0 85619 25 19 6 20 0 8 0 bufpl 256 7253 0 2775 280 0 280 280 0 8 0 anonpl 16 96567 0 86004 67 23 44 59 0 62 0 amapchunkpl 152 4394 0 4297 13 8 5 9 0 158 0 amappl16 192 4406 0 3827 43 12 31 41 0 8 1 amappl15 184 435 0 434 1 0 1 1 0 8 0 amappl14 176 890 0 887 2 1 1 1 0 8 0 amappl12 160 14 0 13 1 0 1 1 0 8 0 amappl11 152 50 0 36 1 0 1 1 0 8 0 amappl10 144 64 0 61 2 1 1 1 0 8 0 amappl9 136 519 0 516 1 0 1 1 0 8 0 amappl8 128 130 0 116 1 0 1 1 0 8 0 amappl7 120 31 0 26 1 0 1 1 0 8 0 amappl6 112 58 0 51 1 0 1 1 0 8 0 amappl5 104 199 0 189 1 0 1 1 0 8 0 amappl4 96 766 0 747 1 0 1 1 0 8 0 amappl3 88 1497 0 1485 1 0 1 1 0 8 0 amappl2 80 7776 0 7716 4 2 2 3 0 8 0 amappl1 72 26944 0 26545 25 15 10 19 0 8 0 amappl 80 2416 0 2384 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 33 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1061 0 1048 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1061 0 1048 1 0 1 1 0 8 0 vmmpekpl 168 10606 0 10580 2 0 2 2 0 8 0 vmmpepl 168 128335 0 126842 99 23 76 80 0 357 4 vmsppl 272 1060 0 1048 2 1 1 2 0 8 0 pdppl 4096 2129 0 2096 6 1 5 6 0 8 0 pvpl 32 300868 0 287373 151 32 119 145 0 265 8 pmappl 200 1060 0 1048 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 482 0 75 13 0 13 13 0 8 0