login: panic: fifo_badop called Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 48723 39201 0 0x2 0 0 syz-executor.0 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(ffff800014d3faa8) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd802d6ad200) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:727 bwrite(fffffd802d6ad200) at bwrite+0x206 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd802d6ad200) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:739 ufs_mkdir(ffff800014d3fd30) at ufs_mkdir+0x6b7 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd802d9d91a0,ffff800014d3fe90,ffff800014d3fee0,ffff800014d3fdc0) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 domkdirat(ffff8000ffff8280,ffffff9c,7f7ffffd8d40,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2983 syscall(ffff800014d40060) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,88,7f7ffffd8d40,88,0,7f7ffffd8d64) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8db0, 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(ffff800014d3faa8) at fifo_badop+0x14 sys/miscfs/fifofs/fifo_vnops.c:491 VOP_STRATEGY(fffffd802d6ad200) at VOP_STRATEGY+0x99 sys/kern/vfs_vops.c:727 bwrite(fffffd802d6ad200) at bwrite+0x206 sys/kern/vfs_bio.c:738 VOP_BWRITE(fffffd802d6ad200) at VOP_BWRITE+0x4a sys/kern/vfs_vops.c:739 ufs_mkdir(ffff800014d3fd30) at ufs_mkdir+0x6b7 sys/ufs/ufs/ufs_vnops.c:1250 VOP_MKDIR(fffffd802d9d91a0,ffff800014d3fe90,ffff800014d3fee0,ffff800014d3fdc0) at VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 domkdirat(ffff8000ffff8280,ffffff9c,7f7ffffd8d40,1ff) at domkdirat+0x121 sys/kern/vfs_syscalls.c:2983 syscall(ffff800014d40060) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,88,7f7ffffd8d40,88,0,7f7ffffd8d64) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd8db0, count: -11 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff800014d3f9d0 rbx 0xffff800014d3fa80 rdx 0x2 rcx 0 rax 0 r8 0xffff800014d3f990 r9 0x1 r10 0 r11 0xd8bfa2b45be429b r12 0x3000000008 r13 0xffff800014d3f9e0 r14 0x100 r15 0x1 rip 0xffffffff81863bd8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014d3f9c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=48723 stat=onproc flags process=2 proc=0 pri=17, usrpri=67, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8770,0xffffffff82569d40 process=0xffff8000148a30f8 user=0xffff800014d3b000, vmspace=0xfffffd803f013660 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND *39201 48723 73256 0 7 0x2 syz-executor.0 81987 181295 73256 0 2 0x2 syz-executor.1 73256 146242 35036 0 3 0x82 thrsleep syz-fuzzer 73256 212547 35036 0 3 0x4000082 nanosleep syz-fuzzer 73256 424100 35036 0 3 0x4000082 thrsleep syz-fuzzer 73256 328017 35036 0 3 0x4000082 thrsleep syz-fuzzer 73256 456155 35036 0 3 0x4000082 kqread syz-fuzzer 73256 467216 35036 0 3 0x4000082 thrsleep syz-fuzzer 73256 285461 35036 0 3 0x4000082 thrsleep syz-fuzzer 35036 495492 74653 0 3 0x10008a pause ksh 74653 86574 86881 0 3 0x92 select sshd 47093 131366 1 0 3 0x100083 ttyin getty 86881 377990 1 0 3 0x80 select sshd 99285 100099 44980 73 3 0x100090 kqread syslogd 44980 45906 1 0 3 0x100082 netio syslogd 32235 162041 1 77 3 0x100090 poll dhclient 53301 435665 1 0 3 0x80 poll dhclient 37195 511116 0 0 3 0x14200 pgzero zerothread 36985 518181 0 0 3 0x14200 aiodoned aiodoned 89856 484875 0 0 3 0x14200 syncer update 39948 125007 0 0 3 0x14200 cleaner cleaner 4774 437518 0 0 3 0x14200 reaper reaper 35228 404662 0 0 3 0x14200 pgdaemon pagedaemon 55297 62352 0 0 3 0x14200 bored crynlk 75242 451789 0 0 3 0x14200 bored crypto 24759 415316 0 0 3 0x40014200 acpi0 acpi0 41740 297209 0 0 3 0x14200 bored softnet 6701 163855 0 0 3 0x14200 bored systqmp 8135 128985 0 0 3 0x14200 bored systq 46177 345033 0 0 3 0x40014200 bored softclock 78124 79314 0 0 3 0x40014200 idle0 28881 235587 0 0 3 0x14200 bored smr 1 367931 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 9458 6381K 6646K 78643K 10714 0 0 pcb 13 8K 8K 78643K 43 0 0 rtable 85 2K 3K 78643K 226 0 0 ifaddr 35 9K 10K 78643K 41 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 21 0 0 iov 0 0K 12K 78643K 20 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1217 76K 77K 78643K 1282 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 5 0 0 VM map 4 1K 1K 78643K 4 0 0 sem 12 0K 1K 78643K 40 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 4 9K 25K 78643K 118 0 0 sigio 0 0K 0K 78643K 83 0 0 proc 48 38K 63K 78643K 354 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 8 0 0 in_multi 22 1K 2K 78643K 36 0 0 ether_multi 1 0K 0K 78643K 2 0 0 mrt 0 0K 0K 78643K 1 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 48 212K 212K 78643K 48 0 0 exec 0 0K 1K 78643K 200 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 100 37K 38K 78643K 1130 0 0 UVM aobj 16 2K 2K 78643K 16 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 6 0 0 NDP 6 0K 0K 78643K 11 0 0 temp 113 3534K 3606K 78643K 4940 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 8 0 4 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 51 0 17 2 0 2 2 0 8 0 unpcb 120 75 0 67 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 88 0 88 1 1 0 1 0 8 0 tcpcb 544 50 0 46 1 0 1 1 0 8 0 ipq 40 3 0 3 1 0 1 1 0 8 1 ipqe 40 120 0 120 1 0 1 1 0 8 1 inpcb 280 134 0 127 2 0 2 2 0 8 1 nd6 48 4 0 2 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 221 0 51 14 0 14 14 0 8 1 art_table 32 222 0 51 2 0 2 2 0 8 0 art_node 16 50 0 19 1 0 1 1 0 8 0 sysvmsgpl 40 24 0 21 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 38 0 28 1 0 1 1 0 8 0 shmpl 112 14 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1549 0 153 46 0 46 46 0 8 0 ffsino 240 1549 0 153 83 0 83 83 0 8 0 nchpl 144 1927 0 327 60 0 60 60 0 8 0 uvmvnodes 72 1640 0 0 30 0 30 30 0 8 0 vnodes 208 1640 0 0 87 0 87 87 0 8 0 namei 1024 4773 0 4772 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 520 2 0 0 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 0 1 1 0 8 1 scxspl 192 5136 0 5136 8 1 7 7 0 8 7 plimitpl 152 18 0 11 1 0 1 1 0 8 0 sigapl 432 289 0 277 2 0 2 2 0 8 0 futexpl 56 3063 0 3063 1 0 1 1 0 8 1 knotepl 112 93 0 74 1 0 1 1 0 8 0 kqueuepl 104 87 0 85 1 0 1 1 0 8 0 pipepl 112 534 0 515 2 0 2 2 0 8 1 fdescpl 424 290 0 277 2 0 2 2 0 8 0 filepl 120 2000 0 1905 5 0 5 5 0 8 2 lockfpl 104 51 0 50 1 0 1 1 0 8 0 lockfspl 48 17 0 16 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 98 0 91 1 0 1 1 0 8 0 zombiepl 144 277 0 277 1 0 1 1 0 8 1 processpl 864 304 0 277 4 0 4 4 0 8 0 procpl 632 447 0 414 4 0 4 4 0 8 1 sockpl 384 238 0 221 4 0 4 4 0 8 2 mcl64k 65536 9 0 9 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 18 0 18 1 0 1 1 0 8 1 mcl2k2 2112 2 0 2 1 0 1 1 0 8 1 mcl2k 2048 67816 0 67766 17 4 13 15 0 8 6 mtagpl 80 8 0 4 2 1 1 1 0 8 0 mbufpl 256 108374 0 108293 19 3 16 16 0 8 7 bufpl 256 6232 0 1441 300 0 300 300 0 8 0 anonpl 16 49376 0 30949 92 2 90 90 0 62 15 amapchunkpl 152 1354 0 1234 7 1 6 7 0 158 0 amappl16 192 1838 0 802 63 2 61 63 0 8 8 amappl15 184 1 0 1 1 0 1 1 0 8 1 amappl14 176 38 0 33 1 0 1 1 0 8 0 amappl13 168 1 0 1 1 0 1 1 0 8 1 amappl12 160 7 0 4 1 0 1 1 0 8 0 amappl11 152 96 0 83 1 0 1 1 0 8 0 amappl10 144 8 0 7 1 0 1 1 0 8 0 amappl9 136 593 0 585 1 0 1 1 0 8 0 amappl8 128 195 0 166 2 0 2 2 0 8 1 amappl7 120 33 0 30 1 0 1 1 0 8 0 amappl6 112 108 0 98 1 0 1 1 0 8 0 amappl5 104 190 0 180 1 0 1 1 0 8 0 amappl4 96 505 0 479 1 0 1 1 0 8 0 amappl3 88 112 0 106 1 0 1 1 0 8 0 amappl2 80 1527 0 1470 3 1 2 3 0 8 0 amappl1 72 14928 0 14532 27 17 10 20 0 8 1 amappl 80 666 0 630 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 15 0 0 1 0 1 1 0 8 0 uaddrrnd 24 292 0 277 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 292 0 277 1 0 1 1 0 8 0 vmmpekpl 168 6908 0 6882 2 0 2 2 0 8 0 vmmpepl 168 42711 0 40726 137 9 128 130 0 357 35 vmsppl 272 289 0 277 2 1 1 2 0 8 0 pdppl 4096 590 0 556 6 1 5 6 0 8 0 pvpl 32 156872 0 135574 204 0 204 204 0 265 31 pmappl 200 291 0 277 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 453 0 12 13 0 13 13 0 8 0