uvm_fault(0xffffffff83a2f748, 0xffff800021d12058, 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 *357965 11113 0 0 0x1 0 syz-executor ffs2_balloc(ffffee0068f6c700,5cafe,60,ffffee0007ffd7b8,1,ffff80002a78ef48) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a78efd0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(ffffee000aa278d0,ffff80002a78f080,3,ffffee0007ffd7b8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766540,ffffee000aa278d0,ffffee0007ffd7b8,ffff80002a78f150,ffff80002a78f130) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a766540,4a,18,ffff80002a78f2d0) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a766540,4a,18,ffff80002a78f2d0) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a78f2d0) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a78f2d0) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71ff3d88e5b0, 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(0xffffffff83a2f748, 0xffff800021d12058, 0, 1) -> d ddb> trace ffs2_balloc(ffffee0068f6c700,5cafe,60,ffffee0007ffd7b8,1,ffff80002a78ef48) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a78efd0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(ffffee000aa278d0,ffff80002a78f080,3,ffffee0007ffd7b8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766540,ffffee000aa278d0,ffffee0007ffd7b8,ffff80002a78f150,ffff80002a78f130) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a766540,4a,18,ffff80002a78f2d0) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a766540,4a,18,ffff80002a78f2d0) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a78f2d0) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a78f2d0) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71ff3d88e5b0, count: -7 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a78eef0 rbx 0xffffee0068f6c700 rdx 0 rcx 0xffff800021d12000 rax 0xb r8 0xffffffffffffffff r9 0xffff80002a78ef48 r10 0xeab4d3ec4b5e0943 r11 0x28c3568358371780 r12 0x1 r13 0xffff800000c47800 r14 0xffff80002a78ed90 r15 0xffffee006c841118 rip 0xffffffff8290183a ffs2_balloc+0xa0a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a78ed80 ss 0x10 ffs2_balloc+0xa0a: movq 0(%rcx,%rax,8),%r14 ddb> show proc PROC (syz-executor) tid=357965 pid=11113 tcnt=4 stat=onproc flags process=0 proc=1 runpri=77, usrpri=77, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c8fb778,0xffff80002a767248 process=0xffff8000ffff9b18 user=0xffff80002a78a000, vmspace=0xffffee006cabe180 estcpu=27, cpticks=5, pctcpu=0.3, user=4, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 54767 516059 57151 0 3 0x80 nanoslp syz-executor 54767 94392 57151 0 3 0x4000080 fsleep syz-executor 31887 174384 46474 0 3 0x80 nanoslp syz-executor 31887 139640 46474 0 3 0x4000080 fsleep syz-executor 98327 514053 96314 0 2 0 syz-executor 98327 514688 96314 0 3 0x4000080 ttyin syz-executor 37861 131028 20348 0 2 0 syz-executor 37861 300091 20348 0 3 0x4000080 fsleep syz-executor 80733 203969 80820 0 2 0 syz-executor 80733 157177 80820 0 3 0x4000080 ttyin syz-executor 80733 417447 80820 0 3 0x4000080 fsleep syz-executor 26433 161420 32920 0 2 0 syz-executor 26433 332657 32920 0 2 0x4000000 syz-executor 26433 373119 32920 0 3 0x4000080 fsleep syz-executor *11113 357965 8124 0 7 0x1 syz-executor 11113 195383 8124 0 2 0x4000000 syz-executor 11113 36565 8124 0 2 0x4000000 syz-executor 11113 377873 8124 0 3 0x4000080 fsleep syz-executor 67830 226081 1 0 3 0x80 nanoslp init 32920 500317 27696 0 3 0x82 nanoslp syz-executor 80820 379113 27696 0 3 0x82 nanoslp syz-executor 12300 446274 27696 0 3 0x82 wait syz-executor 96314 377103 27696 0 3 0x82 nanoslp syz-executor 8124 382614 27696 0 3 0x82 nanoslp syz-executor 20348 121143 27696 0 3 0x82 nanoslp syz-executor 57151 21286 27696 0 3 0x82 nanoslp syz-executor 46474 177376 27696 0 3 0x82 nanoslp syz-executor 27696 430357 1 0 3 0x82 kqread syz-executor 71621 28965 0 0 3 0x14200 bored smr 85193 282756 0 0 2 0x14200 zerothread 45749 431468 0 0 3 0x14200 aiodoned aiodoned 65739 316659 0 0 3 0x14200 syncer update 17074 460178 0 0 3 0x14200 cleaner cleaner 85428 325662 0 0 3 0x14200 reaper reaper 99642 105472 0 0 3 0x14200 pgdaemon pagedaemon 46204 79635 0 0 3 0x14200 bored viomb 36031 284128 0 0 3 0x40014200 acpi0 acpi0 25538 411215 0 0 3 0x14200 bored softnet0 51320 122856 0 0 3 0x14200 bored systqmp 29147 375911 0 0 3 0x14200 bored systq 73177 30095 0 0 2 0x40014200 softclock 77499 401131 0 0 3 0x40014200 idle0 1 310375 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 11079 12240K 12553K 166960K 14020 0 pcb 18 18K 23K 166960K 388 0 rtable 123 7K 11K 166960K 703 0 pf 30 13K 17K 166960K 230 0 ifaddr 20 3K 7K 166960K 96 0 ifgroup 38 1K 2K 166960K 132 0 sysctl 4 1K 9K 166960K 18 0 counters 30 17K 18K 166960K 72 0 ioctlops 0 0K 4K 166960K 477 0 iov 0 0K 24K 166960K 179 0 mount 1 1K 1K 166960K 1 0 log 2 0K 0K 166960K 6 0 vnodes 1423 90K 90K 166960K 2826 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 25 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 144 0 dirhash 12 2K 2K 166960K 36 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 65K 97K 166960K 1262 0 sigio 0 0K 0K 166960K 8 0 proc 11 17K 124K 166960K 777 0 subproc 72 4K 4K 166960K 118 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 122 0 in_multi 30 2K 7K 166960K 166 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 16 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 265 1182K 1182K 166960K 265 0 exec 0 0K 1K 166960K 636 0 fusefs mount 1 32K 32K 166960K 1 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 141 78K 169K 166960K 12460 0 UVM aobj 63 2K 2K 166960K 67 0 pinsyscall 19 38K 96K 166960K 2507 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 59 0 NDP 8 0K 2K 166960K 69 0 temp 76 9116K 9181K 166960K 38125 0 kqueue 1 2K 34K 166960K 243 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 157 0 157 2 0 2 2 0 8 2 rtentry 136 180 0 146 4 0 4 4 0 8 1 unpcb 144 887 0 886 5 0 5 5 0 8 4 syncache 336 10 0 10 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 474 0 472 7 0 7 7 0 8 6 arp 96 30 0 23 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 1319 0 1313 15 5 10 15 0 8 8 nd6 112 43 0 37 1 0 1 1 0 8 0 pkpcb 40 9 0 9 1 0 1 1 0 8 1 kcovpl 48 13 0 5 1 0 1 1 0 8 0 ppxss 1072 31 0 31 1 0 1 1 0 8 1 pfstscr 40 10 0 8 1 0 1 1 0 8 0 pffrag 232 4 0 2 1 0 1 1 0 482 0 pffrnode 88 2 0 1 1 0 1 1 0 8 0 pffrent 40 6 0 4 1 0 1 1 0 8 0 pfrktable 1344 10 0 10 1 0 1 1 0 8 1 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfstlim 224 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 4 0 4 1 0 1 1 0 8 1 pftag 88 8 0 4 1 0 1 1 0 8 0 pfqueue 320 2 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 10 0 8 1 0 1 1 0 8 0 pfstate 384 6 0 5 1 0 1 1 0 8 0 pfrule 1360 86 0 85 1 0 1 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 742 0 578 29 8 21 29 0 8 8 art_table 40 745 0 578 5 0 5 5 0 8 1 art_node 32 178 0 149 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 6 1 0 1 1 0 8 0 semapl 72 139 0 129 1 0 1 1 0 8 0 shmpl 112 64 0 4 2 0 2 2 0 8 0 dirhash 1024 33 0 16 3 0 3 3 0 8 0 dino2pl 256 3638 0 2168 93 0 93 93 0 8 0 ffsino 256 3638 0 2168 93 0 93 93 0 8 0 nchpl 144 5241 0 3524 64 0 64 64 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 vnodes 216 4747 0 0 264 0 264 264 0 8 0 namei 1024 18440 0 18440 2 0 2 2 0 8 2 pfiaddrpl 120 2 0 2 1 0 1 1 0 8 1 kstatmem 264 87 0 70 2 0 2 2 0 8 0 scsiplug 72 10 0 10 1 0 1 1 0 8 1 scxspl 216 20751 0 20751 8 0 8 8 1 8 8 plimitpl 152 426 0 415 1 0 1 1 0 8 0 sigapl 424 1573 0 1540 8 0 8 8 0 8 2 knotepl 120 44859 0 44842 15 4 11 15 0 8 8 kqueuepl 184 423 0 422 4 0 4 4 0 8 3 pipepl 304 242 0 215 3 0 3 3 0 8 0 fdescpl 448 1538 0 1518 5 0 5 5 0 8 1 filepl 120 9633 0 9458 13 0 13 13 0 8 5 lockfpl 104 687 0 687 2 0 2 2 0 8 2 lockfspl 48 211 0 211 1 0 1 1 0 8 1 sessionpl 144 68 0 66 1 0 1 1 0 8 0 pgrppl 48 86 0 76 1 0 1 1 0 8 0 ucredpl 104 1438 0 1434 1 0 1 1 0 8 0 zombiepl 144 1541 0 1540 1 0 1 1 0 8 0 processpl 1152 1573 0 1540 5 0 5 5 0 8 0 procpl 664 3082 0 3038 7 0 7 7 0 8 2 sosppl 176 6 0 6 1 0 1 1 0 8 1 sockpl 552 2441 0 2434 20 10 10 15 0 8 8 mcl64k 65536 73 0 73 1 0 1 1 0 8 1 mcl16k 16384 6 0 6 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k128 9344 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 18 0 18 1 0 1 1 0 8 1 mcl4k 4096 4035 0 3985 15 0 15 15 0 8 7 mcl2k 2048 1065 0 1064 3 0 3 3 0 8 2 mtagpl 96 14 0 11 1 0 1 1 0 8 0 mbufpl 256 15725 0 15638 25 7 18 25 0 8 8 bufpl 272 7667 0 1451 415 0 415 415 0 8 0 anonpl 24 187562 0 182917 46 0 46 46 0 186 18 amapchunkpl 152 42124 0 41727 42 0 42 42 0 158 25 amappl16 200 2520 0 2303 16 4 12 14 0 8 0 amappl15 192 84 0 84 1 0 1 1 0 8 1 amappl14 184 469 0 469 1 0 1 1 0 8 1 amappl13 176 128 0 128 1 0 1 1 0 8 1 amappl12 168 1793 0 1775 2 0 2 2 0 8 0 amappl11 160 4 0 4 1 0 1 1 0 8 1 amappl10 152 60 0 60 1 0 1 1 0 8 1 amappl9 144 269 0 269 1 0 1 1 0 8 1 amappl8 136 112 0 112 1 0 1 1 0 8 1 amappl7 128 238 0 236 1 0 1 1 0 8 0 amappl6 120 233 0 232 1 0 1 1 0 8 0 amappl5 112 115 0 114 1 0 1 1 0 8 0 amappl4 104 346 0 344 1 0 1 1 0 8 0 amappl3 96 8510 0 8422 4 0 4 4 0 8 0 amappl2 88 584 0 576 2 0 2 2 0 8 0 amappl1 80 15593 0 15494 15 0 15 15 0 8 7 amappl 88 11432 0 11301 5 0 5 5 0 92 0 uvmvnodes 80 140 0 0 3 0 3 3 0 8 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 257 0 257 1 0 1 1 0 8 1 dma64 64 8 0 8 1 0 1 1 0 8 1 dma32 32 8 0 8 1 0 1 1 0 8 1 dma16 16 21 0 20 1 0 1 1 0 8 0 aobjpl 72 66 0 4 2 0 2 2 0 8 0 uaddrrnd 24 1538 0 1518 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1538 0 1518 1 0 1 1 0 8 0 vmmpekpl 168 12863 0 12825 3 0 3 3 0 8 0 vmmpepl 168 100676 0 99606 92 0 92 92 0 357 39 vmsppl 368 1537 0 1518 4 0 4 4 0 8 1 rwobjpl 40 26536 0 25846 13 0 13 13 0 8 2 pdppl 4096 3082 0 3036 106 60 46 82 0 8 0 pvpl 32 636467 0 628128 119 0 119 119 0 265 51 pmappl 216 1537 0 1518 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 811 0 75 22 0 22 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ffs2_balloc(ffffee0068f6c700,5cafe,60,ffffee0007ffd7b8,1,ffff80002a78ef48) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a78efd0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(ffffee000aa278d0,ffff80002a78f080,3,ffffee0007ffd7b8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766540,ffffee000aa278d0,ffffee0007ffd7b8,ffff80002a78f150,ffff80002a78f130) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a766540,4a,18,ffff80002a78f2d0) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a766540,4a,18,ffff80002a78f2d0) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a78f2d0) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a78f2d0) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71ff3d88e5b0, count: -7 ddb> machine ddbcpu 1 No such command ddb>