uvm_fault(0xffffffff82bcbd30, 0xffff80001ffff000, 0, 1) -> d
kernel: page fault trap, code=0
Stopped at ffs2_balloc+0x7ae: movq 0(%rcx,%rax,8),%r15
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*149430 65676 0 0 0x4000000 0 syz-executor.6
ffs2_balloc(fffffd806e3c3b50,30000,4000,fffffd807f7d77b8,0,ffff80002cca1e28) at ffs2_balloc+0x7ae sys/ufs/ffs/ffs_balloc.c:660
ffs_write(ffff80002cca1ec0) at ffs_write+0x411 sys/ufs/ffs/ffs_vnops.c:346
VOP_WRITE(fffffd8067c9eeb8,ffff80002cca20e0,1,fffffd807f7d77b8) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245
vn_write(fffffd80759e2d98,ffff80002cca20e0,0) at vn_write+0x152 sys/kern/vfs_vnops.c:408
dofilewritev(ffff80002b412868,5,ffff80002cca20e0,0,ffff80002cca21d0) at dofilewritev+0x19c sys/kern/sys_generic.c:375
sys_writev(ffff80002b412868,ffff80002cca2188,ffff80002cca21d0) at sys_writev+0xa7 sys/kern/sys_generic.c:322
syscall(ffff80002cca2250) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x9b6786edbd0, 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(0xffffffff82bcbd30, 0xffff80001ffff000, 0, 1) -> d
ddb> trace
ffs2_balloc(fffffd806e3c3b50,30000,4000,fffffd807f7d77b8,0,ffff80002cca1e28) at ffs2_balloc+0x7ae sys/ufs/ffs/ffs_balloc.c:660
ffs_write(ffff80002cca1ec0) at ffs_write+0x411 sys/ufs/ffs/ffs_vnops.c:346
VOP_WRITE(fffffd8067c9eeb8,ffff80002cca20e0,1,fffffd807f7d77b8) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245
vn_write(fffffd80759e2d98,ffff80002cca20e0,0) at vn_write+0x152 sys/kern/vfs_vnops.c:408
dofilewritev(ffff80002b412868,5,ffff80002cca20e0,0,ffff80002cca21d0) at dofilewritev+0x19c sys/kern/sys_generic.c:375
sys_writev(ffff80002b412868,ffff80002cca2188,ffff80002cca21d0) at sys_writev+0xa7 sys/kern/sys_generic.c:322
syscall(ffff80002cca2250) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x9b6786edbd0, count: -8
ddb> show registers
rdi 0
rsi 0
rbp 0xffff80002cca1de0
rbx 0
rdx 0xffff800000d3db80
rcx 0xffff80001ffff000
rax 0
r8 0xffffffffffffffff
r9 0
r10 0xb60e3bc03842a537
r11 0xf5569f1cf231cf78
r12 0x10
r13 0xfffffd807455a018
r14 0
r15 0
rip 0xffffffff812ec34e ffs2_balloc+0x7ae
cs 0x8
rflags 0x10202 __ALIGN_SIZE+0xf202
rsp 0xffff80002cca1c50
ss 0x10
ffs2_balloc+0x7ae: movq 0(%rcx,%rax,8),%r15
ddb> show proc
PROC (syz-executor.6) pid=149430 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=84, usrpri=84, nice=20
forw=0xffffffffffffffff, list=0xffff80002b413600,0xffff80002b413b80
process=0xffff8000fffecfc0 user=0xffff80002cc9d000, vmspace=0xfffffd8069b62978
estcpu=34, cpticks=0, pctcpu=0.0
user=0, sys=0, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
9948 424909 61535 0 2 0 syz-executor.7
9948 27852 61535 0 2 0x4000000 syz-executor.7
65676 86673 21943 0 2 0 syz-executor.6
*65676 149430 21943 0 7 0x4000000 syz-executor.6
2646 514846 34310 0 2 0 syz-executor.4
2646 304211 34310 0 3 0x4000080 fsleep syz-executor.4
1076 350742 62945 0 3 0x80 nanoslp syz-executor.5
1076 516017 62945 0 3 0x4000080 kqread syz-executor.5
24879 448597 8900 0 2 0 syz-executor.1
24879 464256 8900 0 2 0x4000000 syz-executor.1
41944 270858 99105 0 2 0x480 syz-executor.0
41944 308289 99105 0 3 0x4000080 fsleep syz-executor.0
41944 290906 99105 0 2 0x4000000 syz-executor.0
41944 452183 99105 0 3 0x4000080 fsleep syz-executor.0
38265 303856 80735 0 3 0x1000080 nanoslp syz-executor.2
38265 192157 80735 0 3 0x5000080 netio syz-executor.2
38265 228889 80735 0 3 0x5000080 fsleep syz-executor.2
62945 369776 67853 0 3 0x82 nanoslp syz-executor.5
5960 476695 0 0 3 0x14200 acct acct
80735 251109 67853 0 3 0x82 nanoslp syz-executor.2
8900 494158 67853 0 3 0x82 nanoslp syz-executor.1
71923 14621 67853 0 2 0x2 syz-executor.3
99105 396009 67853 0 3 0x82 nanoslp syz-executor.0
52809 160470 0 0 3 0x14280 nfsidl nfsio
43716 47809 0 0 3 0x14280 nfsidl nfsio
49406 381420 0 0 3 0x14280 nfsidl nfsio
93129 246205 0 0 3 0x14280 nfsidl nfsio
8108 57303 0 0 3 0x14280 nfsidl nfsio
8871 11797 0 0 3 0x14280 nfsidl nfsio
67225 334583 0 0 3 0x14280 nfsidl nfsio
77710 51357 0 0 3 0x14280 nfsidl nfsio
67460 470550 0 0 3 0x14280 nfsidl nfsio
364 153245 0 0 3 0x14280 nfsidl nfsio
4711 518719 0 0 3 0x14280 nfsidl nfsio
26558 94100 0 0 3 0x14280 nfsidl nfsio
4693 514564 0 0 3 0x14280 nfsidl nfsio
61736 244449 0 0 3 0x14280 nfsidl nfsio
4593 345856 0 0 3 0x14280 nfsidl nfsio
3372 37552 0 0 3 0x14280 nfsidl nfsio
61167 203086 0 0 3 0x14280 nfsidl nfsio
99334 159587 0 0 3 0x14280 nfsidl nfsio
36339 500743 0 0 3 0x14280 nfsidl nfsio
93269 78431 0 0 3 0x14280 nfsidl nfsio
97477 385493 1 0 3 0x100083 ttyin getty
34310 447891 67853 0 3 0x82 nanoslp syz-executor.4
21943 79102 67853 0 3 0x82 nanoslp syz-executor.6
61535 39368 67853 0 3 0x82 nanoslp syz-executor.7
30302 387041 0 0 3 0x14200 bored sosplice
67853 160552 46007 0 3 0x82 wait syz-fuzzer
67853 232073 46007 0 3 0x4000082 nanoslp syz-fuzzer
67853 344025 46007 0 3 0x4000082 wait syz-fuzzer
67853 73230 46007 0 3 0x4000082 wait syz-fuzzer
67853 131764 46007 0 3 0x4000082 wait syz-fuzzer
67853 314931 46007 0 3 0x4000082 thrsleep syz-fuzzer
67853 10804 46007 0 3 0x4000082 thrsleep syz-fuzzer
67853 504842 46007 0 3 0x4000082 thrsleep syz-fuzzer
67853 459059 46007 0 3 0x4000082 wait syz-fuzzer
67853 399194 46007 0 3 0x4000082 thrsleep syz-fuzzer
67853 509745 46007 0 3 0x4000082 kqread syz-fuzzer
67853 23269 46007 0 3 0x4000082 wait syz-fuzzer
67853 25392 46007 0 3 0x4000082 wait syz-fuzzer
67853 137962 46007 0 3 0x4000082 wait syz-fuzzer
46007 145253 80027 0 3 0x10008a sigsusp ksh
80027 227597 40642 0 3 0x9a kqread sshd
40642 411016 1 0 3 0x88 kqread sshd
33236 398820 31570 73 3 0x1100090 kqread syslogd
31570 449215 1 0 3 0x100082 netio syslogd
27263 229760 1 0 3 0x100080 kqread resolvd
98127 507002 65006 77 3 0x100092 kqread dhcpleased
39366 347126 65006 77 3 0x100092 kqread dhcpleased
65006 368298 1 0 3 0x80 kqread dhcpleased
5516 522132 0 0 3 0x14200 bored smr
99905 522394 0 0 2 0x14200 zerothread
5226 216410 0 0 3 0x14200 aiodoned aiodoned
87607 304640 0 0 3 0x14200 syncer update
69776 422486 0 0 3 0x14200 cleaner cleaner
25557 167833 0 0 3 0x14200 reaper reaper
57141 523914 0 0 3 0x14200 pgdaemon pagedaemon
1356 21394 0 0 3 0x14200 bored viomb
63270 37013 0 0 3 0x40014200 acpi0 acpi0
51143 385301 0 0 3 0x14200 bored softnet
96137 36646 0 0 3 0x14200 bored softnet
2676 102570 0 0 3 0x14200 bored softnet
349 119358 0 0 3 0x14200 bored softnet
66310 158714 0 0 3 0x14200 bored systqmp
70063 482313 0 0 3 0x14200 bored systq
44086 39810 0 0 2 0x40014200 softclock
28050 143043 0 0 3 0x40014200 idle0
1 323589 0 0 3 0x82 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 10228 6423K 7577K 78643K 22339 0
pcb 13 13K 15K 78643K 624 0
rtable 209 15K 15K 78643K 1077 0
ifaddr 91 24K 24K 78643K 471 0
sysctl 2 0K 0K 78643K 4 0
counters 29 17K 17K 78643K 198 0
ioctlops 0 0K 4K 78643K 710 0
iov 1 0K 24K 78643K 369 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 4 0
vnodes 1467 92K 92K 78643K 5427 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 9K 78643K 53 0
VM map 2 1K 1K 78643K 2 0
sem 22 5K 10K 78643K 364 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12548 0
file desc 17 61K 69K 78643K 4162 0
sigio 0 0K 0K 78643K 223 0
proc 60 59K 75K 78643K 1001 0
subproc 104 6K 6K 78643K 312 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 8420 0
in_multi 88 5K 6K 78643K 389 0
ether_multi 1 0K 0K 78643K 25 0
mrt 1 0K 0K 78643K 8 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 229 1023K 1023K 78643K 229 0
exec 0 0K 1K 78643K 1080 0
pfkey data 0 0K 0K 78643K 3 0
tdb 3 0K 0K 78643K 3 0
pagedep 1 8K 8K 78643K 1 0
inodedep 1 32K 32K 78643K 1 0
newblk 1 0K 0K 78643K 1 0
VM swap 8 62K 64K 78643K 10 0
UVM amap 307 84K 97K 78643K 28259 0
UVM aobj 131 4K 4K 78643K 131 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 192 0
NDP 16 0K 1K 78643K 145 0
temp 137 5770K 6810K 78643K 58646 0
kqueue 12 18K 26K 78643K 325 0
SYN cache 2 16K 16K 78643K 2 0
ddb> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb 120 290 0 287 2 1 1 2 0 8 0
rtentry 112 349 0 256 4 0 4 4 0 8 0
unpcb 144 5960 0 5945 77 73 4 11 0 8 3
syncache 296 40 0 40 10 9 1 1 0 8 1
sackhl 24 2 0 2 2 2 0 1 0 8 0
tcpqe 32 157 0 157 10 9 1 1 0 8 1
tcpcb 776 5236 0 5228 94 86 8 15 0 8 6
arp 88 50 0 34 1 0 1 1 0 8 0
ipq 40 2 0 1 1 0 1 1 0 8 0
ipqe 40 9 0 4 1 0 1 1 0 8 0
inpcb 336 7755 0 7743 86 77 9 18 0 8 6
nd6 48 79 0 57 1 0 1 1 0 8 0
pkpcb 40 103 0 103 2 2 0 1 0 8 0
kcovpl 48 24 0 16 1 0 1 1 0 8 0
mppekey 1024 71 0 71 3 2 1 1 0 8 1
ppxss 1160 114 0 114 12 11 1 1 0 8 1
pppxif 1360 90 0 90 9 8 1 1 0 8 1
pfstscr 40 18 0 8 1 0 1 1 0 8 0
pfosfp 40 6 0 4 1 0 1 1 0 8 0
pfosfpen 112 6 0 4 1 0 1 1 0 8 0
pfanchor 1280 839 6 327 45 2 43 43 0 8 0
pfstitem 24 25 0 8 1 0 1 1 0 8 0
pfstkey 128 32 0 23 1 0 1 1 0 8 0
pfstate 352 18 0 8 2 1 1 2 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 1696 0 1283 36 10 26 29 0 8 0
art_table 32 1697 0 1283 5 1 4 4 0 8 0
art_node 16 348 0 267 1 0 1 1 0 8 0
sysvmsgpl 40 4 0 0 1 0 1 1 0 8 0
semapl 112 353 0 333 1 0 1 1 0 8 0
shmpl 112 128 0 0 4 0 4 4 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 7283 0 5840 91 0 91 91 0 8 0
ffsino 240 7283 0 5840 85 0 85 85 0 8 0
nchpl 144 12827 0 11188 63 1 62 63 0 8 0
uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0
vnodes 216 5926 0 0 330 0 330 330 0 8 0
namei 1024 47107 0 47106 9 8 1 3 0 8 0
vmpool 664 6 0 6 2 2 0 1 0 8 0
kstatmem 264 186 0 158 2 0 2 2 0 8 0
scsiplug 72 6 0 6 2 2 0 1 0 8 0
scxspl 216 41051 0 41051 16 15 1 8 0 8 1
plimitpl 152 697 0 682 1 0 1 1 0 8 0
sigapl 424 4566 0 4500 8 0 8 8 0 8 0
futexpl 64 48590 0 48586 4 3 1 1 0 8 0
knotepl 120 63924 0 63844 32 27 5 11 0 8 0
kqueuepl 184 977 0 935 19 16 3 4 0 8 0
pipepl 288 1153 0 1125 24 21 3 12 0 8 0
fdescpl 432 4408 0 4380 4 0 4 4 0 8 0
filepl 120 37733 0 37452 88 77 11 18 0 8 2
lockfpl 104 1257 0 1255 2 1 1 2 0 8 0
lockfspl 48 328 0 326 1 0 1 1 0 8 0
sessionpl 144 40 0 24 1 0 1 1 0 8 0
pgrppl 48 180 0 164 1 0 1 1 0 8 0
ucredpl 104 4989 0 4977 1 0 1 1 0 8 0
zombiepl 144 4500 0 4500 4 3 1 1 0 8 1
processpl 1008 4566 0 4500 10 1 9 9 0 8 0
procpl 696 10718 0 10629 13 4 9 10 0 8 0
sosppl 168 55 0 55 13 12 1 1 0 8 1
sockpl 456 14111 0 14081 364 351 13 37 0 8 8
mcl64k 65536 227 0 222 13 12 1 1 0 8 0
mcl16k 16384 67 0 67 15 14 1 1 0 8 1
mcl12k 12288 194 0 194 14 13 1 1 0 8 1
mcl9k 9216 68 0 68 13 13 0 1 0 8 0
mcl8k 8192 224 0 224 12 11 1 1 0 8 1
mcl4k 4096 515 0 515 12 11 1 1 0 8 1
mcl2k2 2112 31 0 31 12 11 1 1 0 8 1
mcl2k 2048 87636 0 87561 46 35 11 38 0 8 0
mtagpl 96 1293 0 1028 16 6 10 14 0 8 0
mbufpl 256 196519 0 196049 422 373 49 122 0 8 0
bufpl 288 11315 0 4921 457 0 457 457 0 8 0
anonpl 24 911193 0 895518 171 37 134 141 0 188 14
amapchunkpl 152 104684 0 103987 77 47 30 50 0 158 0
amappl16 200 9997 0 9320 85 41 44 49 0 8 7
amappl15 192 2 0 2 1 1 0 1 0 8 0
amappl14 184 217 0 205 2 1 1 2 0 8 0
amappl13 176 5 0 4 1 0 1 1 0 8 0
amappl12 168 595 0 594 1 0 1 1 0 8 0
amappl11 160 48 0 38 1 0 1 1 0 8 0
amappl10 152 45 0 36 1 0 1 1 0 8 0
amappl9 144 984 0 980 1 0 1 1 0 8 0
amappl8 136 234 0 172 4 1 3 3 0 8 0
amappl7 128 194 0 170 2 0 2 2 0 8 0
amappl6 120 250 0 238 2 1 1 2 0 8 0
amappl5 112 240 0 234 1 0 1 1 0 8 0
amappl4 104 682 0 653 2 0 2 2 0 8 0
amappl3 96 12128 0 12072 2 0 2 2 0 8 0
amappl2 88 4998 0 4928 3 1 2 3 0 8 0
amappl1 80 100484 0 99739 31 14 17 26 0 8 1
amappl 88 27495 0 27309 5 0 5 5 0 92 0
dma4096 4096 1 0 1 1 1 0 1 0 8 0
dma1024 1024 1 0 0 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 18 0 17 1 0 1 1 0 8 0
aobjpl 72 130 0 0 3 0 3 3 0 8 0
uaddrrnd 24 4414 0 4386 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 4414 0 4386 1 0 1 1 0 8 0
vmmpekpl 168 37227 0 37164 4 0 4 4 0 8 0
vmmpepl 168 411400 0 408497 314 173 141 166 0 357 10
vmsppl 344 4413 0 4386 3 0 3 3 0 8 0
rwobjpl 24 112466 0 104608 50 1 49 49 0 8 1
pdppl 4096 8834 0 8772 351 287 64 66 0 8 2
pvpl 32 1871797 0 1850241 464 232 232 336 0 265 29
pmappl 216 4413 0 4386 2 0 2 2 0 8 0
extentpl 40 56 0 38 1 0 1 1 0 8 0
phpool 112 1678 0 871 25 0 25 25 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
ffs2_balloc(fffffd806e3c3b50,30000,4000,fffffd807f7d77b8,0,ffff80002cca1e28) at ffs2_balloc+0x7ae sys/ufs/ffs/ffs_balloc.c:660
ffs_write(ffff80002cca1ec0) at ffs_write+0x411 sys/ufs/ffs/ffs_vnops.c:346
VOP_WRITE(fffffd8067c9eeb8,ffff80002cca20e0,1,fffffd807f7d77b8) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245
vn_write(fffffd80759e2d98,ffff80002cca20e0,0) at vn_write+0x152 sys/kern/vfs_vnops.c:408
dofilewritev(ffff80002b412868,5,ffff80002cca20e0,0,ffff80002cca21d0) at dofilewritev+0x19c sys/kern/sys_generic.c:375
sys_writev(ffff80002b412868,ffff80002cca2188,ffff80002cca21d0) at sys_writev+0xa7 sys/kern/sys_generic.c:322
syscall(ffff80002cca2250) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x9b6786edbd0, count: -8
ddb> machine ddbcpu 1
No such command
ddb> trace
ffs2_balloc(fffffd806e3c3b50,30000,4000,fffffd807f7d77b8,0,ffff80002cca1e28) at ffs2_balloc+0x7ae sys/ufs/ffs/ffs_balloc.c:660
ffs_write(ffff80002cca1ec0) at ffs_write+0x411 sys/ufs/ffs/ffs_vnops.c:346
VOP_WRITE(fffffd8067c9eeb8,ffff80002cca20e0,1,fffffd807f7d77b8) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245
vn_write(fffffd80759e2d98,ffff80002cca20e0,0) at vn_write+0x152 sys/kern/vfs_vnops.c:408
dofilewritev(ffff80002b412868,5,ffff80002cca20e0,0,ffff80002cca21d0) at dofilewritev+0x19c sys/kern/sys_generic.c:375
sys_writev(ffff80002b412868,ffff80002cca2188,ffff80002cca21d0) at sys_writev+0xa7 sys/kern/sys_generic.c:322
syscall(ffff80002cca2250) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x9b6786edbd0, count: -8