uvm_fault(0xffffffff83a30cb0, 0xffff800027272000, 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 *403997 78284 0 0 0x4000000 0 syz-executor ffs2_balloc(fffff4806c9f9200,30001,40,fffff48007ffd8f0,1,ffff80003c8e6f68) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80003c8e6ff0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffff4805e897510,ffff80003c8e70a0,3,fffff48007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766fa0,fffff4805e897510,fffff48007ffd8f0,ffff80003c8e7158,0) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 doktrace(fffff4805e897510,4,1b08,0,ffff80002a766fa0) at doktrace+0x88c ktrstart sys/kern/kern_ktrace.c:150 [inline] doktrace(fffff4805e897510,4,1b08,0,ffff80002a766fa0) at doktrace+0x88c sys/kern/kern_ktrace.c:485 sys_ktrace(ffff80002a766fa0,ffff80003c8e7420,ffff80003c8e7370) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:559 syscall(ffff80003c8e7420) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8e7420) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf6a35f5e350, 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(0xffffffff83a30cb0, 0xffff800027272000, 0, 1) -> d ddb> trace ffs2_balloc(fffff4806c9f9200,30001,40,fffff48007ffd8f0,1,ffff80003c8e6f68) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80003c8e6ff0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffff4805e897510,ffff80003c8e70a0,3,fffff48007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766fa0,fffff4805e897510,fffff48007ffd8f0,ffff80003c8e7158,0) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 doktrace(fffff4805e897510,4,1b08,0,ffff80002a766fa0) at doktrace+0x88c ktrstart sys/kern/kern_ktrace.c:150 [inline] doktrace(fffff4805e897510,4,1b08,0,ffff80002a766fa0) at doktrace+0x88c sys/kern/kern_ktrace.c:485 sys_ktrace(ffff80002a766fa0,ffff80003c8e7420,ffff80003c8e7370) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:559 syscall(ffff80003c8e7420) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8e7420) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf6a35f5e350, count: -8 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c8e6f10 rbx 0xfffff4806c9f9200 rdx 0xffff8000015a6640 rcx 0xffff800027272000 rax 0 r8 0xffffffffffffffff r9 0xffff80003c8e6f68 r10 0xbaa0936c215d51ad r11 0x57b61b6599840c11 r12 0x1 r13 0xffff800000c47800 r14 0xffff80003c8e6db0 r15 0xfffff480672b59a0 rip 0xffffffff82b3e47a ffs2_balloc+0xa0a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c8e6da0 ss 0x10 ffs2_balloc+0xa0a: movq 0(%rcx,%rax,8),%r14 ddb> show proc PROC (syz-executor) tid=403997 pid=78284 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a766540,0xffffffff83a37660 process=0xffff80002a744908 user=0xffff80003c8e2000, vmspace=0xfffff480795e22f8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 78284 465549 79363 0 3 0x80 fsleep syz-executor *78284 403997 79363 0 7 0x4000000 syz-executor 84939 194195 236 0 3 0x80 fsleep syz-executor 84939 93189 236 0 3 0x4000080 piperd syz-executor 54757 269613 94935 0 3 0x80 fsleep syz-executor 54757 56094 94935 0 3 0x4000080 fifor syz-executor 73134 1951 27520 0 3 0x80 fsleep syz-executor 73134 262832 27520 0 3 0x4000080 kqread syz-executor 40968 485403 72914 0 3 0x80 fsleep syz-executor 40968 497395 72914 0 3 0x4000080 kqsel syz-executor 8692 264267 30968 0 3 0x80 fsleep syz-executor 8692 195213 30968 0 3 0x4000080 pppxread syz-executor 12181 436863 60398 60929 3 0x90 fsleep syz-executor 12181 159001 60398 60929 3 0x4000090 sbwait syz-executor 22961 378942 63619 0 3 0x80 fsleep syz-executor 22961 184470 63619 0 3 0x4000080 pipewr syz-executor 72914 485229 20299 0 2 0xc82 syz-executor 38752 404080 1 0 3 0x100083 ttyin getty 236 308810 20299 0 3 0x82 nanoslp syz-executor 94935 314457 20299 0 3 0x82 nanoslp syz-executor 27520 225512 20299 0 2 0xc82 syz-executor 30968 334386 20299 0 2 0xc82 syz-executor 60398 154696 20299 0 2 0xc82 syz-executor 79363 242983 20299 0 2 0xc82 syz-executor 63619 323284 20299 0 2 0xc82 syz-executor 20299 51796 1 0 3 0x82 kqread syz-executor 21474 41541 94891 0 3 0x98 kqread sshd-session 94891 76181 1 0 3 0x92 kqread sshd-session 49114 509718 1 73 3 0x1100090 kqread syslogd 34711 450307 0 0 3 0x14200 bored smr 47035 245576 0 0 2 0x14200 zerothread 64031 259269 0 0 3 0x14200 aiodoned aiodoned 76592 213733 0 0 3 0x14200 syncer update 62192 471027 0 0 3 0x14200 cleaner cleaner 74041 142794 0 0 3 0x14200 reaper reaper 88620 34838 0 0 3 0x14200 pgdaemon pagedaemon 7031 87105 0 0 3 0x14200 bored viomb 90657 300121 0 0 3 0x40014200 acpi0 acpi0 42050 129057 0 0 3 0x14200 bored softnet0 42139 370570 0 0 3 0x14200 smrbar systqmp 40433 351464 0 0 3 0x14200 bored systq 897 171338 0 0 3 0x40014200 tmoslp softclock 40234 419025 0 0 3 0x40014200 idle0 1 209125 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 11066 12191K 12433K 166960K 12614 0 pcb 18 14K 16K 166960K 178 0 rtable 186 6K 8K 166960K 443 0 pf 32 13K 20K 166960K 129 0 ifaddr 36 6K 8K 166960K 89 0 ifgroup 49 2K 2K 166960K 139 0 sysctl 2 1K 9K 166960K 8 0 counters 34 17K 18K 166960K 86 0 ioctlops 0 0K 4K 166960K 124 0 iov 0 0K 16K 166960K 18 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1294 81K 82K 166960K 1689 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 12 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 26 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 81K 166960K 553 0 sigio 0 0K 0K 166960K 5 0 proc 21 25K 83K 166960K 580 0 subproc 72 4K 4K 166960K 82 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 188 0 in_multi 75 5K 7K 166960K 120 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 17 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 413 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 165 92K 149K 166960K 6474 0 UVM aobj 14 2K 2K 166960K 18 0 pinsyscall 26 52K 88K 166960K 1697 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 2 0K 1K 166960K 25 0 NDP 11 0K 2K 166960K 62 0 temp 47 9112K 9184K 166960K 15568 0 kqueue 7 12K 30K 166960K 115 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 64 0 62 1 0 1 1 0 8 0 rtentry 136 133 0 55 4 0 4 4 0 8 0 unpcb 144 218 0 204 2 0 2 2 0 8 0 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpcb 736 341 0 336 10 3 7 7 0 8 6 arp 96 20 0 6 1 0 1 1 0 8 0 inpcb 328 718 0 711 16 9 7 10 0 8 6 nd6 112 28 0 10 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 44 0 42 2 1 1 1 0 8 0 pppxif 1416 4 0 3 2 1 1 1 0 8 0 pfstscr 40 4 0 0 1 0 1 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 2 0 2 1 0 1 1 0 8 1 pfqueue 320 1 0 1 1 0 1 1 0 8 1 pfstitem 24 6 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 0 1 0 1 1 0 8 0 pfstate 384 3 0 0 1 0 1 1 0 8 0 pfrule 1360 5 0 5 2 1 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 639 0 293 31 2 29 29 0 8 4 art_table 40 641 0 293 5 0 5 5 0 8 0 art_node 32 133 0 63 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semapl 72 23 0 13 1 0 1 1 0 8 0 shmpl 112 15 0 4 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2323 0 862 92 0 92 92 0 8 0 ffsino 256 2323 0 862 92 0 92 92 0 8 0 nchpl 144 3084 0 1380 64 0 64 64 0 8 0 rtmask 32 15 0 15 2 1 1 1 0 8 1 vnodes 216 2586 0 0 144 0 144 144 0 8 0 namei 1024 9543 0 9543 7 2 5 5 0 8 5 kstatmem 264 89 0 66 3 1 2 3 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 17567 0 17567 4 2 2 3 1 8 2 plimitpl 152 151 0 138 1 0 1 1 0 8 0 sigapl 424 871 0 835 8 0 8 8 0 8 3 knotepl 120 17646 0 17381 23 7 16 16 0 8 7 kqueuepl 184 169 0 160 1 0 1 1 0 8 0 pipepl 304 157 0 128 3 0 3 3 0 8 0 fdescpl 448 838 0 815 4 0 4 4 0 8 0 filepl 120 4239 0 4030 13 4 9 13 0 8 1 lockfpl 104 204 0 199 1 0 1 1 0 8 0 lockfspl 48 96 0 91 1 0 1 1 0 8 0 sessionpl 144 41 0 36 1 0 1 1 0 8 0 pgrppl 48 57 0 44 1 0 1 1 0 8 0 ucredpl 104 661 0 653 1 0 1 1 0 8 0 zombiepl 144 934 0 934 2 1 1 1 0 8 1 processpl 1152 871 0 835 5 0 5 5 0 8 1 procpl 664 1474 0 1430 7 0 7 7 0 8 2 sosppl 176 5 0 5 2 1 1 1 0 8 1 sockpl 552 1021 0 998 14 7 7 11 0 8 5 mcl64k 65536 40 0 39 2 1 1 1 0 8 0 mcl16k 16384 12 0 12 2 1 1 1 0 8 1 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl9k128 9344 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 1 1 0 1 0 8 0 mcl4k 4096 3097 0 3044 14 6 8 14 0 8 0 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 436 0 434 3 0 3 3 0 8 2 mtagpl 96 7 0 5 2 1 1 1 0 8 0 mbufpl 256 8686 0 8536 24 6 18 18 0 8 4 bufpl 272 7648 0 1432 415 0 415 415 0 8 0 anonpl 24 147472 0 145085 96 31 65 65 0 186 27 amapchunkpl 152 21328 0 20902 36 5 31 31 0 158 11 amappl16 200 2563 0 2541 28 15 13 15 0 8 7 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl14 184 424 0 424 1 0 1 1 0 8 1 amappl13 176 121 0 117 1 0 1 1 0 8 0 amappl12 168 1085 0 1063 2 0 2 2 0 8 0 amappl11 160 2 0 2 1 1 0 1 0 8 0 amappl10 152 58 0 55 1 0 1 1 0 8 0 amappl9 144 270 0 270 1 1 0 1 0 8 0 amappl8 136 195 0 194 1 0 1 1 0 8 0 amappl7 128 146 0 139 1 0 1 1 0 8 0 amappl6 120 157 0 156 1 0 1 1 0 8 0 amappl5 112 94 0 90 1 0 1 1 0 8 0 amappl4 104 273 0 267 1 0 1 1 0 8 0 amappl3 96 4081 0 3987 4 1 3 4 0 8 0 amappl2 88 545 0 517 2 0 2 2 0 8 0 amappl1 80 11948 0 11634 13 1 12 13 0 8 2 amappl 88 5629 0 5490 5 1 4 5 0 92 0 uvmvnodes 80 114 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 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 17 0 4 1 0 1 1 0 8 0 uaddrrnd 24 838 0 815 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 838 0 815 1 0 1 1 0 8 0 vmmpekpl 168 8335 0 8295 2 0 2 2 0 8 0 vmmpepl 168 60850 0 59566 98 8 90 90 0 357 20 vmsppl 368 837 0 815 4 1 3 4 0 8 0 rwobjpl 40 19128 0 18496 13 0 13 13 0 8 0 pdppl 4096 1682 0 1630 92 38 54 74 0 8 2 pvpl 32 388644 0 380891 181 46 135 135 0 265 46 pmappl 216 837 0 815 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 805 0 65 22 0 22 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ffs2_balloc(fffff4806c9f9200,30001,40,fffff48007ffd8f0,1,ffff80003c8e6f68) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80003c8e6ff0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffff4805e897510,ffff80003c8e70a0,3,fffff48007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766fa0,fffff4805e897510,fffff48007ffd8f0,ffff80003c8e7158,0) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 doktrace(fffff4805e897510,4,1b08,0,ffff80002a766fa0) at doktrace+0x88c ktrstart sys/kern/kern_ktrace.c:150 [inline] doktrace(fffff4805e897510,4,1b08,0,ffff80002a766fa0) at doktrace+0x88c sys/kern/kern_ktrace.c:485 sys_ktrace(ffff80002a766fa0,ffff80003c8e7420,ffff80003c8e7370) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:559 syscall(ffff80003c8e7420) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8e7420) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf6a35f5e350, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace ffs2_balloc(fffff4806c9f9200,30001,40,fffff48007ffd8f0,1,ffff80003c8e6f68) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80003c8e6ff0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffff4805e897510,ffff80003c8e70a0,3,fffff48007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766fa0,fffff4805e897510,fffff48007ffd8f0,ffff80003c8e7158,0) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 doktrace(fffff4805e897510,4,1b08,0,ffff80002a766fa0) at doktrace+0x88c ktrstart sys/kern/kern_ktrace.c:150 [inline] doktrace(fffff4805e897510,4,1b08,0,ffff80002a766fa0) at doktrace+0x88c sys/kern/kern_ktrace.c:485 sys_ktrace(ffff80002a766fa0,ffff80003c8e7420,ffff80003c8e7370) at sys_ktrace+0x11c sys/kern/kern_ktrace.c:559 syscall(ffff80003c8e7420) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c8e7420) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf6a35f5e350, count: -8