uvm_fault(0xfffffd806c278178, 0x8a0, 0, 2) -> e
kernel: page fault trap, code=2
Stopped at copyout+0x57: repe movsq (%rsi),%es:(%rdi)
TID PID UID PRFLAGS PFLAGS CPU COMMAND
* 50792 74549 0 0 0x4000000 0 syz-executor
copyout() at copyout+0x57
syscall(ffff80002cd67d00) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80002cd67d00) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xdd6d55b7310, count: 12
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(0xfffffd806c278178, 0x8a0, 0, 2) -> e
ddb> trace
copyout() at copyout+0x57
syscall(ffff80002cd67d00) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80002cd67d00) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xdd6d55b7310, count: -3
ddb> show registers
rdi 0x8a0
rsi 0xffff80002cd67b10
rbp 0xffff80002cd67c20
rbx 0x80007bb __kernel_phys_end+0x46007bb
rdx 0xffff80002cd62000
rcx 0x4
rax 0x20
r8 0x7f7fffffc000
r9 0x1
r10 0x7847f46eb12d1055
r11 0xffffffff81483b10 copy_fault
r12 0x2
r13 0x16
r14 0xffff80002cd67d00
r15 0xffff80002cd67b10
rip 0xffffffff81483a37 copyout+0x57
cs 0x8
rflags 0x50202 acpi_pdirpa+0x3c073
rsp 0xffff80002cd67960
ss 0x10
copyout+0x57: repe movsq (%rsi),%es:(%rdi)
ddb> show proc
PROC (syz-executor) tid=50792 pid=74549 tcnt=2 stat=onproc
flags process=0 proc=4000000<THREAD>
runpri=32, usrpri=82, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff80002a862550,0xffffffff8397cdf8
process=0xffff800035d171f0 user=0xffff80002cd62000, vmspace=0xfffffd806c278178
estcpu=32, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
74549 181417 38246 0 2 0 syz-executor
*74549 50792 38246 0 7 0x4000000 syz-executor
93751 226530 71672 0 3 0x80 nanoslp syz-executor
93751 338759 71672 0 3 0x4000080 kqpoll syz-executor
93751 304761 71672 0 3 0x4000080 fsleep syz-executor
80459 118367 76035 0 3 0x80 nanoslp syz-executor
80459 126148 76035 0 3 0x4000080 sbwait syz-executor
80459 308759 76035 0 3 0x4000080 fsleep syz-executor
53141 199833 60925 0 3 0x80 nanoslp syz-executor
53141 476688 60925 0 3 0x4000080 ttyout syz-executor
53141 382869 60925 0 3 0x4000080 fsleep syz-executor
15799 185966 73678 0 3 0x80 nanoslp syz-executor
15799 297696 73678 0 3 0x4000080 ttyout syz-executor
15799 345067 73678 0 3 0x4000080 fsleep syz-executor
15799 294706 73678 0 3 0x4000080 fsleep syz-executor
71635 233609 0 0 3 0x14280 nfsidl nfsio
57151 187942 0 0 3 0x14280 nfsidl nfsio
21103 455082 0 0 3 0x14280 nfsidl nfsio
37061 30512 0 0 3 0x14280 nfsidl nfsio
38839 296173 0 0 3 0x14280 nfsidl nfsio
33057 153204 0 0 3 0x14280 nfsidl nfsio
66081 413932 0 0 3 0x14280 nfsidl nfsio
76161 465625 0 0 3 0x14280 nfsidl nfsio
6580 202081 0 0 3 0x14280 nfsidl nfsio
44744 98401 0 0 3 0x14280 nfsidl nfsio
43092 34484 0 0 3 0x14280 nfsidl nfsio
36262 336170 0 0 3 0x14280 nfsidl nfsio
34912 208936 0 0 3 0x14280 nfsidl nfsio
4694 244177 0 0 3 0x14280 nfsidl nfsio
62945 54124 0 0 3 0x14280 nfsidl nfsio
49237 321710 0 0 3 0x14280 nfsidl nfsio
74501 202180 0 0 3 0x14280 nfsidl nfsio
94283 142299 0 0 3 0x14280 nfsidl nfsio
26914 293785 0 0 3 0x14280 nfsidl nfsio
31312 210382 0 0 3 0x14280 nfsidl nfsio
22706 379146 5807 0 2 0x2 syz-executor
97266 343433 1 0 3 0x100083 ttyin getty
71672 172626 5807 0 2 0xc82 syz-executor
36650 43590 5807 0 3 0x82 nanoslp syz-executor
73678 195958 5807 0 3 0x82 nanoslp syz-executor
97174 284548 0 0 3 0x14200 bored sosplice
38246 499970 5807 0 2 0xc82 syz-executor
23755 461205 5807 0 2 0x2 syz-executor
76035 356565 5807 0 3 0x82 nanoslp syz-executor
60925 248866 5807 0 3 0x82 nanoslp syz-executor
5807 66155 87246 0 3 0x82 kqread syz-executor
87246 230485 69310 0 3 0x10008a sigsusp ksh
69310 416059 28860 0 3 0x98 kqread sshd-session
28860 507782 83325 0 3 0x92 kqread sshd-session
83325 376668 1 0 3 0x88 kqread sshd
38081 493649 91087 73 3 0x1100090 kqread syslogd
91087 485438 1 0 3 0x100082 sbwait syslogd
85284 485586 1 0 3 0x100080 kqread resolvd
82503 389616 86614 77 3 0x100092 kqread dhcpleased
56403 168126 86614 77 3 0x100092 kqread dhcpleased
86614 311882 1 0 3 0x80 kqread dhcpleased
75969 11235 0 0 3 0x14200 bored smr
54219 417919 0 0 2 0x14200 zerothread
78620 22418 0 0 3 0x14200 aiodoned aiodoned
10351 318629 0 0 3 0x14200 syncer update
55593 202706 0 0 3 0x14200 cleaner cleaner
18123 421523 0 0 3 0x14200 reaper reaper
1830 196439 0 0 3 0x14200 pgdaemon pagedaemon
8966 348394 0 0 3 0x14200 bored viomb
36719 444381 0 0 3 0x40014200 acpi0 acpi0
53279 344199 0 0 3 0x14200 bored softnet3
69934 209257 0 0 3 0x14200 bored softnet2
18516 468120 0 0 3 0x14200 bored softnet1
90894 259116 0 0 3 0x14200 bored softnet0
18621 232676 0 0 3 0x14200 bored systqmp
40712 30720 0 0 3 0x14200 bored systq
82583 507300 0 0 2 0x40014200 softclock
54882 54082 0 0 3 0x40014200 idle0
1 408005 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 10231 11272K 12502K 166960K 14213 0
pcb 17 15K 16K 166960K 279 0
rtable 232 16K 16K 166960K 582 0
pf 32 13K 15K 166960K 91 0
ifaddr 39 6K 7K 166960K 88 0
ifgroup 54 2K 2K 166960K 131 0
sysctl 3 1K 9K 166960K 49 0
counters 33 17K 18K 166960K 66 0
ioctlops 0 0K 4K 166960K 238 0
iov 0 0K 16K 166960K 131 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1501 94K 94K 166960K 2761 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 3 5K 9K 166960K 22 0
VM map 2 1K 1K 166960K 2 0
sem 12 0K 0K 166960K 37 0
dirhash 12 2K 2K 166960K 15 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 16 57K 89K 166960K 1238 0
sigio 1 0K 0K 166960K 29 0
proc 63 67K 108K 166960K 710 0
subproc 72 4K 4K 166960K 109 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 124 0
in_multi 84 6K 7K 166960K 172 0
ether_multi 1 0K 0K 166960K 10 0
mrt 0 0K 0K 166960K 10 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 259 1155K 1155K 166960K 259 0
exec 0 0K 1K 166960K 543 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 220 155K 171K 166960K 11982 0
UVM aobj 30 6K 6K 166960K 33 0
pinsyscall 37 74K 92K 166960K 2388 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 1 0K 0K 166960K 67 0
NDP 12 0K 2K 166960K 61 0
temp 78 8688K 8757K 166960K 35580 0
kqueue 17 28K 32K 166960K 207 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 157 0 154 2 0 2 2 0 8 1
rtentry 136 169 0 67 4 0 4 4 0 8 0
unpcb 144 870 0 851 10 6 4 4 0 8 3
syncache 336 7 0 7 3 2 1 1 0 8 1
tcpqe 32 1 0 1 1 0 1 1 0 8 1
tcpcb 736 366 0 360 10 9 1 7 0 8 0
arp 88 28 0 10 1 0 1 1 0 8 0
ipq 40 2 0 0 1 0 1 1 0 8 0
ipqe 40 4 0 1 1 0 1 1 0 8 0
inpcb 328 1484 0 1470 20 18 2 10 0 8 0
ip6q 72 33 0 33 1 1 0 1 0 8 0
ip6af 40 66 0 66 1 1 0 1 0 8 0
nd6 104 40 0 17 1 0 1 1 0 8 0
pkpcb 40 2 0 2 2 1 1 1 0 8 1
kcovpl 48 12 0 4 1 0 1 1 0 8 0
ppxss 1072 22 0 22 4 3 1 1 0 8 1
pppxif 1384 3 0 3 3 3 0 1 0 8 0
pfrktable 1344 1 0 1 1 1 0 1 0 8 0
pfrule 1344 1 0 1 1 1 0 1 0 8 0
rttmr 136 2 0 2 1 1 0 1 0 8 0
art_heap8 4096 3 0 0 3 0 3 3 0 8 0
art_heap4 256 686 0 260 31 3 28 29 0 8 0
art_table 32 689 0 260 4 0 4 4 0 8 0
art_node 16 167 0 74 1 0 1 1 0 8 0
sysvmsgpl 40 19 0 14 1 0 1 1 0 8 0
semupl 112 1 0 1 1 1 0 1 0 8 0
semapl 112 31 0 21 1 0 1 1 0 8 0
shmpl 112 30 0 3 1 0 1 1 0 8 0
dirhash 1024 19 0 2 3 0 3 3 0 8 0
dino2pl 256 3519 0 2016 95 0 95 95 0 8 0
ffsino 248 3519 0 2016 95 0 95 95 0 8 0
nchpl 144 5214 0 3521 64 0 64 64 0 8 0
rtmask 32 1 0 1 1 1 0 1 0 8 0
uvmvnodes 80 4542 0 0 93 0 93 93 0 8 0
vnodes 216 4542 0 0 253 0 253 253 0 8 0
namei 1024 18993 0 18992 3 2 1 2 0 8 0
kstatmem 264 72 0 48 3 1 2 3 0 8 0
acpiwqpl 32 1 0 1 1 0 1 1 1 8 1
scsiplug 72 5 0 5 4 3 1 1 0 8 1
scxspl 216 15758 0 15758 12 10 2 8 1 8 2
plimitpl 152 322 0 305 1 0 1 1 0 8 0
sigapl 424 1535 0 1470 8 0 8 8 0 8 0
knotepl 120 58349 0 58282 59 42 17 17 0 8 14
kqueuepl 184 473 0 458 8 6 2 4 0 8 1
pipepl 296 183 0 156 3 0 3 3 0 8 0
fdescpl 440 1497 0 1469 5 1 4 5 0 8 0
filepl 120 9747 0 9522 16 5 11 12 0 8 2
lockfpl 104 397 0 395 1 0 1 1 0 8 0
lockfspl 48 181 0 179 1 0 1 1 0 8 0
sessionpl 144 28 0 20 1 0 1 1 0 8 0
pgrppl 48 55 0 39 1 0 1 1 0 8 0
ucredpl 104 1924 0 1913 1 0 1 1 0 8 0
zombiepl 144 1471 0 1470 1 0 1 1 0 8 0
processpl 1160 1535 0 1470 5 0 5 5 0 8 0
procpl 656 3036 0 2961 7 0 7 7 0 8 0
sosppl 168 5 0 5 1 1 0 1 0 8 0
sockpl 528 2541 0 2505 20 13 7 9 0 8 4
mcl64k 65536 42 0 42 4 3 1 1 0 8 1
mcl16k 16384 7 0 7 2 1 1 1 0 8 1
mcl12k 12288 2 0 2 2 2 0 1 0 8 0
mcl9k 9216 2 0 2 1 1 0 1 0 8 0
mcl8k 8192 20 0 20 4 3 1 1 0 8 1
mcl4k 4096 3916 0 3865 17 9 8 14 0 8 1
mcl2k2 2112 1 0 1 1 1 0 1 0 8 0
mcl2k 2048 1422 0 1418 9 7 2 5 0 8 1
mtagpl 96 119 0 51 2 0 2 2 0 8 0
mbufpl 256 16697 0 16519 18 1 17 17 0 8 2
bufpl 280 4514 0 127 314 0 314 314 0 8 0
anonpl 24 203891 0 200703 101 44 57 57 0 187 24
amapchunkpl 152 39728 0 39269 54 26 28 35 0 158 7
amappl16 200 3423 0 3392 52 40 12 16 0 8 7
amappl15 192 42 0 42 1 1 0 1 0 8 0
amappl14 184 120 0 110 1 0 1 1 0 8 0
amappl13 176 4 0 4 1 1 0 1 0 8 0
amappl12 168 2173 0 2145 3 1 2 3 0 8 0
amappl11 160 62 0 52 1 0 1 1 0 8 0
amappl10 152 31 0 31 1 1 0 1 0 8 0
amappl9 144 253 0 252 2 1 1 1 0 8 0
amappl8 136 19 0 17 1 0 1 1 0 8 0
amappl7 128 123 0 112 1 0 1 1 0 8 0
amappl6 120 209 0 205 1 0 1 1 0 8 0
amappl5 112 137 0 130 1 0 1 1 0 8 0
amappl4 104 304 0 288 1 0 1 1 0 8 0
amappl3 96 8132 0 8028 5 2 3 4 0 8 0
amappl2 88 683 0 627 2 0 2 2 0 8 0
amappl1 80 13027 0 12477 15 1 14 14 0 8 1
amappl 88 11074 0 10918 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 7 0 7 1 1 0 1 0 8 0
dma128 128 256 0 256 2 1 1 1 0 8 1
dma64 64 8 0 8 3 2 1 1 0 8 1
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 32 0 3 1 0 1 1 0 8 0
uaddrrnd 24 1497 0 1469 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 1497 0 1469 1 0 1 1 0 8 0
vmmpekpl 168 11852 0 11805 3 0 3 3 0 8 0
vmmpepl 168 96475 0 94642 131 31 100 100 0 357 6
vmsppl 360 1496 0 1469 4 1 3 4 0 8 0
rwobjpl 32 29240 0 23810 48 2 46 46 0 8 0
pdppl 4096 3000 0 2938 120 52 68 78 0 8 6
pvpl 32 625850 0 617092 264 123 141 144 0 265 49
pmappl 216 1496 0 1469 2 0 2 2 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 325 0 94 8 0 8 8 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
copyout() at copyout+0x57
syscall(ffff80002cd67d00) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80002cd67d00) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xdd6d55b7310, count: -3
ddb> machine ddbcpu 1
No such command
ddb> trace
copyout() at copyout+0x57
syscall(ffff80002cd67d00) at syscall+0x97e mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80002cd67d00) at syscall+0x97e sys/arch/amd64/amd64/trap.c:579
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xdd6d55b7310, count: -3