uvm_fault(0xfffff5806bd89e78, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at rtable_l2+0x6b: movzbl 0(%rax,%rcx,4),%eax
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*376855 80105 0 0 0x4000000 0 syz-executor
rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315
in_pcbhash_insert(fffff58069f1a7e0) at in_pcbhash_insert+0x193 sys/netinet/in_pcb.c:-1
in_pcballoc(ffff800001633160,ffffffff839ea3f8,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269
udp_attach(ffff800001633160,0,1) at udp_attach+0xde sys/netinet/udp_usrreq.c:1135
socreate(18,ffff80003a4cef10,2,0) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline]
socreate(18,ffff80003a4cef10,2,0) at socreate+0x22f sys/kern/uipc_socket.c:220
sys_socket(ffff80002f0b1a08,ffff80003a4cf050,ffff80003a4cefa0) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102
syscall(ffff80003a4cf050) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003a4cf050) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x91ad9c66620, count: 7
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(0xfffff5806bd89e78, 0x0, 0, 1) -> e
ddb> show kasan
No such command
ddb> trace
rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315
in_pcbhash_insert(fffff58069f1a7e0) at in_pcbhash_insert+0x193 sys/netinet/in_pcb.c:-1
in_pcballoc(ffff800001633160,ffffffff839ea3f8,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269
udp_attach(ffff800001633160,0,1) at udp_attach+0xde sys/netinet/udp_usrreq.c:1135
socreate(18,ffff80003a4cef10,2,0) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline]
socreate(18,ffff80003a4cef10,2,0) at socreate+0x22f sys/kern/uipc_socket.c:220
sys_socket(ffff80002f0b1a08,ffff80003a4cf050,ffff80003a4cefa0) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102
syscall(ffff80003a4cf050) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003a4cf050) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x91ad9c66620, count: -8
ddb> show registers
rdi 0x3
rsi 0
rbp 0xffff80003a4ced20
rbx 0x100
rdx 0
rcx 0
rax 0
r8 0x30
r9 0
r10 0x9c03afad2d02bdb4
r11 0xabfc702a3e8c57c8
r12 0xffff800000c57cc0
r13 0xfffff58069f1a408
r14 0
r15 0x3
rip 0xffffffff8197f46b rtable_l2+0x6b
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff80003a4cecf0
ss 0x10
rtable_l2+0x6b: movzbl 0(%rax,%rcx,4),%eax
ddb> show proc
PROC (syz-executor) tid=376855 pid=80105 tcnt=4 stat=onproc
flags process=0 proc=4000000<THREAD>
runpri=50, usrpri=50, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff80002f0b1240,0xffff80002f0b1cb0
process=0xffff800045ff8d98 user=0xffff80003a4ca000, vmspace=0xfffff5806bd89e78
estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
84395 378635 47389 0 2 0 syz-executor
84395 259722 47389 0 3 0x4000080 fsleep syz-executor
80105 285175 60417 0 2 0 syz-executor
80105 428429 60417 0 2 0x4000000 syz-executor
*80105 376855 60417 0 7 0x4000000 syz-executor
80105 84194 60417 0 2 0x4000000 syz-executor
80339 268093 67058 -1 2 0x10 syz-executor
80339 523223 67058 -1 3 0x4000090 sbwait syz-executor
80339 6382 67058 -1 3 0x4000090 fsleep syz-executor
82656 347550 32717 0 3 0x80 nanoslp syz-executor
82656 334638 32717 0 3 0x4000000 smrbar syz-executor
31374 393950 26918 0 2 0 syz-executor
31374 376743 26918 0 3 0x4000080 fsleep syz-executor
31374 167421 26918 0 3 0x4000080 fsleep syz-executor
75830 506371 92458 0 3 0x82 nanoslp syz-executor
704 124438 92458 0 2 0x2 syz-executor
32717 233014 92458 0 3 0x82 nanoslp syz-executor
60417 285778 92458 0 3 0x82 nanoslp syz-executor
47389 269082 92458 0 3 0x82 nanoslp syz-executor
67058 187543 92458 0 3 0x82 nanoslp syz-executor
26918 498164 92458 0 3 0x82 nanoslp syz-executor
76342 261741 92458 0 3 0x82 wait syz-executor
92458 355108 67660 0 3 0x82 kqread syz-executor
67660 96270 77651 0 3 0x10008a sigsusp ksh
77651 322391 95588 0 3 0x98 kqread sshd-session
95588 252888 92772 0 3 0x92 kqread sshd-session
11717 111255 1 0 3 0x100083 ttyin getty
92772 110305 1 0 3 0x88 kqread sshd
17043 238760 30453 73 3 0x1100090 kqread syslogd
30453 79831 1 0 3 0x100082 sbwait syslogd
25215 483702 1 0 3 0x100080 kqread resolvd
81841 451809 87600 77 3 0x100092 kqread dhcpleased
80893 291362 87600 77 3 0x100092 kqread dhcpleased
87600 36951 1 0 3 0x80 kqread dhcpleased
77070 417444 0 0 3 0x14200 bored smr
56044 485135 0 0 2 0x14200 zerothread
56507 49769 0 0 3 0x14200 aiodoned aiodoned
49155 247039 0 0 3 0x14200 syncer update
67641 23048 0 0 3 0x14200 cleaner cleaner
53387 337484 0 0 3 0x14200 reaper reaper
31507 146233 0 0 3 0x14200 pgdaemon pagedaemon
36337 246013 0 0 3 0x14200 bored viomb
3729 243409 0 0 3 0x40014200 acpi0 acpi0
91675 98641 0 0 2 0x14200 softnet0
28586 275871 0 0 3 0x14200 smrbar systqmp
81806 316221 0 0 3 0x14200 bored systq
8947 104663 0 0 3 0x40014200 tmoslp softclock
70885 385449 0 0 3 0x40014200 idle0
1 472386 0 0 3 0x82 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 11051 12363K 12380K 166960K 12292 0
pcb 18 14K 16K 166960K 157 0
rtable 203 6K 8K 166960K 382 0
pf 31 13K 19K 166960K 58 0
ifaddr 36 6K 7K 166960K 51 0
ifgroup 50 2K 2K 166960K 65 0
sysctl 1 1K 9K 166960K 5 0
counters 33 17K 18K 166960K 40 0
ioctlops 0 0K 4K 166960K 58 0
iov 0 0K 12K 166960K 11 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1295 81K 82K 166960K 1512 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 5K 166960K 3 0
VM map 2 1K 1K 166960K 2 0
sem 10 0K 0K 166960K 14 0
dirhash 12 2K 2K 166960K 21 0
ACPI 1734 201K 291K 166960K 11964 0
file desc 17 61K 93K 166960K 312 0
sigio 0 0K 0K 166960K 2 0
proc 63 67K 116K 166960K 524 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 17 0
in_multi 77 5K 7K 166960K 101 0
ether_multi 1 0K 0K 166960K 2 0
mrt 0 0K 0K 166960K 7 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 91 413K 413K 166960K 91 0
exec 0 0K 1K 166960K 398 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 229 151K 174K 166960K 4349 0
UVM aobj 10 2K 4K 166960K 11 0
pinsyscall 38 76K 94K 166960K 1412 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 6 0
NDP 11 0K 2K 166960K 32 0
temp 75 9120K 9171K 166960K 8460 0
kqueue 13 20K 28K 166960K 54 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 46 0 42 1 0 1 1 0 8 0
rtentry 136 111 0 23 4 0 4 4 0 8 0
unpcb 144 114 0 91 1 0 1 1 0 8 0
syncache 336 4 0 4 1 0 1 1 0 8 1
tcpcb 736 75 0 69 4 0 4 4 0 8 3
arp 96 18 0 4 1 0 1 1 0 8 0
ipq 40 3 0 1 1 0 1 1 0 8 0
ipqe 40 4 0 2 1 0 1 1 0 8 0
inpcb 328 317 0 302 7 0 7 7 0 8 5
nd6 112 24 0 6 1 0 1 1 0 8 0
pkpcb 40 1 0 1 1 0 1 1 0 8 1
kcovpl 48 8 0 0 1 0 1 1 0 8 0
ppxss 1072 5 0 5 1 0 1 1 0 8 1
pfstscr 40 3 0 0 1 0 1 1 0 8 0
pfrktable 1344 3 0 3 1 0 1 1 0 8 1
pfanchor 1288 1 0 1 1 0 1 1 0 8 1
pftag 88 2 0 0 1 0 1 1 0 8 0
pfstitem 24 4 0 2 1 0 1 1 0 8 0
pfstkey 128 4 0 1 1 0 1 1 0 8 0
pfstate 384 2 0 0 1 0 1 1 0 8 0
pfrule 1360 5 0 5 1 0 1 1 0 8 1
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 453 0 44 29 0 29 29 0 8 1
art_table 40 454 0 44 5 0 5 5 0 8 0
art_node 32 111 0 21 1 0 1 1 0 8 0
sysvmsgpl 40 38 0 35 1 0 1 1 0 8 0
semupl 112 1 0 1 1 0 1 1 0 8 1
semapl 72 11 0 3 1 0 1 1 0 8 0
shmpl 112 8 0 1 1 0 1 1 0 8 0
dirhash 1024 23 0 6 3 0 3 3 0 8 0
dino2pl 256 1942 0 481 92 0 92 92 0 8 0
ffsino 256 1942 0 481 92 0 92 92 0 8 0
nchpl 144 2393 0 697 64 0 64 64 0 8 0
rtmask 32 2 0 2 1 0 1 1 0 8 1
vnodes 216 2095 0 0 117 0 117 117 0 8 0
namei 1024 7329 0 7328 2 0 2 2 0 8 1
pfiaddrpl 120 1 0 1 1 0 1 1 0 8 1
acpiwqpl 32 1 0 1 1 0 1 1 1 8 1
kstatmem 264 33 0 10 2 0 2 2 0 8 0
scsiplug 72 1 0 1 1 0 1 1 0 8 1
scxspl 216 10213 0 10213 4 0 4 4 1 8 4
plimitpl 152 45 0 29 1 0 1 1 0 8 0
sigapl 424 607 0 565 6 0 6 6 0 8 1
knotepl 120 10077 0 10030 9 0 9 9 0 8 7
kqueuepl 184 65 0 56 1 0 1 1 0 8 0
pipepl 304 133 0 105 3 0 3 3 0 8 0
fdescpl 448 594 0 565 5 0 5 5 0 8 1
filepl 120 2557 0 2325 10 0 10 10 0 8 1
lockfpl 104 89 0 85 1 0 1 1 0 8 0
lockfspl 48 29 0 25 1 0 1 1 0 8 0
sessionpl 144 35 0 26 1 0 1 1 0 8 0
pgrppl 48 44 0 27 1 0 1 1 0 8 0
ucredpl 104 280 0 267 1 0 1 1 0 8 0
zombiepl 144 567 0 565 1 0 1 1 0 8 0
processpl 1152 607 0 565 4 0 4 4 0 8 0
procpl 664 872 0 821 5 0 5 5 0 8 0
sosppl 176 2 0 2 1 0 1 1 0 8 1
sockpl 552 488 0 446 8 0 8 8 0 8 3
mcl64k 65536 8 0 8 1 0 1 1 0 8 1
mcl16k 16384 2 0 2 1 0 1 1 0 8 1
mcl9k128 9344 1 0 1 1 0 1 1 0 8 1
mcl8k 8192 7 0 7 1 0 1 1 0 8 1
mcl4k 4096 2766 0 2715 16 1 15 16 0 8 8
mcl2k 2048 274 0 261 2 0 2 2 0 8 0
mextrefs 64 136 0 125 1 0 1 1 0 8 0
mtagpl 96 4 0 4 1 0 1 1 0 8 1
mbufpl 256 6501 0 6334 36 0 36 36 0 8 24
bufpl 272 3802 0 103 247 0 247 247 0 8 0
anonpl 24 95889 0 92687 55 0 55 55 0 187 13
amapchunkpl 152 13160 0 12657 34 0 34 34 0 158 11
amappl16 200 1317 0 1286 15 0 15 15 0 8 9
amappl15 192 35 0 34 1 0 1 1 0 8 0
amappl14 184 466 0 464 1 0 1 1 0 8 0
amappl13 176 114 0 104 1 0 1 1 0 8 0
amappl12 168 833 0 805 2 0 2 2 0 8 0
amappl11 160 18 0 18 1 0 1 1 0 8 1
amappl10 152 84 0 74 1 0 1 1 0 8 0
amappl9 144 312 0 312 1 0 1 1 0 8 1
amappl8 136 98 0 97 1 0 1 1 0 8 0
amappl7 128 138 0 127 1 0 1 1 0 8 0
amappl6 120 160 0 159 1 0 1 1 0 8 0
amappl5 112 88 0 81 1 0 1 1 0 8 0
amappl4 104 276 0 260 1 0 1 1 0 8 0
amappl3 96 2546 0 2430 4 0 4 4 0 8 0
amappl2 88 517 0 463 2 0 2 2 0 8 0
amappl1 80 10821 0 10273 13 0 13 13 0 8 0
amappl 88 3625 0 3458 5 0 5 5 0 92 0
uvmvnodes 80 103 0 0 3 0 3 3 0 8 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 254 0 254 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 19 0 18 1 0 1 1 0 8 0
aobjpl 72 10 0 1 1 0 1 1 0 8 0
uaddrrnd 24 594 0 565 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 594 0 565 1 0 1 1 0 8 0
vmmpekpl 168 6569 0 6537 2 0 2 2 0 8 0
vmmpepl 168 45899 0 44105 92 0 92 92 0 357 3
vmsppl 368 593 0 565 4 0 4 4 0 8 1
rwobjpl 40 15364 0 14390 13 0 13 13 0 8 0
pdppl 4096 1194 0 1130 94 28 66 80 0 8 2
pvpl 32 269130 0 260178 122 0 122 122 0 265 22
pmappl 216 593 0 565 3 0 3 3 0 8 0
extentpl 40 46 0 28 1 0 1 1 0 8 0
phpool 112 635 0 29 18 0 18 18 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315
in_pcbhash_insert(fffff58069f1a7e0) at in_pcbhash_insert+0x193 sys/netinet/in_pcb.c:-1
in_pcballoc(ffff800001633160,ffffffff839ea3f8,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269
udp_attach(ffff800001633160,0,1) at udp_attach+0xde sys/netinet/udp_usrreq.c:1135
socreate(18,ffff80003a4cef10,2,0) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline]
socreate(18,ffff80003a4cef10,2,0) at socreate+0x22f sys/kern/uipc_socket.c:220
sys_socket(ffff80002f0b1a08,ffff80003a4cf050,ffff80003a4cefa0) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102
syscall(ffff80003a4cf050) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003a4cf050) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x91ad9c66620, count: -8
ddb> machine ddbcpu 1
No such command
ddb> trace
rtable_l2(0) at rtable_l2+0x6b sys/net/rtable.c:315
in_pcbhash_insert(fffff58069f1a7e0) at in_pcbhash_insert+0x193 sys/netinet/in_pcb.c:-1
in_pcballoc(ffff800001633160,ffffffff839ea3f8,1) at in_pcballoc+0x23a sys/netinet/in_pcb.c:269
udp_attach(ffff800001633160,0,1) at udp_attach+0xde sys/netinet/udp_usrreq.c:1135
socreate(18,ffff80003a4cef10,2,0) at socreate+0x22f pru_attach sys/sys/protosw.h:275 [inline]
socreate(18,ffff80003a4cef10,2,0) at socreate+0x22f sys/kern/uipc_socket.c:220
sys_socket(ffff80002f0b1a08,ffff80003a4cf050,ffff80003a4cefa0) at sys_socket+0x124 sys/kern/uipc_syscalls.c:102
syscall(ffff80003a4cf050) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003a4cf050) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x91ad9c66620, count: -8