uvm_fault(0xfffffd806c257ad0, 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 *190745 32152 0 0x2 0x1 0 syz-executor fifo_write(ffff800037422ad0) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8078a6e288,ffff800037422b80,3,fffffd807f7d73a8) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a53aa50,fffffd8078a6e288,fffffd807f7d73a8,ffff800037422ce0,ffff800037422cc0) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrpsig(ffff80002a53aa50,14,3b89fdee570,0,0,ffff800037422db0) at ktrpsig+0x1b2 sys/kern/kern_ktrace.c:292 postsig(ffff80002a53aa50,14,ffff800037422eb8) at postsig+0x3b2 sys/kern/kern_sig.c:1539 userret(ffff80002a53aa50) at userret+0x1ee sys/kern/kern_sig.c:1990 syscall(ffff800037422ff0) at syscall+0xa72 mi_syscall_return sys/sys/syscall_mi.h:206 [inline] syscall(ffff800037422ff0) at syscall+0xa72 sys/arch/amd64/amd64/trap.c:598 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bad1474c6e0, 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(0xfffffd806c257ad0, 0x8, 0, 1) -> e ddb> trace fifo_write(ffff800037422ad0) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8078a6e288,ffff800037422b80,3,fffffd807f7d73a8) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a53aa50,fffffd8078a6e288,fffffd807f7d73a8,ffff800037422ce0,ffff800037422cc0) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrpsig(ffff80002a53aa50,14,3b89fdee570,0,0,ffff800037422db0) at ktrpsig+0x1b2 sys/kern/kern_ktrace.c:292 postsig(ffff80002a53aa50,14,ffff800037422eb8) at postsig+0x3b2 sys/kern/kern_sig.c:1539 userret(ffff80002a53aa50) at userret+0x1ee sys/kern/kern_sig.c:1990 syscall(ffff800037422ff0) at syscall+0xa72 mi_syscall_return sys/sys/syscall_mi.h:206 [inline] syscall(ffff800037422ff0) at syscall+0xa72 sys/arch/amd64/amd64/trap.c:598 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bad1474c6e0, count: -8 ddb> show registers rdi 0xfffffd8078a6e288 rsi 0x1 rbp 0xffff800037422ac0 rbx 0xe0 rdx 0 rcx 0x1 rax 0 r8 0xffff800037422cc0 r9 0xffff800037422db0 r10 0x11e41d94f4596411 r11 0x58f68c2612024bab r12 0x4000 __ALIGN_SIZE+0x3000 r13 0xffff800037422b80 r14 0xffff800037422ad0 r15 0x1 rip 0xffffffff811afb4e fifo_write+0x6e cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800037422a90 ss 0x10 fifo_write+0x6e: movq 0x8(%rax),%r15 ddb> show proc PROC (syz-executor) tid=190745 pid=32152 tcnt=1 stat=onproc flags process=2 proc=1 runpri=32, usrpri=74, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a53bc08,0xffff80002a53b990 process=0xffff8000ffff5e10 user=0xffff80003741e000, vmspace=0xfffffd806c257ad0 estcpu=24, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 14407 345495 4677 0 2 0 syz-executor 14407 24479 4677 0 3 0x4000080 fsleep syz-executor 53472 364179 11591 0 2 0 syz-executor 8672 368812 97298 0 2 0 syz-executor 8672 198699 97298 0 3 0x4000080 fsleep syz-executor 3407 249375 87783 0 2 0 syz-executor 3407 93010 87783 0 3 0x4000080 fsleep syz-executor 45016 344432 54766 0 2 0 syz-executor 45016 394439 54766 0 2 0x4000000 syz-executor 45016 320087 54766 0 3 0x4000080 fsleep syz-executor 10499 251164 41858 0 3 0x3000 suspend syz-executor 10499 38772 41858 0 2 0x4081000 syz-executor 11591 173187 35942 0 3 0x82 nanoslp syz-executor *32152 190745 35942 0 7 0x3 syz-executor 54766 44414 35942 0 3 0x82 nanoslp syz-executor 41858 299253 35942 0 3 0x82 wait syz-executor 4677 123980 35942 0 3 0x82 nanoslp syz-executor 97298 441930 35942 0 3 0x82 nanoslp syz-executor 87783 248351 35942 0 3 0x82 nanoslp syz-executor 86368 449611 35942 0 2 0x2 syz-executor 6917 339941 1 0 3 0x100083 ttyin getty 89143 7456 0 0 3 0x14200 bored sosplice 35942 4876 49371 0 3 0x82 kqread syz-executor 49371 132960 7010 0 3 0x10008a sigsusp ksh 7010 266252 8206 0 3 0x98 kqread sshd-session 8206 479959 81540 0 3 0x92 kqread sshd-session 81540 93171 1 0 3 0x88 kqread sshd 35928 101623 38517 73 2 0x1100010 syslogd 38517 475791 1 0 3 0x100082 sbwait syslogd 61661 85752 1 0 3 0x100080 kqread resolvd 20393 506086 87305 77 3 0x100092 kqread dhcpleased 21160 339999 87305 77 3 0x100092 kqread dhcpleased 87305 21735 1 0 3 0x80 kqread dhcpleased 82775 343129 0 0 3 0x14200 bored smr 11250 466733 0 0 2 0x14200 zerothread 87005 278009 0 0 3 0x14200 aiodoned aiodoned 92544 323625 0 0 3 0x14200 syncer update 22922 53143 0 0 3 0x14200 cleaner cleaner 56980 73107 0 0 3 0x14200 reaper reaper 87216 242597 0 0 3 0x14200 pgdaemon pagedaemon 47422 148608 0 0 3 0x14200 bored viomb 27328 193369 0 0 3 0x40014200 acpi0 acpi0 12186 64077 0 0 3 0x14200 bored softnet3 70842 494586 0 0 3 0x14200 bored softnet2 50214 64320 0 0 3 0x14200 bored softnet1 29204 265792 0 0 3 0x14200 bored softnet0 34127 301799 0 0 3 0x14200 bored systqmp 67293 268845 0 0 3 0x14200 bored systq 45130 5561 0 0 2 0x40014200 softclock 22208 146290 0 0 3 0x40014200 idle0 1 59662 0 0 3 0x80082 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 10196 10049K 10408K 166960K 12778 0 pcb 17 14K 15K 166960K 180 0 rtable 221 8K 10K 166960K 2410 0 pf 34 13K 17K 166960K 233 0 ifaddr 41 7K 8K 166960K 320 0 ifgroup 54 2K 2K 166960K 346 0 sysctl 2 0K 0K 166960K 4 0 counters 31 17K 17K 166960K 106 0 ioctlops 0 0K 4K 166960K 269 0 iov 0 0K 18K 166960K 184 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1448 91K 91K 166960K 3100 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 23 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 31 0 dirhash 15 2K 2K 166960K 45 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 97K 166960K 2048 0 sigio 0 0K 0K 166960K 32 0 proc 58 59K 124K 166960K 2366 0 subproc 104 6K 6K 166960K 940 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 222 0 in_multi 90 6K 7K 166960K 845 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 169 758K 758K 166960K 169 0 exec 0 0K 1K 166960K 1466 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 208 72K 91K 166960K 16347 0 UVM aobj 34 4K 6K 166960K 41 0 pinsyscall 37 74K 102K 166960K 4729 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 46 0 NDP 12 0K 1K 166960K 231 0 temp 76 6816K 6947K 166960K 62838 0 kqueue 14 22K 26K 166960K 152 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 283 0 280 1 0 1 1 0 8 0 rtentry 112 842 0 743 4 0 4 4 0 8 0 unpcb 144 1214 0 1199 11 10 1 6 0 8 0 syncache 336 8 0 8 4 3 1 1 0 8 1 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 808 537 0 532 12 10 2 7 0 8 1 arp 88 151 0 133 1 0 1 1 0 8 0 ipq 40 5 0 4 1 0 1 1 0 8 0 ipqe 40 14 0 13 1 0 1 1 0 8 0 inpcb 336 1860 0 1788 24 17 7 12 0 8 0 nd6 104 224 0 200 1 0 1 1 0 8 0 pkpcb 40 13 0 13 1 1 0 1 0 8 0 kcovpl 48 72 0 64 1 0 1 1 0 8 0 ppxss 1072 6 0 6 3 2 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pfosfp 40 2 0 1 1 0 1 1 0 8 0 pfosfpen 112 2 0 0 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfqueue 264 1 0 1 1 1 0 1 0 8 0 pfstkey 128 2 0 2 1 1 0 1 0 8 0 pfstate 344 1 0 1 1 1 0 1 0 8 0 pfrule 1344 4 0 2 1 0 1 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 3349 0 2952 32 4 28 30 0 8 3 art_table 32 3352 0 2952 4 0 4 4 0 8 0 art_node 16 839 0 751 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 8 2 1 1 1 0 8 0 semapl 112 29 0 19 1 0 1 1 0 8 0 shmpl 112 38 0 7 1 0 1 1 0 8 0 dirhash 1024 40 0 21 3 0 3 3 0 8 0 dino2pl 256 3481 0 1866 102 0 102 102 0 8 0 ffsino 240 3481 0 1866 96 0 96 96 0 8 0 nchpl 144 5061 0 3317 65 0 65 65 0 8 0 uvmvnodes 80 4935 0 0 101 0 101 101 0 8 0 vnodes 216 4935 0 0 275 0 275 275 0 8 0 namei 1024 23559 0 23558 3 2 1 2 0 8 0 kstatmem 264 174 0 150 2 0 2 2 0 8 0 scsiplug 72 4 0 4 2 2 0 1 0 8 0 scxspl 216 34668 0 34668 11 10 1 8 1 8 1 plimitpl 152 561 0 545 1 0 1 1 0 8 0 sigapl 424 2200 0 2154 7 1 6 7 0 8 0 futexpl 64 15221 0 15217 1 0 1 1 0 8 0 knotepl 120 36496 0 36447 33 23 10 17 0 8 8 kqueuepl 184 384 0 373 6 5 1 4 0 8 0 pipepl 288 447 0 420 8 1 7 7 0 8 4 fdescpl 432 2182 0 2154 5 1 4 5 0 8 0 filepl 120 12125 0 11821 25 13 12 16 0 8 2 lockfpl 104 683 0 681 3 2 1 2 0 8 0 lockfspl 48 122 0 120 1 0 1 1 0 8 0 sessionpl 144 86 0 78 1 0 1 1 0 8 0 pgrppl 48 174 0 158 1 0 1 1 0 8 0 ucredpl 104 1897 0 1886 1 0 1 1 0 8 0 zombiepl 144 2283 0 2281 2 1 1 1 0 8 0 processpl 1096 2200 0 2154 4 0 4 4 0 8 0 procpl 648 3694 0 3642 8 2 6 6 0 8 0 sosppl 168 3 0 3 1 1 0 1 0 8 0 sockpl 504 3418 0 3328 69 56 13 30 0 8 0 mcl64k 65536 154 0 154 3 2 1 1 0 8 1 mcl16k 16384 8 0 8 1 1 0 1 0 8 0 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl8k 8192 23 0 23 3 2 1 1 0 8 1 mcl4k 4096 17 0 17 4 3 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 8858 0 8761 29 14 15 27 0 8 1 mtagpl 96 143 0 143 4 4 0 2 0 8 0 mbufpl 256 25592 0 25394 28 7 21 21 0 8 5 bufpl 280 8332 0 2087 447 0 447 447 0 8 0 anonpl 24 320606 0 317508 116 65 51 74 0 187 19 amapchunkpl 152 52543 0 52104 59 24 35 35 0 158 15 amappl16 200 5786 0 5773 56 48 8 15 0 8 6 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 233 0 223 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 3807 0 3780 3 1 2 3 0 8 0 amappl11 160 50 0 40 1 0 1 1 0 8 0 amappl10 152 13 0 13 1 1 0 1 0 8 0 amappl9 144 139 0 139 1 1 0 1 0 8 0 amappl8 136 22 0 20 1 0 1 1 0 8 0 amappl7 128 223 0 213 1 0 1 1 0 8 0 amappl6 120 809 0 808 1 0 1 1 0 8 0 amappl5 112 377 0 368 1 0 1 1 0 8 0 amappl4 104 478 0 459 1 0 1 1 0 8 0 amappl3 96 9151 0 9064 3 0 3 3 0 8 0 amappl2 88 2524 0 2453 2 0 2 2 0 8 0 amappl1 80 17092 0 16558 16 3 13 14 0 8 0 amappl 88 15491 0 15337 6 1 5 5 0 92 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 10 0 10 2 2 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 8 0 8 2 2 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 40 0 7 1 0 1 1 0 8 0 uaddrrnd 24 2182 0 2154 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2182 0 2154 1 0 1 1 0 8 0 vmmpekpl 168 18040 0 17989 3 0 3 3 0 8 0 vmmpepl 168 137125 0 135442 112 31 81 91 0 357 3 vmsppl 344 2181 0 2154 4 1 3 4 0 8 0 rwobjpl 24 44226 0 38419 37 1 36 36 0 8 0 pdppl 4096 4371 0 4308 205 134 71 83 0 8 8 pvpl 32 1045369 0 1036599 509 300 209 255 0 265 123 pmappl 216 2181 0 2154 3 1 2 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 633 0 259 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace fifo_write(ffff800037422ad0) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8078a6e288,ffff800037422b80,3,fffffd807f7d73a8) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a53aa50,fffffd8078a6e288,fffffd807f7d73a8,ffff800037422ce0,ffff800037422cc0) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrpsig(ffff80002a53aa50,14,3b89fdee570,0,0,ffff800037422db0) at ktrpsig+0x1b2 sys/kern/kern_ktrace.c:292 postsig(ffff80002a53aa50,14,ffff800037422eb8) at postsig+0x3b2 sys/kern/kern_sig.c:1539 userret(ffff80002a53aa50) at userret+0x1ee sys/kern/kern_sig.c:1990 syscall(ffff800037422ff0) at syscall+0xa72 mi_syscall_return sys/sys/syscall_mi.h:206 [inline] syscall(ffff800037422ff0) at syscall+0xa72 sys/arch/amd64/amd64/trap.c:598 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bad1474c6e0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace fifo_write(ffff800037422ad0) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8078a6e288,ffff800037422b80,3,fffffd807f7d73a8) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a53aa50,fffffd8078a6e288,fffffd807f7d73a8,ffff800037422ce0,ffff800037422cc0) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrpsig(ffff80002a53aa50,14,3b89fdee570,0,0,ffff800037422db0) at ktrpsig+0x1b2 sys/kern/kern_ktrace.c:292 postsig(ffff80002a53aa50,14,ffff800037422eb8) at postsig+0x3b2 sys/kern/kern_sig.c:1539 userret(ffff80002a53aa50) at userret+0x1ee sys/kern/kern_sig.c:1990 syscall(ffff800037422ff0) at syscall+0xa72 mi_syscall_return sys/sys/syscall_mi.h:206 [inline] syscall(ffff800037422ff0) at syscall+0xa72 sys/arch/amd64/amd64/trap.c:598 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bad1474c6e0, count: -8