panic() at panic+0x15c sys/kern/subr_prf.c:212 fifo_badop(ffff8000149d6078) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd80044b2200) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:715 bwrite(fffffd80044b2200) at bwrite+0x203 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd80044b2200) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:727 ufs_mkdir(ffff8000149d6308) at ufs_mkdir+0x6c0 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd8031637590,ffff8000149d6460,ffff8000149d64b0,ffff8000149d6390) at VOP_MKDIR+0x6a sys/kern/vfs_vops.c:449 domkdirat(ffff8000149019c8,ffffff9c,7f7fffff91f0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2974 syscall(ffff8000149d6630) at syscall+0x508 Xsyscall(6,88,7f7fffff91f0,88,0,7f7fffff9214) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9260, 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(ffff8000149d6078) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd80044b2200) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:715 bwrite(fffffd80044b2200) at bwrite+0x203 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd80044b2200) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:727 ufs_mkdir(ffff8000149d6308) at ufs_mkdir+0x6c0 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd8031637590,ffff8000149d6460,ffff8000149d64b0,ffff8000149d6390) at VOP_MKDIR+0x6a sys/kern/vfs_vops.c:449 domkdirat(ffff8000149019c8,ffffff9c,7f7fffff91f0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2974 syscall(ffff8000149d6630) at syscall+0x508 Xsyscall(6,88,7f7fffff91f0,88,0,7f7fffff9214) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9260, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000149d5fa0 rbx 0xffff8000149d6050 rdx 0x2 rcx 0 rax 0 r8 0xffff8000149d5f60 r9 0x1 r10 0 r11 0xb33b56b38c455f5 r12 0x3000000008 r13 0xffff8000149d5fb0 r14 0x100 r15 0x1 rip 0xffffffff81d54548 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000149d5f90 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=269816 stat=onproc flags process=2 proc=0 pri=17, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff8000149025f8,0xffff800014902878 process=0xffff8000149566a8 user=0xffff8000149d1000, vmspace=0xfffffd803f014000 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 90356 176582 1 0 3 0x100083 ttyin getty 83304 397097 0 0 3 0x14200 bored sosplice 16176 503031 41552 0 2 0x2 syz-executor.0 *49614 269816 41552 0 7 0x2 syz-executor.1 41552 295824 61780 0 3 0x82 thrsleep syz-fuzzer 41552 182216 61780 0 3 0x4000082 nanosleep syz-fuzzer 41552 466255 61780 0 3 0x4000082 thrsleep syz-fuzzer 41552 360361 61780 0 3 0x4000082 thrsleep syz-fuzzer 41552 26800 61780 0 3 0x4000082 kqread syz-fuzzer 41552 29094 61780 0 3 0x4000082 thrsleep syz-fuzzer 41552 87063 61780 0 3 0x4000082 thrsleep syz-fuzzer 61780 101465 85027 0 3 0x10008a pause ksh 85027 453408 44334 0 3 0x92 select sshd 44334 27727 1 0 3 0x80 select sshd 83594 309168 12066 73 3 0x100090 kqread syslogd 12066 258965 1 0 3 0x100082 netio syslogd 46139 443957 1 77 3 0x100090 poll dhclient 81763 149139 1 0 3 0x80 poll dhclient 72467 177256 0 0 3 0x14200 pgzero zerothread 26389 218710 0 0 3 0x14200 aiodoned aiodoned 75020 435062 0 0 3 0x14200 syncer update 92393 512793 0 0 3 0x14200 cleaner cleaner 77720 134199 0 0 3 0x14200 reaper reaper 13636 195158 0 0 3 0x14200 pgdaemon pagedaemon 55854 238673 0 0 3 0x14200 bored crynlk 65053 443349 0 0 3 0x14200 bored crypto 32164 502615 0 0 3 0x40014200 acpi0 acpi0 35316 343097 0 0 3 0x14200 bored softnet 81245 114192 0 0 3 0x14200 bored systqmp 93448 145367 0 0 3 0x14200 bored systq 23808 469553 0 0 3 0x40014200 bored softclock 23996 473977 0 0 3 0x40014200 idle0 82777 483014 0 0 3 0x14200 bored smr 1 323035 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 9487 6471K 14656K 78643K 14733 0 0 pcb 23 9K 10K 78643K 771 0 0 rtable 119 4K 4K 78643K 535 0 0 ifaddr 47 12K 13K 78643K 233 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 99 0 0 iov 0 0K 28K 78643K 195 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1203 76K 76K 78643K 2833 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 7 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 1K 1K 78643K 126 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 4 9K 25K 78643K 1622 0 0 sigio 0 0K 0K 78643K 16 0 0 proc 42 30K 54K 78643K 425 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 144 0 0 in_multi 33 2K 2K 78643K 69 0 0 ether_multi 1 0K 0K 78643K 5 0 0 mrt 0 0K 0K 78643K 7 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 84 371K 371K 78643K 84 0 0 exec 0 0K 1K 78643K 297 0 0 pfkey data 0 0K 0K 78643K 2 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 82 20K 29K 78643K 4626 0 0 UVM aobj 54 4K 4K 78643K 61 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 67 0 0 NDP 8 0K 0K 78643K 60 0 0 temp 142 2710K 3350K 78643K 8106 0 0 kqueue 0 0K 0K 78643K 20 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 658 0 651 1 0 1 1 0 8 0 rtentry 112 49 0 1 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 258 0 254 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 ppxss 1128 44 0 44 5 4 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 48 0 8 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 3 1 0 1 1 0 8 0 semapl 112 124 0 114 1 0 1 1 0 8 0 shmpl 112 59 0 7 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4153 0 2736 46 0 46 46 0 8 0 ffsino 240 4153 0 2736 84 0 84 84 0 8 0 nchpl 144 6533 0 4901 61 0 61 61 0 8 0 uvmvnodes 72 5210 0 0 95 0 95 95 0 8 0 vnodes 200 5210 0 0 275 0 275 275 0 8 0 namei 1024 20155 0 20154 2 1 1 1 0 8 0 scsiplug 64 4 0 4 2 2 0 1 0 8 0 scxspl 192 18274 0 18274 17 16 1 6 0 8 1 plimitpl 152 66 0 59 1 0 1 1 0 8 0 sigapl 432 1794 0 1782 2 0 2 2 0 8 0 futexpl 56 25443 0 25443 1 0 1 1 0 8 1 knotepl 112 289 0 270 1 0 1 1 0 8 0 kqueuepl 104 304 0 302 1 0 1 1 0 8 0 pipepl 112 934 0 915 3 2 1 2 0 8 0 fdescpl 424 1795 0 1782 2 0 2 2 0 8 0 filepl 120 10586 0 10492 4 0 4 4 0 8 0 lockfpl 104 554 0 554 2 1 1 1 0 8 1 lockfspl 48 184 0 184 2 1 1 1 0 8 1 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 40 0 30 1 0 1 1 0 8 0 ucredpl 96 2377 0 2370 1 0 1 1 0 8 0 zombiepl 144 1782 0 1782 2 1 1 1 0 8 1 processpl 840 1810 0 1782 4 0 4 4 0 8 0 procpl 624 3880 0 3846 4 0 4 4 0 8 1 sosppl 128 22 0 22 4 3 1 1 0 8 1 sockpl 384 1332 0 1315 4 1 3 4 0 8 1 mcl64k 65536 34 0 34 7 6 1 1 0 8 1 mcl16k 16384 4 0 4 4 3 1 1 0 8 1 mcl12k 12288 26 0 26 6 5 1 1 0 8 1 mcl9k 9216 29 0 29 6 5 1 1 0 8 1 mcl8k 8192 24 0 24 8 7 1 1 0 8 1 mcl4k 4096 82 0 82 2 1 1 1 0 8 1 mcl2k2 2112 5 0 5 2 2 0 1 0 8 0 mcl2k 2048 53227 0 53179 13 6 7 11 0 8 0 mtagpl 80 6 0 6 2 1 1 1 0 8 1 mbufpl 256 91480 0 91418 15 9 6 10 0 8 1 bufpl 256 10019 0 4402 352 0 352 352 0 8 0 anonpl 16 146961 0 136576 79 36 43 59 0 62 0 amapchunkpl 152 7561 0 7461 29 24 5 14 0 158 0 amappl16 192 8047 0 7478 53 23 30 40 0 8 1 amappl14 176 39 0 35 2 1 1 1 0 8 0 amappl13 168 816 0 815 1 0 1 1 0 8 0 amappl12 160 16 0 15 2 1 1 1 0 8 0 amappl11 152 59 0 45 1 0 1 1 0 8 0 amappl10 144 836 0 835 2 1 1 1 0 8 0 amappl9 136 550 0 546 1 0 1 1 0 8 0 amappl8 128 128 0 112 1 0 1 1 0 8 0 amappl7 120 800 0 797 1 0 1 1 0 8 0 amappl6 112 55 0 50 1 0 1 1 0 8 0 amappl5 104 156 0 146 1 0 1 1 0 8 0 amappl4 96 2753 0 2730 1 0 1 1 0 8 0 amappl3 88 227 0 216 1 0 1 1 0 8 0 amappl2 80 13620 0 13562 4 2 2 3 0 8 0 amappl1 72 39245 0 38853 26 17 9 19 0 8 0 amappl 80 4138 0 4105 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 60 0 7 1 0 1 1 0 8 0 uaddrrnd 24 1795 0 1782 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1795 0 1782 1 0 1 1 0 8 0 vmmpekpl 168 13466 0 13439 2 0 2 2 0 8 0 vmmpepl 168 212204 0 210727 116 40 76 85 0 357 3 vmsppl 272 1794 0 1782 2 1 1 2 0 8 0 pdppl 4096 3596 0 3564 6 1 5 6 0 8 0 pvpl 32 474545 0 461217 274 103 171 247 0 265 59 pmappl 200 1794 0 1782 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 518 0 37 14 0 14 14 0 8 0