uvm_fault(0xfffffd806c28ed80, 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 *272856 87686 -1 0x10 0x1 0 syz-executor fifo_write(ffff80002bfdbb30) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd807e305050,ffff80002bfdbbe0,3,fffffd807f7d76e8) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a49b6e0,fffffd807e305050,fffffd807f7d76e8,ffff80002bfdbca8,ffff80002bfdbc80) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrstruct(ffff80002a49b6e0,ffffffff830a6441,ffff80002bfdbd68,18) at ktrstruct+0x18b sys/kern/kern_ktrace.c:308 sys___tfork(ffff80002a49b6e0,ffff80002bfdbeb0,ffff80002bfdbe00) at sys___tfork+0x15f sys/kern/kern_fork.c:131 syscall(ffff80002bfdbeb0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7037f876ad80, 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(0xfffffd806c28ed80, 0x8, 0, 1) -> e ddb> trace fifo_write(ffff80002bfdbb30) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd807e305050,ffff80002bfdbbe0,3,fffffd807f7d76e8) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a49b6e0,fffffd807e305050,fffffd807f7d76e8,ffff80002bfdbca8,ffff80002bfdbc80) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrstruct(ffff80002a49b6e0,ffffffff830a6441,ffff80002bfdbd68,18) at ktrstruct+0x18b sys/kern/kern_ktrace.c:308 sys___tfork(ffff80002a49b6e0,ffff80002bfdbeb0,ffff80002bfdbe00) at sys___tfork+0x15f sys/kern/kern_fork.c:131 syscall(ffff80002bfdbeb0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7037f876ad80, count: -7 ddb> show registers rdi 0xfffffd807e305050 rsi 0x1 rbp 0xffff80002bfdbb20 rbx 0x5e rdx 0 rcx 0x1 rax 0 r8 0xffff80002bfdbc80 r9 0x8080808080808080 r10 0x8a55bb46755dd3c0 r11 0xfb09cb866136d93c r12 0x4000 __ALIGN_SIZE+0x3000 r13 0xffff80002bfdbbe0 r14 0xffff80002bfdbb30 r15 0x1 rip 0xffffffff813dfc0e fifo_write+0x6e cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002bfdbaf0 ss 0x10 fifo_write+0x6e: movq 0x8(%rax),%r15 ddb> show proc PROC (syz-executor) tid=272856 pid=87686 tcnt=2 stat=onproc flags process=10 proc=1 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002f3e2cd0,0xffff80002a49b1e0 process=0xffff8000327f4cf0 user=0xffff80002bfd6000, vmspace=0xfffffd806c28ed80 estcpu=4, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND *87686 272856 69667 -1 7 0x11 syz-executor 87686 163364 69667 -1 2 0x4000010 syz-executor 91431 176036 28225 0 2 0 syz-executor 91431 470367 28225 0 3 0x4000080 fsleep syz-executor 49892 292024 70637 0 2 0x4000010 syz-executor 49892 415011 70637 0 3 0x4000090 fsleep syz-executor 49892 243727 70637 0 3 0x4000090 fsleep syz-executor 46721 314417 0 0 3 0x14280 nfsidl nfsio 37028 475562 0 0 3 0x14280 nfsidl nfsio 43434 97069 0 0 3 0x14280 nfsidl nfsio 7630 3027 0 0 3 0x14280 nfsidl nfsio 36245 271553 0 0 3 0x14280 nfsidl nfsio 70842 205712 0 0 3 0x14280 nfsidl nfsio 4209 518912 0 0 3 0x14280 nfsidl nfsio 7009 102009 0 0 3 0x14280 nfsidl nfsio 13706 170869 0 0 3 0x14280 nfsidl nfsio 51380 147723 0 0 3 0x14280 nfsidl nfsio 97865 345562 0 0 3 0x14280 nfsidl nfsio 44146 75583 0 0 3 0x14280 nfsidl nfsio 55886 401251 0 0 3 0x14280 nfsidl nfsio 11604 59681 0 0 3 0x14280 nfsidl nfsio 41295 308223 0 0 3 0x14280 nfsidl nfsio 17631 20101 0 0 3 0x14280 nfsidl nfsio 65833 195530 0 0 3 0x14280 nfsidl nfsio 98336 28736 0 0 3 0x14280 nfsidl nfsio 54303 265920 0 0 3 0x14280 nfsidl nfsio 62021 371810 0 0 3 0x14280 nfsidl nfsio 72314 38391 65629 0 2 0 syz-executor 72314 3544 65629 0 3 0x4000080 fsleep syz-executor 99952 448120 1654 0 2 0x480 syz-executor 99952 317271 1654 0 3 0x4000080 fsleep syz-executor 99952 479082 1654 0 3 0x4000080 sbwait syz-executor 99952 92594 1654 0 3 0x4000080 fsleep syz-executor 57609 515284 0 0 3 0x14200 bored sosplice 69667 184017 75375 0 3 0x82 nanoslp syz-executor 28135 245845 75375 0 2 0x2 syz-executor 22435 451985 75375 0 2 0x2 syz-executor 70637 177949 75375 0 2 0x482 syz-executor 65629 522436 75375 0 3 0x82 nanoslp syz-executor 1654 139514 75375 0 3 0x82 nanoslp syz-executor 28225 143008 75375 0 3 0x82 nanoslp syz-executor 62870 291725 75375 0 3 0x82 nanoslp syz-executor 75375 407124 931 0 3 0x82 kqread syz-executor 931 454594 78656 0 3 0x10008a sigsusp ksh 78656 467932 34396 0 3 0x98 kqread sshd-session 34396 447352 16745 0 3 0x92 kqread sshd-session 31045 36776 1 0 3 0x100083 ttyin getty 16745 421168 1 0 3 0x88 kqread sshd 60118 409849 69098 73 3 0x1100090 kqread syslogd 69098 196581 1 0 3 0x100082 sbwait syslogd 73518 314921 1 0 3 0x100080 kqread resolvd 48277 447339 47790 77 3 0x100092 kqread dhcpleased 5954 48310 47790 77 3 0x100092 kqread dhcpleased 47790 507729 1 0 3 0x80 kqread dhcpleased 42583 351046 0 0 3 0x14200 bored smr 19449 431328 0 0 2 0x14200 zerothread 33212 101992 0 0 3 0x14200 aiodoned aiodoned 8380 52779 0 0 3 0x14200 syncer update 49677 43585 0 0 3 0x14200 cleaner cleaner 46200 142434 0 0 3 0x14200 reaper reaper 47365 261365 0 0 3 0x14200 pgdaemon pagedaemon 83270 465993 0 0 3 0x14200 bored viomb 64498 91419 0 0 3 0x40014200 acpi0 acpi0 57042 311153 0 0 3 0x14200 bored softnet3 1325 149834 0 0 3 0x14200 bored softnet2 99191 230076 0 0 3 0x14200 bored softnet1 28159 65920 0 0 3 0x14200 bored softnet0 46896 314177 0 0 3 0x14200 bored systqmp 20075 317900 0 0 3 0x14200 bored systq 35774 352195 0 0 3 0x40014200 tmoslp softclock 90424 168457 0 0 3 0x40014200 idle0 1 490065 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 10192 10149K 10343K 166960K 11363 0 pcb 18 12K 12K 166960K 35 0 rtable 214 6K 6K 166960K 356 0 pf 31 13K 13K 166960K 38 0 ifaddr 41 7K 7K 166960K 47 0 ifgroup 50 2K 2K 166960K 59 0 sysctl 3 1K 1K 166960K 3 0 counters 30 17K 17K 166960K 33 0 ioctlops 0 0K 2K 166960K 40 0 iov 0 0K 2K 166960K 7 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1365 86K 86K 166960K 1428 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 8 0K 0K 166960K 11 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 15 53K 97K 166960K 246 0 sigio 0 0K 0K 166960K 1 0 proc 58 59K 124K 166960K 487 0 subproc 104 6K 6K 166960K 104 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 30 0 in_multi 96 7K 7K 166960K 99 0 ether_multi 1 0K 0K 166960K 2 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 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 359 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 216 72K 87K 166960K 3695 0 UVM aobj 8 2K 2K 166960K 8 0 pinsyscall 37 74K 96K 166960K 1269 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 8 0 NDP 11 0K 2K 166960K 30 0 temp 36 6802K 6866K 166960K 4139 0 kqueue 13 20K 26K 166960K 34 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 42 0 38 1 0 1 1 0 8 0 rtentry 112 112 0 12 4 0 4 4 0 8 0 unpcb 144 123 0 104 2 1 1 2 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 62 0 58 5 4 1 5 0 8 0 arp 88 18 0 0 1 0 1 1 0 8 0 inpcb 336 180 0 172 5 3 2 5 0 8 0 nd6 104 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 2 0 2 1 1 0 1 0 8 0 pfstscr 40 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 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 455 0 41 29 1 28 29 0 8 0 art_table 32 456 0 41 4 0 4 4 0 8 0 art_node 16 111 0 21 1 0 1 1 0 8 0 semapl 112 9 0 3 1 0 1 1 0 8 0 shmpl 112 5 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1715 0 217 95 0 95 95 0 8 0 ffsino 240 1715 0 217 89 0 89 89 0 8 0 nchpl 144 2079 0 403 63 0 63 63 0 8 0 uvmvnodes 80 1857 0 0 38 0 38 38 0 8 0 vnodes 216 1857 0 0 104 0 104 104 0 8 0 namei 1024 6278 0 6276 2 1 1 1 0 8 0 kstatmem 264 28 0 6 2 0 2 2 0 8 0 scxspl 216 5723 0 5723 3 2 1 3 1 8 1 plimitpl 152 46 0 30 1 0 1 1 0 8 0 sigapl 424 547 0 482 9 1 8 8 0 8 0 futexpl 64 1593 0 1587 1 0 1 1 0 8 0 knotepl 120 6373 0 6326 4 2 2 4 0 8 0 kqueuepl 184 37 0 28 1 0 1 1 0 8 0 pipepl 288 105 0 77 3 1 2 3 0 8 0 fdescpl 432 510 0 482 5 1 4 5 0 8 0 filepl 120 1981 0 1734 10 2 8 10 0 8 0 lockfpl 104 33 0 29 1 0 1 1 0 8 0 lockfspl 48 18 0 14 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 13 1 0 1 1 0 8 0 ucredpl 104 161 0 148 1 0 1 1 0 8 0 zombiepl 144 483 0 482 2 1 1 1 0 8 0 processpl 1096 547 0 482 5 0 5 5 0 8 0 procpl 648 703 0 630 8 1 7 7 0 8 0 sockpl 504 350 0 319 10 5 5 10 0 8 0 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 11 0 11 1 1 0 1 0 8 0 mcl4k 4096 3 0 3 1 1 0 1 0 8 0 mcl2k 2048 4949 0 4854 27 13 14 27 0 8 0 mtagpl 96 6 0 4 1 0 1 1 0 8 0 mbufpl 256 7335 0 7138 16 0 16 16 0 8 0 bufpl 280 2286 0 89 157 0 157 157 0 8 0 anonpl 24 150031 0 146909 23 2 21 23 0 187 0 amapchunkpl 152 12763 0 12308 27 7 20 27 0 158 0 amappl16 200 3525 0 3506 5 3 2 4 0 8 0 amappl15 192 17 0 17 1 1 0 1 0 8 0 amappl14 184 109 0 99 1 0 1 1 0 8 0 amappl13 176 20 0 20 1 1 0 1 0 8 0 amappl12 168 1122 0 1094 2 0 2 2 0 8 0 amappl11 160 53 0 43 1 0 1 1 0 8 0 amappl10 152 24 0 24 1 1 0 1 0 8 0 amappl9 144 149 0 149 1 1 0 1 0 8 0 amappl8 136 23 0 22 1 0 1 1 0 8 0 amappl7 128 124 0 114 1 0 1 1 0 8 0 amappl6 120 166 0 165 1 0 1 1 0 8 0 amappl5 112 183 0 174 1 0 1 1 0 8 0 amappl4 104 293 0 276 1 0 1 1 0 8 0 amappl3 96 2185 0 2097 3 0 3 3 0 8 0 amappl2 88 724 0 654 2 0 2 2 0 8 0 amappl1 80 7865 0 7334 13 2 11 13 0 8 0 amappl 88 3340 0 3180 5 0 5 5 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 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 510 0 482 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 510 0 482 1 0 1 1 0 8 0 vmmpekpl 168 5749 0 5709 2 0 2 2 0 8 0 vmmpepl 168 39661 0 37961 80 1 79 79 0 357 0 vmsppl 344 509 0 482 4 1 3 4 0 8 0 rwobjpl 24 16871 0 14166 17 0 17 17 0 8 0 pdppl 4096 1027 0 964 97 30 67 83 0 8 4 pvpl 32 292031 0 283533 76 1 75 76 0 265 0 pmappl 216 509 0 482 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 389 0 64 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace fifo_write(ffff80002bfdbb30) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd807e305050,ffff80002bfdbbe0,3,fffffd807f7d76e8) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a49b6e0,fffffd807e305050,fffffd807f7d76e8,ffff80002bfdbca8,ffff80002bfdbc80) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrstruct(ffff80002a49b6e0,ffffffff830a6441,ffff80002bfdbd68,18) at ktrstruct+0x18b sys/kern/kern_ktrace.c:308 sys___tfork(ffff80002a49b6e0,ffff80002bfdbeb0,ffff80002bfdbe00) at sys___tfork+0x15f sys/kern/kern_fork.c:131 syscall(ffff80002bfdbeb0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7037f876ad80, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace fifo_write(ffff80002bfdbb30) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd807e305050,ffff80002bfdbbe0,3,fffffd807f7d76e8) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a49b6e0,fffffd807e305050,fffffd807f7d76e8,ffff80002bfdbca8,ffff80002bfdbc80) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrstruct(ffff80002a49b6e0,ffffffff830a6441,ffff80002bfdbd68,18) at ktrstruct+0x18b sys/kern/kern_ktrace.c:308 sys___tfork(ffff80002a49b6e0,ffff80002bfdbeb0,ffff80002bfdbe00) at sys___tfork+0x15f sys/kern/kern_fork.c:131 syscall(ffff80002bfdbeb0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7037f876ad80, count: -7