uvm_fault(0xfffffd807e2f1568, 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 *370159 56475 0 0 0x4000000 0 syz-executor fifo_write(ffff80002a5a33d0) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd807a2aba60,ffff80002a5a3468,8,fffffd807f7d7478) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd807a2aba60,ffff80002a47b400,fc,0,1,db8a303b4d37fae,ffff80002a5a3590,fffffd807a2aba60,78) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 ufs_symlink(ffff80002a5a3590) at ufs_symlink+0x1e2 sys/ufs/ufs/ufs_vnops.c:1309 VOP_SYMLINK(fffffd807dce6998,ffff80002a5a3710,ffff80002a5a3740,ffff80002a5a3640,ffff80002a47b400) at VOP_SYMLINK+0x11a sys/kern/vfs_vops.c:432 dosymlinkat(ffff80002a4c2018,20000700,3,200004c0) at dosymlinkat+0x1dd sys/kern/vfs_syscalls.c:1806 syscall(ffff80002a5a38c0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xef2825bc2b0, 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(0xfffffd807e2f1568, 0x8, 0, 1) -> e ddb> trace fifo_write(ffff80002a5a33d0) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd807a2aba60,ffff80002a5a3468,8,fffffd807f7d7478) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd807a2aba60,ffff80002a47b400,fc,0,1,db8a303b4d37fae,ffff80002a5a3590,fffffd807a2aba60,78) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 ufs_symlink(ffff80002a5a3590) at ufs_symlink+0x1e2 sys/ufs/ufs/ufs_vnops.c:1309 VOP_SYMLINK(fffffd807dce6998,ffff80002a5a3710,ffff80002a5a3740,ffff80002a5a3640,ffff80002a47b400) at VOP_SYMLINK+0x11a sys/kern/vfs_vops.c:432 dosymlinkat(ffff80002a4c2018,20000700,3,200004c0) at dosymlinkat+0x1dd sys/kern/vfs_syscalls.c:1806 syscall(ffff80002a5a38c0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xef2825bc2b0, count: -8 ddb> show registers rdi 0xfffffd807a2aba60 rsi 0x8c7 rbp 0xffff80002a5a33c0 rbx 0xfffffd807a2aba60 rdx 0xffff8000341f8000 rcx 0x8c6 rax 0 r8 0 r9 0x1 r10 0x8ac3b2f82a9c051f r11 0x96cdc04d4e569376 r12 0x4000 __ALIGN_SIZE+0x3000 r13 0xffff80002a5a3468 r14 0xffff80002a5a33d0 r15 0x1 rip 0xffffffff81ee79fe fifo_write+0x6e cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a5a3390 ss 0 fifo_write+0x6e: movq 0x8(%rax),%r15 ddb> show proc PROC (syz-executor) tid=370159 pid=56475 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=0xffff80002a4c2f48,0xffff80002a4c27c0 process=0xffff8000375f88b8 user=0xffff80002a59e000, vmspace=0xfffffd807e2f1568 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 38092 105999 69475 0 2 0 syz-executor 91969 446903 81010 0 2 0 syz-executor 56475 497435 65461 0 2 0 syz-executor *56475 370159 65461 0 7 0x4000000 syz-executor 33259 504671 71493 0 2 0x480 syz-executor 33259 55347 71493 0 3 0x4000080 kqsel syz-executor 33259 15970 71493 0 3 0x4000080 fsleep syz-executor 90913 18150 53931 0 2 0x2 syz-executor 65461 398512 53931 0 2 0x482 syz-executor 69475 381682 53931 0 3 0x82 nanoslp syz-executor 71493 21772 53931 0 3 0x82 nanoslp syz-executor 27778 305690 53931 0 2 0x2 syz-executor 50759 480604 53931 0 3 0x2 biowait syz-executor 17016 251848 53931 0 2 0x2 syz-executor 81010 366620 53931 0 3 0x82 nanoslp syz-executor 60399 83996 0 0 3 0x14280 nfsidl nfsio 63489 288953 0 0 3 0x14280 nfsidl nfsio 85042 362222 0 0 3 0x14280 nfsidl nfsio 51528 379487 0 0 3 0x14280 nfsidl nfsio 47351 84899 0 0 3 0x14280 nfsidl nfsio 13822 299662 0 0 3 0x14280 nfsidl nfsio 48425 141579 0 0 3 0x14280 nfsidl nfsio 75417 485189 0 0 3 0x14280 nfsidl nfsio 87777 161760 0 0 3 0x14280 nfsidl nfsio 77896 367316 0 0 3 0x14280 nfsidl nfsio 77368 313322 0 0 3 0x14280 nfsidl nfsio 97746 490569 0 0 3 0x14280 nfsidl nfsio 34018 496593 0 0 3 0x14280 nfsidl nfsio 73079 516952 0 0 3 0x14280 nfsidl nfsio 34643 79292 0 0 3 0x14280 nfsidl nfsio 44408 62740 0 0 3 0x14280 nfsidl nfsio 28297 180842 0 0 3 0x14280 nfsidl nfsio 11229 463813 0 0 3 0x14280 nfsidl nfsio 43344 513192 0 0 3 0x14280 nfsidl nfsio 53905 473485 0 0 3 0x14280 nfsidl nfsio 23976 441670 0 0 3 0x14200 bored sosplice 53931 22181 53186 0 2 0x2 syz-executor 53186 408753 14501 0 3 0x10008a sigsusp ksh 14501 121463 13992 0 3 0x98 kqread sshd-session 13992 346435 27177 0 3 0x92 kqread sshd-session 50613 862 1 0 3 0x100083 ttyin getty 27177 502969 1 0 3 0x88 kqread sshd 3175 205968 47304 73 2 0x1100010 syslogd 47304 510575 1 0 3 0x100082 sbwait syslogd 5577 517058 1 0 3 0x100080 kqread resolvd 22505 386442 65884 77 3 0x100092 kqread dhcpleased 31046 69667 65884 77 3 0x100092 kqread dhcpleased 65884 3433 1 0 3 0x80 kqread dhcpleased 29716 492991 0 0 3 0x14200 bored smr 33778 227087 0 0 2 0x14200 zerothread 48964 493735 0 0 3 0x14200 aiodoned aiodoned 27929 81050 0 0 3 0x14200 syncer update 18799 276104 0 0 3 0x14200 cleaner cleaner 95323 351486 0 0 3 0x14200 reaper reaper 62070 236006 0 0 3 0x14200 pgdaemon pagedaemon 35506 246449 0 0 3 0x14200 bored viomb 88800 301273 0 0 3 0x40014200 acpi0 acpi0 17007 407304 0 0 3 0x14200 bored softnet3 32875 139302 0 0 3 0x14200 bored softnet2 9882 85119 0 0 3 0x14200 bored softnet1 5855 311977 0 0 3 0x14200 bored softnet0 95567 71212 0 0 3 0x14200 bored systqmp 69191 162713 0 0 3 0x14200 bored systq 22952 343107 0 0 2 0x40014200 softclock 46756 402090 0 0 3 0x40014200 idle0 1 223542 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 10201 10037K 10345K 166960K 12284 0 pcb 17 16K 18K 166960K 262 0 rtable 224 8K 9K 166960K 1162 0 pf 33 13K 21K 166960K 105 0 ifaddr 39 7K 8K 166960K 153 0 ifgroup 50 2K 2K 166960K 168 0 sysctl 3 1K 1K 166960K 3 0 counters 30 17K 17K 166960K 61 0 ioctlops 0 0K 4K 166960K 135 0 iov 0 0K 16K 166960K 205 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1485 93K 94K 166960K 2246 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 18 5K 5K 166960K 23 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 14 49K 93K 166960K 1078 0 sigio 0 0K 0K 166960K 15 0 proc 58 59K 100K 166960K 1230 0 subproc 104 6K 6K 166960K 416 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 373 0 in_multi 88 6K 7K 166960K 388 0 ether_multi 1 0K 0K 166960K 6 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 211 943K 943K 166960K 211 0 exec 0 0K 1K 166960K 789 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 184 71K 95K 166960K 9870 0 UVM aobj 102 3K 3K 166960K 106 0 pinsyscall 35 70K 94K 166960K 2715 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 36 0 NDP 11 0K 1K 166960K 107 0 temp 75 6816K 6880K 166960K 27325 0 kqueue 16 26K 30K 166960K 155 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 156 0 153 2 0 2 2 0 8 1 rtentry 112 400 0 298 4 0 4 4 0 8 0 unpcb 144 1280 0 1261 6 0 6 6 0 8 5 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 808 483 0 475 8 0 8 8 0 8 6 arp 88 71 0 55 1 0 1 1 0 8 0 ipq 40 2 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 1 1 0 1 1 0 8 0 inpcb 336 1615 0 1603 13 4 9 13 0 8 7 nd6 104 104 0 81 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 32 0 24 1 0 1 1 0 8 0 ppxss 1072 5 0 5 1 0 1 1 0 8 1 pfstscr 40 6 0 6 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 8 0 6 1 0 1 1 0 8 0 pfstate 344 6 0 5 1 0 1 1 0 8 0 pfrule 1344 4 0 4 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1618 0 1200 29 0 29 29 0 8 0 art_table 32 1619 0 1200 4 0 4 4 0 8 0 art_node 16 399 0 307 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 4 1 0 1 1 0 8 0 semapl 112 18 0 2 1 0 1 1 0 8 0 shmpl 112 103 0 4 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2647 0 1111 97 0 97 97 0 8 0 ffsino 240 2647 0 1111 91 0 91 91 0 8 0 nchpl 144 3754 0 2048 64 0 64 64 0 8 0 uvmvnodes 80 3461 0 0 71 0 71 71 0 8 0 vnodes 216 3461 0 0 193 0 193 193 0 8 0 namei 1024 15385 0 15384 2 0 2 2 0 8 1 kstatmem 264 84 0 62 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 20618 0 20617 8 0 8 8 1 8 7 plimitpl 152 467 0 451 1 0 1 1 0 8 0 sigapl 424 1329 0 1266 8 0 8 8 0 8 0 futexpl 64 10286 0 10285 1 0 1 1 0 8 0 knotepl 120 32808 0 32759 17 7 10 17 0 8 8 kqueuepl 184 217 0 202 1 0 1 1 0 8 0 pipepl 288 283 0 256 7 0 7 7 0 8 4 fdescpl 432 1291 0 1265 5 0 5 5 0 8 1 filepl 120 8535 0 8285 20 5 15 20 0 8 6 lockfpl 104 521 0 519 2 0 2 2 0 8 1 lockfspl 48 98 0 96 1 0 1 1 0 8 0 sessionpl 144 45 0 37 1 0 1 1 0 8 0 pgrppl 48 83 0 67 1 0 1 1 0 8 0 ucredpl 104 1018 0 1007 1 0 1 1 0 8 0 zombiepl 144 1266 0 1266 1 0 1 1 0 8 1 processpl 1096 1329 0 1266 6 0 6 6 0 8 0 procpl 648 2215 0 2149 7 0 7 7 0 8 0 sosppl 168 6 0 6 1 0 1 1 0 8 1 sockpl 504 3064 0 3030 57 44 13 36 0 8 8 mcl64k 65536 7 0 7 1 0 1 1 0 8 1 mcl8k 8192 21 0 21 1 0 1 1 0 8 1 mcl4k 4096 4 0 4 1 0 1 1 0 8 1 mcl2k2 2112 3 0 3 1 0 1 1 0 8 1 mcl2k 2048 7024 0 6928 26 6 20 26 0 8 7 mtagpl 96 19 0 17 1 0 1 1 0 8 0 mbufpl 256 18145 0 17933 92 64 28 89 0 8 8 bufpl 280 6664 0 419 447 0 447 447 0 8 0 anonpl 24 242993 0 239808 52 0 52 52 0 187 23 amapchunkpl 152 31679 0 31318 33 0 33 33 0 158 14 amappl16 200 5607 0 5587 23 13 10 15 0 8 8 amappl15 192 8 0 8 1 0 1 1 0 8 1 amappl14 184 177 0 167 1 0 1 1 0 8 0 amappl13 176 13 0 13 1 0 1 1 0 8 1 amappl12 168 2281 0 2257 2 0 2 2 0 8 0 amappl11 160 50 0 40 1 0 1 1 0 8 0 amappl10 152 10 0 10 1 0 1 1 0 8 1 amappl9 144 127 0 127 1 0 1 1 0 8 1 amappl8 136 24 0 22 1 0 1 1 0 8 0 amappl7 128 152 0 141 1 0 1 1 0 8 0 amappl6 120 434 0 433 1 0 1 1 0 8 0 amappl5 112 225 0 216 1 0 1 1 0 8 0 amappl4 104 419 0 403 1 0 1 1 0 8 0 amappl3 96 5673 0 5601 3 0 3 3 0 8 0 amappl2 88 1555 0 1486 2 0 2 2 0 8 0 amappl1 80 11764 0 11240 13 0 13 13 0 8 1 amappl 88 9311 0 9181 5 0 5 5 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 105 0 4 2 0 2 2 0 8 0 uaddrrnd 24 1291 0 1265 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1291 0 1265 1 0 1 1 0 8 0 vmmpekpl 168 11518 0 11472 3 0 3 3 0 8 0 vmmpepl 168 86387 0 84809 91 0 91 91 0 357 12 vmsppl 344 1290 0 1265 4 0 4 4 0 8 1 rwobjpl 24 30250 0 25867 28 0 28 28 0 8 0 pdppl 4096 2588 0 2530 126 62 64 80 0 8 6 pvpl 32 654497 0 646140 229 0 229 229 0 265 135 pmappl 216 1290 0 1265 3 0 3 3 0 8 1 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 559 0 180 14 0 14 14 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace fifo_write(ffff80002a5a33d0) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd807a2aba60,ffff80002a5a3468,8,fffffd807f7d7478) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd807a2aba60,ffff80002a47b400,fc,0,1,db8a303b4d37fae,ffff80002a5a3590,fffffd807a2aba60,78) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 ufs_symlink(ffff80002a5a3590) at ufs_symlink+0x1e2 sys/ufs/ufs/ufs_vnops.c:1309 VOP_SYMLINK(fffffd807dce6998,ffff80002a5a3710,ffff80002a5a3740,ffff80002a5a3640,ffff80002a47b400) at VOP_SYMLINK+0x11a sys/kern/vfs_vops.c:432 dosymlinkat(ffff80002a4c2018,20000700,3,200004c0) at dosymlinkat+0x1dd sys/kern/vfs_syscalls.c:1806 syscall(ffff80002a5a38c0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xef2825bc2b0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace fifo_write(ffff80002a5a33d0) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd807a2aba60,ffff80002a5a3468,8,fffffd807f7d7478) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd807a2aba60,ffff80002a47b400,fc,0,1,db8a303b4d37fae,ffff80002a5a3590,fffffd807a2aba60,78) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 ufs_symlink(ffff80002a5a3590) at ufs_symlink+0x1e2 sys/ufs/ufs/ufs_vnops.c:1309 VOP_SYMLINK(fffffd807dce6998,ffff80002a5a3710,ffff80002a5a3740,ffff80002a5a3640,ffff80002a47b400) at VOP_SYMLINK+0x11a sys/kern/vfs_vops.c:432 dosymlinkat(ffff80002a4c2018,20000700,3,200004c0) at dosymlinkat+0x1dd sys/kern/vfs_syscalls.c:1806 syscall(ffff80002a5a38c0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xef2825bc2b0, count: -8