uvm_fault(0xfffffd80709062b8, 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 *345307 10700 0 0 0x4000000 0 syz-executor fifo_write(ffff80002a4f5870) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8077174460,ffff80002a4f5908,8,fffffd807f7d79c0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd8077174460,ffff80002a47b000,fc,0,1,a0a25bb7ed0bf1c8,ffff80002a4f5a30,fffffd8077174460,78) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 ufs_symlink(ffff80002a4f5a30) at ufs_symlink+0x1e2 sys/ufs/ufs/ufs_vnops.c:1309 VOP_SYMLINK(fffffd80715f26c8,ffff80002a4f5bb0,ffff80002a4f5be0,ffff80002a4f5ae0,ffff80002a47b000) at VOP_SYMLINK+0x11a sys/kern/vfs_vops.c:432 dosymlinkat(ffff80002a57b700,20000700,7,200004c0) at dosymlinkat+0x1dd sys/kern/vfs_syscalls.c:1806 syscall(ffff80002a4f5d60) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa9aedd1ed90, 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(0xfffffd80709062b8, 0x8, 0, 1) -> e ddb> trace fifo_write(ffff80002a4f5870) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8077174460,ffff80002a4f5908,8,fffffd807f7d79c0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd8077174460,ffff80002a47b000,fc,0,1,a0a25bb7ed0bf1c8,ffff80002a4f5a30,fffffd8077174460,78) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 ufs_symlink(ffff80002a4f5a30) at ufs_symlink+0x1e2 sys/ufs/ufs/ufs_vnops.c:1309 VOP_SYMLINK(fffffd80715f26c8,ffff80002a4f5bb0,ffff80002a4f5be0,ffff80002a4f5ae0,ffff80002a47b000) at VOP_SYMLINK+0x11a sys/kern/vfs_vops.c:432 dosymlinkat(ffff80002a57b700,20000700,7,200004c0) at dosymlinkat+0x1dd sys/kern/vfs_syscalls.c:1806 syscall(ffff80002a4f5d60) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa9aedd1ed90, count: -8 ddb> show registers rdi 0xfffffd8077174460 rsi 0x112a __ALIGN_SIZE+0x12a rbp 0xffff80002a4f5860 rbx 0xfffffd8077174460 rdx 0xffff80002d9d6000 rcx 0x1129 __ALIGN_SIZE+0x129 rax 0 r8 0 r9 0x1 r10 0x64af8444306a545c r11 0x15175298a20c9932 r12 0x4000 __ALIGN_SIZE+0x3000 r13 0xffff80002a4f5908 r14 0xffff80002a4f5870 r15 0x1 rip 0xffffffff827740de fifo_write+0x6e cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a4f5830 ss 0 fifo_write+0x6e: movq 0x8(%rax),%r15 ddb> show proc PROC (syz-executor) tid=345307 pid=10700 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=84, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a49dbf0,0xffff80002a57b488 process=0xffff80002a5619d8 user=0xffff80002a4f0000, vmspace=0xfffffd80709062b8 estcpu=34, cpticks=0, pctcpu=0.19, user=0, sys=19, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 46147 281857 20337 0 2 0 syz-executor 34703 457624 95834 0 2 0 syz-executor 34703 445976 95834 0 3 0x4000080 fsleep syz-executor 9306 66315 59541 0 2 0 syz-executor 9306 138506 59541 0 3 0x4000080 fsleep syz-executor 7036 12474 51599 0 2 0 syz-executor 7036 390700 51599 0 2 0x4000000 syz-executor 47218 172712 12269 0 2 0x82000 syz-executor 47218 418898 12269 0 3 0x4002000 suspend syz-executor 47218 326237 12269 0 4 0x4082000 syz-executor 15211 30541 37347 0 2 0 syz-executor 15211 252020 37347 0 3 0x4000080 fsleep syz-executor 15211 114284 37347 0 3 0x4000080 fsleep syz-executor 10700 503905 14593 0 2 0 syz-executor *10700 345307 14593 0 7 0x4000000 syz-executor 10700 422168 14593 0 3 0x4000080 fsleep syz-executor 95834 312822 82409 0 2 0x482 syz-executor 12269 290180 82409 0 2 0x482 syz-executor 45549 428630 0 0 3 0x14200 acct acct 51599 401767 82409 0 2 0x482 syz-executor 37347 484244 82409 0 2 0x482 syz-executor 55185 442648 82409 0 2 0x2 syz-executor 20337 279499 82409 0 2 0x2 syz-executor 14593 498822 82409 0 2 0x482 syz-executor 59541 518168 82409 0 2 0x482 syz-executor 67221 494677 1 0 3 0x100083 ttyopn getty 2259 67904 0 0 3 0x14280 nfsidl nfsio 80346 64786 0 0 3 0x14280 nfsidl nfsio 18895 139865 0 0 3 0x14280 nfsidl nfsio 71286 382609 0 0 3 0x14280 nfsidl nfsio 24755 502513 0 0 3 0x14280 nfsidl nfsio 40048 175033 0 0 3 0x14280 nfsidl nfsio 5875 456388 0 0 3 0x14280 nfsidl nfsio 15081 90026 0 0 3 0x14280 nfsidl nfsio 92946 497530 0 0 3 0x14280 nfsidl nfsio 57412 359378 0 0 3 0x14280 nfsidl nfsio 42321 436638 0 0 3 0x14280 nfsidl nfsio 14654 361083 0 0 3 0x14280 nfsidl nfsio 49898 505983 0 0 3 0x14280 nfsidl nfsio 79059 188113 0 0 3 0x14280 nfsidl nfsio 98988 54083 0 0 3 0x14280 nfsidl nfsio 27077 122174 0 0 3 0x14280 nfsidl nfsio 25071 244768 0 0 3 0x14280 nfsidl nfsio 3880 36266 0 0 3 0x14280 nfsidl nfsio 68015 159015 0 0 3 0x14280 nfsidl nfsio 5067 61700 0 0 3 0x14280 nfsidl nfsio 63996 287263 0 0 3 0x14200 bored sosplice 82409 9477 86505 0 3 0x82 kqread syz-executor 86505 50245 46475 0 3 0x10008a sigsusp ksh 46475 376930 68712 0 3 0x98 kqread sshd-session 68712 254603 35805 0 3 0x92 kqread sshd-session 35805 167669 1 0 3 0x88 kqread sshd 5158 347187 35634 73 3 0x1100090 kqread syslogd 35634 400389 1 0 3 0x100082 sbwait syslogd 11407 372396 1 0 3 0x100080 kqread resolvd 47854 67799 11932 77 3 0x100092 kqread dhcpleased 5578 440284 11932 77 3 0x100092 kqread dhcpleased 11932 168491 1 0 3 0x80 kqread dhcpleased 59677 515433 0 0 2 0x14200 smr 64921 399532 0 0 2 0x14200 zerothread 75446 275957 0 0 3 0x14200 aiodoned aiodoned 21877 363333 0 0 3 0x14200 syncer update 56631 197952 0 0 3 0x14200 cleaner cleaner 11882 379084 0 0 3 0x14200 reaper reaper 37866 233414 0 0 3 0x14200 pgdaemon pagedaemon 52290 373468 0 0 3 0x14200 bored viomb 21624 256737 0 0 3 0x40014200 acpi0 acpi0 43498 406679 0 0 3 0x14200 bored softnet3 88789 163845 0 0 3 0x14200 bored softnet2 51907 371800 0 0 3 0x14200 bored softnet1 35085 401842 0 0 2 0x14200 softnet0 4087 96383 0 0 3 0x14200 bored systqmp 23838 57104 0 0 3 0x14200 bored systq 15003 271822 0 0 2 0x40014200 softclock 21179 217414 0 0 3 0x40014200 idle0 1 314884 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 10205 10035K 10357K 166960K 13797 0 pcb 17 21K 24K 166960K 565 0 rtable 136 7K 7K 166960K 2046 0 pf 28 12K 20K 166960K 196 0 ifaddr 29 5K 8K 166960K 283 0 ifgroup 46 2K 2K 166960K 320 0 sysctl 4 1K 3K 166960K 5 0 counters 29 17K 17K 166960K 102 0 ioctlops 0 0K 4K 166960K 318 0 iov 0 0K 24K 166960K 201 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1490 94K 94K 166960K 4211 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 38 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 122 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 17 61K 97K 166960K 2428 0 sigio 0 0K 0K 166960K 227 0 proc 58 59K 116K 166960K 2091 0 subproc 104 6K 7K 166960K 780 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 381 0 in_multi 55 4K 7K 166960K 729 0 ether_multi 1 0K 0K 166960K 21 0 mrt 1 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 1337 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 213 72K 93K 166960K 20635 0 UVM aobj 131 4K 4K 166960K 135 0 pinsyscall 38 76K 96K 166960K 4811 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 108 0 NDP 10 0K 2K 166960K 205 0 temp 76 6816K 6912K 166960K 107632 0 kqueue 13 20K 30K 166960K 259 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 392 0 389 3 0 3 3 0 8 2 rtentry 112 708 0 653 4 0 4 4 0 8 2 unpcb 144 1804 0 1789 6 0 6 6 0 8 5 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 808 891 0 886 14 0 14 14 0 8 13 arp 88 125 0 115 1 0 1 1 0 8 0 ipq 40 9 0 6 1 0 1 1 0 8 0 ipqe 40 16 0 12 1 0 1 1 0 8 0 inpcb 336 3092 0 3080 19 7 12 15 0 8 10 nd6 104 191 0 178 1 0 1 1 0 8 0 pkpcb 40 144 0 144 1 0 1 1 0 8 1 kcovpl 48 60 0 52 1 0 1 1 0 8 0 ppxss 1072 13 0 13 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 2856 0 2582 30 0 30 30 0 8 8 art_table 32 2858 0 2582 4 0 4 4 0 8 0 art_node 16 703 0 654 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 7 1 0 1 1 0 8 0 semapl 112 120 0 110 1 0 1 1 0 8 0 shmpl 112 132 0 4 4 0 4 4 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 4898 0 3301 100 0 100 100 0 8 0 ffsino 240 4898 0 3301 95 0 95 95 0 8 0 nchpl 144 7332 0 5577 66 0 66 66 0 8 0 uvmvnodes 80 6887 0 0 141 0 141 141 0 8 0 vnodes 216 6887 0 0 383 0 383 383 0 8 0 namei 1024 32505 0 32504 2 0 2 2 0 8 1 kstatmem 264 166 0 146 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 0 1 1 0 8 1 scxspl 216 43029 0 43029 8 0 8 8 1 8 8 plimitpl 152 609 0 592 1 0 1 1 0 8 0 sigapl 424 2628 0 2561 8 0 8 8 0 8 0 futexpl 64 24020 0 24015 1 0 1 1 0 8 0 knotepl 120 49022 0 48975 10 0 10 10 0 8 7 kqueuepl 184 557 0 548 3 0 3 3 0 8 2 pipepl 288 640 0 611 7 0 7 7 0 8 4 fdescpl 432 2590 0 2561 5 0 5 5 0 8 1 filepl 120 19725 0 19470 16 1 15 16 0 8 6 lockfpl 104 771 0 769 2 0 2 2 0 8 1 lockfspl 48 353 0 351 1 0 1 1 0 8 0 sessionpl 144 75 0 67 1 0 1 1 0 8 0 pgrppl 48 222 0 206 1 0 1 1 0 8 0 ucredpl 104 3751 0 3740 1 0 1 1 0 8 0 zombiepl 144 2561 0 2561 1 0 1 1 0 8 1 processpl 1096 2628 0 2561 6 0 6 6 0 8 0 procpl 648 4932 0 4856 8 0 8 8 0 8 0 sosppl 168 16 0 16 1 0 1 1 0 8 1 sockpl 504 5449 0 5419 57 37 20 25 0 8 15 mcl64k 65536 28 0 28 1 0 1 1 0 8 1 mcl16k 16384 9 0 9 1 0 1 1 0 8 1 mcl12k 12288 9 0 9 1 0 1 1 0 8 1 mcl9k 9216 68 0 68 1 0 1 1 0 8 1 mcl8k 8192 48 0 48 1 0 1 1 0 8 1 mcl4k 4096 22 0 22 1 0 1 1 0 8 1 mcl2k 2048 10100 0 10000 29 8 21 29 0 8 7 mtagpl 96 98 0 97 2 0 2 2 0 8 1 mbufpl 256 31417 0 31263 39 17 22 36 0 8 8 bufpl 280 12082 0 4318 555 0 555 555 0 8 0 anonpl 24 368102 0 364837 79 0 79 79 0 187 47 amapchunkpl 152 67264 0 66817 42 0 42 42 0 158 23 amappl16 200 6973 0 6947 46 34 12 15 0 8 8 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 217 0 207 1 0 1 1 0 8 0 amappl13 176 22 0 22 1 0 1 1 0 8 1 amappl12 168 4027 0 3999 3 0 3 3 0 8 1 amappl11 160 50 0 40 1 0 1 1 0 8 0 amappl10 152 24 0 24 1 0 1 1 0 8 1 amappl9 144 118 0 117 1 0 1 1 0 8 0 amappl8 136 21 0 20 1 0 1 1 0 8 0 amappl7 128 224 0 214 1 0 1 1 0 8 0 amappl6 120 683 0 681 1 0 1 1 0 8 0 amappl5 112 337 0 327 1 0 1 1 0 8 0 amappl4 104 463 0 444 1 0 1 1 0 8 0 amappl3 96 13592 0 13489 4 0 4 4 0 8 0 amappl2 88 1396 0 1340 2 0 2 2 0 8 0 amappl1 80 17546 0 17020 14 0 14 14 0 8 2 amappl 88 19830 0 19671 5 0 5 5 0 92 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma16384 16384 1 0 1 1 0 1 1 0 8 1 dma4096 4096 2 0 2 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 254 0 254 1 0 1 1 0 8 1 dma64 64 7 0 7 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 134 0 4 3 0 3 3 0 8 0 uaddrrnd 24 2590 0 2561 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2590 0 2561 1 0 1 1 0 8 0 vmmpekpl 168 21149 0 21092 3 0 3 3 0 8 0 vmmpepl 168 160108 0 158367 90 0 90 90 0 357 11 vmsppl 344 2589 0 2561 4 0 4 4 0 8 1 rwobjpl 24 50389 0 42522 48 0 48 48 0 8 0 pdppl 4096 5187 0 5122 203 136 67 83 0 8 2 pvpl 32 1217896 0 1208034 327 0 327 327 0 265 237 pmappl 216 2589 0 2561 3 0 3 3 0 8 1 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 610 0 205 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace fifo_write(ffff80002a4f5870) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8077174460,ffff80002a4f5908,8,fffffd807f7d79c0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd8077174460,ffff80002a47b000,fc,0,1,a0a25bb7ed0bf1c8,ffff80002a4f5a30,fffffd8077174460,78) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 ufs_symlink(ffff80002a4f5a30) at ufs_symlink+0x1e2 sys/ufs/ufs/ufs_vnops.c:1309 VOP_SYMLINK(fffffd80715f26c8,ffff80002a4f5bb0,ffff80002a4f5be0,ffff80002a4f5ae0,ffff80002a47b000) at VOP_SYMLINK+0x11a sys/kern/vfs_vops.c:432 dosymlinkat(ffff80002a57b700,20000700,7,200004c0) at dosymlinkat+0x1dd sys/kern/vfs_syscalls.c:1806 syscall(ffff80002a4f5d60) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa9aedd1ed90, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace fifo_write(ffff80002a4f5870) at fifo_write+0x6e sys/miscfs/fifofs/fifo_vnops.c:281 VOP_WRITE(fffffd8077174460,ffff80002a4f5908,8,fffffd807f7d79c0) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd8077174460,ffff80002a47b000,fc,0,1,a0a25bb7ed0bf1c8,ffff80002a4f5a30,fffffd8077174460,78) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 ufs_symlink(ffff80002a4f5a30) at ufs_symlink+0x1e2 sys/ufs/ufs/ufs_vnops.c:1309 VOP_SYMLINK(fffffd80715f26c8,ffff80002a4f5bb0,ffff80002a4f5be0,ffff80002a4f5ae0,ffff80002a47b000) at VOP_SYMLINK+0x11a sys/kern/vfs_vops.c:432 dosymlinkat(ffff80002a57b700,20000700,7,200004c0) at dosymlinkat+0x1dd sys/kern/vfs_syscalls.c:1806 syscall(ffff80002a4f5d60) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa9aedd1ed90, count: -8