panic() at panic+0x15c sys/kern/subr_prf.c:208 fifo_badop(ffff8000149eddb8) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd803c2c5100) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:719 bwrite(fffffd803c2c5100) at bwrite+0x203 sys/kern/vfs_bio.c:742 VOP_BWRITE(fffffd803c2c5100) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:731 ufs_mkdir(ffff8000149ee048) at ufs_mkdir+0x6c0 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd803d547b80,ffff8000149ee1a0,ffff8000149ee1f0,ffff8000149ee0d0) at VOP_MKDIR+0x6a sys/kern/vfs_vops.c:449 domkdirat(ffff8000ffff2278,ffffff9c,7f7ffffd4370,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2881 syscall(ffff8000149ee380) at syscall+0x511 Xsyscall(6,88,7f7ffffd4358,88,1b,0) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4370, 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:208 fifo_badop(ffff8000149eddb8) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd803c2c5100) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:719 bwrite(fffffd803c2c5100) at bwrite+0x203 sys/kern/vfs_bio.c:742 VOP_BWRITE(fffffd803c2c5100) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:731 ufs_mkdir(ffff8000149ee048) at ufs_mkdir+0x6c0 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd803d547b80,ffff8000149ee1a0,ffff8000149ee1f0,ffff8000149ee0d0) at VOP_MKDIR+0x6a sys/kern/vfs_vops.c:449 domkdirat(ffff8000ffff2278,ffffff9c,7f7ffffd4370,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2881 syscall(ffff8000149ee380) at syscall+0x511 Xsyscall(6,88,7f7ffffd4358,88,1b,0) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd4370, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000149edce0 rbx 0xffff8000149edd90 rdx 0x2 rcx 0 rax 0 r8 0xffff8000149edca0 r9 0x1 r10 0 r11 0xabfb8507c9e1351e r12 0x3000000008 r13 0xffff8000149edcf0 r14 0x100 r15 0x1 rip 0xffffffff818dc758 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000149edcd0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=61550 stat=onproc flags process=2 proc=0 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2020,0xffffffff8223e750 process=0xffff8000ffff6010 user=0xffff8000149e9000, vmspace=0xfffffd803f014e70 estcpu=36, cpticks=4, pctcpu=0.4 user=0, sys=3, intr=1 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND *28055 61550 94389 0 7 0x2 syz-executor.1 76209 216746 1 0 3 0x100083 ttyin getty 31609 66969 94389 0 2 0x2 syz-executor.0 56046 184936 0 0 3 0x14200 bored sosplice 94389 342014 36046 0 2 0x482 syz-fuzzer 94389 77301 36046 0 2 0x4000482 syz-fuzzer 94389 100788 36046 0 3 0x4000082 thrsleep syz-fuzzer 94389 273455 36046 0 3 0x4000082 thrsleep syz-fuzzer 94389 517498 36046 0 3 0x4000082 thrsleep syz-fuzzer 94389 250915 36046 0 3 0x4000082 thrsleep syz-fuzzer 94389 199597 36046 0 3 0x4000082 thrsleep syz-fuzzer 94389 287592 36046 0 3 0x4000082 kqread syz-fuzzer 36046 168127 3053 0 3 0x10008a pause ksh 3053 42412 61703 0 3 0x92 select sshd 61703 42885 1 0 3 0x80 select sshd 27984 38127 96667 73 3 0x100090 kqread syslogd 96667 100129 1 0 3 0x100082 netio syslogd 41304 156044 1 77 3 0x100090 poll dhclient 27640 512165 1 0 3 0x80 poll dhclient 93203 236264 0 0 3 0x14200 pgzero zerothread 58013 148081 0 0 3 0x14200 aiodoned aiodoned 60634 460645 0 0 3 0x14200 syncer update 63213 110274 0 0 3 0x14200 cleaner cleaner 91951 8877 0 0 3 0x14200 reaper reaper 79602 463888 0 0 3 0x14200 pgdaemon pagedaemon 76641 341628 0 0 3 0x14200 bored crynlk 33234 415566 0 0 3 0x14200 bored crypto 3933 18852 0 0 3 0x40014200 acpi0 acpi0 64389 85868 0 0 3 0x14200 bored softnet 23298 274687 0 0 3 0x14200 bored systqmp 55267 60504 0 0 3 0x14200 bored systq 38994 111495 0 0 3 0x40014200 bored softclock 51912 485637 0 0 3 0x40014200 idle0 96899 101578 0 0 3 0x14200 bored smr 1 415039 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 9481 6328K 6583K 78643K 12161 0 0 pcb 23 9K 10K 78643K 452 0 0 rtable 100 3K 3K 78643K 548 0 0 ifaddr 49 12K 13K 78643K 163 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 29 0 0 iov 0 0K 24K 78643K 1395 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1197 75K 76K 78643K 3394 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 13 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 1K 78643K 1032 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 4 9K 25K 78643K 2266 0 0 sigio 0 0K 0K 78643K 16 0 0 proc 42 30K 54K 78643K 518 0 0 subproc 64 65538K 69634K 78643K 342 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 65 0 0 in_multi 33 2K 2K 78643K 146 0 0 ether_multi 1 0K 0K 78643K 7 0 0 mrt 0 0K 0K 78643K 2 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 72 318K 318K 78643K 72 0 0 exec 0 0K 1K 78643K 1582 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 78 20K 38K 78643K 5634 0 0 UVM aobj 37 3K 3K 78643K 42 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 40 0 0 NDP 9 0K 0K 78643K 54 0 0 temp 148 2358K 2424K 78643K 8775 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 12 0 8 1 0 1 1 0 8 0 inpcbpl 280 417 0 410 1 0 1 1 0 8 0 plimitpl 152 47 0 40 1 0 1 1 0 8 0 rtentry 112 113 0 73 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 9 0 9 2 2 0 1 0 8 0 tcpcb 544 137 0 133 1 0 1 1 0 8 0 nd6 48 20 0 16 1 0 1 1 0 8 0 ppxss 1128 11 0 11 3 3 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 524 0 333 12 0 12 12 0 8 0 art_table 32 525 0 333 2 0 2 2 0 8 0 art_node 16 112 0 78 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 1024 0 1014 1 0 1 1 0 8 0 shmpl 112 40 0 5 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 5636 0 4203 47 0 47 47 0 8 0 ffsino 240 5636 0 4203 85 0 85 85 0 8 0 nchpl 144 8535 0 6902 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 24146 0 24145 3 2 1 1 0 8 0 scsiplug 64 3 0 3 2 2 0 1 0 8 0 scxspl 192 28451 0 28451 13 12 1 7 0 8 1 sigapl 432 2413 0 2401 2 0 2 2 0 8 0 futexpl 56 25704 0 25704 2 1 1 1 0 8 1 knotepl 112 311 0 292 1 0 1 1 0 8 0 kqueuepl 104 164 0 162 1 0 1 1 0 8 0 pipepl 112 842 0 823 2 1 1 1 0 8 0 fdescpl 424 2414 0 2401 2 0 2 2 0 8 0 filepl 120 9425 0 9330 5 1 4 4 0 8 1 lockfpl 104 396 0 396 3 2 1 1 0 8 1 lockfspl 32 590 0 590 3 2 1 1 0 8 1 sessionpl 112 26 0 16 1 0 1 1 0 8 0 pgrppl 48 48 0 38 1 0 1 1 0 8 0 ucredpl 96 1428 0 1421 1 0 1 1 0 8 0 zombiepl 144 2401 0 2401 2 1 1 1 0 8 1 processpl 840 2429 0 2401 4 0 4 4 0 8 0 procpl 600 4874 0 4839 5 1 4 4 0 8 0 sosppl 128 20 0 20 3 2 1 1 0 8 1 sockpl 384 790 0 773 4 1 3 3 0 8 1 mcl64k 65536 242 0 242 31 29 2 29 0 8 2 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 22 0 22 5 4 1 1 0 8 1 mcl9k 9216 16 0 16 6 5 1 1 0 8 1 mcl8k 8192 10 0 10 5 4 1 1 0 8 1 mcl4k 4096 49 0 49 5 4 1 1 0 8 1 mcl2k2 2112 4 0 4 2 2 0 1 0 8 0 mcl2k 2048 54278 0 54232 17 10 7 13 0 8 0 mtagpl 80 4 0 4 2 2 0 1 0 8 0 mbufpl 256 98725 0 98623 28 20 8 21 0 8 0 bufpl 256 10780 0 5140 353 0 353 353 0 8 0 anonpl 16 187491 0 177401 80 37 43 60 0 62 0 amapchunkpl 152 8843 0 8739 21 15 6 15 0 158 0 amappl16 192 11128 0 10584 53 24 29 40 0 8 1 amappl15 184 453 0 453 1 1 0 1 0 8 0 amappl14 176 308 0 306 2 1 1 1 0 8 0 amappl13 168 15 0 15 4 4 0 1 0 8 0 amappl12 160 220 0 219 1 0 1 1 0 8 0 amappl11 152 34 0 20 1 0 1 1 0 8 0 amappl10 144 529 0 527 1 0 1 1 0 8 0 amappl9 136 715 0 712 1 0 1 1 0 8 0 amappl8 128 311 0 295 1 0 1 1 0 8 0 amappl7 120 521 0 515 1 0 1 1 0 8 0 amappl6 112 64 0 54 1 0 1 1 0 8 0 amappl5 104 417 0 407 1 0 1 1 0 8 0 amappl4 96 2142 0 2113 2 1 1 2 0 8 0 amappl3 88 913 0 906 1 0 1 1 0 8 0 amappl2 80 20609 0 20563 2 0 2 2 0 8 0 amappl1 72 47692 0 47299 26 17 9 19 0 8 0 amappl 72 5144 0 5110 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 41 0 5 1 0 1 1 0 8 0 uaddrrnd 24 2414 0 2401 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2414 0 2401 1 0 1 1 0 8 0 vmmpekpl 168 16556 0 16536 2 0 2 2 0 8 0 vmmpepl 168 240504 0 239121 152 80 72 84 0 357 3 vmsppl 264 2413 0 2401 2 1 1 2 0 8 0 pdppl 4096 4834 0 4802 6 1 5 6 0 8 0 pvpl 32 606777 0 593739 262 93 169 250 0 265 60 pmappl 200 2413 0 2401 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 553 0 73 15 0 15 15 0 8 0