uvm_fault(0xfffffb006d054a28, 0x100000024, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at vn_lock+0x55: movl 0x1c(%r15),%r12d
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*120879 65683 0 0 0x4000000 0 syz-executor
vn_lock(100000008,2001) at vn_lock+0x55 sys/kern/vfs_vnops.c:567
spec_getattr(ffff800039507578) at spec_getattr+0x8f sys/kern/spec_vnops.c:564
VOP_GETATTR(fffffb0066f8f968,ffff8000395075f0,fffffb0007ffd7b8,ffff80003b8e7248) at VOP_GETATTR+0x7f sys/kern/vfs_vops.c:191
vn_stat(fffffb0066f8f968,ffff8000395076e0,ffff80003b8e7248) at vn_stat+0x57 sys/kern/vfs_vnops.c:455
sys_fstat(ffff80003b8e7248,ffff800039507880,ffff8000395077d0) at sys_fstat+0xcb sys/kern/kern_descrip.c:802
syscall(ffff800039507880) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff800039507880) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x4160171b640, 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(0xfffffb006d054a28, 0x100000024, 0, 1) -> e
ddb> show kasan
No such command
ddb> trace
vn_lock(100000008,2001) at vn_lock+0x55 sys/kern/vfs_vnops.c:567
spec_getattr(ffff800039507578) at spec_getattr+0x8f sys/kern/spec_vnops.c:564
VOP_GETATTR(fffffb0066f8f968,ffff8000395075f0,fffffb0007ffd7b8,ffff80003b8e7248) at VOP_GETATTR+0x7f sys/kern/vfs_vops.c:191
vn_stat(fffffb0066f8f968,ffff8000395076e0,ffff80003b8e7248) at vn_stat+0x57 sys/kern/vfs_vnops.c:455
sys_fstat(ffff80003b8e7248,ffff800039507880,ffff8000395077d0) at sys_fstat+0xcb sys/kern/kern_descrip.c:802
syscall(ffff800039507880) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff800039507880) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x4160171b640, count: -7
ddb> show registers
rdi 0xffffffff
rsi 0x3
rbp 0xffff800039507520
rbx 0xfffffb006d3f4710
rdx 0
rcx 0xffff80003b8e7248
rax 0
r8 0xffffffff8117eaf0 uvm_map_inentry_sp
r9 0
r10 0
r11 0xbc39eabdf9e57504
r12 0x8000 __ALIGN_SIZE+0x7000
r13 0xffff8000395075f0
r14 0x2001 __ALIGN_SIZE+0x1001
r15 0x100000008
rip 0xffffffff82225835 vn_lock+0x55
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff8000395074e0
ss 0x10
vn_lock+0x55: movl 0x1c(%r15),%r12d
ddb> show proc
PROC (syz-executor) tid=120879 pid=65683 tcnt=3 stat=onproc
flags process=0 proc=4000000<THREAD>
runpri=32, usrpri=74, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff80003b8e7ca8,0xffff80003b8e7788
process=0xffff8000388c8db0 user=0xffff800039502000, vmspace=0xfffffb006d054a28
estcpu=24, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND
19441 358928 28525 0 3 0x2 0 clonelk ifconfig
65683 510668 25666 0 2 0 0 syz-executor
*65683 120879 25666 0 7 0 0x4000000 syz-executor
65683 211979 25666 0 3 0 0x4000080 fsleep syz-executor
28525 247814 15159 0 3 0x100002 0x88 sigsusp sh
17738 11155 791 0 2 0 0 syz-executor
17738 494176 791 0 3 0 0x4000000 biowait syz-executor
77056 28143 91022 0 2 0 0 syz-executor
77056 418492 91022 0 3 0 0x4000080 fsleep syz-executor
15159 397300 54901 0 3 0x2 0x80 wait syz-executor
791 158844 54901 0 3 0x2 0x80 nanoslp syz-executor
91022 515753 54901 0 3 0x2 0x80 nanoslp syz-executor
25666 280278 54901 0 3 0x2 0x80 nanoslp syz-executor
14262 42014 54901 0 3 0x2 0 biowait syz-executor
65104 432325 18937 0 3 0x100002 0x80 sbwait ndp
18937 215603 18830 0 3 0x100002 0x88 sigsusp sh
18830 500423 54901 0 3 0x2 0x80 wait syz-executor
54901 426263 55568 0 3 0x2 0x80 wait syz-executor
55568 513142 90770 0 3 0x100002 0x88 sigsusp ksh
90770 237445 11392 0 3 0x10 0x88 kqread sshd-session
11392 266320 97258 0 3 0x12 0x80 kqread sshd-session
66095 318223 1 0 3 0x100003 0x80 ttyin getty
97258 42967 1 0 3 0 0x88 kqread sshd
19701 520993 72977 73 3 0x1100010 0x80 kqread syslogd
72977 236744 1 0 3 0x100002 0x80 sbwait syslogd-parent
81614 116461 1 0 3 0x100000 0x80 kqread resolvd
90819 213469 12089 77 3 0x100012 0x80 kqread dhcpleased
36295 215346 12089 77 3 0x100012 0x80 kqread dhcpleased
12089 506524 1 0 3 0 0x80 kqread dhcpleased
27824 454036 0 0 3 0x14000 0x200 bored smr
79879 78166 0 0 2 0x14000 0x200 zerothread
41823 331416 0 0 3 0x14000 0x200 aiodoned aiodoned
25178 112718 0 0 3 0x14000 0x200 syncer update
21299 423737 0 0 3 0x14000 0x200 cleaner cleaner
10657 460940 0 0 3 0x14000 0x200 reaper reaper
97381 434970 0 0 3 0x14000 0x200 pgdaemon pagedaemon
94273 214121 0 0 3 0x14000 0x200 bored viomb
74176 98716 0 0 3 0x14000 0x40000200 acpi0 acpi0
28234 168720 0 0 3 0x14000 0x200 bored softnet0
39021 456437 0 0 3 0x14000 0x200 bored systqmp
69454 227426 0 0 3 0x14000 0x200 bored systq
77789 452711 0 0 3 0x14000 0x40000200 tmoslp softclock
87462 268644 0 0 3 0x14000 0x40000200 idle0
1 358407 0 0 3 0x80002 0x80 wait init
0 0 -1 0 3 0x10000 0x200 scheduler swapper
ddb> show all locks
No such command
ddb> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 11033 12105K 12369K 166960K 12563 0
pcb 17 14K 16K 166960K 193 0
rtable 216 7K 9K 166960K 2107 0
pf 29 12K 20K 166960K 202 0
ifaddr 36 7K 7K 166960K 283 0
ifgroup 43 1K 2K 166960K 291 0
sysctl 2 1K 9K 166960K 7 0
counters 32 17K 17K 166960K 95 0
ioctlops 0 0K 4K 166960K 290 0
iov 0 0K 24K 166960K 52 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1360 86K 86K 166960K 2251 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 3 5K 5K 166960K 14 0
VM map 2 1K 1K 166960K 2 0
sem 27 1K 1K 166960K 87 0
dirhash 15 2K 2K 166960K 21 0
ACPI 1734 201K 291K 166960K 11964 0
file desc 17 61K 81K 166960K 1323 0
sigio 0 0K 0K 166960K 9 0
proc 67 67K 83K 166960K 2140 0
subproc 72 4K 4K 166960K 594 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 38 0
in_multi 78 5K 6K 166960K 727 0
ether_multi 1 0K 0K 166960K 1 0
mrt 0 0K 0K 166960K 35 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 55 254K 254K 166960K 55 0
exec 0 0K 1K 166960K 1423 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 201 146K 158K 166960K 10538 0
UVM aobj 76 3K 4K 166960K 78 0
pinsyscall 39 78K 90K 166960K 3903 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 40 0
NDP 10 0K 2K 166960K 203 0
temp 37 9115K 9179K 166960K 29431 0
kqueue 13 20K 28K 166960K 82 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 169 0 165 1 0 1 1 0 8 0
rtentry 136 743 0 651 4 0 4 4 0 8 0
unpcb 144 196 0 181 1 0 1 1 0 8 0
syncache 336 5 0 5 1 0 1 1 0 8 1
tcpcb 736 94 0 90 1 0 1 1 0 8 0
arp 96 132 0 116 1 0 1 1 0 8 0
ipq 40 2 0 1 1 0 1 1 0 8 0
ipqe 40 4 0 3 1 0 1 1 0 8 0
inpcb 328 737 0 726 7 0 7 7 0 8 6
nd6 112 199 0 182 1 0 1 1 0 8 0
pkpcb 40 5 0 5 1 0 1 1 0 8 1
kcovpl 48 66 0 58 1 0 1 1 0 8 0
ppxss 1072 4 0 4 1 0 1 1 0 8 1
pfosfp 40 6 0 2 1 0 1 1 0 8 0
pfosfpen 112 6 0 1 1 0 1 1 0 8 0
pfrktable 1344 4 0 1 1 0 1 1 0 8 0
pfanchor 1288 5 0 0 1 0 1 1 0 8 0
pftag 88 2 0 0 1 0 1 1 0 8 0
pfrule 1360 7 0 6 1 0 1 1 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 3035 0 2629 33 2 31 33 0 8 4
art_table 40 3036 0 2629 6 0 6 6 0 8 1
art_node 32 743 0 659 1 0 1 1 0 8 0
sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0
semapl 72 85 0 60 1 0 1 1 0 8 0
shmpl 120 74 0 1 3 0 3 3 0 8 0
dirhash 1024 23 0 4 3 0 3 3 0 8 0
dino2pl 256 2251 0 628 102 0 102 102 0 8 0
ffsino 256 2251 0 628 102 0 102 102 0 8 0
nchpl 144 2890 0 972 72 0 72 72 0 8 0
vnodes 216 3123 0 0 174 0 174 174 0 8 0
namei 1024 17418 0 17418 3 0 3 3 0 8 3
vcpupl 3968 16 0 16 2 0 2 2 0 8 2
vmpool 808 1 0 1 1 0 1 1 0 8 1
pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0
kstatmem 264 147 0 126 2 0 2 2 0 8 0
scxspl 216 10418 0 10416 8 0 8 8 1 8 7
plimitpl 152 1344 0 1327 1 0 1 1 0 8 0
sigapl 424 1494 0 1452 6 0 6 6 0 8 0
knotepl 120 13395 0 13348 32 21 11 32 0 8 7
kqueuepl 184 173 0 164 4 0 4 4 0 8 3
pipepl 304 316 0 289 3 0 3 3 0 8 0
fdescpl 448 1481 0 1452 4 0 4 4 0 8 0
filepl 120 5799 0 5587 12 0 12 12 0 8 4
lockfpl 104 173 0 171 1 0 1 1 0 8 0
lockfspl 48 78 0 76 1 0 1 1 0 8 0
sessionpl 144 91 0 83 1 0 1 1 0 8 0
pgrppl 48 159 0 143 1 0 1 1 0 8 0
ucredpl 104 729 0 717 1 0 1 1 0 8 0
zombiepl 144 1454 0 1452 1 0 1 1 0 8 0
processpl 1160 1494 0 1452 4 0 4 4 0 8 0
procpl 664 2148 0 2102 5 0 5 5 0 8 0
sockpl 552 1120 0 1090 7 0 7 7 0 8 4
mcl64k 65536 8 0 8 1 0 1 1 0 8 1
mcl16k 16384 1 0 1 1 0 1 1 0 8 1
mcl8k 8192 15 0 15 1 0 1 1 0 8 1
mcl4k 4096 2947 0 2880 14 0 14 14 0 8 5
mcl2k 2048 1461 0 1461 4 0 4 4 0 8 4
mextrefs 64 1246 0 1246 1 0 1 1 0 8 1
mtagpl 96 5 0 5 1 0 1 1 0 8 1
mbufpl 256 16542 0 16392 16 0 16 16 0 8 3
bufpl 272 3473 0 90 226 0 226 226 0 8 0
anonpl 24 172591 0 169505 45 0 45 45 0 187 23
amapchunkpl 152 29473 0 29098 25 0 25 25 0 158 8
amappl16 200 1974 0 1957 18 9 9 14 0 8 8
amappl15 192 5 0 5 1 0 1 1 0 8 1
amappl14 184 1082 0 1079 1 0 1 1 0 8 0
amappl13 176 321 0 309 1 0 1 1 0 8 0
amappl12 168 1942 0 1914 2 0 2 2 0 8 0
amappl11 160 2 0 2 1 0 1 1 0 8 1
amappl10 152 62 0 54 1 0 1 1 0 8 0
amappl9 144 284 0 284 1 0 1 1 0 8 1
amappl8 136 318 0 316 1 0 1 1 0 8 0
amappl7 128 259 0 248 1 0 1 1 0 8 0
amappl6 120 459 0 455 1 0 1 1 0 8 0
amappl5 112 364 0 356 1 0 1 1 0 8 0
amappl4 104 436 0 420 1 0 1 1 0 8 0
amappl3 96 6190 0 6095 3 0 3 3 0 8 0
amappl2 88 674 0 621 2 0 2 2 0 8 0
amappl1 80 18579 0 18004 13 0 13 13 0 8 0
amappl 88 8857 0 8726 4 0 4 4 0 92 0
uvmvnodes 80 104 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 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 18 0 17 1 0 1 1 0 8 0
aobjpl 72 77 0 2 2 0 2 2 0 8 0
uaddrrnd 24 1481 0 1452 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 1481 0 1452 1 0 1 1 0 8 0
vmmpekpl 168 12324 0 12280 3 0 3 3 0 8 0
vmmpepl 168 102084 0 100419 92 0 92 92 0 357 13
vmsppl 368 1480 0 1452 4 0 4 4 0 8 1
rwobjpl 40 29915 0 28878 14 0 14 14 0 8 1
pdppl 4096 2970 0 2906 132 64 68 74 0 8 4
pvpl 32 540965 0 532957 112 0 112 112 0 265 35
pmappl 216 1481 0 1453 2 0 2 2 0 8 0
extentpl 40 46 0 28 1 0 1 1 0 8 0
phpool 112 654 0 66 17 0 17 17 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
vn_lock(100000008,2001) at vn_lock+0x55 sys/kern/vfs_vnops.c:567
spec_getattr(ffff800039507578) at spec_getattr+0x8f sys/kern/spec_vnops.c:564
VOP_GETATTR(fffffb0066f8f968,ffff8000395075f0,fffffb0007ffd7b8,ffff80003b8e7248) at VOP_GETATTR+0x7f sys/kern/vfs_vops.c:191
vn_stat(fffffb0066f8f968,ffff8000395076e0,ffff80003b8e7248) at vn_stat+0x57 sys/kern/vfs_vnops.c:455
sys_fstat(ffff80003b8e7248,ffff800039507880,ffff8000395077d0) at sys_fstat+0xcb sys/kern/kern_descrip.c:802
syscall(ffff800039507880) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff800039507880) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x4160171b640, count: -7
ddb> machine ddbcpu 1
No such command
ddb> trace
vn_lock(100000008,2001) at vn_lock+0x55 sys/kern/vfs_vnops.c:567
spec_getattr(ffff800039507578) at spec_getattr+0x8f sys/kern/spec_vnops.c:564
VOP_GETATTR(fffffb0066f8f968,ffff8000395075f0,fffffb0007ffd7b8,ffff80003b8e7248) at VOP_GETATTR+0x7f sys/kern/vfs_vops.c:191
vn_stat(fffffb0066f8f968,ffff8000395076e0,ffff80003b8e7248) at vn_stat+0x57 sys/kern/vfs_vnops.c:455
sys_fstat(ffff80003b8e7248,ffff800039507880,ffff8000395077d0) at sys_fstat+0xcb sys/kern/kern_descrip.c:802
syscall(ffff800039507880) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff800039507880) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x4160171b640, count: -7