uvm_fault(0xfffffd806d2c9780, 0x8, 0, 1) -> e kernel: page fault trap, code=0 Stopped at fifo_write+0x4e: movq 0x8(%rax),%r12 TID PID UID PRFLAGS PFLAGS CPU COMMAND *290330 93464 0 0 0 0 syz-executor411574844 fifo_write(ffff800021787760) at fifo_write+0x4e sys/miscfs/fifofs/fifo_vnops.c:271 VOP_WRITE(fffffd806c625458,ffff8000217877f8,8,fffffd807f7d78f0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd806c625458,ffff8000216f7800,101,0,1,d9047f15e8059303,ffff800021787920,fffffd806c625458,78) at vn_rdwr+0xe9 sys/kern/vfs_vnops.c:324 ufs_symlink(ffff800021787920) at ufs_symlink+0x136 sys/ufs/ufs/ufs_vnops.c:1386 VOP_SYMLINK(fffffd806c625b18,ffff800021787aa0,ffff800021787ad0,ffff8000217879d0,ffff8000216f7800) at VOP_SYMLINK+0xd0 sys/kern/vfs_vops.c:426 dosymlinkat(ffff8000216f5260,200004c0,3,20000600) at dosymlinkat+0x154 sys/kern/vfs_syscalls.c:1802 syscall(ffff800021787c50) at syscall+0x446 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf7d0, count: 7 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 *cpu0: uvm_fault(0xfffffd806d2c9780, 0x8, 0, 1) -> e ddb> trace fifo_write(ffff800021787760) at fifo_write+0x4e sys/miscfs/fifofs/fifo_vnops.c:271 VOP_WRITE(fffffd806c625458,ffff8000217877f8,8,fffffd807f7d78f0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd806c625458,ffff8000216f7800,101,0,1,d9047f15e8059303,ffff800021787920,fffffd806c625458,78) at vn_rdwr+0xe9 sys/kern/vfs_vnops.c:324 ufs_symlink(ffff800021787920) at ufs_symlink+0x136 sys/ufs/ufs/ufs_vnops.c:1386 VOP_SYMLINK(fffffd806c625b18,ffff800021787aa0,ffff800021787ad0,ffff8000217879d0,ffff8000216f7800) at VOP_SYMLINK+0xd0 sys/kern/vfs_vops.c:426 dosymlinkat(ffff8000216f5260,200004c0,3,20000600) at dosymlinkat+0x154 sys/kern/vfs_syscalls.c:1802 syscall(ffff800021787c50) at syscall+0x446 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf7d0, count: -8 ddb> show registers rdi 0x1 rsi 0x1 rbp 0xffff800021787750 rbx 0x8 rdx 0x8 rcx 0x1 rax 0 r8 0 r9 0x1 r10 0x1ea23b1352a20a71 r11 0x5402baa6f999f2ba r12 0x1 r13 0xffff8000217877f8 r14 0xffff800021787760 r15 0xfffffd806c625458 rip 0xffffffff8181b5de fifo_write+0x4e cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021787710 ss 0x10 fifo_write+0x4e: movq 0x8(%rax),%r12 ddb> show proc PROC (syz-executor411574844) pid=290330 stat=onproc flags process=0 proc=0 pri=17, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000216f5ce0,0xffff8000216f57b0 process=0xffff800021709b88 user=0xffff800021782000, vmspace=0xfffffd806d2c9780 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 75131 480427 99531 0 2 0 syz-executor411574844 *93464 290330 83965 0 7 0 syz-executor411574844 3912 397535 17876 0 2 0x480 syz-executor411574844 25570 207260 17876 0 2 0 syz-executor411574844 93440 146802 17876 0 2 0x480 syz-executor411574844 16684 307516 17876 0 2 0x480 syz-executor411574844 81116 244606 17876 0 2 0 syz-executor411574844 15061 487562 17876 0 2 0x480 syz-executor411574844 83965 203628 17876 0 2 0x480 syz-executor411574844 99531 107306 17876 0 3 0x80 nanoslp syz-executor411574844 17876 202424 82288 0 3 0x82 nanoslp syz-executor411574844 82288 78760 24164 0 3 0x10008a sigsusp ksh 24164 494983 95751 0 3 0x9a kqread sshd 36604 199438 1 0 3 0x100083 ttyin getty 95751 226392 1 0 3 0x88 kqread sshd 61368 1296 72457 73 3 0x1100090 kqread syslogd 72457 524190 1 0 3 0x100082 netio syslogd 14673 425342 1 0 3 0x100080 kqread resolvd 27345 521161 62177 77 3 0x100092 kqread dhcpleased 54957 237614 62177 77 3 0x100092 kqread dhcpleased 62177 236417 1 0 3 0x80 kqread dhcpleased 538 386781 0 0 3 0x14200 bored smr 66073 14339 0 0 3 0x14200 pgzero zerothread 2824 444891 0 0 3 0x14200 aiodoned aiodoned 96393 513352 0 0 3 0x14200 syncer update 16609 118863 0 0 3 0x14200 cleaner cleaner 98038 502216 0 0 3 0x14200 reaper reaper 53554 25442 0 0 3 0x14200 pgdaemon pagedaemon 61911 312263 0 0 3 0x14200 bored viomb 77174 247244 0 0 3 0x40014200 acpi0 acpi0 25702 314771 0 0 3 0x14200 bored softnet 26139 2599 0 0 3 0x14200 bored softnet 25428 67858 0 0 3 0x14200 bored softnet 49598 269596 0 0 3 0x14200 bored softnet 18489 368007 0 0 3 0x14200 bored systqmp 85444 356694 0 0 3 0x14200 bored systq 9559 460256 0 0 3 0x40014200 bored softclock 82362 78584 0 0 3 0x40014200 idle0 1 316289 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 devbuf 10149 6383K 6414K 78643K 11239 0 pcb 13 8K 8K 78643K 13 0 rtable 58 1K 2K 78643K 111 0 ifaddr 25 7K 7K 78643K 25 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 25 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1166 73K 73K 78643K 1179 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 1 0K 0K 78643K 1 0 proc 55 58K 59K 78643K 239 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 11 0K 0K 78643K 11 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 1K 78643K 244 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 73 4K 4K 78643K 1238 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 3 0K 0K 78643K 3 0 temp 18 4713K 4777K 78643K 2873 0 kqueue 11 16K 18K 78643K 24 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 21 0 18 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 144 33 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpcb 768 8 0 5 1 0 1 1 0 8 0 arp 88 2 0 0 1 0 1 1 0 8 0 inpcb 336 25 0 19 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 96 0 0 6 0 6 6 0 8 0 art_table 32 97 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1477 0 76 88 0 88 88 0 8 0 ffsino 240 1477 0 76 83 0 83 83 0 8 0 nchpl 144 1660 0 88 59 0 59 59 0 8 0 uvmvnodes 80 1486 0 0 31 0 31 31 0 8 0 vnodes 216 1486 0 0 83 0 83 83 0 8 0 namei 1024 4409 0 4406 3 1 2 2 0 8 1 kstatmem 264 6 0 0 1 0 1 1 0 8 0 scxspl 216 4579 0 4579 10 9 1 8 0 8 1 plimitpl 152 16 0 10 1 0 1 1 0 8 0 sigapl 424 331 0 288 6 0 6 6 0 8 0 knotepl 120 10513 0 10484 3 1 2 2 0 8 1 kqueuepl 184 20 0 13 1 0 1 1 0 8 0 pipepl 288 99 0 96 2 1 1 1 0 8 0 fdescpl 432 315 0 292 4 0 4 4 0 8 1 filepl 120 1173 0 1117 2 0 2 2 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 17 0 9 1 0 1 1 0 8 0 pgrppl 48 17 0 9 1 0 1 1 0 8 0 ucredpl 104 66 0 56 1 0 1 1 0 8 0 zombiepl 144 292 0 288 2 1 1 1 0 8 0 processpl 1000 331 0 288 7 1 6 6 0 8 0 procpl 672 331 0 288 4 0 4 4 0 8 0 sockpl 456 79 0 57 3 0 3 3 0 8 0 mcl8k 8192 9 0 9 2 1 1 1 0 8 1 mcl4k 4096 5 0 5 2 1 1 1 0 8 1 mcl2k 2048 10746 0 10708 8 1 7 7 0 8 0 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 19247 0 19165 7 0 7 7 0 8 1 bufpl 288 2388 0 72 166 0 166 166 0 8 0 anonpl 24 41867 0 39309 19 3 16 16 0 188 0 amapchunkpl 152 2727 0 2599 6 1 5 5 0 158 0 amappl16 200 49 0 39 2 1 1 1 0 8 0 amappl14 184 87 0 78 1 0 1 1 0 8 0 amappl12 168 298 0 297 2 1 1 1 0 8 0 amappl11 160 40 0 30 1 0 1 1 0 8 0 amappl10 152 1 0 1 1 1 0 1 0 8 0 amappl9 144 943 0 942 1 0 1 1 0 8 0 amappl8 136 20 0 17 1 0 1 1 0 8 0 amappl7 128 18 0 14 1 0 1 1 0 8 0 amappl6 120 117 0 108 1 0 1 1 0 8 0 amappl5 112 78 0 70 1 0 1 1 0 8 0 amappl4 104 367 0 338 1 0 1 1 0 8 0 amappl3 96 439 0 407 1 0 1 1 0 8 0 amappl2 88 508 0 460 3 1 2 2 0 8 0 amappl1 80 9193 0 8682 14 3 11 11 0 8 0 amappl 88 1085 0 1032 2 0 2 2 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 315 0 292 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 315 0 292 1 0 1 1 0 8 0 vmmpekpl 168 6873 0 6859 1 0 1 1 0 8 0 vmmpepl 168 27521 0 26326 60 5 55 55 0 357 1 vmsppl 272 314 0 292 3 1 2 2 0 8 0 rwobjpl 24 10466 0 8296 14 0 14 14 0 8 0 pdppl 4096 636 0 584 86 22 64 64 0 8 12 pvpl 32 131045 0 125899 50 8 42 42 0 265 0 pmappl 216 314 0 292 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 464 0 30 13 0 13 13 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace fifo_write(ffff800021787760) at fifo_write+0x4e sys/miscfs/fifofs/fifo_vnops.c:271 VOP_WRITE(fffffd806c625458,ffff8000217877f8,8,fffffd807f7d78f0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd806c625458,ffff8000216f7800,101,0,1,d9047f15e8059303,ffff800021787920,fffffd806c625458,78) at vn_rdwr+0xe9 sys/kern/vfs_vnops.c:324 ufs_symlink(ffff800021787920) at ufs_symlink+0x136 sys/ufs/ufs/ufs_vnops.c:1386 VOP_SYMLINK(fffffd806c625b18,ffff800021787aa0,ffff800021787ad0,ffff8000217879d0,ffff8000216f7800) at VOP_SYMLINK+0xd0 sys/kern/vfs_vops.c:426 dosymlinkat(ffff8000216f5260,200004c0,3,20000600) at dosymlinkat+0x154 sys/kern/vfs_syscalls.c:1802 syscall(ffff800021787c50) at syscall+0x446 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf7d0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace fifo_write(ffff800021787760) at fifo_write+0x4e sys/miscfs/fifofs/fifo_vnops.c:271 VOP_WRITE(fffffd806c625458,ffff8000217877f8,8,fffffd807f7d78f0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd806c625458,ffff8000216f7800,101,0,1,d9047f15e8059303,ffff800021787920,fffffd806c625458,78) at vn_rdwr+0xe9 sys/kern/vfs_vnops.c:324 ufs_symlink(ffff800021787920) at ufs_symlink+0x136 sys/ufs/ufs/ufs_vnops.c:1386 VOP_SYMLINK(fffffd806c625b18,ffff800021787aa0,ffff800021787ad0,ffff8000217879d0,ffff8000216f7800) at VOP_SYMLINK+0xd0 sys/kern/vfs_vops.c:426 dosymlinkat(ffff8000216f5260,200004c0,3,20000600) at dosymlinkat+0x154 sys/kern/vfs_syscalls.c:1802 syscall(ffff800021787c50) at syscall+0x446 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf7d0, count: -8 ddb>