panic() at panic+0x15c sys/kern/subr_prf.c:212 fifo_badop(ffff8000153f4048) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd802b7c5b00) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:715 bwrite(fffffd802b7c5b00) at bwrite+0x203 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd802b7c5b00) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:727 ufs_mkdir(ffff8000153f42d8) at ufs_mkdir+0x6c0 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd802fbdb660,ffff8000153f4430,ffff8000153f4480,ffff8000153f4360) at VOP_MKDIR+0x6a sys/kern/vfs_vops.c:449 domkdirat(ffff8000149019c8,ffffff9c,7f7ffffbeec0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2974 syscall(ffff8000153f4600) at syscall+0x508 Xsyscall(6,88,7f7ffffbeec0,88,0,7f7ffffbeee4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbef30, 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(ffff8000153f4048) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd802b7c5b00) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:715 bwrite(fffffd802b7c5b00) at bwrite+0x203 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd802b7c5b00) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:727 ufs_mkdir(ffff8000153f42d8) at ufs_mkdir+0x6c0 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd802fbdb660,ffff8000153f4430,ffff8000153f4480,ffff8000153f4360) at VOP_MKDIR+0x6a sys/kern/vfs_vops.c:449 domkdirat(ffff8000149019c8,ffffff9c,7f7ffffbeec0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2974 syscall(ffff8000153f4600) at syscall+0x508 Xsyscall(6,88,7f7ffffbeec0,88,0,7f7ffffbeee4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbef30, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000153f3f70 rbx 0xffff8000153f4020 rdx 0x2 rcx 0 rax 0 r8 0xffff8000153f3f30 r9 0x1 r10 0 r11 0x6f15d7bc87211ffa r12 0x3000000008 r13 0xffff8000153f3f80 r14 0x100 r15 0x1 rip 0xffffffff81657688 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000153f3f60 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=390517 stat=onproc flags process=2 proc=0 pri=17, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff800014902118,0xffff800014902ae8 process=0xffff800014956368 user=0xffff8000153ef000, vmspace=0xfffffd803f00b220 estcpu=36, cpticks=1, pctcpu=0.2 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 90701 424865 1 0 3 0x100083 ttyin getty 37421 425016 0 0 3 0x14200 bored sosplice *48806 390517 86874 0 7 0x2 syz-executor.1 58737 513598 86874 0 2 0x2 syz-executor.0 86874 405570 37508 0 3 0x82 thrsleep syz-fuzzer 86874 229452 37508 0 2 0x4000482 syz-fuzzer 86874 162207 37508 0 3 0x4000082 thrsleep syz-fuzzer 86874 349289 37508 0 3 0x4000082 kqread syz-fuzzer 86874 389659 37508 0 3 0x4000082 thrsleep syz-fuzzer 86874 232785 37508 0 3 0x4000082 thrsleep syz-fuzzer 86874 62843 37508 0 3 0x4000082 thrsleep syz-fuzzer 37508 262083 65286 0 3 0x10008a pause ksh 65286 468029 12203 0 3 0x92 select sshd 12203 159915 1 0 3 0x80 select sshd 80792 105243 95739 73 3 0x100090 kqread syslogd 95739 274099 1 0 3 0x100082 netio syslogd 46070 4835 1 77 3 0x100090 poll dhclient 70231 433325 1 0 3 0x80 poll dhclient 95128 248463 0 0 3 0x14200 pgzero zerothread 34834 74204 0 0 3 0x14200 aiodoned aiodoned 1330 360716 0 0 3 0x14200 syncer update 86358 21281 0 0 3 0x14200 cleaner cleaner 3319 232115 0 0 3 0x14200 reaper reaper 28398 113703 0 0 3 0x14200 pgdaemon pagedaemon 49666 103569 0 0 3 0x14200 bored crynlk 55127 499135 0 0 3 0x14200 bored crypto 3433 22475 0 0 3 0x40014200 acpi0 acpi0 31366 253399 0 0 3 0x14200 bored softnet 14863 402591 0 0 3 0x14200 bored systqmp 37711 226701 0 0 3 0x14200 bored systq 35136 458952 0 0 3 0x40014200 bored softclock 57817 165387 0 0 3 0x40014200 idle0 58680 75006 0 0 3 0x14200 bored smr 1 14415 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 9503 6355K 6870K 78643K 16123 0 0 pcb 23 9K 10K 78643K 1022 0 0 rtable 114 4K 4K 78643K 454 0 0 ifaddr 57 13K 14K 78643K 195 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 105 0 0 iov 0 0K 20K 78643K 247 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1207 76K 77K 78643K 3207 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 25 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 0K 78643K 170 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 4 9K 25K 78643K 2176 0 0 sigio 0 0K 0K 78643K 44 0 0 proc 42 30K 54K 78643K 458 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 184 0 0 in_multi 33 2K 2K 78643K 98 0 0 ether_multi 1 0K 0K 78643K 8 0 0 mrt 0 0K 0K 78643K 4 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 363 0 0 pfkey data 0 0K 4K 78643K 4 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 80 20K 39K 78643K 5900 0 0 UVM aobj 96 3K 3K 78643K 101 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 114 0 0 NDP 11 0K 0K 78643K 50 0 0 temp 164 2715K 2843K 78643K 9466 0 0 kqueue 0 0K 0K 78643K 26 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 907 0 900 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 103 0 103 1 1 0 1 0 8 0 tcpcb 544 323 0 319 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 ppxss 1128 33 0 33 7 6 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 17 0 5 1 0 1 1 0 8 0 semapl 112 168 0 158 1 0 1 1 0 8 0 shmpl 112 99 0 5 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4922 0 3504 47 1 46 47 0 8 0 ffsino 240 4922 0 3504 84 0 84 84 0 8 0 nchpl 144 8185 0 6565 61 0 61 61 0 8 0 uvmvnodes 72 6181 0 0 113 0 113 113 0 8 0 vnodes 200 6181 0 0 326 0 326 326 0 8 0 namei 1024 24919 0 24918 2 1 1 1 0 8 0 scsiplug 64 3 0 3 2 2 0 1 0 8 0 scxspl 192 23420 0 23420 16 13 3 6 0 8 3 plimitpl 152 81 0 74 1 0 1 1 0 8 0 sigapl 432 2349 0 2337 2 0 2 2 0 8 0 futexpl 56 34408 0 34408 1 0 1 1 0 8 1 knotepl 112 381 0 362 1 0 1 1 0 8 0 kqueuepl 104 462 0 460 1 0 1 1 0 8 0 pipepl 112 1348 0 1329 6 4 2 2 0 8 1 fdescpl 424 2350 0 2337 2 0 2 2 0 8 0 filepl 120 13988 0 13894 5 1 4 5 0 8 1 lockfpl 104 759 0 759 2 1 1 1 0 8 1 lockfspl 48 266 0 266 2 1 1 1 0 8 1 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 37 0 27 1 0 1 1 0 8 0 ucredpl 96 3276 0 3269 1 0 1 1 0 8 0 zombiepl 144 2337 0 2337 2 1 1 1 0 8 1 processpl 848 2365 0 2337 4 0 4 4 0 8 0 procpl 624 5126 0 5092 4 0 4 4 0 8 0 sosppl 128 18 0 18 5 4 1 1 0 8 1 sockpl 384 1780 0 1763 3 0 3 3 0 8 1 mcl64k 65536 1028 0 1028 94 61 33 33 0 8 33 mcl16k 16384 7 0 7 4 4 0 1 0 8 0 mcl12k 12288 46 0 46 6 5 1 1 0 8 1 mcl9k 9216 28 0 28 10 9 1 1 0 8 1 mcl8k 8192 21 0 21 8 7 1 1 0 8 1 mcl4k 4096 95 0 95 4 3 1 1 0 8 1 mcl2k2 2112 12 0 12 6 6 0 1 0 8 0 mcl2k 2048 53661 0 53622 19 13 6 16 0 8 0 mtagpl 80 4 0 3 2 1 1 1 0 8 0 mbufpl 256 95020 0 94954 50 36 14 21 0 8 8 bufpl 256 12354 0 5580 424 0 424 424 0 8 0 anonpl 16 208613 0 198064 115 55 60 62 0 62 16 amapchunkpl 152 10388 0 10291 51 41 10 15 0 158 5 amappl16 192 10560 0 9978 90 52 38 42 0 8 8 amappl15 184 1083 0 1082 2 1 1 1 0 8 0 amappl14 176 2180 0 2177 2 1 1 1 0 8 0 amappl13 168 1 0 1 1 1 0 1 0 8 0 amappl12 160 12 0 9 1 0 1 1 0 8 0 amappl11 152 49 0 34 1 0 1 1 0 8 0 amappl10 144 63 0 62 2 1 1 1 0 8 0 amappl9 136 545 0 541 1 0 1 1 0 8 0 amappl8 128 129 0 115 1 0 1 1 0 8 0 amappl7 120 30 0 26 1 0 1 1 0 8 0 amappl6 112 60 0 52 1 0 1 1 0 8 0 amappl5 104 155 0 145 1 0 1 1 0 8 0 amappl4 96 2513 0 2492 1 0 1 1 0 8 0 amappl3 88 1313 0 1303 1 0 1 1 0 8 0 amappl2 80 19120 0 19061 4 2 2 3 0 8 0 amappl1 72 48909 0 48519 26 17 9 19 0 8 0 amappl 80 5384 0 5352 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 100 0 5 2 0 2 2 0 8 0 uaddrrnd 24 2350 0 2337 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2350 0 2337 1 0 1 1 0 8 0 vmmpekpl 168 17210 0 17179 2 0 2 2 0 8 0 vmmpepl 168 274583 0 273097 147 62 85 89 0 357 11 vmsppl 272 2349 0 2337 2 1 1 2 0 8 0 pdppl 4096 4707 0 4674 6 1 5 6 0 8 0 pvpl 32 700122 0 686620 316 121 195 243 0 265 79 pmappl 200 2349 0 2337 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 720 0 129 18 0 18 18 0 8 0