uvm_fault(0xffffffff839f52e0, 0xffff800000002028, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at dtioctl+0x489: movl 0x28(%r12),%r13d
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*295261 17098 0 0 0x4000000 0 syz-executor
dtioctl(11e60,80184404,ffff8000338afc60,81,ffff80003c8f0020) at dtioctl+0x489 dt_ioctl_probe_enable sys/dev/dt/dt_dev.c:613 [inline]
dtioctl(11e60,80184404,ffff8000338afc60,81,ffff80003c8f0020) at dtioctl+0x489 sys/dev/dt/dt_dev.c:328
VOP_IOCTL(fffff5806d159058,80184404,ffff8000338afc60,81,fffff58007ffd7b8,ffff80003c8f0020) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264
vn_ioctl(fffff5806b0f3268,80184404,ffff8000338afc60,ffff80003c8f0020) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537
sys_ioctl(ffff80003c8f0020,ffff8000338afe30,ffff8000338afd80) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1
syscall(ffff8000338afe30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff8000338afe30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x15e0c684740, count: 9
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(0xffffffff839f52e0, 0xffff800000002028, 0, 1) -> e
ddb> show kasan
No such command
ddb> trace
dtioctl(11e60,80184404,ffff8000338afc60,81,ffff80003c8f0020) at dtioctl+0x489 dt_ioctl_probe_enable sys/dev/dt/dt_dev.c:613 [inline]
dtioctl(11e60,80184404,ffff8000338afc60,81,ffff80003c8f0020) at dtioctl+0x489 sys/dev/dt/dt_dev.c:328
VOP_IOCTL(fffff5806d159058,80184404,ffff8000338afc60,81,fffff58007ffd7b8,ffff80003c8f0020) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264
vn_ioctl(fffff5806b0f3268,80184404,ffff8000338afc60,ffff80003c8f0020) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537
sys_ioctl(ffff80003c8f0020,ffff8000338afe30,ffff8000338afd80) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1
syscall(ffff8000338afe30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff8000338afe30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x15e0c684740, count: -6
ddb> show registers
rdi 0
rsi 0
rbp 0xffff8000338afa90
rbx 0x160
rdx 0
rcx 0x81
rax 0xffff80003c8f0020
r8 0xffff80003c8f0020
r9 0xffff80003c8f0020
r10 0x4b38e2454d93de0d
r11 0x171ca5c1f6ef097d
r12 0xffff800000002000
r13 0x3000 __ALIGN_SIZE+0x2000
r14 0xffff8000338afc60
r15 0xffff800001613200
rip 0xffffffff8223be29 dtioctl+0x489
cs 0x8
rflags 0x10286 __ALIGN_SIZE+0xf286
rsp 0xffff8000338afa10
ss 0x10
dtioctl+0x489: movl 0x28(%r12),%r13d
ddb> show proc
PROC (syz-executor) tid=295261 pid=17098 tcnt=3 stat=onproc
flags process=0 proc=4000000<THREAD>
runpri=32, usrpri=77, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff80003c8f1ca8,0xffff80003c8f0fc0
process=0xffff80003b8c8928 user=0xffff8000338aa000, vmspace=0xfffff5806d17f2f0
estcpu=27, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0
ddb> ps
PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND
10346 84793 51598 0 2 0 0 syz-executor
10346 168668 51598 0 3 0 0x4000080 fsleep syz-executor
10346 370974 51598 0 3 0 0x4000080 fsleep syz-executor
5257 369820 86661 0 2 0 0 syz-executor
5257 58424 86661 0 3 0 0x4000080 fsleep syz-executor
17098 127812 40883 0 2 0 0 syz-executor
*17098 295261 40883 0 7 0 0x4000000 syz-executor
17098 105248 40883 0 3 0 0x4000080 fsleep syz-executor
55246 276495 76192 0 2 0 0 syz-executor
55246 268705 76192 0 3 0 0x4000080 fsleep syz-executor
62621 197908 49217 -1 2 0x10 0 syz-executor
62621 406862 49217 -1 3 0x10 0x4000088 kqpoll syz-executor
62621 343435 49217 -1 3 0x10 0x4000080 piperd syz-executor
62621 352298 49217 -1 3 0x10 0x4000088 kqpoll syz-executor
39779 460214 29112 0 2 0x2 0xc80 syz-executor
40883 66498 29112 0 2 0x2 0xc80 syz-executor
76192 142824 29112 0 2 0x2 0xc80 syz-executor
10591 469470 29112 0 2 0x2 0xc80 syz-executor
5580 200992 29112 0 2 0x2 0xc80 syz-executor
51598 116628 29112 0 3 0x2 0x80 nanoslp syz-executor
49217 216455 29112 0 2 0x2 0xc80 syz-executor
86661 358766 29112 0 3 0x2 0x80 nanoslp syz-executor
29112 117838 75554 0 3 0x2 0x80 kqread syz-executor
75554 409721 83041 0 3 0x100002 0x88 sigsusp ksh
83041 224531 86220 0 3 0x10 0x88 kqread sshd-session
86220 192455 42613 0 3 0x12 0x80 kqread sshd-session
52588 487221 1 0 3 0x100003 0x80 ttyin getty
42613 23555 1 0 3 0 0x88 kqread sshd
67377 8420 70385 73 3 0x1100010 0x80 kqread syslogd
70385 319684 1 0 3 0x100002 0x80 sbwait syslogd
69304 361616 1 0 3 0x100000 0x80 kqread resolvd
52441 374140 84545 77 3 0x100012 0x80 kqread dhcpleased
96345 192651 84545 77 3 0x100012 0x80 kqread dhcpleased
84545 108613 1 0 3 0 0x80 kqread dhcpleased
36521 369492 0 0 3 0x14000 0x200 bored smr
44166 358508 0 0 2 0x14000 0x200 zerothread
99362 249250 0 0 3 0x14000 0x200 aiodoned aiodoned
61503 373772 0 0 3 0x14000 0x200 syncer update
2834 247474 0 0 3 0x14000 0x200 cleaner cleaner
99130 210082 0 0 3 0x14000 0x200 reaper reaper
28820 495837 0 0 3 0x14000 0x200 pgdaemon pagedaemon
2371 278490 0 0 3 0x14000 0x200 bored viomb
68275 447312 0 0 3 0x14000 0x40000200 acpi0 acpi0
75296 450127 0 0 3 0x14000 0x200 bored softnet0
33452 470692 0 0 3 0x14000 0x200 bored systqmp
65977 452070 0 0 3 0x14000 0x200 bored systq
16024 35364 0 0 3 0x14000 0x40000200 tmoslp softclock
11347 346122 0 0 3 0x14000 0x40000200 idle0
1 193238 0 0 3 0x2 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 11041 12131K 12349K 166960K 12238 0
pcb 20 12K 12K 166960K 36 0
rtable 239 7K 7K 166960K 356 0
pf 35 13K 13K 166960K 40 0
ifaddr 44 7K 7K 166960K 48 0
ifgroup 57 2K 2K 166960K 64 0
sysctl 1 1K 9K 166960K 5 0
counters 36 18K 18K 166960K 39 0
ioctlops 0 0K 4K 166960K 43 0
iov 0 0K 0K 166960K 1 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1359 86K 86K 166960K 1497 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 5K 166960K 4 0
VM map 2 1K 1K 166960K 2 0
sem 5 0K 0K 166960K 5 0
dirhash 12 2K 2K 166960K 12 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 18 65K 93K 166960K 176 0
sigio 0 0K 0K 166960K 34 0
proc 59 59K 108K 166960K 507 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 6 0
in_multi 99 6K 6K 166960K 100 0
ether_multi 1 0K 0K 166960K 1 0
mrt 0 0K 0K 166960K 3 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 61 281K 281K 166960K 61 0
exec 0 0K 1K 166960K 368 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 233 159K 167K 166960K 3194 0
UVM aobj 5 2K 2K 166960K 5 0
pinsyscall 39 78K 95K 166960K 1276 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 2 0K 0K 166960K 2 0
NDP 15 0K 1K 166960K 31 0
temp 35 9110K 9130K 166960K 4893 0
kqueue 15 24K 24K 166960K 31 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 38 0 35 1 0 1 1 0 8 0
rtentry 136 111 0 1 4 0 4 4 0 8 0
unpcb 144 46 0 31 1 0 1 1 0 8 0
syncache 336 5 0 5 1 0 1 1 0 8 1
tcpcb 736 18 0 14 1 0 1 1 0 8 0
arp 96 18 0 0 1 0 1 1 0 8 0
inpcb 328 93 0 82 2 0 2 2 0 8 1
ip6q 80 2 0 0 1 0 1 1 0 8 0
ip6af 40 2 0 0 1 0 1 1 0 8 0
nd6 112 24 0 0 1 0 1 1 0 8 0
kcovpl 48 8 0 0 1 0 1 1 0 8 0
ppxss 1072 4 0 2 1 0 1 1 0 8 0
pfrule 1360 1 0 0 1 0 1 1 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 452 0 0 29 0 29 29 0 8 0
art_table 40 453 0 0 5 0 5 5 0 8 0
art_node 32 111 0 11 1 0 1 1 0 8 0
semapl 72 3 0 0 1 0 1 1 0 8 0
shmpl 120 2 0 0 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1673 0 212 92 0 92 92 0 8 0
ffsino 256 1673 0 212 92 0 92 92 0 8 0
nchpl 144 1927 0 228 64 0 64 64 0 8 0
vnodes 216 1845 0 0 103 0 103 103 0 8 0
namei 1024 6631 0 6631 4 0 4 4 0 8 4
kstatmem 264 31 0 4 2 0 2 2 0 8 0
scxspl 216 6430 0 6430 3 0 3 3 1 8 3
plimitpl 152 32 0 16 1 0 1 1 0 8 0
sigapl 424 471 0 428 6 0 6 6 0 8 1
knotepl 120 4177 0 4117 4 0 4 4 0 8 2
kqueuepl 184 33 0 21 1 0 1 1 0 8 0
pipepl 304 125 0 96 3 0 3 3 0 8 0
fdescpl 448 458 0 428 5 0 5 5 0 8 1
filepl 120 1871 0 1652 9 0 9 9 0 8 1
lockfpl 104 143 0 141 2 0 2 2 0 8 1
lockfspl 48 72 0 70 1 0 1 1 0 8 0
sessionpl 144 26 0 18 1 0 1 1 0 8 0
pgrppl 48 34 0 18 1 0 1 1 0 8 0
ucredpl 104 215 0 203 1 0 1 1 0 8 0
zombiepl 144 431 0 428 1 0 1 1 0 8 0
processpl 1160 471 0 428 4 0 4 4 0 8 0
procpl 664 532 0 480 5 0 5 5 0 8 0
sockpl 552 181 0 152 3 0 3 3 0 8 0
mcl64k 65536 2 0 2 1 0 1 1 0 8 1
mcl8k 8192 4 0 4 1 0 1 1 0 8 1
mcl4k 4096 2533 0 2480 13 0 13 13 0 8 5
mcl2k 2048 158 0 156 3 0 3 3 0 8 2
mextrefs 64 72 0 72 1 0 1 1 0 8 1
mtagpl 96 4 0 4 1 0 1 1 0 8 1
mbufpl 256 4563 0 4415 13 0 13 13 0 8 0
bufpl 272 2362 0 102 151 0 151 151 0 8 0
anonpl 24 85002 0 81541 21 0 21 21 0 187 0
amapchunkpl 152 8736 0 8216 21 0 21 21 0 158 1
amappl16 200 1314 0 1291 4 0 4 4 0 8 2
amappl15 192 8 0 8 1 0 1 1 0 8 1
amappl14 184 411 0 410 1 0 1 1 0 8 0
amappl13 176 139 0 129 1 0 1 1 0 8 0
amappl12 168 705 0 676 2 0 2 2 0 8 0
amappl11 160 13 0 11 1 0 1 1 0 8 0
amappl10 152 57 0 47 1 0 1 1 0 8 0
amappl9 144 327 0 327 1 0 1 1 0 8 1
amappl8 136 94 0 93 1 0 1 1 0 8 0
amappl7 128 138 0 127 1 0 1 1 0 8 0
amappl6 120 149 0 147 1 0 1 1 0 8 0
amappl5 112 93 0 86 1 0 1 1 0 8 0
amappl4 104 282 0 266 1 0 1 1 0 8 0
amappl3 96 1593 0 1498 3 0 3 3 0 8 0
amappl2 88 570 0 502 2 0 2 2 0 8 0
amappl1 80 10285 0 9729 13 0 13 13 0 8 1
amappl 88 2502 0 2333 4 0 4 4 0 92 0
uvmvnodes 80 99 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 4 0 0 1 0 1 1 0 8 0
uaddrrnd 24 458 0 428 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 458 0 428 1 0 1 1 0 8 0
vmmpekpl 168 5604 0 5573 2 0 2 2 0 8 0
vmmpepl 168 38493 0 36662 81 0 81 81 0 357 1
vmsppl 368 457 0 428 4 0 4 4 0 8 1
rwobjpl 40 14017 0 13072 11 0 11 11 0 8 1
pdppl 4096 922 0 856 94 26 68 80 0 8 2
pvpl 32 216781 0 207787 81 0 81 81 0 265 0
pmappl 216 457 0 428 3 0 3 3 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 512 0 26 14 0 14 14 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
dtioctl(11e60,80184404,ffff8000338afc60,81,ffff80003c8f0020) at dtioctl+0x489 dt_ioctl_probe_enable sys/dev/dt/dt_dev.c:613 [inline]
dtioctl(11e60,80184404,ffff8000338afc60,81,ffff80003c8f0020) at dtioctl+0x489 sys/dev/dt/dt_dev.c:328
VOP_IOCTL(fffff5806d159058,80184404,ffff8000338afc60,81,fffff58007ffd7b8,ffff80003c8f0020) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264
vn_ioctl(fffff5806b0f3268,80184404,ffff8000338afc60,ffff80003c8f0020) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537
sys_ioctl(ffff80003c8f0020,ffff8000338afe30,ffff8000338afd80) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1
syscall(ffff8000338afe30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff8000338afe30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x15e0c684740, count: -6
ddb> machine ddbcpu 1
No such command
ddb> trace
dtioctl(11e60,80184404,ffff8000338afc60,81,ffff80003c8f0020) at dtioctl+0x489 dt_ioctl_probe_enable sys/dev/dt/dt_dev.c:613 [inline]
dtioctl(11e60,80184404,ffff8000338afc60,81,ffff80003c8f0020) at dtioctl+0x489 sys/dev/dt/dt_dev.c:328
VOP_IOCTL(fffff5806d159058,80184404,ffff8000338afc60,81,fffff58007ffd7b8,ffff80003c8f0020) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264
vn_ioctl(fffff5806b0f3268,80184404,ffff8000338afc60,ffff80003c8f0020) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537
sys_ioctl(ffff80003c8f0020,ffff8000338afe30,ffff8000338afd80) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1
syscall(ffff8000338afe30) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff8000338afe30) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x15e0c684740, count: -6