login: uvm_fault(0xfffffd806f5002e8, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at VOP_LOCK+0x9d: movq 0(%rax),%r14
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*212381 68476 0 0x2 0x1 0 syz-executor
VOP_LOCK(fffffd80671892b8,2001) at VOP_LOCK+0x9d sys/kern/vfs_vops.c:524
vn_lock(fffffd80671892b8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:570
vget(fffffd80671892b8,2001) at vget+0x2a2 sys/kern/vfs_subr.c:686
ktrwriteraw(ffff80002a746008,fffffd80671892b8,fffffd8007ffd4e0,ffff80002a8955f0,ffff80002a8955d0) at ktrwriteraw+0x152 sys/kern/kern_ktrace.c:688
ktrsysret(ffff80002a746008,88,0,ffff80002a8956b0) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline]
ktrsysret(ffff80002a746008,88,0,ffff80002a8956b0) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209
syscall(ffff80002a895760) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline]
syscall(ffff80002a895760) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x729d5a2fdf90, 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(0xfffffd806f5002e8, 0x0, 0, 1) -> e
ddb> trace
VOP_LOCK(fffffd80671892b8,2001) at VOP_LOCK+0x9d sys/kern/vfs_vops.c:524
vn_lock(fffffd80671892b8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:570
vget(fffffd80671892b8,2001) at vget+0x2a2 sys/kern/vfs_subr.c:686
ktrwriteraw(ffff80002a746008,fffffd80671892b8,fffffd8007ffd4e0,ffff80002a8955f0,ffff80002a8955d0) at ktrwriteraw+0x152 sys/kern/kern_ktrace.c:688
ktrsysret(ffff80002a746008,88,0,ffff80002a8956b0) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline]
ktrsysret(ffff80002a746008,88,0,ffff80002a8956b0) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209
syscall(ffff80002a895760) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline]
syscall(ffff80002a895760) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x729d5a2fdf90, count: -7
ddb> show registers
rdi 0
rsi 0
rbp 0xffff80002a895420
rbx 0x1
rdx 0
rcx 0x8
rax 0
r8 0xffff80002a8955d0
r9 0
r10 0x4d5e418dbe4404fb
r11 0x96a7f265086233df
r12 0xffffffff838c4ff0 cpu_info_full_primary+0x1ff0
r13 0
r14 0xfffffd80671892b8
r15 0
rip 0xffffffff81b6574d VOP_LOCK+0x9d
cs 0x8
rflags 0x10202 __ALIGN_SIZE+0xf202
rsp 0xffff80002a8953d0
ss 0
VOP_LOCK+0x9d: movq 0(%rax),%r14
ddb> show proc
PROC (syz-executor) tid=212381 pid=68476 tcnt=1 stat=onproc
flags process=2<EXEC> proc=1<INKTR>
runpri=17, usrpri=50, slppri=17, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff80002a7467d0,0xffff80002f0c1250
process=0xffff80002a7ae890 user=0xffff80002a890000, vmspace=0xfffffd806f5002e8
estcpu=36, cpticks=26, pctcpu=0.0, user=4, sys=22, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
41508 192248 93917 0 2 0 syz-executor
41508 63427 93917 0 3 0x4000080 fsleep syz-executor
87400 433896 45784 0 2 0 syz-executor
87400 467761 45784 0 3 0x4000080 fsleep syz-executor
17462 143689 3910 0 2 0 syz-executor
17462 276600 3910 0 3 0x4000080 fsleep syz-executor
17462 92941 3910 0 3 0x4000080 fsleep syz-executor
36734 346633 9007 0 2 0 syz-executor
36734 226766 9007 0 3 0x4000080 ttyin syz-executor
36734 14880 9007 0 3 0x4000080 ttyin syz-executor
92239 399719 27695 0 2 0 syz-executor
92239 264992 27695 0 3 0x4000080 fsleep syz-executor
2944 474857 1 0 3 0x100083 ttyin getty
22224 111986 0 0 3 0x14200 acct acct
27695 282197 435 0 2 0xc82 syz-executor
45784 194317 435 0 2 0xc82 syz-executor
92261 327531 0 0 3 0x14280 nfsidl nfsio
97923 23479 0 0 3 0x14280 nfsidl nfsio
5767 515443 0 0 3 0x14280 nfsidl nfsio
71083 457747 0 0 3 0x14280 nfsidl nfsio
6038 324105 0 0 3 0x14280 nfsidl nfsio
41117 400821 0 0 3 0x14280 nfsidl nfsio
67148 88778 0 0 3 0x14280 nfsidl nfsio
26495 471451 0 0 3 0x14280 nfsidl nfsio
69366 303276 0 0 3 0x14280 nfsidl nfsio
63278 287904 0 0 3 0x14280 nfsidl nfsio
81800 55622 0 0 3 0x14280 nfsidl nfsio
7992 45367 0 0 3 0x14280 nfsidl nfsio
10468 115938 0 0 3 0x14280 nfsidl nfsio
12213 256508 0 0 3 0x14280 nfsidl nfsio
1111 385742 0 0 3 0x14280 nfsidl nfsio
21269 416539 0 0 3 0x14280 nfsidl nfsio
11022 237620 0 0 3 0x14280 nfsidl nfsio
44995 56960 0 0 3 0x14280 nfsidl nfsio
48050 523363 0 0 3 0x14280 nfsidl nfsio
77048 347899 0 0 3 0x14280 nfsidl nfsio
*68476 212381 435 0 7 0x3 syz-executor
3910 388893 435 0 2 0xc82 syz-executor
9007 135889 435 0 2 0xc82 syz-executor
12341 508700 435 0 3 0x82 wait syz-executor
93917 339621 435 0 2 0xc82 syz-executor
435 8435 18715 0 3 0x82 nanoslp syz-executor
18715 240194 5698 0 3 0x10008a sigsusp ksh
5698 464291 17592 0 3 0x98 kqread sshd-session
17592 185744 83706 0 3 0x92 kqread sshd-session
83706 506023 1 0 3 0x88 kqread sshd
42687 148725 45329 73 3 0x1100090 kqread syslogd
45329 498836 1 0 3 0x100082 sbwait syslogd
77159 163154 1 0 3 0x100080 kqread resolvd
32242 51421 92706 77 3 0x100092 kqread dhcpleased
83093 461537 92706 77 3 0x100092 kqread dhcpleased
92706 151878 1 0 3 0x80 kqread dhcpleased
34689 36461 0 0 3 0x14200 bored smr
5474 333954 0 0 2 0x14200 zerothread
46092 78415 0 0 3 0x14200 aiodoned aiodoned
61800 247044 0 0 3 0x14200 syncer update
76516 264852 0 0 3 0x14200 cleaner cleaner
62627 264110 0 0 3 0x14200 reaper reaper
78326 127262 0 0 3 0x14200 pgdaemon pagedaemon
10607 53770 0 0 3 0x14200 bored viomb
75880 21371 0 0 3 0x40014200 acpi0 acpi0
63534 257531 0 0 3 0x14200 bored softnet0
3057 125561 0 0 3 0x14200 bored systqmp
25681 481936 0 0 3 0x14200 bored systq
80992 483000 0 0 3 0x40014200 tmoslp softclock
23980 211813 0 0 3 0x40014200 idle0
1 487221 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 11087 12128K 14038K 166960K 16758 0
pcb 18 17K 19K 166960K 595 0
rtable 206 12K 12K 166960K 657 0
pf 29 12K 14K 166960K 174 0
ifaddr 30 5K 7K 166960K 132 0
ifgroup 47 1K 2K 166960K 244 0
sysctl 4 1K 9K 166960K 22 0
counters 33 17K 18K 166960K 133 0
ioctlops 0 0K 4K 166960K 573 0
iov 0 0K 16K 166960K 77 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1449 91K 92K 166960K 3971 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 5K 166960K 4 0
VM map 2 1K 1K 166960K 2 0
sem 21 28K 29K 166960K 186 0
dirhash 12 2K 3K 166960K 54 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 15 53K 236K 166960K 2102 0
sigio 0 0K 0K 166960K 45 0
proc 61 59K 100K 166960K 818 0
subproc 63 3K 4K 166960K 126 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 278 0
in_multi 58 4K 7K 166960K 180 0
ether_multi 1 0K 0K 166960K 23 0
mrt 1 0K 0K 166960K 45 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 289 1288K 1288K 166960K 289 0
exec 0 0K 1K 166960K 774 0
fusefs mount 1 32K 32K 166960K 1 0
pfkey data 0 0K 0K 166960K 6 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 205 150K 197K 166960K 20178 0
UVM aobj 55 17K 17K 166960K 66 0
pinsyscall 36 72K 92K 166960K 3334 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 1K 166960K 118 0
NDP 11 0K 2K 166960K 98 0
temp 79 9076K 9144K 166960K 64637 0
kqueue 13 20K 32K 166960K 338 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 246 0 243 3 2 1 3 0 8 0
rtentry 136 183 0 118 4 0 4 4 0 8 0
unpcb 144 1564 0 1548 10 6 4 6 0 8 3
syncache 336 13 0 13 3 2 1 1 0 8 1
tcpqe 32 2 0 2 2 2 0 1 0 8 0
tcpcb 736 1150 0 1145 19 10 9 13 0 8 8
arp 96 27 0 16 1 0 1 1 0 8 0
ipq 40 17 0 12 1 0 1 1 0 8 0
ipqe 40 156 0 149 1 0 1 1 0 8 0
inpcb 328 2720 0 2710 29 20 9 13 0 8 8
ip6q 72 7 0 3 1 0 1 1 0 8 0
ip6af 40 10 0 6 1 0 1 1 0 8 0
nd6 112 41 0 24 1 0 1 1 0 8 0
pkpcb 40 85 0 85 4 3 1 1 0 8 1
kcovpl 48 14 0 7 1 0 1 1 0 8 0
ppxss 1072 75 0 75 3 2 1 1 0 8 1
pppxif 1416 9 0 9 2 1 1 1 0 8 1
pfsrclim 320 1 0 1 1 1 0 1 0 8 0
rttmr 136 5 0 5 3 2 1 1 0 8 1
art_heap8 4096 4 0 0 4 0 4 4 0 8 0
art_heap4 256 749 0 458 29 3 26 29 0 8 7
art_table 40 753 0 458 5 0 5 5 0 8 1
art_node 32 179 0 120 1 0 1 1 0 8 0
sysvmsgpl 40 7 0 2 2 1 1 1 0 8 0
semupl 112 3 0 3 2 2 0 1 0 8 0
semapl 112 179 0 160 1 0 1 1 0 8 0
shmpl 112 57 0 10 2 0 2 2 0 8 0
dirhash 1024 45 0 28 3 0 3 3 0 8 0
dino2pl 256 5769 0 4311 92 0 92 92 0 8 0
ffsino 256 5769 0 4311 92 0 92 92 0 8 0
nchpl 144 8597 0 6893 64 0 64 64 0 8 0
rtmask 32 15 0 15 3 2 1 1 0 8 1
vnodes 216 3182 0 0 177 0 177 177 0 8 0
vnodes: pool(0xffffffff839a6300:vnodes): page inconsistency: page 0x0; at page head addr 0xfffffd8067189f90 (p 0xfffffd8067189000)
namei 1024 31841 0 31841 5 4 1 2 0 8 1
vcpupl 3904 6 0 1 1 0 1 1 0 8 0
vmpool 808 6 0 1 1 0 1 1 0 8 0
kstatmem 264 152 0 130 2 0 2 2 0 8 0
acpiwqpl 32 2 0 2 1 0 1 1 1 8 1
scsiplug 72 7 0 7 3 2 1 1 0 8 1
scxspl 216 31082 0 31082 12 8 4 8 1 8 4
plimitpl 152 739 0 723 1 0 1 1 0 8 0
sigapl 424 2408 0 2347 8 0 8 8 0 8 0
knotepl 120 87345 0 87297 57 46 11 17 0 8 8
kqueuepl 184 676 0 665 5 2 3 3 0 8 2
pipepl 304 488 0 461 17 7 10 10 0 8 7
fdescpl 448 2371 0 2344 5 1 4 5 0 8 0
filepl 120 18733 0 18529 22 8 14 14 0 8 5
lockfpl 104 1603 0 1601 4 2 2 2 0 8 1
lockfspl 48 632 0 630 1 0 1 1 0 8 0
sessionpl 144 38 0 30 1 0 1 1 0 8 0
pgrppl 48 68 0 53 1 0 1 1 0 8 0
ucredpl 104 4072 0 4060 1 0 1 1 0 8 0
zombiepl 144 2601 0 2600 3 2 1 1 0 8 0
processpl 1152 2408 0 2347 5 0 5 5 0 8 0
procpl 664 5399 0 5331 8 0 8 8 0 8 1
sosppl 176 8 0 8 3 2 1 1 0 8 1
sockpl 552 4792 0 4760 28 17 11 14 0 8 8
mcl64k 65536 227 0 225 1 0 1 1 0 8 0
mcl16k 16384 8 0 8 2 2 0 1 0 8 0
mcl9k 9216 1 0 1 1 1 0 1 0 8 0
mcl8k 8192 18 0 18 4 3 1 1 0 8 1
mcl4k 4096 5109 0 5052 17 8 9 14 0 8 1
mcl2k2 2112 6 0 6 2 2 0 1 0 8 0
mcl2k 2048 2146 0 2137 5 1 4 4 0 8 2
mtagpl 96 148 0 66 3 0 3 3 0 8 0
mbufpl 256 29683 0 29459 216 189 27 93 0 8 8
bufpl 280 9315 0 3101 444 0 444 444 0 8 0
anonpl 24 299161 0 296047 94 37 57 57 0 187 22
amapchunkpl 152 68529 0 68106 54 22 32 35 0 158 13
amappl16 200 5001 0 4969 44 31 13 15 0 8 8
amappl15 192 1 0 1 1 1 0 1 0 8 0
amappl14 184 455 0 453 1 0 1 1 0 8 0
amappl13 176 139 0 129 1 0 1 1 0 8 0
amappl12 168 2625 0 2599 2 0 2 2 0 8 0
amappl11 160 1 0 1 1 1 0 1 0 8 0
amappl10 152 71 0 61 1 0 1 1 0 8 0
amappl9 144 259 0 259 1 1 0 1 0 8 0
amappl8 136 118 0 116 1 0 1 1 0 8 0
amappl7 128 228 0 216 1 0 1 1 0 8 0
amappl6 120 183 0 181 1 0 1 1 0 8 0
amappl5 112 108 0 100 1 0 1 1 0 8 0
amappl4 104 312 0 296 1 0 1 1 0 8 0
amappl3 96 14373 0 14274 4 0 4 4 0 8 0
amappl2 88 633 0 578 2 0 2 2 0 8 0
amappl1 80 20148 0 19619 22 4 18 18 0 8 4
amappl 88 19014 0 18871 5 0 5 5 0 92 0
uvmvnodes 80 160 0 0 4 0 4 4 0 8 0
dma16384 16384 1 0 1 1 0 1 1 0 8 1
dma8192 8192 1 0 1 1 0 1 1 0 8 1
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 8 0 8 3 3 0 1 0 8 0
dma128 128 255 0 255 2 1 1 1 0 8 1
dma64 64 8 0 8 3 2 1 1 0 8 1
dma32 32 8 0 8 2 1 1 1 0 8 1
dma16 16 19 0 18 1 0 1 1 0 8 0
aobjpl 72 65 0 11 1 0 1 1 0 8 0
uaddrrnd 24 2371 0 2344 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 2371 0 2344 1 0 1 1 0 8 0
vmmpekpl 168 21550 0 21504 3 0 3 3 0 8 0
vmmpepl 168 153906 0 152205 129 26 103 103 0 357 16
vmsppl 368 2370 0 2344 4 1 3 4 0 8 0
rwobjpl 40 39302 0 38268 16 1 15 15 0 8 1
pdppl 4096 4760 0 4695 129 57 72 78 0 8 7
pvpl 32 978351 0 969412 198 72 126 147 0 265 31
pmappl 216 2376 0 2345 3 0 3 3 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 638 0 285 12 0 12 12 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
VOP_LOCK(fffffd80671892b8,2001) at VOP_LOCK+0x9d sys/kern/vfs_vops.c:524
vn_lock(fffffd80671892b8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:570
vget(fffffd80671892b8,2001) at vget+0x2a2 sys/kern/vfs_subr.c:686
ktrwriteraw(ffff80002a746008,fffffd80671892b8,fffffd8007ffd4e0,ffff80002a8955f0,ffff80002a8955d0) at ktrwriteraw+0x152 sys/kern/kern_ktrace.c:688
ktrsysret(ffff80002a746008,88,0,ffff80002a8956b0) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline]
ktrsysret(ffff80002a746008,88,0,ffff80002a8956b0) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209
syscall(ffff80002a895760) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline]
syscall(ffff80002a895760) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x729d5a2fdf90, count: -7
ddb> machine ddbcpu 1
No such command
ddb> trace
VOP_LOCK(fffffd80671892b8,2001) at VOP_LOCK+0x9d sys/kern/vfs_vops.c:524
vn_lock(fffffd80671892b8,2001) at vn_lock+0xa4 sys/kern/vfs_vnops.c:570
vget(fffffd80671892b8,2001) at vget+0x2a2 sys/kern/vfs_subr.c:686
ktrwriteraw(ffff80002a746008,fffffd80671892b8,fffffd8007ffd4e0,ffff80002a8955f0,ffff80002a8955d0) at ktrwriteraw+0x152 sys/kern/kern_ktrace.c:688
ktrsysret(ffff80002a746008,88,0,ffff80002a8956b0) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline]
ktrsysret(ffff80002a746008,88,0,ffff80002a8956b0) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209
syscall(ffff80002a895760) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline]
syscall(ffff80002a895760) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x729d5a2fdf90, count: -7