uvm_fault(0xffffffff8392e940, 0xffff800029d120a0, 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 ffs2_balloc(fffffd806ec33800,80cc2,40,fffffd8007ffd6e8,1,ffff80003c8fda88) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80003c8fdb10) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd807c384200,ffff80003c8fdba8,23,fffffd8007ffd6e8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd807c384200,ffff80003c8fdce0,40,0,1,9bb01be0a6f5a054,0,1008,0) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 acct_process(ffff80002e8c0018) at acct_process+0x7a2 sys/kern/kern_acct.c:245 exit1(ffff80002e8c0018,0,0,1) at exit1+0x5c4 sys/kern/kern_exit.c:228 sys_exit(ffff80002e8c0018,ffff80003c8fdf10,ffff80003c8fde60) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c8fdf10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8fdf10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a9a040a9b60, count: 6 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(0xffffffff8392e940, 0xffff800029d120a0, 0, 1) -> d ddb> trace ffs2_balloc(fffffd806ec33800,80cc2,40,fffffd8007ffd6e8,1,ffff80003c8fda88) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80003c8fdb10) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd807c384200,ffff80003c8fdba8,23,fffffd8007ffd6e8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd807c384200,ffff80003c8fdce0,40,0,1,9bb01be0a6f5a054,0,1008,0) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 acct_process(ffff80002e8c0018) at acct_process+0x7a2 sys/kern/kern_acct.c:245 exit1(ffff80002e8c0018,0,0,1) at exit1+0x5c4 sys/kern/kern_exit.c:228 sys_exit(ffff80002e8c0018,ffff80003c8fdf10,ffff80003c8fde60) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c8fdf10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8fdf10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a9a040a9b60, count: -9 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c8fda30 rbx 0xfffffd806ec33800 rdx 0 rcx 0xffff800029d12000 rax 0x14 r8 0xffffffffffffffff r9 0xffff80003c8fda88 r10 0x9a8bb64b406e7498 r11 0x98602b20e953dbbb r12 0x1 r13 0xffff800000c47800 r14 0xffff80003c8fd8d0 r15 0xfffffd8066fe1150 rip 0xffffffff81962aaa ffs2_balloc+0xa0a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c8fd8c0 ss 0x10 ffs2_balloc+0xa0a: movq 0(%rcx,%rax,8),%r14 ddb> show proc PROC (syz-executor) tid=192026 pid=82926 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002e8c0018 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002e8c0a78,0xffffffff8393ca60 process=0xffff8000ffff9698 user=0xffff80003c8f8000, vmspace=0xfffffd806cd00d00 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 56629 521928 62684 0 2 0 syz-executor 56629 331039 62684 0 3 0x4000080 fsleep syz-executor 3655 274295 94479 0 2 0 syz-executor 3655 344754 94479 0 3 0x4000080 fsleep syz-executor 77661 159812 55508 0 2 0xc80 syz-executor 77661 32043 55508 0 3 0x4000000 smrbar syz-executor 33706 455080 63901 0 3 0x80 nanoslp syz-executor 33706 159891 63901 0 3 0x4000080 ttyout syz-executor 33706 172875 63901 0 3 0x4000080 fsleep syz-executor 40054 444839 22447 -1 2 0x10 syz-executor 40054 476620 22447 -1 3 0x4000090 fsleep syz-executor 40054 294295 22447 -1 3 0x4000090 fsleep syz-executor 71705 137251 0 0 3 0x14200 acct acct 92405 133988 1 0 3 0x100083 ttyopn getty 94479 253592 75476 0 2 0xc82 syz-executor 88354 272335 75476 0 2 0xc82 syz-executor 56248 432200 75476 0 2 0xc82 syz-executor 62684 108306 75476 0 2 0xc82 syz-executor 22447 342211 75476 0 2 0xc82 syz-executor 9174 61605 75476 0 3 0x82 nanoslp syz-executor 55508 161519 75476 0 3 0x82 nanoslp syz-executor 63901 457508 75476 0 3 0x82 nanoslp syz-executor 75476 165320 48177 0 3 0x82 kqread syz-executor 48177 375542 4213 0 3 0x10008a sigsusp ksh 4213 202647 49492 0 3 0x98 kqread sshd-session 49492 113709 10959 0 3 0x92 kqread sshd-session 10959 158723 1 0 3 0x88 kqread sshd 64008 42123 99565 73 3 0x1100090 kqread syslogd 99565 220348 1 0 3 0x100082 sbwait syslogd 96512 55539 1 0 3 0x100080 kqread resolvd 49736 331886 33655 77 3 0x100092 kqread dhcpleased 62047 464890 33655 77 3 0x100092 kqread dhcpleased 33655 12720 1 0 3 0x80 kqread dhcpleased 11735 179122 0 0 2 0x14200 smr 123 93716 0 0 2 0x14200 zerothread 11933 113064 0 0 3 0x14200 aiodoned aiodoned 80072 118700 0 0 3 0x14200 syncer update 8877 53728 0 0 3 0x14200 cleaner cleaner 96247 390127 0 0 3 0x14200 reaper reaper 16449 349404 0 0 3 0x14200 pgdaemon pagedaemon 87463 147523 0 0 3 0x14200 bored viomb 1175 453339 0 0 3 0x40014200 acpi0 acpi0 5790 237055 0 0 3 0x14200 bored softnet0 62414 217080 0 0 3 0x14200 smrbar systqmp 15935 450206 0 0 3 0x14200 bored systq 52798 524007 0 0 3 0x40014200 tmoslp softclock 44381 143050 0 0 3 0x40014200 idle0 1 116457 0 0 3 0x80082 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 11070 12196K 12625K 166960K 13666 0 pcb 17 12K 12K 166960K 182 0 rtable 212 15K 18K 166960K 545 0 pf 45 15K 21K 166960K 176 0 ifaddr 44 7K 7K 166960K 87 0 ifgroup 70 2K 2K 166960K 137 0 sysctl 3 1K 9K 166960K 10 0 counters 40 18K 18K 166960K 69 0 ioctlops 0 0K 4K 166960K 126 0 iov 0 0K 16K 166960K 20 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1297 82K 82K 166960K 2088 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 18 0 VM map 2 1K 1K 166960K 2 0 sem 16 0K 1K 166960K 34 0 dirhash 12 2K 3K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 1562 0 sigio 0 0K 0K 166960K 12 0 proc 61 59K 108K 166960K 590 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 69 0 in_multi 81 5K 7K 166960K 171 0 ether_multi 1 0K 0K 166960K 32 0 mrt 1 0K 0K 166960K 55 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 434 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 222 158K 168K 166960K 14410 0 UVM aobj 22 3K 3K 166960K 24 0 pinsyscall 39 78K 96K 166960K 2661 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 54 0 NDP 16 0K 2K 166960K 52 0 temp 54 9070K 9174K 166960K 30597 0 kqueue 15 24K 29K 166960K 236 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 63 0 60 1 0 1 1 0 8 0 rtentry 136 153 0 71 4 0 4 4 0 8 0 unpcb 144 392 0 377 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 174 0 170 1 0 1 1 0 8 0 arp 96 24 0 8 1 0 1 1 0 8 0 ipq 40 5 0 0 1 0 1 1 0 8 0 ipqe 40 5 0 0 1 0 1 1 0 8 0 inpcb 328 546 0 537 2 0 2 2 0 8 1 nd6 112 26 0 6 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 21 0 18 1 0 1 1 0 8 0 pppxif 1416 8 0 6 1 0 1 1 0 8 0 pfstscr 40 3 0 3 1 0 1 1 0 8 1 pfrktable 1344 20 0 20 1 0 1 1 0 8 1 pfanchor 1288 8 0 6 1 0 1 1 0 8 0 pftag 88 4 0 2 1 0 1 1 0 8 0 pfstkey 128 7 0 7 1 0 1 1 0 8 1 pfstate 384 4 0 4 1 0 1 1 0 8 1 pfrule 1360 19 0 19 1 0 1 1 0 8 1 rttmr 136 7 0 7 1 0 1 1 0 8 1 art_heap8 4096 3 0 1 3 0 3 3 0 8 1 art_heap4 256 595 0 203 29 0 29 29 0 8 4 art_table 40 598 0 204 5 0 5 5 0 8 0 art_node 32 153 0 80 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 4 1 0 1 1 0 8 0 semupl 112 4 0 4 1 0 1 1 0 8 1 semapl 112 28 0 14 1 0 1 1 0 8 0 shmpl 112 21 0 2 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3831 0 2372 92 0 92 92 0 8 0 ffsino 256 3831 0 2372 92 0 92 92 0 8 0 nchpl 144 5664 0 3967 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 4275 0 0 238 0 238 238 0 8 0 namei 1024 15718 0 15718 1 0 1 1 0 8 1 pfiaddrpl 120 5 0 5 1 0 1 1 0 8 1 kstatmem 264 70 0 38 3 0 3 3 0 8 0 scsiplug 72 8 0 8 1 0 1 1 0 8 1 scxspl 216 29626 0 29626 8 0 8 8 1 8 8 plimitpl 152 260 0 242 1 0 1 1 0 8 0 sigapl 424 1861 0 1817 6 0 6 6 0 8 1 knotepl 120 58472 0 57943 22 5 17 17 0 8 0 kqueuepl 184 232 0 219 1 0 1 1 0 8 0 pipepl 304 133 0 106 3 0 3 3 0 8 0 fdescpl 448 1844 0 1815 5 0 5 5 0 8 1 filepl 120 6164 0 5950 7 0 7 7 0 8 0 lockfpl 104 472 0 469 1 0 1 1 0 8 0 lockfspl 48 205 0 202 1 0 1 1 0 8 0 sessionpl 144 63 0 55 1 0 1 1 0 8 0 pgrppl 48 75 0 59 1 0 1 1 0 8 0 ucredpl 104 1705 0 1693 1 0 1 1 0 8 0 zombiepl 144 1820 0 1817 1 0 1 1 0 8 0 processpl 1152 1861 0 1817 4 0 4 4 0 8 0 procpl 664 3511 0 3460 6 0 6 6 0 8 0 sockpl 552 1015 0 988 3 0 3 3 0 8 0 mcl64k 65536 386 0 384 1 0 1 1 0 8 0 mcl16k 16384 257 0 257 1 0 1 1 0 8 1 mcl12k 12288 118 0 118 1 0 1 1 0 8 1 mcl9k 9216 45 0 45 1 0 1 1 0 8 1 mcl8k 8192 145 0 145 1 0 1 1 0 8 1 mcl4k 4096 4994 0 4945 15 0 15 15 0 8 8 mcl2k2 2112 3 0 3 1 0 1 1 0 8 1 mcl2k 2048 586 0 586 1 0 1 1 0 8 1 mtagpl 96 97 0 20 3 0 3 3 0 8 0 mbufpl 256 19377 0 19128 26 0 26 26 0 8 8 bufpl 280 14944 0 8686 448 0 448 448 0 8 0 anonpl 24 241141 0 237892 53 0 53 53 0 187 14 amapchunkpl 152 48116 0 47643 27 0 27 27 0 158 6 amappl16 200 4561 0 4521 17 2 15 15 0 8 6 amappl15 192 17 0 17 1 0 1 1 0 8 1 amappl14 184 411 0 410 1 0 1 1 0 8 0 amappl13 176 114 0 104 1 0 1 1 0 8 0 amappl12 168 2110 0 2081 2 0 2 2 0 8 0 amappl11 160 9 0 9 1 0 1 1 0 8 1 amappl10 152 139 0 129 1 0 1 1 0 8 0 amappl9 144 258 0 258 1 0 1 1 0 8 1 amappl8 136 99 0 98 1 0 1 1 0 8 0 amappl7 128 143 0 132 1 0 1 1 0 8 0 amappl6 120 155 0 154 1 0 1 1 0 8 0 amappl5 112 90 0 82 1 0 1 1 0 8 0 amappl4 104 258 0 242 1 0 1 1 0 8 0 amappl3 96 10437 0 10326 4 0 4 4 0 8 1 amappl2 88 528 0 475 2 0 2 2 0 8 0 amappl1 80 15066 0 14510 13 0 13 13 0 8 1 amappl 88 13642 0 13482 5 0 5 5 0 92 0 uvmvnodes 80 131 0 0 3 0 3 3 0 8 0 dma8192 8192 1 0 1 1 0 1 1 0 8 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 8 0 8 1 0 1 1 0 8 1 dma128 128 258 0 258 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 8 0 8 1 0 1 1 0 8 1 dma16 16 23 0 22 1 0 1 1 0 8 0 aobjpl 72 23 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1844 0 1814 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1844 0 1814 1 0 1 1 0 8 0 vmmpekpl 168 13734 0 13705 2 0 2 2 0 8 0 vmmpepl 168 116201 0 114360 91 0 91 91 0 357 9 vmsppl 368 1843 0 1814 4 0 4 4 0 8 1 rwobjpl 40 28989 0 27985 13 0 13 13 0 8 0 pdppl 4096 3694 0 3628 96 30 66 82 0 8 0 pvpl 32 871912 0 862255 130 0 130 130 0 265 28 pmappl 216 1843 0 1814 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 377 0 30 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ffs2_balloc(fffffd806ec33800,80cc2,40,fffffd8007ffd6e8,1,ffff80003c8fda88) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80003c8fdb10) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd807c384200,ffff80003c8fdba8,23,fffffd8007ffd6e8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd807c384200,ffff80003c8fdce0,40,0,1,9bb01be0a6f5a054,0,1008,0) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 acct_process(ffff80002e8c0018) at acct_process+0x7a2 sys/kern/kern_acct.c:245 exit1(ffff80002e8c0018,0,0,1) at exit1+0x5c4 sys/kern/kern_exit.c:228 sys_exit(ffff80002e8c0018,ffff80003c8fdf10,ffff80003c8fde60) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c8fdf10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8fdf10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a9a040a9b60, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace ffs2_balloc(fffffd806ec33800,80cc2,40,fffffd8007ffd6e8,1,ffff80003c8fda88) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80003c8fdb10) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd807c384200,ffff80003c8fdba8,23,fffffd8007ffd6e8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd807c384200,ffff80003c8fdce0,40,0,1,9bb01be0a6f5a054,0,1008,0) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 acct_process(ffff80002e8c0018) at acct_process+0x7a2 sys/kern/kern_acct.c:245 exit1(ffff80002e8c0018,0,0,1) at exit1+0x5c4 sys/kern/kern_exit.c:228 sys_exit(ffff80002e8c0018,ffff80003c8fdf10,ffff80003c8fde60) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c8fdf10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8fdf10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a9a040a9b60, count: -9