uvm_fault(0xfffffd806c26ad80, 0x8, 0, 1) -> e kernel: page fault trap, code=0 Stopped at fifo_write+0x6e: movq 0x8(%rax),%r15 TID PID UID PRFLAGS PFLAGS CPU COMMAND *281036 77205 0 0x2 0x1 0 syz-executor fifo_write(ffff80002a565a20) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd806c5325e8,ffff80002a565ad0,3,fffffd807f7d70d0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a4b0a30,fffffd806c5325e8,fffffd807f7d70d0,ffff80002a565b98,ffff80002a565b70) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrstruct(ffff80002a4b0a30,ffffffff830956ac,ffff80002a565c50,80) at ktrstruct+0x18b sys/kern/kern_ktrace.c:308 sys_fstat(ffff80002a4b0a30,ffff80002a565e00,ffff80002a565d50) at sys_fstat+0x2b4 sys/kern/kern_descrip.c:813 syscall(ffff80002a565e00) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74edcd959f40, count: 8 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(0xfffffd806c26ad80, 0x8, 0, 1) -> e ddb> trace fifo_write(ffff80002a565a20) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd806c5325e8,ffff80002a565ad0,3,fffffd807f7d70d0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a4b0a30,fffffd806c5325e8,fffffd807f7d70d0,ffff80002a565b98,ffff80002a565b70) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrstruct(ffff80002a4b0a30,ffffffff830956ac,ffff80002a565c50,80) at ktrstruct+0x18b sys/kern/kern_ktrace.c:308 sys_fstat(ffff80002a4b0a30,ffff80002a565e00,ffff80002a565d50) at sys_fstat+0x2b4 sys/kern/kern_descrip.c:813 syscall(ffff80002a565e00) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74edcd959f40, count: -7 ddb> show registers rdi 0xfffffd806c5325e8 rsi 0x1 rbp 0xffff80002a565a10 rbx 0xc5 rdx 0 rcx 0x1 rax 0 r8 0xffff80002a565b70 r9 0x8080808080808080 r10 0xd0324c00c368327f r11 0x4f172d2d243c94b7 r12 0x4000 __ALIGN_SIZE+0x3000 r13 0xffff80002a565ad0 r14 0xffff80002a565a20 r15 0x1 rip 0xffffffff81c229ee fifo_write+0x6e cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a5659e0 ss 0x10 fifo_write+0x6e: movq 0x8(%rax),%r15 ddb> show proc PROC (syz-executor) tid=281036 pid=77205 tcnt=1 stat=onproc flags process=2 proc=1 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a48cf48,0xffff80002a48d978 process=0xffff8000331f4460 user=0xffff80002a560000, vmspace=0xfffffd806c26ad80 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=2, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 35978 43428 42963 0 2 0 syz-executor 35978 155467 42963 0 3 0x4000080 pipewr syz-executor 5470 496161 60082 0 2 0x480 syz-executor 5470 45871 60082 0 3 0x4000080 sbwait syz-executor 5470 74492 60082 0 3 0x4000080 fsleep syz-executor 27290 6199 66427 0 2 0 syz-executor 27290 47458 66427 0 3 0x4000080 sbwait syz-executor 21631 88920 90984 0 2 0 syz-executor 21631 332661 90984 0 3 0x4000080 kqsel syz-executor 86858 472459 64368 0 3 0x90 nanoslp syz-executor 86858 293952 64368 0 3 0x4000090 kqread syz-executor 86858 320474 64368 0 3 0x4000090 fsleep syz-executor 10255 239863 10776 0 2 0 syz-executor 10255 118547 10776 0 3 0x4000080 fsleep syz-executor 43048 330932 0 0 3 0x14200 bored sosplice 90984 155466 21851 0 2 0x482 syz-executor 10776 106769 21851 0 2 0x482 syz-executor 64368 197528 21851 0 2 0x482 syz-executor *77205 281036 21851 0 7 0x3 syz-executor 60082 230857 21851 0 3 0x82 nanoslp syz-executor 3016 83316 21851 0 2 0x2 syz-executor 42963 273744 21851 0 2 0x482 syz-executor 66427 181464 21851 0 2 0x482 syz-executor 21851 285152 7557 0 2 0x2 syz-executor 7557 514252 1385 0 3 0x10008a sigsusp ksh 1385 58581 57162 0 3 0x98 kqread sshd-session 57162 52362 58441 0 3 0x92 kqread sshd-session 39352 207546 1 0 3 0x100083 ttyin getty 58441 288190 1 0 3 0x88 kqread sshd 20754 10208 70938 73 2 0x1100010 syslogd 70938 473741 1 0 3 0x100082 sbwait syslogd 66468 479561 1 0 3 0x100080 kqread resolvd 48480 126713 84131 77 3 0x100092 kqread dhcpleased 23055 292446 84131 77 3 0x100092 kqread dhcpleased 84131 238469 1 0 3 0x80 kqread dhcpleased 69689 158525 0 0 3 0x14200 bored smr 30482 298647 0 0 2 0x14200 zerothread 26960 299233 0 0 3 0x14200 aiodoned aiodoned 94212 453444 0 0 3 0x14200 syncer update 19927 414211 0 0 3 0x14200 cleaner cleaner 95719 271080 0 0 3 0x14200 reaper reaper 64208 20730 0 0 3 0x14200 pgdaemon pagedaemon 96250 5733 0 0 3 0x14200 bored viomb 30123 435423 0 0 3 0x40014200 acpi0 acpi0 34740 147720 0 0 3 0x14200 bored softnet3 8879 465108 0 0 3 0x14200 bored softnet2 94670 212043 0 0 3 0x14200 bored softnet1 18027 287331 0 0 2 0x14200 softnet0 25621 512985 0 0 3 0x14200 bored systqmp 36541 35771 0 0 3 0x14200 bored systq 66010 182783 0 0 3 0x40014200 tmoslp softclock 84960 305712 0 0 3 0x40014200 idle0 1 460859 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 10182 10091K 10409K 166960K 11497 0 pcb 18 16K 18K 166960K 73 0 rtable 225 6K 7K 166960K 879 0 pf 30 12K 13K 166960K 64 0 ifaddr 41 7K 7K 166960K 113 0 ifgroup 50 2K 2K 166960K 116 0 sysctl 1 0K 0K 166960K 1 0 counters 30 17K 17K 166960K 47 0 ioctlops 0 0K 2K 166960K 87 0 iov 0 0K 12K 166960K 10 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1367 86K 86K 166960K 1732 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 68K 72K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 13 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 97K 166960K 577 0 sigio 0 0K 0K 166960K 1 0 proc 57 59K 116K 166960K 951 0 subproc 104 6K 6K 166960K 312 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 40 0 in_multi 95 7K 7K 166960K 283 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 569 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 216 72K 93K 166960K 5718 0 UVM aobj 10 2K 2K 166960K 10 0 pinsyscall 37 74K 102K 166960K 2016 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 11 0 NDP 11 0K 2K 166960K 76 0 temp 44 6808K 6872K 166960K 19445 0 kqueue 14 22K 26K 166960K 64 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 90 0 86 1 0 1 1 0 8 0 rtentry 112 298 0 194 4 0 4 4 0 8 0 unpcb 144 187 0 169 2 0 2 2 0 8 1 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 808 100 0 96 5 0 5 5 0 8 4 arp 88 53 0 37 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 336 506 0 492 12 3 9 12 0 8 7 nd6 104 73 0 50 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 kcovpl 48 24 0 16 1 0 1 1 0 8 0 ppxss 1072 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1172 0 730 29 0 29 29 0 8 0 art_table 32 1173 0 730 4 0 4 4 0 8 0 art_node 16 296 0 201 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1966 0 436 97 0 97 97 0 8 0 ffsino 240 1966 0 436 91 0 91 91 0 8 0 nchpl 144 2437 0 744 64 0 64 64 0 8 0 uvmvnodes 80 2353 0 0 49 0 49 49 0 8 0 vnodes 216 2353 0 0 131 0 131 131 0 8 0 namei 1024 8876 0 8875 2 0 2 2 0 8 1 kstatmem 264 56 0 34 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 12676 0 12676 8 0 8 8 1 8 8 plimitpl 152 77 0 60 1 0 1 1 0 8 0 sigapl 424 826 0 781 7 0 7 7 0 8 1 futexpl 64 3569 0 3566 1 0 1 1 0 8 0 knotepl 120 10252 0 10203 17 7 10 17 0 8 8 kqueuepl 184 85 0 72 1 0 1 1 0 8 0 pipepl 288 172 0 143 3 0 3 3 0 8 0 fdescpl 432 809 0 781 5 0 5 5 0 8 1 filepl 120 3398 0 3142 12 0 12 12 0 8 3 lockfpl 104 117 0 114 1 0 1 1 0 8 0 lockfspl 48 45 0 42 1 0 1 1 0 8 0 sessionpl 144 37 0 29 1 0 1 1 0 8 0 pgrppl 48 64 0 48 1 0 1 1 0 8 0 ucredpl 104 402 0 389 1 0 1 1 0 8 0 zombiepl 144 781 0 781 1 0 1 1 0 8 1 processpl 1096 826 0 781 4 0 4 4 0 8 0 procpl 648 1130 0 1077 6 0 6 6 0 8 1 sosppl 168 1 0 1 1 0 1 1 0 8 1 sockpl 504 793 0 758 20 8 12 20 0 8 7 mcl64k 65536 4 0 4 1 0 1 1 0 8 1 mcl8k 8192 7 0 7 1 0 1 1 0 8 1 mcl4k 4096 3 0 3 1 0 1 1 0 8 1 mcl2k 2048 5695 0 5596 27 7 20 27 0 8 7 mtagpl 96 8 0 5 1 0 1 1 0 8 0 mbufpl 256 10193 0 9984 27 4 23 27 0 8 8 bufpl 280 5754 0 90 405 0 405 405 0 8 0 anonpl 24 197597 0 190268 78 0 78 78 0 187 33 amapchunkpl 152 18809 0 18334 43 0 43 43 0 158 23 amappl16 200 4760 0 4496 22 7 15 15 0 8 1 amappl15 192 13 0 13 1 0 1 1 0 8 1 amappl14 184 144 0 134 1 0 1 1 0 8 0 amappl13 176 12 0 12 1 0 1 1 0 8 1 amappl12 168 1697 0 1669 3 0 3 3 0 8 1 amappl11 160 54 0 44 1 0 1 1 0 8 0 amappl10 152 9 0 9 1 0 1 1 0 8 1 amappl9 144 141 0 141 1 0 1 1 0 8 1 amappl8 136 25 0 24 1 0 1 1 0 8 0 amappl7 128 127 0 117 1 0 1 1 0 8 0 amappl6 120 325 0 324 1 0 1 1 0 8 0 amappl5 112 186 0 178 1 0 1 1 0 8 0 amappl4 104 334 0 318 1 0 1 1 0 8 0 amappl3 96 3338 0 3249 3 0 3 3 0 8 0 amappl2 88 1044 0 972 2 0 2 2 0 8 0 amappl1 80 9669 0 9124 14 0 14 14 0 8 2 amappl 88 5253 0 5091 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 809 0 781 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 809 0 781 1 0 1 1 0 8 0 vmmpekpl 168 8285 0 8234 3 0 3 3 0 8 0 vmmpepl 168 58011 0 56052 90 0 90 90 0 357 1 vmsppl 344 808 0 781 4 0 4 4 0 8 1 rwobjpl 24 22834 0 19374 21 0 21 21 0 8 0 pdppl 4096 1625 0 1562 119 52 67 83 0 8 4 pvpl 32 477617 0 463493 352 9 343 352 0 265 224 pmappl 216 808 0 781 3 0 3 3 0 8 1 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 443 0 74 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace fifo_write(ffff80002a565a20) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd806c5325e8,ffff80002a565ad0,3,fffffd807f7d70d0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a4b0a30,fffffd806c5325e8,fffffd807f7d70d0,ffff80002a565b98,ffff80002a565b70) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrstruct(ffff80002a4b0a30,ffffffff830956ac,ffff80002a565c50,80) at ktrstruct+0x18b sys/kern/kern_ktrace.c:308 sys_fstat(ffff80002a4b0a30,ffff80002a565e00,ffff80002a565d50) at sys_fstat+0x2b4 sys/kern/kern_descrip.c:813 syscall(ffff80002a565e00) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74edcd959f40, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace fifo_write(ffff80002a565a20) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd806c5325e8,ffff80002a565ad0,3,fffffd807f7d70d0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a4b0a30,fffffd806c5325e8,fffffd807f7d70d0,ffff80002a565b98,ffff80002a565b70) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrstruct(ffff80002a4b0a30,ffffffff830956ac,ffff80002a565c50,80) at ktrstruct+0x18b sys/kern/kern_ktrace.c:308 sys_fstat(ffff80002a4b0a30,ffff80002a565e00,ffff80002a565d50) at sys_fstat+0x2b4 sys/kern/kern_descrip.c:813 syscall(ffff80002a565e00) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x74edcd959f40, count: -7