uvm_fault(0xffffffff83accc50, 0xffff8000270a2048, 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 *276603 92995 0 0x2 0x1 0 syz-executor ffs2_balloc(fffffd8069670500,55377,50,fffffd8007ffd7b8,1,ffff80002a7f0d98) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a7f0e20) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd806a87d548,ffff80002a7f0ed0,3,fffffd8007ffd7b8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a7674d0,fffffd806a87d548,fffffd8007ffd7b8,ffff80002a7f0fa0,ffff80002a7f0f80) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a7674d0,5b,0,ffff80002a7f1060) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a7674d0,5b,0,ffff80002a7f1060) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7f1110) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7f1110) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7192fd5c4d70, 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(0xffffffff83accc50, 0xffff8000270a2048, 0, 1) -> d ddb> trace ffs2_balloc(fffffd8069670500,55377,50,fffffd8007ffd7b8,1,ffff80002a7f0d98) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a7f0e20) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd806a87d548,ffff80002a7f0ed0,3,fffffd8007ffd7b8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a7674d0,fffffd806a87d548,fffffd8007ffd7b8,ffff80002a7f0fa0,ffff80002a7f0f80) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a7674d0,5b,0,ffff80002a7f1060) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a7674d0,5b,0,ffff80002a7f1060) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7f1110) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7f1110) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7192fd5c4d70, count: -7 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a7f0d40 rbx 0xfffffd8069670500 rdx 0 rcx 0xffff8000270a2000 rax 0x9 r8 0xffffffffffffffff r9 0xffff80002a7f0d98 r10 0x2d5657b4c2daa591 r11 0x4f5ecdfd4389bfd r12 0x1 r13 0xffff800000c47800 r14 0xffff80002a7f0be0 r15 0xfffffd806b310128 rip 0xffffffff815661da ffs2_balloc+0xa0a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a7f0bd0 ss 0 ffs2_balloc+0xa0a: movq 0(%rcx,%rax,8),%r14 ddb> show proc PROC (syz-executor) tid=276603 pid=92995 tcnt=1 stat=onproc flags process=2 proc=1 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7667d8,0xffff80002a736a78 process=0xffff80002a79c010 user=0xffff80002a7ec000, vmspace=0xfffffd807ec65e60 estcpu=36, cpticks=12, pctcpu=0.0, user=1, sys=11, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 60887 504188 92995 0 2 0 syz-executor 60887 105187 92995 0 3 0x4000080 fsleep syz-executor 46086 194579 49334 0 2 0x100002 sh 38434 21498 33276 0 2 0 syz-executor 38434 93729 33276 0 2 0x4000000 syz-executor 41971 448753 34212 0 3 0x80 nanoslp syz-executor 41971 495960 34212 0 3 0x4000080 piperd syz-executor 41971 67656 34212 0 3 0x4000080 fsleep syz-executor 41971 12349 34212 0 3 0x4000080 fsleep syz-executor 49334 447178 97235 0 3 0x82 wait syz-executor 65591 523768 0 0 3 0x14200 acct acct 90543 389179 97235 0 3 0x82 piperd syz-executor 34212 479384 97235 0 3 0x82 nanoslp syz-executor 33276 439892 97235 0 3 0x82 nanoslp syz-executor 91219 461348 0 0 3 0x14280 nfsidl nfsio 86941 168203 0 0 3 0x14280 nfsidl nfsio 2725 497009 0 0 3 0x14280 nfsidl nfsio 29545 141319 0 0 3 0x14280 nfsidl nfsio 86738 237910 0 0 3 0x14280 nfsidl nfsio 98846 55931 0 0 3 0x14280 nfsidl nfsio 96931 22785 0 0 3 0x14280 nfsidl nfsio 50617 494153 0 0 3 0x14280 nfsidl nfsio 2344 511291 0 0 3 0x14280 nfsidl nfsio 45367 226998 0 0 3 0x14280 nfsidl nfsio 72520 121107 0 0 3 0x14280 nfsidl nfsio 16264 281720 0 0 3 0x14280 nfsidl nfsio 91997 51981 0 0 3 0x14280 nfsidl nfsio 52737 203810 0 0 3 0x14280 nfsidl nfsio 33127 41953 0 0 3 0x14280 nfsidl nfsio 82038 417419 0 0 3 0x14280 nfsidl nfsio 53277 308955 0 0 3 0x14280 nfsidl nfsio 55066 181910 0 0 3 0x14280 nfsidl nfsio 11185 179139 0 0 3 0x14280 nfsidl nfsio 3335 115380 0 0 3 0x14280 nfsidl nfsio 53797 126157 97235 0 3 0x82 piperd syz-executor 75159 387914 97235 0 3 0x82 piperd syz-executor 39903 398391 97235 0 3 0x82 piperd syz-executor *92995 276603 97235 0 7 0x3 syz-executor 97235 274094 74113 0 2 0x2 syz-executor 74113 398986 7586 0 3 0x10008a sigsusp ksh 7586 496934 16788 0 3 0x98 kqread sshd-session 16788 26325 44139 0 3 0x92 kqread sshd-session 26203 410556 1 0 3 0x100083 ttyin getty 44139 219300 1 0 3 0x88 kqread sshd 47817 104046 71201 73 3 0x1100090 kqread syslogd 71201 325169 1 0 3 0x100082 sbwait syslogd 80913 415344 1 0 3 0x100080 kqread resolvd 4602 114039 97045 77 3 0x100092 kqread dhcpleased 19371 349924 97045 77 3 0x100092 kqread dhcpleased 97045 519878 1 0 3 0x80 kqread dhcpleased 99460 179868 0 0 3 0x14200 bored smr 12331 361098 0 0 2 0x14200 zerothread 83202 151708 0 0 3 0x14200 aiodoned aiodoned 51931 242930 0 0 3 0x14200 syncer update 85870 167166 0 0 3 0x14200 cleaner cleaner 545 232613 0 0 3 0x14200 reaper reaper 74527 52396 0 0 3 0x14200 pgdaemon pagedaemon 82921 47212 0 0 3 0x14200 bored viomb 99361 306752 0 0 3 0x40014200 acpi0 acpi0 23284 298636 0 0 3 0x14200 bored softnet0 58729 301381 0 0 3 0x14200 bored systqmp 57507 307904 0 0 3 0x14200 bored systq 48173 481869 0 0 3 0x40014200 tmoslp softclock 66732 235747 0 0 3 0x40014200 idle0 1 152537 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 11061 12314K 12693K 166960K 12943 0 pcb 17 12K 12K 166960K 123 0 rtable 207 7K 8K 166960K 1104 0 pf 33 13K 16K 166960K 108 0 ifaddr 39 6K 7K 166960K 156 0 ifgroup 54 2K 2K 166960K 179 0 sysctl 4 1K 9K 166960K 11 0 counters 34 17K 18K 166960K 73 0 ioctlops 0 0K 4K 166960K 189 0 iov 0 0K 16K 166960K 85 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1291 81K 82K 166960K 2047 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 111 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 14 49K 236K 166960K 1069 0 sigio 0 0K 0K 166960K 4 0 proc 60 59K 91K 166960K 1200 0 subproc 72 4K 4K 166960K 279 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 73 0 in_multi 69 5K 7K 166960K 351 0 ether_multi 1 0K 0K 166960K 5 0 mrt 1 0K 0K 166960K 23 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 133 599K 599K 166960K 133 0 exec 0 0K 1K 166960K 713 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 188 150K 166K 166960K 9453 0 UVM aobj 16 2K 2K 166960K 17 0 pinsyscall 35 70K 92K 166960K 2742 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 27 0 NDP 12 0K 1K 166960K 107 0 temp 54 9110K 9182K 166960K 36795 0 kqueue 14 22K 28K 166960K 141 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 113 0 110 1 0 1 1 0 8 0 rtentry 136 375 0 291 4 0 4 4 0 8 0 unpcb 144 436 0 421 4 0 4 4 0 8 3 syncache 336 8 0 8 2 1 1 1 0 8 1 tcpqe 32 4 0 4 1 0 1 1 0 8 1 tcpcb 736 240 0 236 7 0 7 7 0 8 6 arp 96 68 0 49 1 0 1 1 0 8 0 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 3 0 3 1 0 1 1 0 8 1 inpcb 328 864 0 857 8 1 7 7 0 8 6 ip6q 72 36 0 32 1 0 1 1 0 8 0 ip6af 40 67 0 64 1 0 1 1 0 8 0 nd6 112 93 0 73 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 0 1 1 0 8 1 kcovpl 48 31 0 23 1 0 1 1 0 8 0 ppxss 1072 13 0 13 1 0 1 1 0 8 1 pppxif 1416 2 0 2 1 0 1 1 0 8 1 pfsrclim 320 2 0 2 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 1493 0 1185 29 0 29 29 0 8 8 art_table 40 1495 0 1185 5 0 5 5 0 8 0 art_node 32 373 0 301 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 3 2 1 1 1 0 8 0 semapl 64 106 0 96 1 0 1 1 0 8 0 shmpl 112 14 0 1 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2754 0 1256 94 0 94 94 0 8 0 ffsino 256 2754 0 1256 94 0 94 94 0 8 0 nchpl 144 3758 0 2002 66 0 66 66 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 3232 0 0 180 0 180 180 0 8 0 namei 1024 14222 0 14222 3 2 1 2 0 8 1 kstatmem 264 95 0 70 3 0 3 3 0 8 1 scsiplug 72 5 0 5 1 0 1 1 0 8 1 scxspl 216 16136 0 16136 10 2 8 8 1 8 8 plimitpl 152 175 0 158 1 0 1 1 0 8 0 sigapl 424 1327 0 1267 8 0 8 8 0 8 0 knotepl 120 32125 0 32073 10 0 10 10 0 8 8 kqueuepl 184 259 0 249 4 0 4 4 0 8 3 pipepl 304 218 0 190 3 0 3 3 0 8 0 fdescpl 448 1292 0 1266 5 0 5 5 0 8 1 filepl 120 6460 0 6250 9 0 9 9 0 8 2 lockfpl 104 197 0 195 1 0 1 1 0 8 0 lockfspl 48 82 0 80 1 0 1 1 0 8 0 sessionpl 144 104 0 96 1 0 1 1 0 8 0 pgrppl 48 146 0 130 1 0 1 1 0 8 0 ucredpl 104 1077 0 1066 1 0 1 1 0 8 0 zombiepl 144 1267 0 1267 2 1 1 1 0 8 1 processpl 1152 1327 0 1267 5 0 5 5 0 8 0 procpl 664 2171 0 2106 7 0 7 7 0 8 0 sockpl 552 1436 0 1411 8 0 8 8 0 8 6 mcl64k 65536 169 0 168 1 0 1 1 0 8 0 mcl8k 8192 13 0 13 2 1 1 1 0 8 1 mcl4k 4096 3333 0 3265 16 7 9 14 0 8 0 mcl2k 2048 1066 0 1063 2 0 2 2 0 8 1 mtagpl 96 8 0 6 2 1 1 1 0 8 0 mbufpl 256 12053 0 11903 17 0 17 17 0 8 3 bufpl 280 6774 0 558 445 0 445 445 0 8 0 anonpl 24 178766 0 175797 46 1 45 45 0 186 19 amapchunkpl 152 29615 0 29253 26 0 26 26 0 158 8 amappl16 200 2915 0 2891 27 16 11 15 0 8 8 amappl15 192 2 0 2 1 1 0 1 0 8 0 amappl14 184 680 0 678 1 0 1 1 0 8 0 amappl13 176 167 0 157 1 0 1 1 0 8 0 amappl12 168 1614 0 1589 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 1 0 1 0 8 0 amappl10 152 59 0 49 1 0 1 1 0 8 0 amappl9 144 271 0 271 1 1 0 1 0 8 0 amappl8 136 207 0 205 1 0 1 1 0 8 0 amappl7 128 194 0 182 1 0 1 1 0 8 0 amappl6 120 375 0 372 1 0 1 1 0 8 0 amappl5 112 92 0 83 1 0 1 1 0 8 0 amappl4 104 333 0 316 1 0 1 1 0 8 0 amappl3 96 6094 0 6007 4 0 4 4 0 8 1 amappl2 88 703 0 647 2 0 2 2 0 8 0 amappl1 80 15319 0 14775 13 0 13 13 0 8 0 amappl 88 8297 0 8172 4 0 4 4 0 92 0 uvmvnodes 80 115 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 254 0 254 2 1 1 1 0 8 1 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 16 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1292 0 1266 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1292 0 1266 1 0 1 1 0 8 0 vmmpekpl 168 10969 0 10923 3 0 3 3 0 8 0 vmmpepl 168 88079 0 86491 94 2 92 92 0 357 16 vmsppl 368 1291 0 1266 4 0 4 4 0 8 1 rwobjpl 40 25637 0 24685 14 1 13 13 0 8 2 pdppl 4096 2590 0 2532 132 70 62 78 0 8 4 pvpl 32 523937 0 515936 114 2 112 112 0 265 34 pmappl 216 1291 0 1266 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 416 0 83 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ffs2_balloc(fffffd8069670500,55377,50,fffffd8007ffd7b8,1,ffff80002a7f0d98) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a7f0e20) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd806a87d548,ffff80002a7f0ed0,3,fffffd8007ffd7b8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a7674d0,fffffd806a87d548,fffffd8007ffd7b8,ffff80002a7f0fa0,ffff80002a7f0f80) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a7674d0,5b,0,ffff80002a7f1060) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a7674d0,5b,0,ffff80002a7f1060) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7f1110) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7f1110) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7192fd5c4d70, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace ffs2_balloc(fffffd8069670500,55377,50,fffffd8007ffd7b8,1,ffff80002a7f0d98) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a7f0e20) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd806a87d548,ffff80002a7f0ed0,3,fffffd8007ffd7b8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a7674d0,fffffd806a87d548,fffffd8007ffd7b8,ffff80002a7f0fa0,ffff80002a7f0f80) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a7674d0,5b,0,ffff80002a7f1060) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a7674d0,5b,0,ffff80002a7f1060) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7f1110) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7f1110) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7192fd5c4d70, count: -7