uvm_fault(0xfffffd8078753a28, 0x2aa0, 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
*368184 38908 0 0 0x4000000 0 syz-executor
copyout() at copyout+0x57
syscall(ffff80003ca73270) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003ca73270) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xe3a9e34ba00, 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(0xfffffd8078753a28, 0x2aa0, 0, 2) -> e
ddb> trace
copyout() at copyout+0x57
syscall(ffff80003ca73270) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003ca73270) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xe3a9e34ba00, count: -3
ddb> show registers
rdi 0x2aa0 __ALIGN_SIZE+0x1aa0
rsi 0xffff80003ca72fa0
rbp 0xffff80003ca731a0
rbx 0xa8a5 __ALIGN_SIZE+0x98a5
rdx 0xffff80003ca6e000
rcx 0x4
rax 0x20
r8 0x7f7fffffc000
r9 0
r10 0xee7c316231933618
r11 0xffffffff82b8d7a0 copy_fault
r12 0x2
r13 0x16
r14 0xffff80003ca72fa0
r15 0xffff80003ca73270
rip 0xffffffff82b8d6c7 copyout+0x57
cs 0x8
rflags 0x50202 acpi_pdirpa+0x3c073
rsp 0xffff80003ca72ef0
ss 0x10
copyout+0x57: repe movsq (%rsi),%es:(%rdi)
ddb> show proc
PROC (syz-executor) tid=368184 pid=38908 tcnt=4 stat=onproc
flags process=0 proc=4000000<THREAD>
runpri=86, usrpri=86, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff80002a91f260,0xffff80003c97dcc0
process=0xffff80003ca43628 user=0xffff80003ca6e000, vmspace=0xfffffd8078753a28
estcpu=36, cpticks=22, pctcpu=0.5, user=0, sys=22, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
51652 62580 54572 0 2 0 syz-executor
51652 58982 54572 0 3 0x4000080 pipewr syz-executor
51652 306395 54572 0 2 0x4000000 syz-executor
61025 119444 3119 0 2 0 syz-executor
61025 186588 3119 0 3 0x4000080 fsleep syz-executor
29111 284570 77039 0 3 0x80 nanoslp syz-executor
29111 17936 77039 0 3 0x4000080 kqsel syz-executor
29111 330915 77039 0 3 0x4000080 fsleep syz-executor
29111 500884 77039 0 3 0x4000080 fsleep syz-executor
38908 215683 12829 0 3 0x80 nanoslp syz-executor
38908 154527 12829 0 3 0x4000080 fsleep syz-executor
38908 127245 12829 0 3 0x4000080 fsleep syz-executor
*38908 368184 12829 0 7 0x4000000 syz-executor
25741 2626 4450 0 3 0x80 nanoslp syz-executor
25741 416940 4450 0 3 0x4000080 fifow syz-executor
25741 86922 4450 0 3 0x4000080 fsleep syz-executor
37909 473826 21761 0 3 0x90 nanoslp syz-executor
37909 143888 21761 0 3 0x4000090 fifor syz-executor
37909 63528 21761 0 3 0x4000090 fifor syz-executor
37909 430254 21761 0 3 0x4000090 fsleep syz-executor
24713 187892 13732 0 2 0xc80 syz-executor
24713 206513 13732 0 3 0x4000080 ttyin syz-executor
95894 54499 1 0 3 0x100083 ttyin getty
79101 68998 0 0 3 0x14280 nfsidl nfsio
65528 474986 0 0 3 0x14280 nfsidl nfsio
33620 416677 0 0 3 0x14280 nfsidl nfsio
69095 117153 0 0 3 0x14280 nfsidl nfsio
76362 222477 0 0 3 0x14280 nfsidl nfsio
34619 60879 0 0 3 0x14280 nfsidl nfsio
99001 67699 0 0 3 0x14280 nfsidl nfsio
55885 424384 0 0 3 0x14280 nfsidl nfsio
25084 24534 0 0 3 0x14280 nfsidl nfsio
99826 302976 0 0 3 0x14280 nfsidl nfsio
73223 414862 0 0 3 0x14280 nfsidl nfsio
2020 93542 0 0 3 0x14280 nfsidl nfsio
21372 428037 0 0 3 0x14280 nfsidl nfsio
31829 404237 0 0 3 0x14280 nfsidl nfsio
1220 418157 0 0 3 0x14280 nfsidl nfsio
68070 50752 0 0 3 0x14280 nfsidl nfsio
35905 248038 0 0 3 0x14280 nfsidl nfsio
68276 156629 0 0 3 0x14280 nfsidl nfsio
62666 63110 0 0 3 0x14280 nfsidl nfsio
33873 111435 0 0 3 0x14280 nfsidl nfsio
4450 521424 34032 0 3 0x82 nanoslp syz-executor
56867 330037 93161 0 3 0x82 sbwait sshd-session
13732 42914 34032 0 2 0xc82 syz-executor
15610 36401 0 0 3 0x14200 bored sosplice
8271 36943 34032 0 2 0x2 syz-executor
12829 208100 34032 0 3 0x82 nanoslp syz-executor
77039 260593 34032 0 3 0x82 nanoslp syz-executor
3119 141584 34032 0 2 0xc82 syz-executor
54572 254014 34032 0 3 0x82 nanoslp syz-executor
21761 246258 34032 0 2 0xc82 syz-executor
34032 115141 66452 0 3 0x82 kqread syz-executor
66452 267859 66630 0 3 0x10008a sigsusp ksh
66630 167677 64851 0 3 0x98 kqread sshd-session
64851 17074 93161 0 3 0x92 kqread sshd-session
93161 44496 1 0 3 0x88 kqread sshd
86098 160514 38258 73 3 0x1100090 kqread syslogd
38258 26868 1 0 3 0x100082 sbwait syslogd
13220 317894 1 0 3 0x100080 kqread resolvd
3893 1511 72641 77 3 0x100092 kqread dhcpleased
33536 214739 72641 77 3 0x100092 kqread dhcpleased
72641 232196 1 0 3 0x80 kqread dhcpleased
45166 271446 0 0 3 0x14200 bored smr
32937 302362 0 0 2 0x14200 zerothread
72940 340794 0 0 3 0x14200 aiodoned aiodoned
14364 459403 0 0 3 0x14200 syncer update
23317 306354 0 0 3 0x14200 cleaner cleaner
31058 31506 0 0 3 0x14200 reaper reaper
65805 27020 0 0 3 0x14200 pgdaemon pagedaemon
52039 480202 0 0 3 0x14200 bored viomb
75983 329960 0 0 3 0x40014200 acpi0 acpi0
34551 513977 0 0 3 0x14200 bored softnet7
31894 438920 0 0 3 0x14200 bored softnet6
58719 466479 0 0 3 0x14200 bored softnet5
25268 365017 0 0 3 0x14200 bored softnet4
33950 25135 0 0 3 0x14200 bored softnet3
85068 378304 0 0 3 0x14200 bored softnet2
33692 455862 0 0 3 0x14200 bored softnet1
54149 358098 0 0 3 0x14200 bored softnet0
73688 72837 0 0 3 0x14200 bored systqmp
17828 201819 0 0 3 0x14200 bored systq
86817 405569 0 0 2 0x40014200 softclock
28039 3857 0 0 3 0x40014200 idle0
1 396962 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 10228 11167K 11336K 166960K 12517 0
pcb 17 17K 18K 166960K 525 0
rtable 214 11K 11K 166960K 651 0
pf 38 14K 17K 166960K 144 0
ifaddr 41 7K 8K 166960K 105 0
ifgroup 58 2K 2K 166960K 188 0
sysctl 4 1K 9K 166960K 20 0
counters 35 18K 18K 166960K 160 0
ioctlops 0 0K 4K 166960K 485 0
iov 0 0K 20K 166960K 184 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1474 93K 93K 166960K 2780 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 13K 166960K 30 0
VM map 2 1K 1K 166960K 2 0
sem 24 11K 11K 166960K 110 0
dirhash 12 2K 2K 166960K 27 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 17 61K 98K 166960K 1270 0
sigio 0 0K 0K 166960K 19 0
proc 60 59K 91K 166960K 687 0
subproc 72 4K 4K 166960K 90 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 2 0K 0K 166960K 190 0
in_multi 84 6K 7K 166960K 183 0
ether_multi 1 0K 0K 166960K 19 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 241 1076K 1076K 166960K 241 0
exec 0 0K 1K 166960K 738 0
fusefs mount 1 32K 32K 166960K 1 0
pfkey data 0 0K 0K 166960K 4 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 251 162K 183K 166960K 12755 0
UVM aobj 131 6K 6K 166960K 137 0
pinsyscall 40 80K 92K 166960K 2364 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 84 0
NDP 14 0K 2K 166960K 75 0
temp 78 8647K 8718K 166960K 124184 0
kqueue 19 30K 32K 166960K 254 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 117 0 114 1 0 1 1 0 8 0
rtentry 136 206 0 126 4 0 4 4 0 8 0
unpcb 144 1141 0 1116 6 0 6 6 0 8 5
syncache 336 8 0 8 1 0 1 1 0 8 1
tcpqe 32 4 0 4 1 0 1 1 0 8 1
tcpcb 736 606 0 596 13 3 10 13 0 8 8
arp 88 16 0 4 1 0 1 1 0 8 0
ipq 40 5 0 0 1 0 1 1 0 8 0
ipqe 40 6 0 0 1 0 1 1 0 8 0
inpcb 328 1687 0 1670 12 2 10 12 0 8 8
ip6q 72 7 0 3 1 0 1 1 0 8 0
ip6af 40 6 0 6 1 0 1 1 0 8 1
nd6 104 27 0 11 1 0 1 1 0 8 0
pkpcb 40 74 0 74 1 0 1 1 0 8 1
kcovpl 48 10 0 2 1 0 1 1 0 8 0
mppekey 1024 1 0 1 1 0 1 1 0 8 1
ppxss 1072 111 0 109 1 0 1 1 0 8 0
pppxif 1384 5 0 5 1 0 1 1 0 8 1
pfstscr 40 2 0 2 1 0 1 1 0 8 1
pftag 88 6 0 6 1 0 1 1 0 8 1
pfstkey 128 3 0 3 1 0 1 1 0 8 1
pfstate 384 2 0 2 1 0 1 1 0 8 1
pfrule 1344 4 0 4 1 0 1 1 0 8 1
rttmr 136 1 0 1 1 0 1 1 0 8 1
art_heap8 4096 5 0 0 5 0 5 5 0 8 0
art_heap4 256 688 0 302 30 0 30 30 0 8 4
art_table 40 693 0 302 5 0 5 5 0 8 0
art_node 32 205 0 133 2 0 2 2 0 8 1
sysvmsgpl 40 22 0 12 1 0 1 1 0 8 0
semupl 112 2 0 2 1 0 1 1 0 8 1
semapl 112 105 0 83 1 0 1 1 0 8 0
shmpl 112 134 0 6 4 0 4 4 0 8 0
dirhash 1024 27 0 10 3 0 3 3 0 8 0
dino2pl 256 4043 0 2535 95 0 95 95 0 8 0
ffsino 256 4043 0 2535 95 0 95 95 0 8 0
nchpl 144 5898 0 4204 63 0 63 63 0 8 0
rtmask 32 10 0 10 1 0 1 1 0 8 1
uvmvnodes 80 4817 0 0 99 0 99 99 0 8 0
vnodes 216 4817 0 0 268 0 268 268 0 8 0
namei 1024 21815 0 21814 2 0 2 2 0 8 1
kstatmem 264 110 0 82 3 0 3 3 0 8 1
scsiplug 72 9 0 9 1 0 1 1 0 8 1
scxspl 216 27492 0 27492 8 0 8 8 1 8 8
plimitpl 152 257 0 239 1 0 1 1 0 8 0
sigapl 424 1568 0 1497 9 0 9 9 0 8 0
knotepl 120 281515 0 281441 28 15 13 23 0 8 8
kqueuepl 184 458 0 441 4 0 4 4 0 8 3
pipepl 304 379 0 351 8 0 8 8 0 8 5
fdescpl 448 1525 0 1495 5 0 5 5 0 8 1
filepl 120 11836 0 11562 19 3 16 19 0 8 7
lockfpl 104 779 0 777 2 0 2 2 0 8 1
lockfspl 48 250 0 248 1 0 1 1 0 8 0
sessionpl 144 31 0 22 1 0 1 1 0 8 0
pgrppl 48 53 0 36 1 0 1 1 0 8 0
ucredpl 104 2455 0 2442 1 0 1 1 0 8 0
zombiepl 144 1497 0 1497 1 0 1 1 0 8 1
processpl 1152 1568 0 1497 6 0 6 6 0 8 0
procpl 664 3249 0 3163 8 0 8 8 0 8 0
sosppl 168 7 0 7 1 0 1 1 0 8 1
sockpl 552 3057 0 3012 15 2 13 13 0 8 9
mcl64k 65536 103 0 102 3 0 3 3 0 8 2
mcl16k 16384 3 0 3 1 0 1 1 0 8 1
mcl8k 8192 16 0 15 1 0 1 1 0 8 0
mcl4k 4096 3954 0 3897 14 0 14 14 0 8 6
mcl2k2 2112 1 0 1 1 0 1 1 0 8 1
mcl2k 2048 1882 0 1877 2 0 2 2 0 8 1
mtagpl 96 7 0 5 1 0 1 1 0 8 0
mbufpl 256 18450 0 18254 30 6 24 30 0 8 8
bufpl 280 13152 0 6924 446 0 446 446 0 8 1
anonpl 24 265942 0 258241 79 0 79 79 0 187 1
amapchunkpl 152 45112 0 44535 34 0 34 34 0 158 8
amappl16 200 5384 0 5153 23 0 23 23 0 8 0
amappl15 192 6 0 6 1 0 1 1 0 8 1
amappl14 184 149 0 138 1 0 1 1 0 8 0
amappl13 176 12 0 12 1 0 1 1 0 8 1
amappl12 168 2168 0 2138 3 0 3 3 0 8 1
amappl11 160 43 0 33 1 0 1 1 0 8 0
amappl10 152 3 0 3 1 0 1 1 0 8 1
amappl9 144 256 0 255 1 0 1 1 0 8 0
amappl8 136 35 0 33 1 0 1 1 0 8 0
amappl7 128 142 0 130 1 0 1 1 0 8 0
amappl6 120 198 0 193 1 0 1 1 0 8 0
amappl5 112 123 0 116 1 0 1 1 0 8 0
amappl4 104 297 0 281 1 0 1 1 0 8 0
amappl3 96 8596 0 8485 4 0 4 4 0 8 0
amappl2 88 726 0 665 2 0 2 2 0 8 0
amappl1 80 13631 0 13000 15 0 15 15 0 8 0
amappl 88 11820 0 11642 5 0 5 5 0 92 0
dma4096 4096 1 0 1 1 0 1 1 0 8 1
dma1024 1024 2 0 1 1 0 1 1 0 8 0
dma256 256 6 0 6 1 0 1 1 0 8 1
dma128 128 255 0 255 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 136 0 6 3 0 3 3 0 8 0
uaddrrnd 24 1525 0 1495 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 1525 0 1495 1 0 1 1 0 8 0
vmmpekpl 168 13246 0 13201 3 0 3 3 0 8 0
vmmpepl 168 102054 0 99837 108 0 108 108 0 357 4
vmsppl 368 1524 0 1495 4 0 4 4 0 8 1
rwobjpl 40 32798 0 26688 62 0 62 62 0 8 0
pdppl 4096 3056 0 2990 102 34 68 78 0 8 2
pvpl 32 700552 0 687086 158 0 158 158 0 265 8
pmappl 216 1524 0 1495 2 0 2 2 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 410 0 43 11 0 11 11 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
copyout() at copyout+0x57
syscall(ffff80003ca73270) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003ca73270) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xe3a9e34ba00, count: -3
ddb> machine ddbcpu 1
No such command
ddb> trace
copyout() at copyout+0x57
syscall(ffff80003ca73270) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003ca73270) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xe3a9e34ba00, count: -3