uvm_fault(0xffffffff83a5cdf8, 0xffff800029052060, 0, 1) -> d kernel: page fault trap, code=0 Stopped at ffs2_balloc+0xa0a: movq 0(%rcx,%rax,8),%r14 TID PID UID PRFLAGS PFLAGS CPU COMMAND *457955 84083 0 0x2 0x1 0 syz-executor ffs2_balloc(fffffd806ee42300,60090,50,fffffd8007ffd8f0,1,ffff80002a849068) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a8490f0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd80690bc538,ffff80002a8491a0,3,fffffd8007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a736f98,fffffd80690bc538,fffffd8007ffd8f0,ffff80002a849270,ffff80002a849250) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a736f98,5b,0,ffff80002a849330) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a736f98,5b,0,ffff80002a849330) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a8493e0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a8493e0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x761427d6cbf0, 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(0xffffffff83a5cdf8, 0xffff800029052060, 0, 1) -> d ddb> trace ffs2_balloc(fffffd806ee42300,60090,50,fffffd8007ffd8f0,1,ffff80002a849068) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a8490f0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd80690bc538,ffff80002a8491a0,3,fffffd8007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a736f98,fffffd80690bc538,fffffd8007ffd8f0,ffff80002a849270,ffff80002a849250) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a736f98,5b,0,ffff80002a849330) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a736f98,5b,0,ffff80002a849330) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a8493e0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a8493e0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x761427d6cbf0, count: -7 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a849010 rbx 0xfffffd806ee42300 rdx 0 rcx 0xffff800029052000 rax 0xc r8 0xffffffffffffffff r9 0xffff80002a849068 r10 0x46c25e332f68d3dd r11 0x116eec9a77f8f09a r12 0x1 r13 0xffff800000c47800 r14 0xffff80002a848eb0 r15 0xfffffd806688d368 rip 0xffffffff831f436a ffs2_balloc+0xa0a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a848ea0 ss 0 ffs2_balloc+0xa0a: movq 0(%rcx,%rax,8),%r14 ddb> show proc PROC (syz-executor) tid=457955 pid=84083 tcnt=1 stat=onproc flags process=2 proc=1 runpri=32, usrpri=73, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7367d0,0xffff80002a736018 process=0xffff80002a79e410 user=0xffff80002a844000, vmspace=0xfffffd807afdb738 estcpu=23, cpticks=8, pctcpu=0.2, user=0, sys=8, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 84193 234682 89095 0 2 0 syz-executor 84193 127774 89095 0 3 0x4000080 msgwait syz-executor 84193 45355 89095 0 3 0x4000080 msgwait syz-executor 84498 402561 53199 0 2 0 syz-executor 84498 500753 53199 0 3 0x4000080 fsleep syz-executor 85194 254500 16483 0 2 0 syz-executor 85194 365246 16483 0 3 0x4000080 fsleep syz-executor 26821 507900 6917 0 2 0 syz-executor 26821 218217 6917 0 3 0x4000080 fsleep syz-executor 26821 193668 6917 0 3 0x4000080 fsleep syz-executor 63679 86242 52102 0 2 0 syz-executor 93983 77454 84083 0 2 0 syz-executor 93983 100121 84083 0 2 0x4000000 syz-executor 27668 129594 1 0 3 0x100083 ttyin getty 52102 281309 85275 0 2 0x2 syz-executor 89095 193281 85275 0 2 0xc82 syz-executor 16483 232844 85275 0 2 0xc82 syz-executor *84083 457955 85275 0 7 0x3 syz-executor 6917 113186 85275 0 2 0xc82 syz-executor 44603 265850 85275 0 3 0x82 wait syz-executor 53199 212674 85275 0 2 0xc82 syz-executor 21267 130978 85275 0 2 0x2 syz-executor 85275 522478 48975 0 3 0x82 kqread syz-executor 48975 52832 90198 0 3 0x10008a sigsusp ksh 90198 217761 35792 0 3 0x98 kqread sshd-session 35792 237773 2373 0 3 0x92 kqread sshd-session 2373 48866 1 0 3 0x88 kqread sshd 31798 232806 54077 73 3 0x1100090 kqread syslogd 54077 94139 1 0 3 0x100082 sbwait syslogd 62591 251440 1 0 3 0x100080 kqread resolvd 20493 321917 77600 77 3 0x100092 kqread dhcpleased 42570 244695 77600 77 3 0x100092 kqread dhcpleased 77600 418812 1 0 3 0x80 kqread dhcpleased 17132 206125 0 0 3 0x14200 bored smr 85494 330146 0 0 2 0x14200 zerothread 22950 5274 0 0 3 0x14200 aiodoned aiodoned 6486 477970 0 0 3 0x14200 syncer update 39073 455031 0 0 3 0x14200 cleaner cleaner 31147 303170 0 0 3 0x14200 reaper reaper 31173 499898 0 0 3 0x14200 pgdaemon pagedaemon 81130 324464 0 0 3 0x14200 bored viomb 53621 333968 0 0 3 0x40014200 acpi0 acpi0 29403 32651 0 0 3 0x14200 bored softnet0 83349 44934 0 0 3 0x14200 bored systqmp 63753 82753 0 0 3 0x14200 bored systq 15870 274180 0 0 3 0x40014200 tmoslp softclock 89211 207590 0 0 3 0x40014200 idle0 1 359262 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11041 12112K 12446K 166960K 12508 0 pcb 18 12K 12K 166960K 92 0 rtable 231 7K 8K 166960K 618 0 pf 33 13K 19K 166960K 74 0 ifaddr 38 6K 7K 166960K 58 0 ifgroup 50 2K 2K 166960K 74 0 sysctl 3 1K 9K 166960K 8 0 counters 33 17K 18K 166960K 43 0 ioctlops 0 0K 4K 166960K 94 0 iov 0 0K 12K 166960K 44 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1303 82K 82K 166960K 1656 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 89 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 236K 166960K 522 0 sigio 0 0K 0K 166960K 8 0 proc 60 59K 124K 166960K 604 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 51 0 in_multi 92 6K 7K 166960K 129 0 ether_multi 1 0K 0K 166960K 5 0 mrt 1 0K 0K 166960K 22 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 508 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 217 151K 163K 166960K 6164 0 UVM aobj 11 2K 2K 166960K 11 0 pinsyscall 38 76K 96K 166960K 1639 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 0K 166960K 27 0 NDP 11 0K 2K 166960K 38 0 temp 50 9109K 9169K 166960K 15722 0 kqueue 15 24K 28K 166960K 87 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 65 0 62 1 0 1 1 0 8 0 rtentry 136 172 0 71 4 0 4 4 0 8 0 unpcb 144 307 0 290 6 5 1 6 0 8 0 syncache 336 5 0 5 1 1 0 1 0 8 0 tcpcb 736 146 0 142 4 3 1 4 0 8 0 arp 96 21 0 9 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 0 1 0 1 1 0 8 0 inpcb 328 382 0 366 4 2 2 4 0 8 0 ip6q 72 4 0 1 1 0 1 1 0 8 0 ip6af 40 5 0 3 1 0 1 1 0 8 0 nd6 112 35 0 7 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 7 0 7 1 0 1 1 0 8 1 pfstscr 40 4 0 4 1 1 0 1 0 8 0 pfsrclim 320 2 0 2 1 1 0 1 0 8 0 pftag 88 3 0 0 1 0 1 1 0 8 0 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 384 4 0 3 1 0 1 1 0 8 0 pfrule 1360 12 0 11 1 0 1 1 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 575 0 102 30 0 30 30 0 8 0 art_table 40 577 0 102 5 0 5 5 0 8 0 art_node 32 139 0 48 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 87 0 77 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2213 0 751 92 0 92 92 0 8 0 ffsino 256 2213 0 751 92 0 92 92 0 8 0 nchpl 144 2930 0 1230 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 vnodes 216 2476 0 0 138 0 138 138 0 8 0 namei 1024 9292 0 9292 2 1 1 2 0 8 1 kstatmem 264 39 0 16 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 16225 0 16225 5 4 1 5 1 8 1 plimitpl 152 186 0 169 1 0 1 1 0 8 0 sigapl 424 823 0 781 8 0 8 8 0 8 3 knotepl 120 17100 0 17050 22 14 8 17 0 8 5 kqueuepl 184 144 0 133 1 0 1 1 0 8 0 pipepl 304 176 0 149 5 2 3 5 0 8 0 fdescpl 448 790 0 761 5 1 4 5 0 8 0 filepl 120 3823 0 3596 11 2 9 11 0 8 0 lockfpl 104 167 0 165 1 0 1 1 0 8 0 lockfspl 48 73 0 71 1 0 1 1 0 8 0 sessionpl 144 107 0 99 1 0 1 1 0 8 0 pgrppl 48 118 0 102 1 0 1 1 0 8 0 ucredpl 104 518 0 507 1 0 1 1 0 8 0 zombiepl 144 782 0 781 1 0 1 1 0 8 0 processpl 1152 823 0 781 5 0 5 5 0 8 0 procpl 664 1379 0 1330 7 0 7 7 0 8 1 sockpl 552 829 0 793 12 8 4 12 0 8 0 mcl64k 65536 87 0 87 1 1 0 1 0 8 0 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 8 0 8 1 1 0 1 0 8 0 mcl4k 4096 2996 0 2945 14 6 8 13 0 8 0 mcl2k 2048 437 0 431 2 0 2 2 0 8 0 mtagpl 96 13 0 6 1 0 1 1 0 8 0 mbufpl 256 8767 0 8563 27 8 19 27 0 8 0 bufpl 280 7502 0 1286 445 0 445 445 0 8 0 anonpl 24 141614 0 138364 69 22 47 69 0 186 1 amapchunkpl 152 19387 0 18814 33 3 30 30 0 158 7 amappl16 200 2960 0 2931 27 16 11 27 0 8 1 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 426 0 425 1 0 1 1 0 8 0 amappl13 176 120 0 109 1 0 1 1 0 8 0 amappl12 168 1026 0 999 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 60 0 50 1 0 1 1 0 8 0 amappl9 144 270 0 270 1 1 0 1 0 8 0 amappl8 136 96 0 95 1 0 1 1 0 8 0 amappl7 128 146 0 135 1 0 1 1 0 8 0 amappl6 120 157 0 155 1 0 1 1 0 8 0 amappl5 112 94 0 86 1 0 1 1 0 8 0 amappl4 104 264 0 246 1 0 1 1 0 8 0 amappl3 96 3826 0 3722 4 0 4 4 0 8 0 amappl2 88 537 0 482 2 0 2 2 0 8 0 amappl1 80 11828 0 11290 13 1 12 13 0 8 0 amappl 88 5391 0 5237 5 0 5 5 0 92 0 uvmvnodes 80 110 0 0 3 0 3 3 0 8 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 7 0 7 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 790 0 761 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 790 0 761 1 0 1 1 0 8 0 vmmpekpl 168 8051 0 8008 3 0 3 3 0 8 0 vmmpepl 168 58401 0 56633 102 13 89 102 0 357 4 vmsppl 368 789 0 761 4 1 3 4 0 8 0 rwobjpl 40 19139 0 18180 15 0 15 15 0 8 0 pdppl 4096 1586 0 1522 100 36 64 82 0 8 0 pvpl 32 369364 0 360657 139 30 109 139 0 265 2 pmappl 216 789 0 761 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 385 0 62 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ffs2_balloc(fffffd806ee42300,60090,50,fffffd8007ffd8f0,1,ffff80002a849068) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a8490f0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd80690bc538,ffff80002a8491a0,3,fffffd8007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a736f98,fffffd80690bc538,fffffd8007ffd8f0,ffff80002a849270,ffff80002a849250) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a736f98,5b,0,ffff80002a849330) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a736f98,5b,0,ffff80002a849330) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a8493e0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a8493e0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x761427d6cbf0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace ffs2_balloc(fffffd806ee42300,60090,50,fffffd8007ffd8f0,1,ffff80002a849068) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a8490f0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd80690bc538,ffff80002a8491a0,3,fffffd8007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a736f98,fffffd80690bc538,fffffd8007ffd8f0,ffff80002a849270,ffff80002a849250) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a736f98,5b,0,ffff80002a849330) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a736f98,5b,0,ffff80002a849330) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a8493e0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a8493e0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x761427d6cbf0, count: -7