uvm_fault(0xfffffd80685d7578, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at pool_do_get+0x389: movq 0(%rax),%rax
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*288047 51658 0 0x8000000 0x4000000 0 syz-executor
pool_do_get(ffffffff835dcbf0,1,ffff80003782776c) at pool_do_get+0x389 pool_update_curpage sys/kern/subr_pool.c:1057 [inline]
pool_do_get(ffffffff835dcbf0,1,ffff80003782776c) at pool_do_get+0x389 sys/kern/subr_pool.c:765
pool_get(ffffffff835dcbf0,1) at pool_get+0xf0
_rw_obj_alloc_flags(fffffd806a9fc9d0,ffffffff8307f6c8,0,0) at _rw_obj_alloc_flags+0x43
amap_alloc(3000,2,0) at amap_alloc+0xcf
amap_copy(fffffd80685d7578,fffffd806c23b1c0,2,1,d2391186000,d2391186001) at amap_copy+0x812 sys/uvm/uvm_amap.c:585
uvm_fault_check(ffff800037827ab0,ffff800037827ae8,ffff800037827b10) at uvm_fault_check+0x8d4 uvmfault_amapcopy sys/uvm/uvm_fault.c:250 [inline]
uvm_fault_check(ffff800037827ab0,ffff800037827ae8,ffff800037827b10) at uvm_fault_check+0x8d4 sys/uvm/uvm_fault.c:710
uvm_fault(fffffd80685d7578,d2391186000,0,2) at uvm_fault+0xf2 sys/uvm/uvm_fault.c:600
upageflttrap(ffff800037827c30,d2391186000) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:188
usertrap(ffff800037827c30) at usertrap+0x2bc sys/arch/amd64/amd64/trap.c:436
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0xd234073f270, count: 5
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(0xfffffd80685d7578, 0x0, 0, 1) -> e
ddb> trace
pool_do_get(ffffffff835dcbf0,1,ffff80003782776c) at pool_do_get+0x389 pool_update_curpage sys/kern/subr_pool.c:1057 [inline]
pool_do_get(ffffffff835dcbf0,1,ffff80003782776c) at pool_do_get+0x389 sys/kern/subr_pool.c:765
pool_get(ffffffff835dcbf0,1) at pool_get+0xf0
_rw_obj_alloc_flags(fffffd806a9fc9d0,ffffffff8307f6c8,0,0) at _rw_obj_alloc_flags+0x43
amap_alloc(3000,2,0) at amap_alloc+0xcf
amap_copy(fffffd80685d7578,fffffd806c23b1c0,2,1,d2391186000,d2391186001) at amap_copy+0x812 sys/uvm/uvm_amap.c:585
uvm_fault_check(ffff800037827ab0,ffff800037827ae8,ffff800037827b10) at uvm_fault_check+0x8d4 uvmfault_amapcopy sys/uvm/uvm_fault.c:250 [inline]
uvm_fault_check(ffff800037827ab0,ffff800037827ae8,ffff800037827b10) at uvm_fault_check+0x8d4 sys/uvm/uvm_fault.c:710
uvm_fault(fffffd80685d7578,d2391186000,0,2) at uvm_fault+0xf2 sys/uvm/uvm_fault.c:600
upageflttrap(ffff800037827c30,d2391186000) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:188
usertrap(ffff800037827c30) at usertrap+0x2bc sys/arch/amd64/amd64/trap.c:436
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0xd234073f270, count: -10
ddb> show registers
rdi 0xa6
rsi 0xfffffd8078d1af98
rbp 0xffff800037827710
rbx 0xfffffd8070ab8f90
rdx 0xffffffff835dcc38 rwlock_obj_pool+0x48
rcx 0xffffffff835dcc30 rwlock_obj_pool+0x40
rax 0
r8 0x60
r9 0xd2391186001
r10 0x157600e709631cc6
r11 0xd4c773e11941b295
r12 0xa6
r13 0xa6
r14 0xffffffff835dcbf0 rwlock_obj_pool
r15 0x8
rip 0xffffffff81358919 pool_do_get+0x389
cs 0x8
rflags 0x10286 __ALIGN_SIZE+0xf286
rsp 0xffff800037827690
ss 0
pool_do_get+0x389: movq 0(%rax),%rax
ddb> show proc
PROC (syz-executor) tid=288047 pid=51658 tcnt=2 stat=onproc
flags process=8000000 proc=4000000<THREAD>
runpri=50, usrpri=50, slppri=17, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff800037666a48,0xffffffff835818d0
process=0xffff80002a4e2cd0 user=0xffff800037822000, vmspace=0xfffffd80685d7578
estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
51658 463674 63133 0 2 0x8000000 syz-executor
*51658 288047 63133 0 7 0xc000000 syz-executor
68369 468692 53118 0 3 0xc081000 inode syz-executor
68369 341747 53118 0 3 0xc081000 inode syz-executor
68369 194047 53118 0 3 0xc003000 suspend syz-executor
15631 135621 29719 0 2 0x8000000 syz-executor
15631 92345 29719 0 3 0xc000080 pipewr syz-executor
2950 63961 16547 0 2 0x8000000 syz-executor
2950 84935 16547 0 2 0xc000000 syz-executor
2950 83526 16547 0 3 0xc000080 fsleep syz-executor
44085 421913 23411 0 3 0x8000080 nanoslp syz-executor
44085 42726 23411 0 3 0xc000080 ttyin syz-executor
44085 508279 23411 0 3 0xc000080 fsleep syz-executor
49866 21117 17503 0 2 0x8000000 syz-executor
49866 458970 17503 0 3 0xc000080 fsleep syz-executor
49866 44488 17503 0 3 0xc000080 fsleep syz-executor
58583 111889 40126 0 2 0x8000000 syz-executor
58583 224720 40126 0 3 0xc000080 fsleep syz-executor
92498 472016 55797 0 2 0x8000000 syz-executor
92498 185434 55797 0 3 0xc000000 biowait syz-executor
17204 95289 1 0 3 0x18100083 ttyin getty
55797 454174 63040 0 3 0x8000082 nanoslp syz-executor
17503 170165 63040 0 3 0x8000082 nanoslp syz-executor
29719 320406 63040 0 3 0x8000082 nanoslp syz-executor
23411 278382 63040 0 3 0x8000082 nanoslp syz-executor
63133 86798 63040 0 3 0x8000082 nanoslp syz-executor
53118 161203 63040 0 3 0x8000082 nanoslp syz-executor
16547 93836 63040 0 3 0x8000082 nanoslp syz-executor
40126 319688 63040 0 3 0x8000082 nanoslp syz-executor
92001 109971 0 0 3 0x14200 bored sosplice
34057 375189 0 0 3 0x14280 nfsidl nfsio
83682 84325 0 0 3 0x14280 nfsidl nfsio
35391 86427 0 0 3 0x14280 nfsidl nfsio
48208 301407 0 0 3 0x14280 nfsidl nfsio
61592 140677 0 0 3 0x14280 nfsidl nfsio
96124 51373 0 0 3 0x14280 nfsidl nfsio
33769 437933 0 0 3 0x14280 nfsidl nfsio
14829 54741 0 0 3 0x14280 nfsidl nfsio
83766 208959 0 0 3 0x14280 nfsidl nfsio
65102 228816 0 0 3 0x14280 nfsidl nfsio
55946 389209 0 0 3 0x14280 nfsidl nfsio
5681 403622 0 0 3 0x14280 nfsidl nfsio
38042 431224 0 0 3 0x14280 nfsidl nfsio
4565 195577 0 0 3 0x14280 nfsidl nfsio
49923 265835 0 0 3 0x14280 nfsidl nfsio
95802 122337 0 0 3 0x14280 nfsidl nfsio
35635 328624 0 0 3 0x14280 nfsidl nfsio
95707 154033 0 0 3 0x14280 nfsidl nfsio
52584 255914 0 0 3 0x14280 nfsidl nfsio
56048 144379 0 0 3 0x14280 nfsidl nfsio
63040 139717 78161 0 3 0x8000082 kqread syz-executor
78161 59045 2783 0 3 0x810008a sigsusp ksh
2783 411275 51737 0 3 0x18000098 kqread sshd-session
51737 31354 81288 0 3 0x18000092 kqread sshd-session
81288 87610 1 0 3 0x18000088 kqread sshd
44936 134353 89368 73 3 0x19100090 kqread syslogd
89368 238824 1 0 3 0x18100082 sbwait syslogd
94382 450917 1 0 3 0x18100080 kqread resolvd
43476 389527 63975 77 3 0x18100092 kqread dhcpleased
92577 325398 63975 77 3 0x18100092 kqread dhcpleased
63975 47241 1 0 3 0x18000080 kqread dhcpleased
57658 261107 0 0 3 0x14200 bored smr
64248 164785 0 0 2 0x14200 zerothread
21135 499970 0 0 3 0x14200 aiodoned aiodoned
6776 222560 0 0 3 0x14200 syncer update
73868 268547 0 0 3 0x14200 cleaner cleaner
30505 68410 0 0 3 0x14200 reaper reaper
36306 262858 0 0 3 0x14200 pgdaemon pagedaemon
61918 155311 0 0 3 0x14200 bored viomb
56765 411153 0 0 3 0x40014200 acpi0 acpi0
53178 243898 0 0 3 0x14200 bored softnet3
69795 436030 0 0 3 0x14200 bored softnet2
18038 299604 0 0 3 0x14200 bored softnet1
45213 53190 0 0 3 0x14200 bored softnet0
17591 474877 0 0 3 0x14200 bored systqmp
38016 206111 0 0 3 0x14200 bored systq
25485 229037 0 0 3 0x40014200 tmoslp softclock
22184 76190 0 0 3 0x40014200 idle0
1 392123 0 0 3 0x8000082 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 10177 10089K 10613K 166960K 12846 0
pcb 17 18K 21K 166960K 391 0
rtable 173 7K 8K 166960K 1421 0
pf 29 8K 12K 166960K 127 0
ifaddr 36 10K 11K 166960K 188 0
ifgroup 50 2K 2K 166960K 206 0
counters 30 17K 17K 166960K 71 0
ioctlops 0 0K 4K 166960K 118 0
iov 0 0K 16K 166960K 83 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1469 92K 93K 166960K 2491 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 9K 166960K 19 0
VM map 2 1K 1K 166960K 2 0
sem 24 3K 3K 166960K 34 0
dirhash 12 2K 2K 166960K 39 0
ACPI 1697 195K 286K 166960K 12548 0
file desc 18 65K 97K 166960K 1189 0
sigio 3 0K 0K 166960K 65 0
proc 58 59K 124K 166960K 1430 0
subproc 104 6K 6K 166960K 523 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 111 0
in_multi 76 5K 7K 166960K 475 0
ether_multi 1 0K 0K 166960K 3 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 79 360K 360K 166960K 79 0
exec 0 0K 1K 166960K 882 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 242 79K 94K 166960K 10626 0
UVM aobj 57 4K 4K 166960K 62 0
pinsyscall 39 78K 102K 166960K 3038 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 35 0
NDP 11 0K 2K 166960K 133 0
temp 76 6808K 6936K 166960K 22561 0
kqueue 13 20K 28K 166960K 127 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 0 3 3 0 8 2
rtentry 112 491 0 416 4 0 4 4 0 8 1
unpcb 144 1117 0 966 6 0 6 6 0 8 0
syncache 336 4 0 4 1 0 1 1 0 8 1
tcpcb 808 456 0 452 8 0 8 8 0 8 7
arp 88 89 0 75 1 0 1 1 0 8 0
ipq 40 3 0 2 1 0 1 1 0 8 0
ipqe 40 4 0 3 1 0 1 1 0 8 0
inpcb 352 1660 0 1651 13 4 9 12 0 8 7
nd6 104 128 0 108 1 0 1 1 0 8 0
pkpcb 40 7 0 7 1 0 1 1 0 8 1
kcovpl 48 40 0 32 1 0 1 1 0 8 0
ppxss 1072 5 0 5 1 0 1 1 0 8 1
pfosfp 40 1 0 0 1 0 1 1 0 8 0
pfosfpen 112 1 0 0 1 0 1 1 0 8 0
pfanchor 1288 1 0 0 1 0 1 1 0 8 0
pftag 88 3 0 2 1 0 1 1 0 8 0
pfrule 1344 7 0 5 1 0 1 1 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 1966 0 1617 30 0 30 30 0 8 4
art_table 32 1967 0 1617 4 0 4 4 0 8 0
art_node 16 489 0 425 1 0 1 1 0 8 0
sysvmsgpl 40 10 0 2 1 0 1 1 0 8 0
semupl 112 5 0 5 1 0 1 1 0 8 1
semapl 112 26 0 4 1 0 1 1 0 8 0
shmpl 112 59 0 5 2 0 2 2 0 8 0
dirhash 1024 35 0 18 3 0 3 3 0 8 0
dino2pl 256 2814 0 1250 99 0 99 99 0 8 0
ffsino 240 2814 0 1250 93 0 93 93 0 8 0
nchpl 144 3979 0 3411 65 33 32 65 0 8 8
uvmvnodes 80 3787 0 0 78 0 78 78 0 8 0
vnodes 216 3787 0 0 211 0 211 211 0 8 0
namei 1024 17707 0 17705 2 0 2 2 0 8 1
vcpupl 3904 8 0 1 1 0 1 1 0 8 0
vmpool 664 12 0 5 1 0 1 1 0 8 0
kstatmem 264 104 0 82 2 0 2 2 0 8 0
scxspl 216 22082 0 22081 8 0 8 8 1 8 7
plimitpl 152 200 0 182 1 0 1 1 0 8 0
sigapl 424 1426 0 1359 8 0 8 8 0 8 0
futexpl 64 13775 0 13770 1 0 1 1 0 8 0
knotepl 120 24671 0 24624 10 0 10 10 0 8 8
kqueuepl 184 427 0 418 6 0 6 6 0 8 5
pipepl 288 425 0 363 5 0 5 5 0 8 0
fdescpl 432 1387 0 1357 5 0 5 5 0 8 1
filepl 120 10207 0 9743 15 0 15 15 0 8 0
lockfpl 104 393 0 389 2 0 2 2 0 8 1
lockfspl 48 124 0 120 1 0 1 1 0 8 0
sessionpl 144 54 0 46 1 0 1 1 0 8 0
pgrppl 48 112 0 96 1 0 1 1 0 8 0
ucredpl 104 1129 0 1117 1 0 1 1 0 8 0
zombiepl 144 1360 0 1359 1 0 1 1 0 8 0
processpl 1088 1426 0 1359 5 0 5 5 0 8 0
procpl 648 2397 0 2317 8 0 8 8 0 8 1
sosppl 168 3 0 3 1 0 1 1 0 8 1
sockpl 504 3034 0 2871 51 30 21 21 0 8 0
mcl64k 65536 10 0 10 1 0 1 1 0 8 1
mcl16k 16384 3 0 3 1 0 1 1 0 8 1
mcl8k 8192 27 0 27 1 0 1 1 0 8 1
mcl4k 4096 13 0 13 1 0 1 1 0 8 1
mcl2k 2048 7423 0 7324 26 5 21 26 0 8 7
mtagpl 96 120 0 44 2 0 2 2 0 8 0
mbufpl 256 18350 0 18077 73 44 29 70 0 8 8
bufpl 280 7660 0 1134 467 0 467 467 0 8 0
anonpl 24 242119 0 238646 79 0 79 79 0 187 52
amapchunkpl 152 34315 0 33606 42 0 42 42 0 158 14
amappl16 200 4868 0 4826 19 8 11 14 0 8 8
amappl15 192 9 0 8 1 0 1 1 0 8 0
amappl14 184 173 0 163 1 0 1 1 0 8 0
amappl13 176 8 0 8 1 0 1 1 0 8 1
amappl12 168 2505 0 2474 3 0 3 3 0 8 1
amappl11 160 51 0 41 1 0 1 1 0 8 0
amappl10 152 6 0 6 1 0 1 1 0 8 1
amappl9 144 150 0 150 1 0 1 1 0 8 1
amappl8 136 24 0 23 1 0 1 1 0 8 0
amappl7 128 160 0 149 1 0 1 1 0 8 0
amappl6 120 484 0 483 1 0 1 1 0 8 0
amappl5 112 254 0 246 1 0 1 1 0 8 0
amappl4 104 389 0 373 1 0 1 1 0 8 0
amappl3 96 6645 0 6522 4 0 4 4 0 8 0
amappl2 88 1039 0 981 2 0 2 2 0 8 0
amappl1 80 12596 0 12059 14 0 14 14 0 8 2
amappl 88 10005 0 9823 5 0 5 5 0 92 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 61 0 5 2 0 2 2 0 8 0
uaddrrnd 24 1399 0 1362 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 1399 0 1362 1 0 1 1 0 8 0
vmmpekpl 168 13372 0 13320 3 0 3 3 0 8 0
vmmpepl 168 91626 0 89779 90 0 90 90 0 357 9
vmsppl 344 1398 0 1362 4 0 4 4 0 8 0
rwobjpl 24 31819 0 27080 29 0 29 29 0 8 0
rwobjpl: pool(0xffffffff835dcbf0:rwobjpl): page inconsistency: page 0x0; at page head addr 0xfffffd807e032f90 (p 0xfffffd807e032000)
pdppl 4096 2804 0 2731 155 81 74 82 0 8 1
pvpl 32 702623 0 692545 353 15 338 353 0 265 249
pmappl 216 1398 0 1362 3 0 3 3 0 8 0
extentpl 40 56 0 38 1 0 1 1 0 8 0
phpool 112 559 0 160 13 0 13 13 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
pool_do_get(ffffffff835dcbf0,1,ffff80003782776c) at pool_do_get+0x389 pool_update_curpage sys/kern/subr_pool.c:1057 [inline]
pool_do_get(ffffffff835dcbf0,1,ffff80003782776c) at pool_do_get+0x389 sys/kern/subr_pool.c:765
pool_get(ffffffff835dcbf0,1) at pool_get+0xf0
_rw_obj_alloc_flags(fffffd806a9fc9d0,ffffffff8307f6c8,0,0) at _rw_obj_alloc_flags+0x43
amap_alloc(3000,2,0) at amap_alloc+0xcf
amap_copy(fffffd80685d7578,fffffd806c23b1c0,2,1,d2391186000,d2391186001) at amap_copy+0x812 sys/uvm/uvm_amap.c:585
uvm_fault_check(ffff800037827ab0,ffff800037827ae8,ffff800037827b10) at uvm_fault_check+0x8d4 uvmfault_amapcopy sys/uvm/uvm_fault.c:250 [inline]
uvm_fault_check(ffff800037827ab0,ffff800037827ae8,ffff800037827b10) at uvm_fault_check+0x8d4 sys/uvm/uvm_fault.c:710
uvm_fault(fffffd80685d7578,d2391186000,0,2) at uvm_fault+0xf2 sys/uvm/uvm_fault.c:600
upageflttrap(ffff800037827c30,d2391186000) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:188
usertrap(ffff800037827c30) at usertrap+0x2bc sys/arch/amd64/amd64/trap.c:436
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0xd234073f270, count: -10
ddb> machine ddbcpu 1
No such command
ddb> trace
pool_do_get(ffffffff835dcbf0,1,ffff80003782776c) at pool_do_get+0x389 pool_update_curpage sys/kern/subr_pool.c:1057 [inline]
pool_do_get(ffffffff835dcbf0,1,ffff80003782776c) at pool_do_get+0x389 sys/kern/subr_pool.c:765
pool_get(ffffffff835dcbf0,1) at pool_get+0xf0
_rw_obj_alloc_flags(fffffd806a9fc9d0,ffffffff8307f6c8,0,0) at _rw_obj_alloc_flags+0x43
amap_alloc(3000,2,0) at amap_alloc+0xcf
amap_copy(fffffd80685d7578,fffffd806c23b1c0,2,1,d2391186000,d2391186001) at amap_copy+0x812 sys/uvm/uvm_amap.c:585
uvm_fault_check(ffff800037827ab0,ffff800037827ae8,ffff800037827b10) at uvm_fault_check+0x8d4 uvmfault_amapcopy sys/uvm/uvm_fault.c:250 [inline]
uvm_fault_check(ffff800037827ab0,ffff800037827ae8,ffff800037827b10) at uvm_fault_check+0x8d4 sys/uvm/uvm_fault.c:710
uvm_fault(fffffd80685d7578,d2391186000,0,2) at uvm_fault+0xf2 sys/uvm/uvm_fault.c:600
upageflttrap(ffff800037827c30,d2391186000) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:188
usertrap(ffff800037827c30) at usertrap+0x2bc sys/arch/amd64/amd64/trap.c:436
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0xd234073f270, count: -10