panic() at panic+0x15c sys/kern/subr_prf.c:212 fifo_badop(ffff8000149edf58) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd80391f6700) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:715 bwrite(fffffd80391f6700) at bwrite+0x203 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd80391f6700) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:727 ufs_mkdir(ffff8000149ee1e8) at ufs_mkdir+0x6c0 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd802f0958b8,ffff8000149ee340,ffff8000149ee390,ffff8000149ee270) at VOP_MKDIR+0x6a sys/kern/vfs_vops.c:449 domkdirat(ffff8000ffff9778,ffffff9c,7f7fffff6550,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2970 syscall(ffff8000149ee530) at syscall+0x511 Xsyscall(6,88,7f7fffff6550,88,0,7f7fffff6574) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff65c0, 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(ffff8000149edf58) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd80391f6700) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:715 bwrite(fffffd80391f6700) at bwrite+0x203 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd80391f6700) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:727 ufs_mkdir(ffff8000149ee1e8) at ufs_mkdir+0x6c0 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd802f0958b8,ffff8000149ee340,ffff8000149ee390,ffff8000149ee270) at VOP_MKDIR+0x6a sys/kern/vfs_vops.c:449 domkdirat(ffff8000ffff9778,ffffff9c,7f7fffff6550,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2970 syscall(ffff8000149ee530) at syscall+0x511 Xsyscall(6,88,7f7fffff6550,88,0,7f7fffff6574) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff65c0, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000149ede80 rbx 0xffff8000149edf30 rdx 0x2 rcx 0 rax 0 r8 0xffff8000149ede40 r9 0x1 r10 0 r11 0x28e9b9d3d5a75109 r12 0x3000000008 r13 0xffff8000149ede90 r14 0x100 r15 0x1 rip 0xffffffff81186dc8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000149ede70 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=434313 stat=onproc flags process=2 proc=0 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff9520,0xffff8000ffff8270 process=0xffff8000149529f0 user=0xffff8000149e9000, vmspace=0xfffffd803f013000 estcpu=36, cpticks=5, pctcpu=0.1 user=0, sys=4, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 7586 48295 0 0 3 0x14200 bored sosplice *14731 434313 71704 0 7 0x2 syz-executor.0 91128 320184 71704 0 2 0x2 syz-executor.1 71704 305638 16161 0 3 0x82 thrsleep syz-fuzzer 71704 445761 16161 0 2 0x4000482 syz-fuzzer 71704 210101 16161 0 3 0x4000082 thrsleep syz-fuzzer 71704 345763 16161 0 3 0x4000082 kqread syz-fuzzer 71704 23867 16161 0 3 0x4000082 thrsleep syz-fuzzer 71704 15015 16161 0 3 0x4000082 thrsleep syz-fuzzer 71704 29649 16161 0 3 0x4000082 thrsleep syz-fuzzer 16161 171124 81896 0 3 0x10008a pause ksh 81896 36857 69985 0 3 0x92 select sshd 194 80061 1 0 3 0x100083 ttyin getty 69985 500807 1 0 3 0x80 select sshd 59835 88175 46961 73 3 0x100090 kqread syslogd 46961 175221 1 0 3 0x100082 netio syslogd 25049 419353 1 77 3 0x100090 poll dhclient 91034 282899 1 0 3 0x80 poll dhclient 84524 409881 0 0 3 0x14200 pgzero zerothread 24374 74977 0 0 3 0x14200 aiodoned aiodoned 73993 288984 0 0 3 0x14200 syncer update 66193 83388 0 0 3 0x14200 cleaner cleaner 68588 165606 0 0 3 0x14200 reaper reaper 38478 432742 0 0 3 0x14200 pgdaemon pagedaemon 51961 454356 0 0 3 0x14200 bored crynlk 82746 276019 0 0 3 0x14200 bored crypto 53293 27314 0 0 3 0x40014200 acpi0 acpi0 89089 284033 0 0 3 0x14200 bored softnet 94870 438968 0 0 2 0x14200 systqmp 22033 216242 0 0 3 0x14200 bored systq 16482 193696 0 0 2 0x40014200 softclock 63757 364472 0 0 3 0x40014200 idle0 21476 415211 0 0 3 0x14200 bored smr 1 506997 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 9495 6345K 7370K 78643K 12882 0 0 pcb 23 9K 10K 78643K 462 0 0 rtable 108 3K 4K 78643K 350 0 0 ifaddr 55 13K 14K 78643K 141 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 31 0 0 iov 0 0K 16K 78643K 125 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1207 76K 76K 78643K 1945 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 16 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 1K 78643K 1786 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 4 9K 25K 78643K 1535 0 0 sigio 0 0K 0K 78643K 16 0 0 proc 41 30K 54K 78643K 370 0 0 subproc 64 65538K 69634K 78643K 68 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 56 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 60 265K 265K 78643K 60 0 0 exec 0 0K 1K 78643K 237 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 23K 78643K 4126 0 0 UVM aobj 47 2K 2K 78643K 51 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 845 0 0 NDP 11 0K 0K 78643K 36 0 0 temp 158 2709K 3347K 78643K 7028 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 2015 0 2008 2 1 1 2 0 8 0 plimitpl 152 52 0 45 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 14 0 14 1 1 0 1 0 8 0 tcpcb 544 937 0 933 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 ppxss 1128 20 0 20 2 1 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 20 0 8 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 1784 0 1774 1 0 1 1 0 8 0 shmpl 112 49 0 4 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4122 0 2709 46 0 46 46 0 8 0 ffsino 240 4122 0 2709 84 0 84 84 0 8 0 nchpl 144 6891 0 5260 61 0 61 61 0 8 0 uvmvnodes 72 4698 0 0 86 0 86 86 0 8 0 vnodes 200 4698 0 0 248 0 248 248 0 8 0 namei 1024 45830 0 45829 2 1 1 1 0 8 0 scxspl 192 21789 0 21789 10 8 2 6 0 8 2 sigapl 432 1705 0 1693 2 0 2 2 0 8 0 futexpl 56 39609 0 39609 1 0 1 1 0 8 1 knotepl 112 201 0 182 1 0 1 1 0 8 0 kqueuepl 104 192 0 190 1 0 1 1 0 8 0 pipepl 112 592 0 573 3 2 1 2 0 8 0 fdescpl 424 1706 0 1693 2 0 2 2 0 8 0 filepl 120 8750 0 8656 4 0 4 4 0 8 1 lockfpl 104 287 0 287 2 1 1 1 0 8 1 lockfspl 48 102 0 102 2 1 1 1 0 8 1 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 27 0 17 1 0 1 1 0 8 0 ucredpl 96 729 0 722 1 0 1 1 0 8 0 zombiepl 144 1693 0 1693 2 1 1 1 0 8 1 processpl 840 1721 0 1693 4 0 4 4 0 8 0 procpl 600 3469 0 3435 5 1 4 4 0 8 1 sosppl 128 11 0 11 3 2 1 1 0 8 1 sockpl 384 2392 0 2375 3 0 3 3 0 8 1 mcl64k 65536 542 0 542 34 33 1 32 0 8 1 mcl16k 16384 7 0 7 7 6 1 1 0 8 1 mcl12k 12288 12 0 12 3 2 1 1 0 8 1 mcl9k 9216 12 0 12 6 5 1 1 0 8 1 mcl8k 8192 13 0 13 4 3 1 1 0 8 1 mcl4k 4096 751 0 751 2 1 1 1 0 8 1 mcl2k2 2112 5 0 5 3 2 1 1 0 8 1 mcl2k 2048 60328 0 60293 15 10 5 11 0 8 0 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 108635 0 108576 24 16 8 21 0 8 0 bufpl 256 9612 0 4001 351 0 351 351 0 8 0 anonpl 16 163847 0 151966 97 32 65 65 0 62 16 amapchunkpl 152 7104 0 7005 31 26 5 15 0 158 0 amappl16 192 8614 0 7960 78 37 41 45 0 8 8 amappl14 176 746 0 742 1 0 1 1 0 8 0 amappl13 168 9 0 8 1 0 1 1 0 8 0 amappl12 160 11 0 10 1 0 1 1 0 8 0 amappl11 152 846 0 833 1 0 1 1 0 8 0 amappl10 144 61 0 60 2 1 1 1 0 8 0 amappl9 136 537 0 533 1 0 1 1 0 8 0 amappl8 128 125 0 108 1 0 1 1 0 8 0 amappl7 120 29 0 26 1 0 1 1 0 8 0 amappl6 112 859 0 852 1 0 1 1 0 8 0 amappl5 104 158 0 148 1 0 1 1 0 8 0 amappl4 96 1206 0 1182 2 1 1 2 0 8 0 amappl3 88 1526 0 1519 1 0 1 1 0 8 0 amappl2 80 14141 0 14096 2 0 2 2 0 8 0 amappl1 72 36574 0 36175 25 15 10 19 0 8 0 amappl 80 3709 0 3676 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 50 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1706 0 1693 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1706 0 1693 1 0 1 1 0 8 0 vmmpekpl 168 13677 0 13659 2 1 1 2 0 8 0 vmmpepl 168 176358 0 174870 120 40 80 88 0 357 10 vmsppl 264 1705 0 1693 2 1 1 2 0 8 0 pdppl 4096 3418 0 3386 6 1 5 6 0 8 0 pvpl 32 713245 0 698459 278 59 219 259 0 265 97 pmappl 200 1705 0 1693 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 548 0 73 15 0 15 15 0 8 0