uvm_fault(0xfffffd806c289d80, 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 * 61382 73385 0 0 0x1 0 syz-executor fifo_write(ffff80002a5c6e40) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd806c637a50,ffff80002a5c6ef0,3,fffffd807f7d75b0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80003761dbf8,fffffd806c637a50,fffffd807f7d75b0,ffff80002a5c6fb0,ffff80002a5c6f90) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrsyscall(ffff80003761dbf8,12b,0,ffff80002a5c7140) at ktrsyscall+0x31d sys/kern/kern_ktrace.c:182 syscall(ffff80002a5c7140) at syscall+0x2ad mi_syscall sys/sys/syscall_mi.h:156 [inline] syscall(ffff80002a5c7140) at syscall+0x2ad sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x701efb5114e0, count: 9 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(0xfffffd806c289d80, 0x8, 0, 1) -> e ddb> trace fifo_write(ffff80002a5c6e40) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd806c637a50,ffff80002a5c6ef0,3,fffffd807f7d75b0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80003761dbf8,fffffd806c637a50,fffffd807f7d75b0,ffff80002a5c6fb0,ffff80002a5c6f90) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrsyscall(ffff80003761dbf8,12b,0,ffff80002a5c7140) at ktrsyscall+0x31d sys/kern/kern_ktrace.c:182 syscall(ffff80002a5c7140) at syscall+0x2ad mi_syscall sys/sys/syscall_mi.h:156 [inline] syscall(ffff80002a5c7140) at syscall+0x2ad sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x701efb5114e0, count: -6 ddb> show registers rdi 0xfffffd806c637a50 rsi 0x1 rbp 0xffff80002a5c6e30 rbx 0x48 rdx 0 rcx 0x1 rax 0 r8 0xffff80002a5c6f90 r9 0 r10 0x87da57c4483ba11d r11 0xbb9b84faa78e72e8 r12 0x4000 __ALIGN_SIZE+0x3000 r13 0xffff80002a5c6ef0 r14 0xffff80002a5c6e40 r15 0x1 rip 0xffffffff8244c2de fifo_write+0x6e cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a5c6e00 ss 0x10 fifo_write+0x6e: movq 0x8(%rax),%r15 ddb> show proc PROC (syz-executor) tid=61382 pid=73385 tcnt=1 stat=onproc flags process=0 proc=1 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a4d1470,0xffffffff834f8d08 process=0xffff8000ffffb7b8 user=0xffff80002a5c2000, vmspace=0xfffffd806c289d80 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND *73385 61382 92448 0 7 0x1 syz-executor 90491 299533 64722 0 2 0 syz-executor 12469 461926 55868 0 2 0 syz-executor 12469 334974 55868 0 3 0x4000080 fsleep syz-executor 78010 222215 47532 0 2 0 syz-executor 78010 324482 47532 0 2 0x4000000 syz-executor 64722 334127 21324 0 2 0x2 syz-executor 92448 475596 21324 0 3 0x82 nanoslp syz-executor 55868 334357 21324 0 2 0x482 syz-executor 64884 17720 21324 0 2 0x482 syz-executor 36447 136418 21324 0 2 0x2 syz-executor 47532 80360 21324 0 2 0x482 syz-executor 51689 52413 21324 0 2 0x2 syz-executor 70909 184955 21324 0 2 0x2 syz-executor 24690 457382 0 0 3 0x14200 acct acct 38950 64504 0 0 3 0x14200 bored sosplice 37891 323046 1 0 3 0x100083 ttyin getty 21324 499895 85582 0 2 0x2 syz-executor 85582 19203 45398 0 3 0x10008a sigsusp ksh 45398 322769 95550 0 3 0x98 kqread sshd-session 95550 463735 87747 0 3 0x92 kqread sshd-session 87747 28152 1 0 3 0x88 kqread sshd 76807 216056 76387 73 2 0x1100090 syslogd 76387 209826 1 0 3 0x100082 sbwait syslogd 37128 298803 1 0 3 0x100080 kqread resolvd 52056 382205 28051 77 3 0x100092 kqread dhcpleased 20576 130048 28051 77 3 0x100092 kqread dhcpleased 28051 166414 1 0 3 0x80 kqread dhcpleased 286 10233 0 0 3 0x14200 bored smr 94758 516021 0 0 2 0x14200 zerothread 97165 250573 0 0 3 0x14200 aiodoned aiodoned 70210 317727 0 0 3 0x14200 syncer update 34464 321201 0 0 3 0x14200 cleaner cleaner 23403 48819 0 0 3 0x14200 reaper reaper 18143 8820 0 0 3 0x14200 pgdaemon pagedaemon 80940 36426 0 0 3 0x14200 bored viomb 36063 518675 0 0 3 0x40014200 acpi0 acpi0 81228 14298 0 0 3 0x14200 bored softnet3 74878 337259 0 0 3 0x14200 bored softnet2 14887 332289 0 0 3 0x14200 bored softnet1 24920 175082 0 0 3 0x14200 bored softnet0 76934 351116 0 0 3 0x14200 bored systqmp 22458 66737 0 0 3 0x14200 bored systq 70792 372614 0 0 3 0x40014200 tmoslp softclock 87750 239 0 0 3 0x40014200 idle0 1 228813 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 10176 10043K 10341K 166960K 12214 0 pcb 17 18K 21K 166960K 426 0 rtable 177 6K 9K 166960K 1474 0 pf 31 13K 17K 166960K 203 0 ifaddr 35 6K 8K 166960K 191 0 ifgroup 50 2K 2K 166960K 213 0 sysctl 3 1K 1K 166960K 5 0 counters 30 17K 17K 166960K 74 0 ioctlops 0 0K 4K 166960K 171 0 iov 0 0K 16K 166960K 33 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1368 86K 86K 166960K 2197 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 68K 76K 166960K 16 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 25 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 14 49K 97K 166960K 1210 0 sigio 0 0K 0K 166960K 28 0 proc 59 59K 124K 166960K 1438 0 subproc 104 6K 6K 166960K 520 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 229 0 in_multi 74 5K 7K 166960K 466 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 1 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 840 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 196 72K 91K 166960K 10619 0 UVM aobj 24 2K 2K 166960K 28 0 pinsyscall 36 72K 98K 166960K 3069 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 85 0 NDP 11 0K 2K 166960K 135 0 temp 61 6812K 6935K 166960K 56326 0 kqueue 13 20K 28K 166960K 107 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 187 0 184 1 0 1 1 0 8 0 rtentry 112 486 0 408 5 1 4 4 0 8 1 unpcb 144 1104 0 1089 13 5 8 8 0 8 7 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpqe 32 10 0 10 1 0 1 1 0 8 1 tcpcb 808 516 0 512 14 6 8 8 0 8 7 arp 88 88 0 74 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 0 1 0 1 1 0 8 0 inpcb 336 1958 0 1951 21 12 9 12 0 8 8 nd6 104 125 0 107 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 kcovpl 48 40 0 32 1 0 1 1 0 8 0 ppxss 1072 8 0 8 2 1 1 1 0 8 1 pfstscr 40 3 0 2 1 0 1 1 0 8 0 pfrktable 1344 4 0 4 1 0 1 1 0 8 1 pfanchor 1288 1 0 1 1 0 1 1 0 8 1 pftag 88 1 0 1 1 0 1 1 0 8 1 pfstitem 24 3 0 0 1 0 1 1 0 8 0 pfstkey 128 10 0 7 1 0 1 1 0 8 0 pfstate 344 6 0 4 1 0 1 1 0 8 0 pfrule 1344 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1915 0 1586 34 4 30 30 0 8 5 art_table 32 1916 0 1586 4 0 4 4 0 8 0 art_node 16 484 0 415 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 8 1 0 1 1 0 8 0 semapl 112 22 0 12 1 0 1 1 0 8 0 shmpl 112 25 0 4 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2714 0 1159 98 0 98 98 0 8 0 ffsino 240 2714 0 1159 92 0 92 92 0 8 0 nchpl 144 3817 0 2112 64 0 64 64 0 8 0 uvmvnodes 80 3441 0 0 71 0 71 71 0 8 0 vnodes 216 3441 0 0 192 0 192 192 0 8 0 namei 1024 16500 0 16499 2 1 1 2 0 8 0 pfiaddrpl 120 1 0 1 1 0 1 1 0 8 1 kstatmem 264 110 0 88 2 0 2 2 0 8 0 scsiplug 72 3 0 3 2 1 1 1 0 8 1 scxspl 216 26073 0 26073 10 7 3 8 1 8 3 plimitpl 152 341 0 325 1 0 1 1 0 8 0 sigapl 424 1429 0 1384 7 1 6 7 0 8 0 futexpl 64 10284 0 10283 1 0 1 1 0 8 0 knotepl 120 299017 0 298970 14 5 9 9 0 8 7 kqueuepl 184 274 0 265 4 0 4 4 0 8 3 pipepl 288 249 0 222 4 1 3 3 0 8 0 fdescpl 432 1411 0 1384 5 1 4 5 0 8 0 filepl 120 8926 0 8692 18 3 15 15 0 8 7 lockfpl 104 247 0 245 1 0 1 1 0 8 0 lockfspl 48 94 0 92 1 0 1 1 0 8 0 sessionpl 144 54 0 46 1 0 1 1 0 8 0 pgrppl 48 162 0 146 1 0 1 1 0 8 0 ucredpl 104 1077 0 1065 1 0 1 1 0 8 0 zombiepl 144 1385 0 1384 2 1 1 1 0 8 0 processpl 1096 1429 0 1384 4 0 4 4 0 8 0 procpl 648 2336 0 2289 7 1 6 6 0 8 0 sosppl 168 5 0 5 2 1 1 1 0 8 1 sockpl 504 3266 0 3241 77 65 12 35 0 8 8 mcl64k 65536 9 0 9 2 1 1 1 0 8 1 mcl16k 16384 7 0 7 2 1 1 1 0 8 1 mcl8k 8192 17 0 17 2 1 1 1 0 8 1 mcl4k 4096 5 0 5 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 7092 0 6996 25 11 14 24 0 8 1 mtagpl 96 15 0 14 2 1 1 1 0 8 0 mbufpl 256 15990 0 15778 24 2 22 22 0 8 3 bufpl 280 7371 0 1126 447 0 447 447 0 8 0 anonpl 24 245750 0 237694 93 12 81 88 0 187 3 amapchunkpl 152 34439 0 33982 47 10 37 37 0 158 16 amappl16 200 5003 0 4755 23 0 23 23 0 8 0 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 171 0 161 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 2538 0 2513 3 1 2 3 0 8 0 amappl11 160 72 0 62 1 0 1 1 0 8 0 amappl10 152 10 0 10 1 1 0 1 0 8 0 amappl9 144 176 0 176 1 1 0 1 0 8 0 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 164 0 153 1 0 1 1 0 8 0 amappl6 120 483 0 482 1 0 1 1 0 8 0 amappl5 112 253 0 245 1 0 1 1 0 8 0 amappl4 104 387 0 372 1 0 1 1 0 8 0 amappl3 96 6006 0 5936 3 0 3 3 0 8 0 amappl2 88 1682 0 1613 2 0 2 2 0 8 0 amappl1 80 12688 0 12170 14 2 12 14 0 8 0 amappl 88 10004 0 9862 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 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 7 0 7 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 27 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1411 0 1384 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1411 0 1384 1 0 1 1 0 8 0 vmmpekpl 168 12362 0 12315 3 0 3 3 0 8 0 vmmpepl 168 97991 0 96148 97 6 91 97 0 357 2 vmsppl 344 1410 0 1384 4 1 3 4 0 8 0 rwobjpl 24 31479 0 26970 28 0 28 28 0 8 0 pdppl 4096 2829 0 2768 147 82 65 83 0 8 4 pvpl 32 694807 0 681445 380 116 264 270 0 265 108 pmappl 216 1410 0 1384 3 1 2 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 555 0 191 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace fifo_write(ffff80002a5c6e40) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd806c637a50,ffff80002a5c6ef0,3,fffffd807f7d75b0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80003761dbf8,fffffd806c637a50,fffffd807f7d75b0,ffff80002a5c6fb0,ffff80002a5c6f90) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrsyscall(ffff80003761dbf8,12b,0,ffff80002a5c7140) at ktrsyscall+0x31d sys/kern/kern_ktrace.c:182 syscall(ffff80002a5c7140) at syscall+0x2ad mi_syscall sys/sys/syscall_mi.h:156 [inline] syscall(ffff80002a5c7140) at syscall+0x2ad sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x701efb5114e0, count: -6 ddb> machine ddbcpu 1 No such command ddb> trace fifo_write(ffff80002a5c6e40) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd806c637a50,ffff80002a5c6ef0,3,fffffd807f7d75b0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80003761dbf8,fffffd806c637a50,fffffd807f7d75b0,ffff80002a5c6fb0,ffff80002a5c6f90) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrsyscall(ffff80003761dbf8,12b,0,ffff80002a5c7140) at ktrsyscall+0x31d sys/kern/kern_ktrace.c:182 syscall(ffff80002a5c7140) at syscall+0x2ad mi_syscall sys/sys/syscall_mi.h:156 [inline] syscall(ffff80002a5c7140) at syscall+0x2ad sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x701efb5114e0, count: -6