uvm_fault(0xfffffd8070b22410, 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 *218886 35703 0 0 0x4000000 0 syz-executor fifo_write(ffff800037665630) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd80753673b8,ffff8000376656c8,8,fffffd807f7d74e0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd80753673b8,ffff80002a47a800,fc,0,1,272ae126a064cc0d,ffff8000376657f0,fffffd80753673b8,78) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 ufs_symlink(ffff8000376657f0) at ufs_symlink+0x1e2 sys/ufs/ufs/ufs_vnops.c:1309 VOP_SYMLINK(fffffd8075378ea8,ffff800037665970,ffff8000376659a0,ffff8000376658a0,ffff80002a47a800) at VOP_SYMLINK+0x11a sys/kern/vfs_vops.c:432 dosymlinkat(ffff80002a4c2cc0,20000700,4,200004c0) at dosymlinkat+0x1dd sys/kern/vfs_syscalls.c:1806 syscall(ffff800037665b20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x43636598c10, 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(0xfffffd8070b22410, 0x8, 0, 1) -> e ddb> trace fifo_write(ffff800037665630) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd80753673b8,ffff8000376656c8,8,fffffd807f7d74e0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd80753673b8,ffff80002a47a800,fc,0,1,272ae126a064cc0d,ffff8000376657f0,fffffd80753673b8,78) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 ufs_symlink(ffff8000376657f0) at ufs_symlink+0x1e2 sys/ufs/ufs/ufs_vnops.c:1309 VOP_SYMLINK(fffffd8075378ea8,ffff800037665970,ffff8000376659a0,ffff8000376658a0,ffff80002a47a800) at VOP_SYMLINK+0x11a sys/kern/vfs_vops.c:432 dosymlinkat(ffff80002a4c2cc0,20000700,4,200004c0) at dosymlinkat+0x1dd sys/kern/vfs_syscalls.c:1806 syscall(ffff800037665b20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x43636598c10, count: -8 ddb> show registers rdi 0xfffffd80753673b8 rsi 0xf7c rbp 0xffff800037665620 rbx 0xfffffd80753673b8 rdx 0xffff80002d9e0000 rcx 0xf7b rax 0 r8 0 r9 0x1 r10 0xe9fa59c2dc10cd1d r11 0x8acc35ecb81c93f1 r12 0x4000 __ALIGN_SIZE+0x3000 r13 0xffff8000376656c8 r14 0xffff800037665630 r15 0x1 rip 0xffffffff8224aade fifo_write+0x6e cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000376655f0 ss 0 fifo_write+0x6e: movq 0x8(%rax),%r15 ddb> show proc PROC (syz-executor) tid=218886 pid=35703 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a4576d0,0xffff80002a4c3978 process=0xffff8000ffffb370 user=0xffff800037660000, vmspace=0xfffffd8070b22410 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 59331 130428 81686 0 2 0 syz-executor 59331 454049 81686 0 2 0x4000000 syz-executor 35703 84214 45228 0 2 0 syz-executor *35703 218886 45228 0 7 0x4000000 syz-executor 76994 50420 47107 0 2 0 syz-executor 96061 509202 76645 0 2 0 syz-executor 96061 307396 76645 0 3 0x4000080 fsleep syz-executor 44189 433164 77221 0 2 0 syz-executor 44189 16798 77221 0 3 0x4000080 fsleep syz-executor 58672 111360 12128 0 2 0 syz-executor 58672 241833 12128 0 3 0x4000080 fsleep syz-executor 47107 356811 87725 0 3 0x82 nanoslp syz-executor 12128 324931 87725 0 3 0x82 nanoslp syz-executor 77221 337106 87725 0 3 0x82 nanoslp syz-executor 81686 148070 87725 0 3 0x82 nanoslp syz-executor 45228 45201 87725 0 3 0x82 nanoslp syz-executor 76645 485239 87725 0 3 0x82 nanoslp syz-executor 52924 332264 87725 0 2 0x2 syz-executor 32925 294865 87725 0 2 0x2 syz-executor 57831 317524 0 0 3 0x14200 acct acct 87725 406492 76169 0 3 0x82 kqread syz-executor 76169 178610 8785 0 3 0x10008a sigsusp ksh 8785 90175 73891 0 3 0x98 kqread sshd-session 73891 394273 87735 0 3 0x92 kqread sshd-session 80839 496125 1 0 3 0x100083 ttyin getty 87735 222542 1 0 3 0x88 kqread sshd 56549 300619 83543 73 2 0x1100010 syslogd 83543 202527 1 0 3 0x100082 sbwait syslogd 10988 144807 1 0 3 0x100080 kqread resolvd 46730 431382 52669 77 3 0x100092 kqread dhcpleased 41666 151625 52669 77 3 0x100092 kqread dhcpleased 52669 501356 1 0 3 0x80 kqread dhcpleased 57699 466258 0 0 3 0x14200 bored smr 25440 228346 0 0 2 0x14200 zerothread 92544 120055 0 0 3 0x14200 aiodoned aiodoned 2621 163730 0 0 3 0x14200 syncer update 5707 114594 0 0 3 0x14200 cleaner cleaner 48058 275229 0 0 3 0x14200 reaper reaper 85130 10511 0 0 3 0x14200 pgdaemon pagedaemon 9329 47200 0 0 3 0x14200 bored viomb 83836 96821 0 0 3 0x40014200 acpi0 acpi0 93893 258978 0 0 3 0x14200 bored softnet3 481 2529 0 0 3 0x14200 bored softnet2 67466 390878 0 0 3 0x14200 bored softnet1 26845 47627 0 0 2 0x14200 softnet0 16948 343217 0 0 3 0x14200 bored systqmp 86250 378612 0 0 3 0x14200 bored systq 52432 406109 0 0 3 0x40014200 tmoslp softclock 63972 312963 0 0 3 0x40014200 idle0 1 285049 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 10170 10025K 10219K 166960K 11366 0 pcb 17 12K 12K 166960K 43 0 rtable 239 7K 8K 166960K 615 0 pf 32 13K 17K 166960K 56 0 ifaddr 44 8K 8K 166960K 81 0 ifgroup 50 2K 2K 166960K 84 0 counters 30 17K 17K 166960K 39 0 ioctlops 0 0K 4K 166960K 50 0 iov 0 0K 16K 166960K 14 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1446 91K 91K 166960K 1628 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 5 0K 0K 166960K 5 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 97K 166960K 371 0 sigio 0 0K 0K 166960K 1 0 proc 57 59K 124K 166960K 696 0 subproc 104 6K 7K 166960K 208 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 18 0 in_multi 100 7K 7K 166960K 189 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 67 307K 307K 166960K 67 0 exec 0 0K 1K 166960K 462 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 205 73K 93K 166960K 4374 0 UVM aobj 5 2K 2K 166960K 5 0 pinsyscall 37 74K 100K 166960K 1602 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 18 0 NDP 19 1K 2K 166960K 53 0 temp 74 6812K 6876K 166960K 5329 0 kqueue 14 22K 26K 166960K 41 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 62 0 59 1 0 1 1 0 8 0 rtentry 112 205 0 95 4 0 4 4 0 8 0 unpcb 144 249 0 230 6 0 6 6 0 8 5 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 808 46 0 41 2 0 2 2 0 8 1 arp 88 35 0 16 1 0 1 1 0 8 0 inpcb 336 288 0 280 7 0 7 7 0 8 5 nd6 104 50 0 26 1 0 1 1 0 8 0 kcovpl 48 16 0 8 1 0 1 1 0 8 0 ppxss 1072 1 0 1 1 0 1 1 0 8 1 pfrktable 1344 4 0 2 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 1 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 344 1 0 0 1 0 1 1 0 8 0 pfrule 1344 2 0 1 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 841 0 385 31 0 31 31 0 8 2 art_table 32 842 0 385 4 0 4 4 0 8 0 art_node 16 203 0 105 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 0 1 1 0 8 1 semapl 112 3 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1747 0 229 95 0 95 95 0 8 0 ffsino 240 1747 0 229 90 0 90 90 0 8 0 nchpl 144 2104 0 423 63 0 63 63 0 8 0 uvmvnodes 80 2082 0 0 43 0 43 43 0 8 0 vnodes 216 2082 0 0 116 0 116 116 0 8 0 namei 1024 7572 0 7571 2 0 2 2 0 8 1 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 40 0 18 2 0 2 2 0 8 0 scxspl 216 6650 0 6650 3 0 3 3 1 8 3 plimitpl 152 119 0 102 1 0 1 1 0 8 0 sigapl 424 636 0 591 7 0 7 7 0 8 1 futexpl 64 2084 0 2081 1 0 1 1 0 8 0 knotepl 120 7063 0 7012 2 0 2 2 0 8 0 kqueuepl 184 54 0 44 1 0 1 1 0 8 0 pipepl 288 132 0 105 3 0 3 3 0 8 0 fdescpl 432 619 0 591 5 0 5 5 0 8 1 filepl 120 2904 0 2654 15 0 15 15 0 8 7 lockfpl 104 37 0 34 1 0 1 1 0 8 0 lockfspl 48 20 0 17 1 0 1 1 0 8 0 sessionpl 144 29 0 21 1 0 1 1 0 8 0 pgrppl 48 47 0 31 1 0 1 1 0 8 0 ucredpl 104 200 0 188 1 0 1 1 0 8 0 zombiepl 144 591 0 591 1 0 1 1 0 8 1 processpl 1096 636 0 591 4 0 4 4 0 8 0 procpl 648 818 0 768 6 0 6 6 0 8 1 sockpl 504 599 0 569 22 10 12 22 0 8 8 mcl64k 65536 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 1 0 1 1 0 8 1 mcl4k 4096 3 0 3 1 0 1 1 0 8 1 mcl2k 2048 5300 0 5205 27 6 21 27 0 8 8 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 8347 0 8169 15 0 15 15 0 8 1 bufpl 280 5349 0 89 376 0 376 376 0 8 0 anonpl 24 150720 0 142885 67 0 67 67 0 187 19 amapchunkpl 152 14637 0 13948 42 0 42 42 0 158 15 amappl16 200 3283 0 3270 15 2 13 15 0 8 12 amappl15 192 10 0 10 1 0 1 1 0 8 1 amappl14 184 148 0 137 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 0 1 1 0 8 1 amappl12 168 1363 0 1336 3 0 3 3 0 8 1 amappl11 160 52 0 42 1 0 1 1 0 8 0 amappl10 152 12 0 11 1 0 1 1 0 8 0 amappl9 144 123 0 123 1 0 1 1 0 8 1 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 128 0 118 1 0 1 1 0 8 0 amappl6 120 265 0 264 1 0 1 1 0 8 0 amappl5 112 157 0 148 1 0 1 1 0 8 0 amappl4 104 306 0 292 1 0 1 1 0 8 0 amappl3 96 2827 0 2726 4 0 4 4 0 8 1 amappl2 88 704 0 649 2 0 2 2 0 8 0 amappl1 80 8639 0 8110 14 0 14 14 0 8 2 amappl 88 3961 0 3811 5 0 5 5 0 92 1 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 619 0 591 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 619 0 591 1 0 1 1 0 8 0 vmmpekpl 168 6743 0 6694 3 0 3 3 0 8 0 vmmpepl 168 45954 0 44293 87 0 87 87 0 357 9 vmsppl 344 618 0 591 4 0 4 4 0 8 1 rwobjpl 24 18617 0 15710 19 0 19 19 0 8 0 pdppl 4096 1244 0 1182 112 42 70 82 0 8 8 pvpl 32 343832 0 317541 237 0 237 237 0 265 24 pmappl 216 618 0 591 3 0 3 3 0 8 1 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 417 0 58 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace fifo_write(ffff800037665630) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd80753673b8,ffff8000376656c8,8,fffffd807f7d74e0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd80753673b8,ffff80002a47a800,fc,0,1,272ae126a064cc0d,ffff8000376657f0,fffffd80753673b8,78) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 ufs_symlink(ffff8000376657f0) at ufs_symlink+0x1e2 sys/ufs/ufs/ufs_vnops.c:1309 VOP_SYMLINK(fffffd8075378ea8,ffff800037665970,ffff8000376659a0,ffff8000376658a0,ffff80002a47a800) at VOP_SYMLINK+0x11a sys/kern/vfs_vops.c:432 dosymlinkat(ffff80002a4c2cc0,20000700,4,200004c0) at dosymlinkat+0x1dd sys/kern/vfs_syscalls.c:1806 syscall(ffff800037665b20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x43636598c10, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace fifo_write(ffff800037665630) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd80753673b8,ffff8000376656c8,8,fffffd807f7d74e0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd80753673b8,ffff80002a47a800,fc,0,1,272ae126a064cc0d,ffff8000376657f0,fffffd80753673b8,78) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 ufs_symlink(ffff8000376657f0) at ufs_symlink+0x1e2 sys/ufs/ufs/ufs_vnops.c:1309 VOP_SYMLINK(fffffd8075378ea8,ffff800037665970,ffff8000376659a0,ffff8000376658a0,ffff80002a47a800) at VOP_SYMLINK+0x11a sys/kern/vfs_vops.c:432 dosymlinkat(ffff80002a4c2cc0,20000700,4,200004c0) at dosymlinkat+0x1dd sys/kern/vfs_syscalls.c:1806 syscall(ffff800037665b20) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x43636598c10, count: -8