panic: fifo_badop called Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 75426 5225 0 0x2 0 0 syz-executor.1 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(ffff8000167deed8) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd803d201d00) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:727 bwrite(fffffd803d201d00) at bwrite+0x206 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd803d201d00) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:739 ufs_mkdir(ffff8000167df160) at ufs_mkdir+0x6b7 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd8039889358,ffff8000167df2c0,ffff8000167df310,ffff8000167df1f0) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 domkdirat(ffff8000ffff3b40,ffffff9c,7f7ffffe46f0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2983 syscall(ffff8000167df490) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,88,7f7ffffe46f0,88,0,7f7ffffe4714) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe4760, 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(ffff8000167deed8) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd803d201d00) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:727 bwrite(fffffd803d201d00) at bwrite+0x206 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd803d201d00) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:739 ufs_mkdir(ffff8000167df160) at ufs_mkdir+0x6b7 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd8039889358,ffff8000167df2c0,ffff8000167df310,ffff8000167df1f0) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 domkdirat(ffff8000ffff3b40,ffffff9c,7f7ffffe46f0,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2983 syscall(ffff8000167df490) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,88,7f7ffffe46f0,88,0,7f7ffffe4714) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe4760, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000167dee00 rbx 0xffff8000167deeb0 rdx 0x2 rcx 0 rax 0 r8 0xffff8000167dedc0 r9 0x1 r10 0 r11 0x120857e2eb4529b4 r12 0x3000000008 r13 0xffff8000167dee10 r14 0x100 r15 0x1 rip 0xffffffff81605488 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000167dedf0 ss 0 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=75426 stat=onproc flags process=2 proc=0 pri=17, usrpri=52, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff3160,0xffffffff8255d430 process=0xffff8000ffff6d90 user=0xffff8000167da000, vmspace=0xfffffd803f013dd0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND * 5225 75426 53597 0 7 0x2 syz-executor.1 49244 395207 53597 0 2 0x2 syz-executor.0 68233 18780 0 0 3 0x14200 acct acct 96893 346183 1 0 3 0x100083 ttyin getty 50598 217214 0 0 3 0x14200 bored sosplice 53597 370590 99339 0 3 0x82 thrsleep syz-fuzzer 53597 184390 99339 0 3 0x4000082 nanosleep syz-fuzzer 53597 118986 99339 0 3 0x4000082 thrsleep syz-fuzzer 53597 131252 99339 0 3 0x4000082 thrsleep syz-fuzzer 53597 457001 99339 0 3 0x4000082 thrsleep syz-fuzzer 53597 37100 99339 0 2 0x4000002 syz-fuzzer 53597 67943 99339 0 3 0x4000082 thrsleep syz-fuzzer 53597 198097 99339 0 3 0x4000082 thrsleep syz-fuzzer 99339 45558 4336 0 3 0x10008a pause ksh 4336 380209 51550 0 3 0x92 select sshd 51550 499482 1 0 3 0x80 select sshd 27002 264489 76360 73 2 0x100010 syslogd 76360 161509 1 0 3 0x100082 netio syslogd 87982 447053 1 77 3 0x100090 poll dhclient 49138 20685 1 0 3 0x80 poll dhclient 50674 400632 0 0 2 0x14200 zerothread 1169 492792 0 0 3 0x14200 aiodoned aiodoned 37165 9765 0 0 3 0x14200 syncer update 23124 250457 0 0 3 0x14200 cleaner cleaner 94374 153513 0 0 3 0x14200 reaper reaper 93080 520965 0 0 3 0x14200 pgdaemon pagedaemon 7880 121236 0 0 3 0x14200 bored crynlk 48444 383547 0 0 3 0x14200 bored crypto 77799 63777 0 0 3 0x40014200 acpi0 acpi0 24990 98585 0 0 3 0x14200 bored softnet 32049 90016 0 0 3 0x14200 bored systqmp 40726 55037 0 0 3 0x14200 bored systq 41841 203743 0 0 3 0x40014200 bored softclock 21610 44812 0 0 3 0x40014200 idle0 5872 385496 0 0 3 0x14200 bored smr 1 148203 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 9600 6415K 8125K 78643K 34940 0 0 pcb 13 8K 9K 78643K 1658 0 0 rtable 133 13K 13K 78643K 4277 0 0 ifaddr 98 25K 28K 78643K 1098 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 347 0 0 iov 0 0K 28K 78643K 4860 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1228 77K 78K 78643K 9020 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 127 0 0 VM map 56 14K 14K 78643K 86 0 0 sem 12 0K 0K 78643K 1610 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 4 9K 25K 78643K 6935 0 0 sigio 0 0K 0K 78643K 92 0 0 proc 50 38K 63K 78643K 2303 0 0 subproc 32 2K 2K 78643K 580 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 626 0 0 in_multi 36 2K 2K 78643K 853 0 0 ether_multi 1 0K 0K 78643K 66 0 0 mrt 2 0K 0K 78643K 63 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 96 424K 424K 78643K 96 0 0 exec 0 0K 1K 78643K 1410 0 0 pfkey data 0 0K 0K 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 183 422K 424K 78643K 18033 0 0 UVM aobj 130 9K 9K 78643K 146 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 1505 0 0 NDP 27 1K 1K 78643K 370 0 0 temp 247 3545K 4184K 78643K 317972 0 0 kqueue 0 0K 0K 78643K 74 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 145 0 139 1 0 1 1 0 8 0 rtpcb 80 838 0 836 1 0 1 1 0 8 0 rtentry 112 870 0 821 2 0 2 2 0 8 0 unpcb 120 3572 0 3552 2 0 2 2 0 8 0 syncache 264 50 0 50 19 19 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 63 0 63 12 12 0 1 0 8 0 tcpcb 544 4225 0 4221 11 10 1 2 0 8 0 ipq 40 37 0 37 14 14 0 1 0 8 0 ipqe 40 557 0 557 14 14 0 1 0 8 0 inpcb 280 9809 0 9802 36 35 1 4 0 8 0 rttmr 72 19 0 18 7 6 1 1 0 8 0 ip6q 72 5 0 5 3 3 0 1 0 8 0 ip6af 40 12 0 12 2 2 0 1 0 8 0 nd6 48 120 0 116 6 5 1 1 0 8 0 pkpcb 40 46 0 46 12 12 0 1 0 8 0 swfcl 56 4 0 0 1 0 1 1 0 8 0 ppxss 1128 130 0 130 24 24 0 1 0 8 0 art_heap8 4096 36 0 35 16 15 1 4 0 8 0 art_heap4 256 4237 0 3962 51 33 18 19 0 8 0 art_table 32 4273 0 3997 4 1 3 3 0 8 0 art_node 16 868 0 823 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 19 1 0 1 1 0 8 0 semapl 112 1608 0 1598 1 0 1 1 0 8 0 shmpl 112 144 0 16 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 12294 0 10876 47 1 46 47 0 8 0 ffsino 240 12294 0 10876 85 1 84 84 0 8 0 nchpl 144 24565 0 24123 60 41 19 60 0 8 0 uvmvnodes 72 8202 0 0 150 0 150 150 0 8 0 vnodes 208 8202 0 0 432 0 432 432 0 8 0 namei 1024 91029 0 91028 7 6 1 1 0 8 0 vcpupl 1984 54 0 0 7 0 7 7 0 8 0 vmpool 520 84 0 30 5 1 4 4 0 8 0 scsiplug 64 7 0 7 4 4 0 1 0 8 0 scxspl 192 92528 0 92528 48 47 1 7 0 8 1 plimitpl 152 595 0 588 1 0 1 1 0 8 0 sigapl 432 7012 0 7000 2 0 2 2 0 8 0 futexpl 56 208013 0 208013 8 7 1 1 0 8 1 knotepl 112 1667 0 1648 2 1 1 2 0 8 0 kqueuepl 104 1831 0 1829 1 0 1 1 0 8 0 pipepl 112 4398 0 4379 13 12 1 2 0 8 0 fdescpl 424 7013 0 7000 2 0 2 2 0 8 0 filepl 120 66503 0 66407 28 24 4 6 0 8 1 lockfpl 104 2731 0 2730 1 0 1 1 0 8 0 lockfspl 48 906 0 905 1 0 1 1 0 8 0 sessionpl 112 51 0 41 1 0 1 1 0 8 0 pgrppl 48 119 0 109 1 0 1 1 0 8 0 ucredpl 96 7635 0 7627 1 0 1 1 0 8 0 zombiepl 144 7003 0 7003 1 0 1 1 0 8 1 processpl 864 7032 0 7003 4 0 4 4 0 8 0 procpl 632 15465 0 15429 6 2 4 5 0 8 0 sosppl 128 132 0 132 26 26 0 1 0 8 0 sockpl 384 14351 0 14322 47 43 4 8 0 8 0 mcl64k 65536 2242 0 2242 146 138 8 33 0 8 8 mcl16k 16384 93 0 93 24 24 0 1 0 8 0 mcl12k 12288 214 0 214 14 14 0 1 0 8 0 mcl9k 9216 126 0 126 26 26 0 1 0 8 0 mcl8k 8192 365 0 365 12 12 0 1 0 8 0 mcl4k 4096 929 0 929 11 10 1 1 0 8 1 mcl2k2 2112 57 0 57 26 26 0 1 0 8 0 mcl2k 2048 82156 0 82111 21 14 7 14 0 8 1 mtagpl 80 232 0 232 5 5 0 2 0 8 0 mbufpl 256 191684 0 191578 190 180 10 47 0 8 0 bufpl 256 34353 0 25900 529 0 529 529 0 8 0 anonpl 16 935907 0 919195 273 185 88 112 0 62 0 amapchunkpl 152 39546 0 39423 146 130 16 20 0 158 9 amappl16 192 45515 0 44327 333 272 61 81 0 8 0 amappl15 184 1443 0 1443 7 7 0 1 0 8 0 amappl14 176 749 0 747 1 0 1 1 0 8 0 amappl13 168 1006 0 1004 1 0 1 1 0 8 0 amappl12 160 1367 0 1364 1 0 1 1 0 8 0 amappl11 152 1136 0 1123 1 0 1 1 0 8 0 amappl10 144 1030 0 1030 6 6 0 1 0 8 0 amappl9 136 1221 0 1213 1 0 1 1 0 8 0 amappl8 128 748 0 699 2 0 2 2 0 8 0 amappl7 120 1192 0 1185 1 0 1 1 0 8 0 amappl6 112 1058 0 1043 1 0 1 1 0 8 0 amappl5 104 1845 0 1836 1 0 1 1 0 8 0 amappl4 96 7090 0 7056 1 0 1 1 0 8 0 amappl3 88 1807 0 1799 1 0 1 1 0 8 0 amappl2 80 54737 0 54672 3 1 2 3 0 8 0 amappl1 72 136080 0 135699 26 17 9 19 0 8 0 amappl 80 16338 0 16275 5 3 2 2 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 145 0 16 3 0 3 3 0 8 0 uaddrrnd 24 7097 0 7000 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7097 0 7000 1 0 1 1 0 8 0 vmmpekpl 168 44528 0 44491 2 0 2 2 0 8 0 vmmpepl 168 854776 0 852457 529 374 155 164 0 357 42 vmsppl 272 7012 0 7000 6 4 2 2 0 8 1 pdppl 4096 14200 0 14114 15 3 12 12 0 8 0 pvpl 32 2599484 0 2581056 790 506 284 330 0 265 96 pmappl 200 7096 0 7030 5 1 4 4 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1129 0 452 23 2 21 21 0 8 0