login: uvm_fault(0xfffffd806bebe5b8, 0x20, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at mtx_enter_try+0x65: movl 0x8(%r14),%r15d
TID PID UID PRFLAGS PFLAGS CPU COMMAND
365700 72478 0 0x14000 0x200 1 reaper
mtx_enter_try(18) at mtx_enter_try+0x65 sys/kern/kern_lock.c:265
mtx_enter(18) at mtx_enter+0x60 sys/kern/kern_lock.c:239
clockintr_unbind(ffff800001422530,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375
dt_ioctl_record_stop(ffff800001489000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575
dtclose(11e5f,81,2000,ffff80002a296a60) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
dtclose(11e5f,81,2000,ffff80002a296a60) at dtclose+0x105 sys/dev/dt/dt_dev.c:232
spec_close(ffff80003b02b5d0) at spec_close+0x45f sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd80697a0488,81,fffffd807f7d32d8,ffff80002a296a60) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156
vn_closefile(fffffd806aca0920,ffff80002a296a60) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
vn_closefile(fffffd806aca0920,ffff80002a296a60) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615
fdrop(fffffd806aca0920,ffff80002a296a60) at fdrop+0x126 sys/kern/kern_descrip.c:1267
closef(fffffd806aca0920,ffff80002a296a60) at closef+0x192 sys/kern/kern_descrip.c:1251
fdfree(ffff80002a296a60) at fdfree+0x116 sys/kern/kern_descrip.c:1182
exit1(ffff80002a296a60,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214
sys_exit(ffff80002a296a60,ffff80003b02b940,ffff80003b02b890) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80003b02b940) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003b02b940) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:579
end trace frame: 0xffff80003b02b9c0, count: 0
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{0}>
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: uvm_fault(0xfffffd806bebe5b8, 0x20, 0, 1) -> e
ddb{0}> trace
mtx_enter_try(18) at mtx_enter_try+0x65 sys/kern/kern_lock.c:265
mtx_enter(18) at mtx_enter+0x60 sys/kern/kern_lock.c:239
clockintr_unbind(ffff800001422530,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375
dt_ioctl_record_stop(ffff800001489000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575
dtclose(11e5f,81,2000,ffff80002a296a60) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
dtclose(11e5f,81,2000,ffff80002a296a60) at dtclose+0x105 sys/dev/dt/dt_dev.c:232
spec_close(ffff80003b02b5d0) at spec_close+0x45f sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd80697a0488,81,fffffd807f7d32d8,ffff80002a296a60) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156
vn_closefile(fffffd806aca0920,ffff80002a296a60) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
vn_closefile(fffffd806aca0920,ffff80002a296a60) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615
fdrop(fffffd806aca0920,ffff80002a296a60) at fdrop+0x126 sys/kern/kern_descrip.c:1267
closef(fffffd806aca0920,ffff80002a296a60) at closef+0x192 sys/kern/kern_descrip.c:1251
fdfree(ffff80002a296a60) at fdfree+0x116 sys/kern/kern_descrip.c:1182
exit1(ffff80002a296a60,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214
sys_exit(ffff80002a296a60,ffff80003b02b940,ffff80003b02b890) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80003b02b940) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003b02b940) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:579
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7ce075906180, count: -15
ddb{0}> show registers
rdi 0
rsi 0
rbp 0xffff80003b02b440
rbx 0xffffffff8316be70 dtclose
rdx 0
rcx 0xffff80002a296a60
rax 0xffffffff83851ff0 cpu_info_full_primary+0x1ff0
r8 0x8
r9 0x14
r10 0x3c037098db9609f2
r11 0x80022794a7b791ff
r12 0
r13 0xffffffff83851ff0 cpu_info_full_primary+0x1ff0
r14 0x18
r15 0
rip 0xffffffff819c4cb5 mtx_enter_try+0x65
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff80003b02b400
ss 0x10
mtx_enter_try+0x65: movl 0x8(%r14),%r15d
ddb{0}> show proc
PROC (syz-executor) tid=381381 pid=85952 tcnt=0 stat=onproc
flags process=1008<EXITING,SINGLEEXIT> proc=2000<WEXIT>
runpri=32, usrpri=50, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0xffff80002a296a60 scnt=-1 ecnt=1
forw=0xffffffffffffffff, list=0xffff80002a2979c0,0xffff80002a296f90
process=0xffff80003ac1d7b8 user=0xffff80003b026000, vmspace=0xfffffd806bebe5b8
estcpu=36, cpticks=3, pctcpu=0.0, user=0, sys=1, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
98833 433503 28404 0 2 0 syz-executor
98833 351302 28404 0 3 0x4000080 fsleep syz-executor
77995 512460 56881 0 2 0 syz-executor
77995 319892 56881 0 2 0x4000000 syz-executor
77995 157388 56881 0 2 0x4000000 syz-executor
43926 89349 59012 -1 2 0x10 syz-executor
43926 10873 59012 -1 3 0x4000090 fsleep syz-executor
60765 465736 53395 0 3 0x80 nanoslp syz-executor
60765 500548 53395 0 3 0x4000080 sbwait syz-executor
8307 444303 1 0 3 0x100083 ttyin getty
45969 110386 0 0 3 0x14200 acct acct
40908 498941 0 0 3 0x14200 bored sosplice
28404 210764 99340 0 3 0x82 nanoslp syz-executor
94598 400512 99340 0 3 0x82 nanoslp syz-executor
59012 269782 99340 0 3 0x82 nanoslp syz-executor
53395 131145 99340 0 3 0x82 nanoslp syz-executor
56881 122303 99340 0 2 0x2 syz-executor
7866 385318 99340 0 3 0x82 nanoslp syz-executor
87733 92596 99340 0 2 0x2 syz-executor
73051 270642 99340 0 3 0x82 nanoslp syz-executor
99340 484355 36748 0 2 0x2 syz-executor
36748 172249 44862 0 3 0x10008a sigsusp ksh
44862 444749 26230 0 3 0x98 kqread sshd-session
26230 511901 8256 0 3 0x92 kqread sshd-session
8256 261557 1 0 3 0x88 kqread sshd
30784 89621 44755 74 3 0x1100092 bpf pflogd
44755 66222 1 0 3 0x80 sbwait pflogd
71798 468094 83575 73 3 0x1100090 kqread syslogd
83575 157395 1 0 3 0x100082 sbwait syslogd
22507 503609 1 0 3 0x100080 kqread resolvd
2207 208666 62654 77 3 0x100092 kqread dhcpleased
84233 180700 62654 77 3 0x100092 kqread dhcpleased
62654 102891 1 0 3 0x80 kqread dhcpleased
14631 385089 0 0 3 0x14200 bored smr
53820 199757 0 0 2 0x14200 zerothread
31506 446035 0 0 3 0x14200 aiodoned aiodoned
21048 52772 0 0 3 0x14200 syncer update
67360 41415 0 0 3 0x14200 cleaner cleaner
72478 365700 0 0 7 0x14200 reaper
73758 510393 0 0 3 0x14200 pgdaemon pagedaemon
278 75009 0 0 3 0x14200 bored viomb
40604 123285 0 0 3 0x40014200 acpi0 acpi0
5755 335672 0 0 3 0x40014200 idle1
39612 376345 0 0 3 0x14200 bored softnet3
58411 9091 0 0 3 0x14200 bored softnet2
4997 404120 0 0 3 0x14200 bored softnet1
33385 360117 0 0 3 0x14200 bored softnet0
56790 428730 0 0 3 0x14200 bored systqmp
39879 469500 0 0 3 0x14200 bored systq
20096 190899 0 0 3 0x14200 tmoslp softclockmp
73950 334098 0 0 3 0x40014200 tmoslp softclock
76181 186912 0 0 3 0x40014200 idle0
1 503628 0 0 3 0x82 wait init
0 0 -1 0 3 0x10010200 scheduler swapper
ddb{0}> show all locks
CPU 1:
exclusive mutex &sched_lock r = 0 (0xffffffff839a9e98)
#0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5bb sys/kern/subr_witness.c:1160
#1 mtx_enter_try+0x178 sys/kern/kern_lock.c:-1
#2 mtx_enter+0x60 sys/kern/kern_lock.c:239
#3 wakeup_n+0x54 sys/kern/kern_synch.c:618
#4 uvm_pmr_freepageq+0x3b6 sys/uvm/uvm_pmemrange.c:1389
#5 km_free+0x36f sys/uvm/uvm_km.c:827
#6 uvm_uarea_free+0x4f sys/uvm/uvm_glue.c:291
#7 reaper+0x1cb sys/kern/kern_exit.c:470
#8 proc_trampoline+0x10
exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff838fc908)
#0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5bb sys/kern/subr_witness.c:1160
#1 mtx_enter_try+0x178 sys/kern/kern_lock.c:-1
#2 mtx_enter+0x60 sys/kern/kern_lock.c:239
#3 uvm_pmr_freepageq+0x15c sys/uvm/uvm_pmemrange.c:1371
#4 km_free+0x36f sys/uvm/uvm_km.c:827
#5 uvm_uarea_free+0x4f sys/uvm/uvm_glue.c:291
#6 reaper+0x1cb sys/kern/kern_exit.c:470
#7 proc_trampoline+0x10
Process 60765 (syz-executor) thread 0xffff80003c432548 (500548)
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10225 11062K 11557K 166960K 12309 0
pcb 17 13K 13K 166960K 98 0
rtable 186 8K 9K 166960K 421 0
pf 34 17K 19K 166960K 89 0
ifaddr 35 5K 7K 166960K 66 0
ifgroup 49 2K 2K 166960K 102 0
sysctl 3 1K 9K 166960K 8 0
counters 66 36K 37K 166960K 124 0
ioctlops 0 0K 4K 166960K 1546 0
iov 0 0K 28K 166960K 31 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1402 88K 88K 166960K 1982 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 13K 166960K 10 0
VM map 2 1K 1K 166960K 2 0
sem 12 0K 0K 166960K 63 0
dirhash 12 2K 2K 166960K 27 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 17 61K 97K 166960K 605 0
sigio 1 0K 0K 166960K 7 0
proc 72 91K 140K 166960K 606 0
subproc 72 4K 4K 166960K 72 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 97 0
in_multi 74 5K 7K 166960K 124 0
ether_multi 1 0K 0K 166960K 7 0
mrt 2 0K 0K 166960K 8 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 199 890K 890K 166960K 199 0
exec 0 0K 1K 166960K 446 0
fusefs mount 1 32K 32K 166960K 1 0
pfkey data 0 0K 0K 166960K 2 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 237 167K 176K 166960K 7513 0
UVM aobj 12 2K 2K 166960K 13 0
pinsyscall 42 84K 106K 166960K 1741 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 25 0
NDP 11 0K 2K 166960K 43 0
temp 45 8680K 8775K 166960K 24795 0
kqueue 16 22K 28K 166960K 116 0
SYN cache 2 16K 16K 166960K 2 0
ddb{0}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 26 0 0 1 0 1 1 0 8 0
rtpcb 120 58 0 55 1 0 1 1 0 8 0
rtentry 176 125 0 46 6 0 6 6 0 8 0
unpcb 144 392 0 372 4 1 3 4 0 8 2
syncache 336 5 0 5 2 2 0 1 0 8 0
tcpcb 808 192 0 188 8 0 8 8 0 8 7
arp 128 19 0 5 1 0 1 1 0 8 0
inpcb 384 679 0 668 11 3 8 11 0 8 6
nd6 144 26 0 6 1 0 1 1 0 8 0
pkpcb 40 3 0 3 2 1 1 1 0 8 1
kcovpl 48 8 0 0 1 0 1 1 0 8 0
ppxss 1192 22 0 21 1 0 1 1 0 8 0
pppxif 1504 3 0 3 3 2 1 1 0 8 1
pffrag 232 3 0 0 1 0 1 1 0 482 0
pffrnode 88 3 0 0 1 0 1 1 0 8 0
pffrent 40 3 0 0 1 0 1 1 0 8 0
pfosfp 40 1428 0 1005 5 0 5 5 0 8 0
pfosfpen 112 1428 0 714 21 0 21 21 0 8 0
pfrktable 1344 1 0 0 1 0 1 1 0 8 0
pftag 88 1 0 0 1 0 1 1 0 8 0
pfstitem 24 51 0 4 1 0 1 1 0 8 0
pfstkey 128 51 0 4 2 0 2 2 0 8 0
pfstate 384 51 0 4 5 0 5 5 0 8 0
pfrule 1344 24 0 16 2 0 2 2 0 8 0
rttmr 136 1 0 1 1 1 0 1 0 8 0
art_heap8 4096 2 0 0 2 0 2 2 0 8 0
art_heap4 256 560 0 212 30 3 27 30 0 8 3
art_table 32 562 0 212 4 0 4 4 0 8 0
art_node 16 123 0 53 1 0 1 1 0 8 0
sysvmsgpl 40 10 0 6 1 0 1 1 0 8 0
semupl 112 1 0 1 1 1 0 1 0 8 0
semapl 112 24 0 14 1 0 1 1 0 8 0
shmpl 112 10 0 1 1 0 1 1 0 8 0
dirhash 1024 27 0 10 3 0 3 3 0 8 0
dino2pl 256 2520 0 1013 96 1 95 96 0 8 0
ffsino 288 2520 0 1013 109 0 109 109 0 8 0
nchpl 144 3342 0 1644 64 0 64 64 0 8 1
rtmask 32 5 0 5 1 0 1 1 0 8 1
uvmvnodes 80 2996 0 0 62 0 62 62 0 8 0
vnodes 216 2996 0 0 167 0 167 167 0 8 0
namei 1024 11240 0 11240 3 2 1 2 0 8 1
percpumem 16 77 0 29 1 0 1 1 0 8 0
kstatmem 264 56 0 32 3 1 2 3 0 8 0
scsiplug 72 4 0 4 1 0 1 1 0 8 1
scxspl 216 10644 0 10644 11 3 8 8 1 8 8
plimitpl 152 112 0 95 1 0 1 1 0 8 0
sigapl 424 922 0 871 7 1 6 7 0 8 0
knotepl 120 551 0 0 17 0 17 17 0 8 0
kqueuepl 224 269 0 259 5 3 2 5 0 8 1
pipepl 336 140 0 113 3 0 3 3 0 8 0
fdescpl 520 901 0 870 3 0 3 3 0 8 0
filepl 160 5032 0 4809 15 2 13 15 0 8 3
lockfpl 104 144 0 142 1 0 1 1 0 8 0
lockfspl 48 60 0 58 1 0 1 1 0 8 0
sessionpl 144 26 0 17 1 0 1 1 0 8 0
pgrppl 48 43 0 26 1 0 1 1 0 8 0
ucredpl 104 698 0 681 1 0 1 1 0 8 0
zombiepl 144 874 0 871 2 1 1 1 0 8 0
processpl 1208 922 0 871 5 0 5 5 0 8 0
procpl 656 1789 0 1733 7 1 6 7 0 8 0
srpgc 96 4 0 4 2 1 1 1 0 8 1
sosppl 168 5 0 5 2 1 1 1 0 8 1
sockpl 728 1153 0 1119 13 3 10 12 0 8 6
mcl64k 65536 5 0 0 1 0 1 1 0 8 0
mcl16k 16384 4 0 0 1 0 1 1 0 8 0
mcl12k 12288 1 0 0 1 0 1 1 0 8 0
mcl8k 8192 5 0 0 1 0 1 1 0 8 0
mcl4k 4096 128 0 0 16 0 16 16 0 8 0
mcl2k 2048 18 0 0 3 0 3 3 0 8 0
mtagpl 96 24 0 0 1 0 1 1 0 8 0
mbufpl 256 1139 0 0 72 0 72 72 0 8 0
bufpl 280 3363 0 126 232 0 232 232 0 8 0
anonpl 32 7576 0 0 61 0 61 61 0 246 0
amapchunkpl 152 23702 0 23158 29 1 28 28 0 158 5
amappl16 200 2894 0 2753 17 8 9 14 0 8 1
amappl15 192 24 0 23 1 0 1 1 0 8 0
amappl14 184 127 0 114 1 0 1 1 0 8 0
amappl13 176 7 0 7 1 1 0 1 0 8 0
amappl12 168 1566 0 1534 4 1 3 3 0 8 0
amappl11 160 49 0 35 1 0 1 1 0 8 0
amappl10 152 3 0 3 1 1 0 1 0 8 0
amappl9 144 245 0 245 1 1 0 1 0 8 0
amappl8 136 29 0 26 1 0 1 1 0 8 0
amappl7 128 133 0 121 1 0 1 1 0 8 0
amappl6 120 197 0 194 1 0 1 1 0 8 0
amappl5 112 123 0 113 1 0 1 1 0 8 0
amappl4 104 335 0 316 1 0 1 1 0 8 0
amappl3 96 4580 0 4471 5 1 4 4 0 8 0
amappl2 88 674 0 610 2 0 2 2 0 8 0
amappl1 80 10582 0 9983 16 2 14 15 0 8 0
amappl 88 6713 0 6548 5 0 5 5 0 92 0
dma8192 8192 2 0 2 1 1 0 1 0 8 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 6 0 6 1 1 0 1 0 8 0
dma128 128 255 0 255 2 2 0 1 0 8 0
dma64 64 6 0 6 1 1 0 1 0 8 0
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 12 0 1 1 0 1 1 0 8 0
uaddrrnd 24 901 0 870 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 901 0 870 1 0 1 1 0 8 0
vmmpekpl 168 9155 0 9115 3 0 3 3 0 8 0
vmmpepl 168 62769 0 60689 102 4 98 99 0 357 4
vmsppl 480 900 0 870 5 0 5 5 0 8 1
rwobjpl 72 22039 0 17995 75 1 74 74 0 8 0
pdppl 4096 1809 0 1740 111 40 71 87 0 8 2
pvpl 32 13747 0 0 113 1 112 112 0 265 1
pmappl 256 900 0 870 3 0 3 3 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 468 0 51 13 0 13 13 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
mtx_enter_try(18) at mtx_enter_try+0x65 sys/kern/kern_lock.c:265
mtx_enter(18) at mtx_enter+0x60 sys/kern/kern_lock.c:239
clockintr_unbind(ffff800001422530,1) at clockintr_unbind+0x56 sys/kern/kern_clockintr.c:375
dt_ioctl_record_stop(ffff800001489000) at dt_ioctl_record_stop+0xbc sys/dev/dt/dt_dev.c:575
dtclose(11e5f,81,2000,ffff80002a296a60) at dtclose+0x105 dt_pcb_purge sys/dev/dt/dt_dev.c:-1 [inline]
dtclose(11e5f,81,2000,ffff80002a296a60) at dtclose+0x105 sys/dev/dt/dt_dev.c:232
spec_close(ffff80003b02b5d0) at spec_close+0x45f sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffffd80697a0488,81,fffffd807f7d32d8,ffff80002a296a60) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156
vn_closefile(fffffd806aca0920,ffff80002a296a60) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline]
vn_closefile(fffffd806aca0920,ffff80002a296a60) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615
fdrop(fffffd806aca0920,ffff80002a296a60) at fdrop+0x126 sys/kern/kern_descrip.c:1267
closef(fffffd806aca0920,ffff80002a296a60) at closef+0x192 sys/kern/kern_descrip.c:1251
fdfree(ffff80002a296a60) at fdfree+0x116 sys/kern/kern_descrip.c:1182
exit1(ffff80002a296a60,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214
sys_exit(ffff80002a296a60,ffff80003b02b940,ffff80003b02b890) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80003b02b940) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003b02b940) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:579
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7ce075906180, count: -15
ddb{0}> machine ddbcpu 1