panic() at panic+0x15c sys/kern/subr_prf.c:207 fifo_badop(ffff800016b4e6d8) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd8030bbf100) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:727 bwrite(fffffd8030bbf100) at bwrite+0x206 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd8030bbf100) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:739 ufs_mkdir(ffff800016b4e960) at ufs_mkdir+0x6b7 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd80346a01a0,ffff800016b4eac0,ffff800016b4eb10,ffff800016b4e9f0) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 domkdirat(ffff8000ffff9b30,ffffff9c,7f7fffff6ff0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2983 syscall(ffff800016b4ec90) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,88,7f7fffff6ff0,88,0,7f7fffff7014) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7060, 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(ffff800016b4e6d8) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd8030bbf100) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:727 bwrite(fffffd8030bbf100) at bwrite+0x206 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd8030bbf100) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:739 ufs_mkdir(ffff800016b4e960) at ufs_mkdir+0x6b7 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd80346a01a0,ffff800016b4eac0,ffff800016b4eb10,ffff800016b4e9f0) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 domkdirat(ffff8000ffff9b30,ffffff9c,7f7fffff6ff0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2983 syscall(ffff800016b4ec90) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,88,7f7fffff6ff0,88,0,7f7fffff7014) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff7060, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff800016b4e600 rbx 0xffff800016b4e6b0 rdx 0x2 rcx 0 rax 0 r8 0xffff800016b4e5c0 r9 0x1 r10 0 r11 0x71b872cf3868dd44 r12 0x3000000008 r13 0xffff800016b4e610 r14 0x100 r15 0x1 rip 0xffffffff8199afa8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800016b4e5f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=210764 stat=onproc flags process=2 proc=0 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8770,0xffff8000ffff22a0 process=0xffff8000148a30f8 user=0xffff800016b49000, vmspace=0xfffffd803f013440 estcpu=36, cpticks=5, pctcpu=0.0 user=0, sys=4, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 16178 425806 1 0 3 0x100083 ttyin getty 55262 216638 8859 0 2 0x2 syz-executor.0 69494 396260 0 0 3 0x14200 bored sosplice * 3576 210764 8859 0 7 0x2 syz-executor.1 8859 110474 71426 0 3 0x82 thrsleep syz-fuzzer 8859 492661 71426 0 2 0x4000482 syz-fuzzer 8859 287429 71426 0 3 0x4000082 thrsleep syz-fuzzer 8859 484271 71426 0 3 0x4000082 thrsleep syz-fuzzer 8859 480891 71426 0 3 0x4000082 thrsleep syz-fuzzer 8859 134429 71426 0 3 0x4000082 kqread syz-fuzzer 8859 514276 71426 0 3 0x4000082 thrsleep syz-fuzzer 8859 359767 71426 0 3 0x4000082 thrsleep syz-fuzzer 71426 70547 44069 0 3 0x10008a pause ksh 44069 461039 6963 0 3 0x92 select sshd 6963 162048 1 0 3 0x80 select sshd 97097 489363 70096 73 3 0x100090 kqread syslogd 70096 315904 1 0 3 0x100082 netio syslogd 74922 450639 1 77 3 0x100090 poll dhclient 19826 202437 1 0 3 0x80 poll dhclient 84121 15477 0 0 3 0x14200 pgzero zerothread 4997 282912 0 0 3 0x14200 aiodoned aiodoned 90982 191365 0 0 3 0x14200 syncer update 95617 164544 0 0 3 0x14200 cleaner cleaner 3856 21706 0 0 3 0x14200 reaper reaper 63033 188429 0 0 3 0x14200 pgdaemon pagedaemon 415 53604 0 0 3 0x14200 bored crynlk 87728 233480 0 0 3 0x14200 bored crypto 91502 173341 0 0 3 0x40014200 acpi0 acpi0 27823 443406 0 0 3 0x14200 bored softnet 76100 263092 0 0 3 0x14200 bored systqmp 95460 239544 0 0 3 0x14200 bored systq 63239 487037 0 0 3 0x40014200 bored softclock 29108 289381 0 0 3 0x40014200 idle0 10060 379718 0 0 3 0x14200 bored smr 1 502146 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 9465 6328K 7675K 78643K 13286 0 0 pcb 13 14K 18K 78643K 174 0 0 rtable 110 3K 4K 78643K 697 0 0 ifaddr 44 12K 12K 78643K 163 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 62 0 0 iov 0 0K 24K 78643K 123 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1219 77K 77K 78643K 2058 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 51 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 11 1K 1K 78643K 11 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 4 9K 25K 78643K 1677 0 0 proc 48 38K 63K 78643K 510 0 0 subproc 32 2K 2K 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 399 0 0 in_multi 33 2K 2K 78643K 81 0 0 ether_multi 1 0K 0K 78643K 1 0 0 mrt 0 0K 0K 78643K 22 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 276 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 87 20K 38K 78643K 4458 0 0 UVM aobj 71 3K 3K 78643K 99 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 250 0 0 NDP 7 0K 0K 78643K 43 0 0 temp 135 3538K 3602K 78643K 11299 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 25 0 18 1 0 1 1 0 8 0 rtpcb 80 39 0 37 1 0 1 1 0 8 0 rtentry 112 119 0 74 2 0 2 2 0 8 0 unpcb 120 899 0 877 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 sackhl 24 11 0 11 5 4 1 1 0 8 1 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 544 2510 0 2506 17 16 1 15 0 8 0 ipq 40 10 0 10 1 1 0 1 0 8 0 ipqe 40 240 0 240 1 1 0 1 0 8 0 inpcb 280 3348 0 3333 19 17 2 16 0 8 0 rttmr 72 11 0 11 1 0 1 1 0 8 1 nd6 48 8 0 4 1 0 1 1 0 8 0 pkpcb 40 18 0 18 2 2 0 1 0 8 0 ppxss 1128 26 0 26 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 332 0 113 14 0 14 14 0 8 0 art_table 32 333 0 113 2 0 2 2 0 8 0 art_node 16 118 0 77 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 17 1 1 0 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 97 0 28 3 1 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3828 0 2426 46 0 46 46 0 8 0 ffsino 240 3828 0 2426 83 0 83 83 0 8 0 nchpl 144 6271 0 4674 60 0 60 60 0 8 0 uvmvnodes 72 4436 0 0 81 0 81 81 0 8 0 vnodes 208 4436 0 0 234 0 234 234 0 8 0 namei 1024 15811 0 15810 1 0 1 1 0 8 0 scxspl 192 18622 0 18622 8 7 1 7 0 8 1 plimitpl 152 81 0 74 1 0 1 1 0 8 0 sigapl 432 1843 0 1831 2 0 2 2 0 8 0 futexpl 56 23922 0 23922 1 0 1 1 0 8 1 knotepl 112 322 0 303 1 0 1 1 0 8 0 kqueuepl 104 2201 0 2199 7 6 1 7 0 8 0 pipepl 112 742 0 723 3 2 1 2 0 8 0 fdescpl 424 1844 0 1831 2 0 2 2 0 8 0 filepl 120 12429 0 12333 18 14 4 17 0 8 0 lockfpl 104 306 0 305 1 0 1 1 0 8 0 lockfspl 48 120 0 119 1 0 1 1 0 8 0 sessionpl 112 20 0 10 1 0 1 1 0 8 0 pgrppl 48 20 0 10 1 0 1 1 0 8 0 ucredpl 96 1254 0 1247 1 0 1 1 0 8 0 zombiepl 144 1831 0 1831 1 0 1 1 0 8 1 processpl 864 1859 0 1831 4 0 4 4 0 8 0 procpl 632 3637 0 3602 4 0 4 4 0 8 0 sosppl 128 41 0 41 1 1 0 1 0 8 0 sockpl 384 4332 0 4301 27 22 5 24 0 8 1 mcl64k 65536 15 0 15 2 1 1 1 0 8 1 mcl16k 16384 47 0 47 1 1 0 1 0 8 0 mcl12k 12288 24 0 24 3 2 1 1 0 8 1 mcl9k 9216 23 0 23 2 2 0 1 0 8 0 mcl8k 8192 77 0 77 2 2 0 1 0 8 0 mcl4k 4096 74 0 74 5 4 1 1 0 8 1 mcl2k 2048 17076 0 17044 16 9 7 10 0 8 2 mtagpl 80 142 0 36 4 1 3 3 0 8 0 mbufpl 256 53340 0 53029 34 8 26 30 0 8 4 bufpl 256 9484 0 4519 311 0 311 311 0 8 0 anonpl 16 131805 0 127852 33 16 17 31 0 62 0 amapchunkpl 152 6757 0 6683 18 13 5 14 0 158 0 amappl16 192 6736 0 6562 14 4 10 13 0 8 1 amappl15 184 2387 0 2383 1 0 1 1 0 8 0 amappl14 176 41 0 38 1 0 1 1 0 8 0 amappl13 168 1 0 0 1 0 1 1 0 8 0 amappl12 160 2 0 0 1 0 1 1 0 8 0 amappl11 152 49 0 38 1 0 1 1 0 8 0 amappl10 144 6 0 6 1 1 0 1 0 8 0 amappl9 136 249 0 243 1 0 1 1 0 8 0 amappl8 128 166 0 143 1 0 1 1 0 8 0 amappl7 120 43 0 39 1 0 1 1 0 8 0 amappl6 112 81 0 71 1 0 1 1 0 8 0 amappl5 104 853 0 844 1 0 1 1 0 8 0 amappl4 96 2111 0 2081 1 0 1 1 0 8 0 amappl3 88 154 0 149 1 0 1 1 0 8 0 amappl2 80 15083 0 15022 3 1 2 3 0 8 0 amappl1 72 40623 0 40230 27 18 9 20 0 8 0 amappl 80 3891 0 3862 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 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 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 98 0 28 2 0 2 2 0 8 0 uaddrrnd 24 1844 0 1831 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1844 0 1831 1 0 1 1 0 8 0 vmmpekpl 168 13645 0 13619 2 0 2 2 0 8 0 vmmpepl 168 211673 0 210568 92 33 59 76 0 357 4 vmsppl 272 1843 0 1831 3 2 1 2 0 8 0 pdppl 4096 3694 0 3662 6 1 5 6 0 8 0 pvpl 32 480378 0 473444 152 74 78 115 0 265 20 pmappl 200 1843 0 1831 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 501 0 46 15 1 14 14 0 8 0