uvm_fault(0xfffffd8074482170, 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 *252320 37977 0 0 0x1 0 syz-executor fifo_write(ffff80003761ccc0) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8073a388a8,ffff80003761cd70,3,fffffd807f7d7820) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a4a2528,fffffd8073a388a8,fffffd807f7d7820,ffff80003761ce38,ffff80003761ce10) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrstruct(ffff80002a4a2528,ffffffff82ffc6ac,ffff80003761cf20,10) at ktrstruct+0x18b sys/kern/kern_ktrace.c:308 sys_sigaction(ffff80002a4a2528,ffff80003761d060,ffff80003761cfb0) at sys_sigaction+0x534 sys/kern/kern_sig.c:303 syscall(ffff80003761d060) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f5745e0f110, 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(0xfffffd8074482170, 0x8, 0, 1) -> e ddb> trace fifo_write(ffff80003761ccc0) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8073a388a8,ffff80003761cd70,3,fffffd807f7d7820) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a4a2528,fffffd8073a388a8,fffffd807f7d7820,ffff80003761ce38,ffff80003761ce10) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrstruct(ffff80002a4a2528,ffffffff82ffc6ac,ffff80003761cf20,10) at ktrstruct+0x18b sys/kern/kern_ktrace.c:308 sys_sigaction(ffff80002a4a2528,ffff80003761d060,ffff80003761cfb0) at sys_sigaction+0x534 sys/kern/kern_sig.c:303 syscall(ffff80003761d060) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f5745e0f110, count: -7 ddb> show registers rdi 0xfffffd8073a388a8 rsi 0x1 rbp 0xffff80003761ccb0 rbx 0x5a rdx 0 rcx 0x1 rax 0 r8 0xffff80003761ce10 r9 0x8080808080808080 r10 0x8018eb84de1f1ee3 r11 0x9c4b482bfae903a5 r12 0x4000 __ALIGN_SIZE+0x3000 r13 0xffff80003761cd70 r14 0xffff80003761ccc0 r15 0x1 rip 0xffffffff81ee79fe fifo_write+0x6e cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003761cc80 ss 0x10 fifo_write+0x6e: movq 0x8(%rax),%r15 ddb> show proc PROC (syz-executor) tid=252320 pid=37977 tcnt=1 stat=onproc flags process=0 proc=1 runpri=86, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a4a22a0,0xffffffff83574290 process=0xffff80002f9f4018 user=0xffff800037618000, vmspace=0xfffffd8074482170 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND *37977 252320 29417 0 7 0x1 syz-executor 42372 204847 90206 0 2 0x10 syz-executor 42372 304736 90206 0 3 0x4000090 fsleep syz-executor 42372 9676 90206 0 3 0x4000090 fsleep syz-executor 27217 206083 67580 0 2 0x480 syz-executor 27217 517478 67580 0 2 0x4000000 syz-executor 27217 519865 67580 0 3 0x4000080 fsleep syz-executor 29417 86508 76533 0 2 0x482 syz-executor 14490 144843 0 0 3 0x14200 bored sosplice 67580 88189 76533 0 2 0x482 syz-executor 71769 314085 76533 0 2 0x2 syz-executor 90206 70305 76533 0 3 0x82 nanoslp syz-executor 8173 373083 76533 0 2 0x482 syz-executor 70302 31034 76533 0 3 0x82 wait syz-executor 56907 224777 76533 0 2 0x482 syz-executor 14970 194995 76533 0 3 0x82 nanoslp syz-executor 76533 149186 65003 0 3 0x82 kqread syz-executor 65003 201832 76839 0 3 0x10008a sigsusp ksh 76839 156921 27520 0 3 0x98 kqread sshd-session 27520 239606 52451 0 3 0x92 kqread sshd-session 43918 57382 1 0 3 0x100083 ttyin getty 52451 130493 1 0 3 0x88 kqread sshd 59562 108655 77252 73 3 0x1100090 kqread syslogd 77252 127705 1 0 3 0x100082 sbwait syslogd 97829 21076 1 0 3 0x100080 kqread resolvd 85238 439370 99021 77 3 0x100092 kqread dhcpleased 91841 329913 99021 77 3 0x100092 kqread dhcpleased 99021 174842 1 0 3 0x80 kqread dhcpleased 2434 304280 0 0 3 0x14200 bored smr 46305 17937 0 0 2 0x14200 zerothread 35095 229342 0 0 3 0x14200 aiodoned aiodoned 84860 332400 0 0 3 0x14200 syncer update 43285 64490 0 0 3 0x14200 cleaner cleaner 66242 327807 0 0 3 0x14200 reaper reaper 89772 226863 0 0 3 0x14200 pgdaemon pagedaemon 60409 345721 0 0 3 0x14200 bored viomb 48041 256374 0 0 3 0x40014200 acpi0 acpi0 62896 65110 0 0 3 0x14200 bored softnet3 7856 271036 0 0 3 0x14200 bored softnet2 40117 176289 0 0 3 0x14200 bored softnet1 92537 471681 0 0 2 0x14200 softnet0 54796 473174 0 0 3 0x14200 bored systqmp 37153 197892 0 0 3 0x14200 bored systq 39043 464705 0 0 3 0x40014200 tmoslp softclock 13643 379559 0 0 3 0x40014200 idle0 1 83380 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 10021K 10219K 166960K 11548 0 pcb 17 14K 16K 166960K 155 0 rtable 235 6K 6K 166960K 458 0 pf 30 12K 13K 166960K 37 0 ifaddr 42 7K 7K 166960K 50 0 ifgroup 50 2K 2K 166960K 59 0 counters 30 17K 17K 166960K 32 0 ioctlops 0 0K 4K 166960K 41 0 iov 0 0K 16K 166960K 5 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1400 88K 88K 166960K 1490 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 12 0K 0K 166960K 37 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 89K 166960K 226 0 sigio 0 0K 0K 166960K 2 0 proc 58 67K 83K 166960K 502 0 subproc 104 6K 6K 166960K 117 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 12 0 in_multi 99 7K 7K 166960K 115 0 ether_multi 1 0K 0K 166960K 1 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 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 355 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 215 72K 85K 166960K 3377 0 UVM aobj 7 2K 2K 166960K 8 0 pinsyscall 38 76K 91K 166960K 1265 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 12 0 NDP 13 0K 2K 166960K 32 0 temp 35 6802K 6866K 166960K 8935 0 kqueue 13 20K 26K 166960K 35 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 79 0 76 2 0 2 2 0 8 1 rtentry 112 125 0 15 4 0 4 4 0 8 0 unpcb 144 220 0 202 6 0 6 6 0 8 5 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 808 28 0 23 1 0 1 1 0 8 0 arp 88 21 0 3 1 0 1 1 0 8 0 inpcb 336 247 0 239 7 0 7 7 0 8 6 nd6 104 27 0 3 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 pfrule 1344 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 497 0 46 29 0 29 29 0 8 0 art_table 32 498 0 46 4 0 4 4 0 8 0 art_node 16 124 0 24 1 0 1 1 0 8 0 semapl 112 35 0 25 1 0 1 1 0 8 0 shmpl 112 5 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1691 0 190 95 0 95 95 0 8 0 ffsino 240 1691 0 190 89 0 89 89 0 8 0 nchpl 144 1977 0 295 63 0 63 63 0 8 0 uvmvnodes 80 1887 0 0 39 0 39 39 0 8 0 vnodes 216 1887 0 0 105 0 105 105 0 8 0 namei 1024 6305 0 6305 2 0 2 2 0 8 2 kstatmem 264 26 0 4 2 0 2 2 0 8 0 scxspl 216 7245 0 7245 5 0 5 5 1 8 5 plimitpl 152 34 0 17 1 0 1 1 0 8 0 sigapl 424 502 0 456 6 0 6 6 0 8 0 futexpl 64 1332 0 1329 1 0 1 1 0 8 0 knotepl 120 5523 0 5476 9 0 9 9 0 8 7 kqueuepl 184 66 0 57 3 0 3 3 0 8 2 pipepl 288 108 0 81 3 0 3 3 0 8 0 fdescpl 432 485 0 456 5 0 5 5 0 8 1 filepl 120 2228 0 1947 13 0 13 13 0 8 2 lockfpl 104 25 0 22 1 0 1 1 0 8 0 lockfspl 48 13 0 10 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 132 0 119 1 0 1 1 0 8 0 zombiepl 144 460 0 456 1 0 1 1 0 8 0 processpl 1096 502 0 456 4 0 4 4 0 8 0 procpl 648 617 0 567 5 0 5 5 0 8 0 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 504 548 0 519 21 3 18 21 0 8 14 mcl8k 8192 7 0 7 1 0 1 1 0 8 1 mcl4k 4096 4 0 4 1 0 1 1 0 8 1 mcl2k 2048 4979 0 4879 31 10 21 31 0 8 8 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 11821 0 11627 292 1 291 291 0 8 276 bufpl 280 2386 0 90 164 0 164 164 0 8 0 anonpl 24 136486 0 133060 24 0 24 24 0 187 3 amapchunkpl 152 11076 0 10624 25 0 25 25 0 158 6 amappl16 200 3495 0 3461 5 0 5 5 0 8 3 amappl15 192 9 0 9 1 0 1 1 0 8 1 amappl14 184 110 0 100 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 0 1 1 0 8 1 amappl12 168 1107 0 1078 2 0 2 2 0 8 0 amappl11 160 52 0 42 1 0 1 1 0 8 0 amappl10 152 7 0 7 1 0 1 1 0 8 1 amappl9 144 169 0 169 1 0 1 1 0 8 1 amappl8 136 13 0 12 1 0 1 1 0 8 0 amappl7 128 106 0 95 1 0 1 1 0 8 0 amappl6 120 170 0 169 1 0 1 1 0 8 0 amappl5 112 133 0 123 1 0 1 1 0 8 0 amappl4 104 351 0 337 1 0 1 1 0 8 0 amappl3 96 2022 0 1936 3 0 3 3 0 8 0 amappl2 88 688 0 616 2 0 2 2 0 8 0 amappl1 80 7736 0 7198 13 0 13 13 0 8 1 amappl 88 3031 0 2870 4 0 4 4 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 7 0 1 1 0 1 1 0 8 0 uaddrrnd 24 485 0 456 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 485 0 456 1 0 1 1 0 8 0 vmmpekpl 168 5669 0 5625 3 0 3 3 0 8 0 vmmpepl 168 37931 0 36181 80 0 80 80 0 357 2 vmsppl 344 484 0 456 4 0 4 4 0 8 1 rwobjpl 24 16498 0 13752 17 0 17 17 0 8 0 pdppl 4096 976 0 912 94 26 68 78 0 8 4 pvpl 32 269630 0 260660 78 0 78 78 0 265 0 pmappl 216 484 0 456 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 674 0 40 19 0 19 19 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace fifo_write(ffff80003761ccc0) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8073a388a8,ffff80003761cd70,3,fffffd807f7d7820) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a4a2528,fffffd8073a388a8,fffffd807f7d7820,ffff80003761ce38,ffff80003761ce10) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrstruct(ffff80002a4a2528,ffffffff82ffc6ac,ffff80003761cf20,10) at ktrstruct+0x18b sys/kern/kern_ktrace.c:308 sys_sigaction(ffff80002a4a2528,ffff80003761d060,ffff80003761cfb0) at sys_sigaction+0x534 sys/kern/kern_sig.c:303 syscall(ffff80003761d060) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f5745e0f110, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace fifo_write(ffff80003761ccc0) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8073a388a8,ffff80003761cd70,3,fffffd807f7d7820) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a4a2528,fffffd8073a388a8,fffffd807f7d7820,ffff80003761ce38,ffff80003761ce10) at ktrwriteraw+0x191 sys/kern/kern_ktrace.c:682 ktrstruct(ffff80002a4a2528,ffffffff82ffc6ac,ffff80003761cf20,10) at ktrstruct+0x18b sys/kern/kern_ktrace.c:308 sys_sigaction(ffff80002a4a2528,ffff80003761d060,ffff80003761cfb0) at sys_sigaction+0x534 sys/kern/kern_sig.c:303 syscall(ffff80003761d060) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f5745e0f110, count: -7