uvm_fault(0xffffffff83a23fd8, 0xffff800029eb2018, 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 *386172 73334 0 0x2 0x1 0 syz-executor ffs2_balloc(fffffb00694b6c00,3cfcd,50,fffffb0007ffd270,1,ffff80002a7d1658) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a7d16e0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffb006d3731c0,ffff80002a7d1790,3,fffffb0007ffd270) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766540,fffffb006d3731c0,fffffb0007ffd270,ffff80002a7d1860,ffff80002a7d1840) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a766540,a,0,ffff80002a7d1920) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a766540,a,0,ffff80002a7d1920) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7d19d0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7d19d0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fdea46f0f80, 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(0xffffffff83a23fd8, 0xffff800029eb2018, 0, 1) -> d ddb> trace ffs2_balloc(fffffb00694b6c00,3cfcd,50,fffffb0007ffd270,1,ffff80002a7d1658) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a7d16e0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffb006d3731c0,ffff80002a7d1790,3,fffffb0007ffd270) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766540,fffffb006d3731c0,fffffb0007ffd270,ffff80002a7d1860,ffff80002a7d1840) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a766540,a,0,ffff80002a7d1920) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a766540,a,0,ffff80002a7d1920) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7d19d0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7d19d0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fdea46f0f80, count: -7 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a7d1600 rbx 0xfffffb00694b6c00 rdx 0 rcx 0xffff800029eb2000 rax 0x3 r8 0xffffffffffffffff r9 0xffff80002a7d1658 r10 0xb3c1f1e39cffd91c r11 0xcd342b7574c0969a r12 0x1 r13 0xffff800000c47800 r14 0xffff80002a7d14a0 r15 0xfffffb006d27e990 rip 0xffffffff8165704a ffs2_balloc+0xa0a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a7d1490 ss 0x10 ffs2_balloc+0xa0a: movq 0(%rcx,%rax,8),%r14 ddb> show proc PROC (syz-executor) tid=386172 pid=73334 tcnt=1 stat=onproc flags process=2 proc=1 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a766010,0xffff80002a767778 process=0xffff80002a79c010 user=0xffff80002a7cc000, vmspace=0xfffffb007ec645c0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 815 101409 32145 0 2 0 syz-executor 815 332596 32145 0 3 0x4000080 fsleep syz-executor 19942 258622 87718 0 2 0 syz-executor 19942 220337 87718 0 3 0x4000080 fifor syz-executor 55201 441171 87229 0 2 0 syz-executor 55201 129738 87229 0 2 0x4000000 syz-executor 87971 43291 37796 0 2 0 syz-executor 87971 229640 37796 0 3 0x4000080 pppxread syz-executor 87971 58033 37796 0 3 0x4000000 inode syz-executor 5393 459960 95587 0 2 0 syz-executor 5393 256029 95587 0 3 0x4000080 fsleep syz-executor 5393 443646 95587 0 3 0x4000080 fsleep syz-executor 31246 365438 6835 0 3 0x80 nanoslp syz-executor 31246 252098 6835 0 3 0x4000080 tunread syz-executor 31246 187028 6835 0 3 0x4000080 fsleep syz-executor 32145 9468 49115 0 3 0x82 nanoslp syz-executor 18663 89154 1 0 3 0x80 nanoslp init 6835 376754 49115 0 3 0x82 nanoslp syz-executor 87718 328896 49115 0 3 0x82 nanoslp syz-executor 26211 2639 49115 0 3 0x82 wait syz-executor 95587 326111 49115 0 3 0x82 nanoslp syz-executor 87229 248194 49115 0 3 0x82 nanoslp syz-executor 37796 517811 49115 0 3 0x82 nanoslp syz-executor *73334 386172 49115 0 7 0x3 syz-executor 49115 229978 1 0 2 0x2 syz-executor 34247 456528 84250 0 3 0x98 kqread sshd-session 84250 308317 1 0 3 0x92 kqread sshd-session 63115 368991 1 73 3 0x1100090 kqread syslogd 29022 159124 0 0 3 0x14200 bored smr 69492 112807 0 0 2 0x14200 zerothread 45838 287953 0 0 3 0x14200 aiodoned aiodoned 80885 244004 0 0 3 0x14200 syncer update 2119 442170 0 0 3 0x14200 cleaner cleaner 98052 305651 0 0 3 0x14200 reaper reaper 70641 305777 0 0 3 0x14200 pgdaemon pagedaemon 38426 100225 0 0 3 0x14200 bored viomb 33902 226071 0 0 3 0x40014200 acpi0 acpi0 11905 432755 0 0 2 0x14200 softnet0 2886 486358 0 0 3 0x14200 bored systqmp 93766 225723 0 0 3 0x14200 bored systq 71328 426569 0 0 3 0x40014200 tmoslp softclock 2319 326988 0 0 3 0x40014200 idle0 1 287853 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11037 12234K 12486K 166960K 12582 0 pcb 17 14K 16K 166960K 152 0 rtable 261 8K 9K 166960K 448 0 pf 37 14K 19K 166960K 80 0 ifaddr 43 7K 7K 166960K 55 0 ifgroup 55 2K 2K 166960K 67 0 sysctl 3 1K 9K 166960K 9 0 counters 34 17K 18K 166960K 40 0 ioctlops 0 0K 4K 166960K 85 0 iov 0 0K 16K 166960K 17 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1396 88K 88K 166960K 1715 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 12 1K 1K 166960K 18 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 433 0 sigio 0 0K 0K 166960K 1 0 proc 11 17K 116K 166960K 573 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 37 0 in_multi 99 7K 7K 166960K 120 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 13 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 473 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 161 96K 168K 166960K 5516 0 UVM aobj 11 2K 2K 166960K 12 0 pinsyscall 24 48K 96K 166960K 1584 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 16 0 NDP 12 0K 2K 166960K 37 0 temp 41 9112K 13211K 166960K 16017 0 kqueue 6 10K 26K 166960K 69 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 74 0 72 1 0 1 1 0 8 0 rtentry 136 125 0 13 4 0 4 4 0 8 0 unpcb 144 290 0 278 4 0 4 4 0 8 3 syncache 336 7 0 7 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 78 0 74 1 0 1 1 0 8 0 arp 96 20 0 2 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 437 0 433 10 1 9 10 0 8 8 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 3 0 2 1 0 1 1 0 8 0 nd6 112 29 0 3 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 5 0 5 1 0 1 1 0 8 1 pfstscr 40 5 0 0 1 0 1 1 0 8 0 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfstlim 224 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pfstitem 24 6 0 0 1 0 1 1 0 8 0 pfstkey 128 6 0 1 1 0 1 1 0 8 0 pfstate 384 3 0 0 1 0 1 1 0 8 0 pfrule 1360 4 0 3 1 0 1 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 501 0 44 31 0 31 31 0 8 2 art_table 40 502 0 44 5 0 5 5 0 8 0 art_node 32 125 0 23 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 1 1 0 1 1 0 8 1 semapl 72 13 0 3 1 0 1 1 0 8 0 shmpl 112 9 0 1 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2098 0 633 92 0 92 92 0 8 0 ffsino 256 2098 0 633 92 0 92 92 0 8 0 nchpl 144 2653 0 948 64 0 64 64 0 8 0 vnodes 216 2434 0 0 136 0 136 136 0 8 0 namei 1024 9175 0 9174 2 0 2 2 0 8 1 kstatmem 264 35 0 10 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 13690 0 13690 8 0 8 8 1 8 8 plimitpl 152 253 0 241 1 0 1 1 0 8 0 sigapl 424 733 0 698 6 0 6 6 0 8 1 knotepl 120 14096 0 14064 9 0 9 9 0 8 7 kqueuepl 184 91 0 86 1 0 1 1 0 8 0 pipepl 304 211 0 184 8 0 8 8 0 8 5 fdescpl 448 720 0 698 5 0 5 5 0 8 2 filepl 120 3779 0 3579 13 0 13 13 0 8 5 lockfpl 104 165 0 163 1 0 1 1 0 8 0 lockfspl 48 75 0 73 1 0 1 1 0 8 0 sessionpl 144 34 0 30 1 0 1 1 0 8 0 pgrppl 48 45 0 33 1 0 1 1 0 8 0 ucredpl 104 493 0 485 1 0 1 1 0 8 0 zombiepl 144 699 0 698 1 0 1 1 0 8 0 processpl 1152 733 0 698 4 0 4 4 0 8 0 procpl 664 1168 0 1124 5 0 5 5 0 8 0 sosppl 176 3 0 3 1 0 1 1 0 8 1 sockpl 552 817 0 799 10 0 10 10 0 8 8 mcl64k 65536 26 0 26 1 0 1 1 0 8 1 mcl9k128 9344 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 9 0 9 1 0 1 1 0 8 1 mcl4k 4096 2922 0 2867 14 0 14 14 0 8 6 mcl2k 2048 424 0 419 2 0 2 2 0 8 1 mtagpl 96 9 0 6 1 0 1 1 0 8 0 mbufpl 256 7444 0 7272 18 0 18 18 0 8 7 bufpl 272 6331 0 115 415 0 415 415 0 8 0 anonpl 24 135827 0 129494 49 0 49 49 0 186 10 amapchunkpl 152 17979 0 17559 33 0 33 33 0 158 15 amappl16 200 2588 0 2321 17 2 15 15 0 8 0 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 422 0 422 1 0 1 1 0 8 1 amappl13 176 122 0 119 1 0 1 1 0 8 0 amappl12 168 967 0 947 2 0 2 2 0 8 0 amappl11 160 5 0 5 1 0 1 1 0 8 1 amappl10 152 57 0 55 1 0 1 1 0 8 0 amappl9 144 271 0 271 1 0 1 1 0 8 1 amappl8 136 113 0 113 1 0 1 1 0 8 1 amappl7 128 163 0 157 1 0 1 1 0 8 0 amappl6 120 256 0 255 1 0 1 1 0 8 0 amappl5 112 97 0 94 1 0 1 1 0 8 0 amappl4 104 273 0 267 1 0 1 1 0 8 0 amappl3 96 3303 0 3217 3 0 3 3 0 8 0 amappl2 88 562 0 537 2 0 2 2 0 8 0 amappl1 80 11875 0 11583 15 0 15 15 0 8 5 amappl 88 4689 0 4552 4 0 4 4 0 92 0 uvmvnodes 80 107 0 0 3 0 3 3 0 8 0 dma32768 32768 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 7 0 7 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 20 0 19 1 0 1 1 0 8 0 aobjpl 72 11 0 1 1 0 1 1 0 8 0 uaddrrnd 24 720 0 698 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 720 0 698 1 0 1 1 0 8 0 vmmpekpl 168 7894 0 7859 3 0 3 3 0 8 0 vmmpepl 168 56179 0 54739 91 0 91 91 0 357 25 vmsppl 368 719 0 698 4 0 4 4 0 8 1 rwobjpl 40 18351 0 17529 12 0 12 12 0 8 0 pdppl 4096 1446 0 1396 96 44 52 82 0 8 2 pvpl 32 344829 0 334561 99 0 99 99 0 265 13 pmappl 216 719 0 698 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 784 0 44 22 0 22 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ffs2_balloc(fffffb00694b6c00,3cfcd,50,fffffb0007ffd270,1,ffff80002a7d1658) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a7d16e0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffb006d3731c0,ffff80002a7d1790,3,fffffb0007ffd270) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766540,fffffb006d3731c0,fffffb0007ffd270,ffff80002a7d1860,ffff80002a7d1840) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a766540,a,0,ffff80002a7d1920) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a766540,a,0,ffff80002a7d1920) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7d19d0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7d19d0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fdea46f0f80, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace ffs2_balloc(fffffb00694b6c00,3cfcd,50,fffffb0007ffd270,1,ffff80002a7d1658) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a7d16e0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffb006d3731c0,ffff80002a7d1790,3,fffffb0007ffd270) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766540,fffffb006d3731c0,fffffb0007ffd270,ffff80002a7d1860,ffff80002a7d1840) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a766540,a,0,ffff80002a7d1920) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a766540,a,0,ffff80002a7d1920) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7d19d0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7d19d0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6fdea46f0f80, count: -7