��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������uvm_fault(0xffffffff83aae4a0, 0xffff80000161802a, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at arp_rtrequest+0x6a4: movzwl 0xc(%rcx,%rbx,1),%ecx
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*161652 79511 0 0 0x4000000 0 syz-executor
arp_rtrequest(ffff8000002a2058,1,fffffa00630ab098) at arp_rtrequest+0x6a4 arprequest sys/netinet/if_ether.c:325 [inline]
arp_rtrequest(ffff8000002a2058,1,fffffa00630ab098) at arp_rtrequest+0x6a4 sys/netinet/if_ether.c:226
rtrequest(1,ffff8000388d19b0,0,ffff8000388d1920,16) at rtrequest+0xdc1 sys/net/route.c:1114
rtm_output(ffff800001610200,ffff8000388d1a58,ffff8000388d19b0,0,16) at rtm_output+0x91a sys/net/rtsock.c:956
route_output(fffffa007b02c700,ffff800001601150) at route_output+0xa6a sys/net/rtsock.c:862
route_send(ffff800001601150,fffffa007b02c700,0,0) at route_send+0xd7 sys/net/rtsock.c:322
sosend(ffff800001601150,0,ffff8000388d1c08,0,0,80c) at sosend+0x804 sys/kern/uipc_socket.c:-1
sendit(ffff80003c901778,3,ffff8000388d1d00,80c,ffff8000388d1da0) at sendit+0x5a5 sys/kern/uipc_syscalls.c:785
sys_sendto(ffff80003c901778,ffff8000388d1e50,ffff8000388d1da0) at sys_sendto+0x8d sys/kern/uipc_syscalls.c:563
syscall(ffff8000388d1e50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff8000388d1e50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x39ad9a8c810, 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(0xffffffff83aae4a0, 0xffff80000161802a, 0, 1) -> e
ddb> show kasan
No such command
ddb> trace
arp_rtrequest(ffff8000002a2058,1,fffffa00630ab098) at arp_rtrequest+0x6a4 arprequest sys/netinet/if_ether.c:325 [inline]
arp_rtrequest(ffff8000002a2058,1,fffffa00630ab098) at arp_rtrequest+0x6a4 sys/netinet/if_ether.c:226
rtrequest(1,ffff8000388d19b0,0,ffff8000388d1920,16) at rtrequest+0xdc1 sys/net/route.c:1114
rtm_output(ffff800001610200,ffff8000388d1a58,ffff8000388d19b0,0,16) at rtm_output+0x91a sys/net/rtsock.c:956
route_output(fffffa007b02c700,ffff800001601150) at route_output+0xa6a sys/net/rtsock.c:862
route_send(ffff800001601150,fffffa007b02c700,0,0) at route_send+0xd7 sys/net/rtsock.c:322
sosend(ffff800001601150,0,ffff8000388d1c08,0,0,80c) at sosend+0x804 sys/kern/uipc_socket.c:-1
sendit(ffff80003c901778,3,ffff8000388d1d00,80c,ffff8000388d1da0) at sendit+0x5a5 sys/kern/uipc_syscalls.c:785
sys_sendto(ffff80003c901778,ffff8000388d1e50,ffff8000388d1da0) at sys_sendto+0x8d sys/kern/uipc_syscalls.c:563
syscall(ffff8000388d1e50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff8000388d1e50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x39ad9a8c810, count: -10
ddb> show registers
rdi 0xffff8000384cc000
rsi 0x977
rbp 0xffff8000388d1800
rbx 0xde
rdx 0xffff8000384cc000
rcx 0xffff800001617f40
rax 0xfffffa007b02cbe0
r8 0x1000 __ALIGN_SIZE
r9 0
r10 0x814f8b295ea63c8c
r11 0xc8dd213af7b6cb98
r12 0x22
r13 0xfffffa007b02cb00
r14 0xfffffa00630ab098
r15 0xffff8000002a2058
rip 0xffffffff819e2544 arp_rtrequest+0x6a4
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff8000388d1780
ss 0x10
arp_rtrequest+0x6a4: movzwl 0xc(%rcx,%rbx,1),%ecx
ddb> show proc
PROC (syz-executor) tid=161652 pid=79511 tcnt=2 stat=onproc
flags process=0 proc=4000000<THREAD>
runpri=32, usrpri=86, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff80003c900d18,0xffff80003c9007f8
process=0xffff80002a745208 user=0xffff8000388cc000, vmspace=0xfffffa006d1a78b0
estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND
87033 364513 32161 0 2 0x100000 0 sh
65537 299956 55572 0 2 0 0 syz-executor
65537 186328 55572 0 2 0 0x4000000 syz-executor
32161 96266 11792 0 3 0x100002 0x88 sigsusp sh
79511 464350 50550 0 2 0 0 syz-executor
*79511 161652 50550 0 7 0 0x4000000 syz-executor
3309 69111 43624 0 2 0 0 syz-executor
34147 114436 29302 0 2 0 0 syz-executor
34147 234165 29302 0 3 0 0x4000080 fsleep syz-executor
11792 237567 30739 0 3 0x2 0x80 wait syz-executor
8702 355513 94453 0 2 0 0 syz-executor
8702 382943 94453 0 3 0 0x4000080 fsleep syz-executor
8702 508453 94453 0 3 0 0x4000080 fsleep syz-executor
43624 88045 30739 0 3 0x2 0x80 nanoslp syz-executor
50550 68964 30739 0 3 0x2 0x80 nanoslp syz-executor
29302 402713 30739 0 3 0x2 0x80 nanoslp syz-executor
55572 110218 30739 0 3 0x2 0x80 nanoslp syz-executor
94453 93873 30739 0 3 0x2 0x80 nanoslp syz-executor
24810 466937 30739 0 4 0x50000002 0x8000c80 syz-executor
30739 41153 91997 0 3 0x2 0x80 wait syz-executor
91997 200097 65198 0 3 0x100002 0x88 sigsusp ksh
65198 446399 63862 0 3 0x10 0x88 kqread sshd-session
63862 378594 1859 0 3 0x12 0x80 kqread sshd-session
70914 169590 1 0 3 0x100003 0x80 ttyin getty
1859 76466 1 0 3 0 0x88 kqread sshd
11091 311536 57629 73 3 0x1100010 0x80 kqread syslogd
57629 118342 1 0 3 0x100002 0x80 sbwait syslogd
64778 6310 1 0 3 0x100000 0x80 kqread resolvd
91268 466398 96248 77 3 0x100012 0x80 kqread dhcpleased
12953 494471 96248 77 3 0x100012 0x80 kqread dhcpleased
96248 87381 1 0 3 0 0x80 kqread dhcpleased
5094 117333 0 0 3 0x14000 0x200 bored smr
46820 170069 0 0 2 0x14000 0x200 zerothread
81447 245798 0 0 3 0x14000 0x200 aiodoned aiodoned
21307 64019 0 0 3 0x14000 0x200 syncer update
61118 94231 0 0 3 0x14000 0x200 cleaner cleaner
22582 367851 0 0 3 0x14000 0x200 reaper reaper
63747 116054 0 0 3 0x14000 0x200 pgdaemon pagedaemon
22195 323513 0 0 3 0x14000 0x200 bored viomb
46541 304806 0 0 3 0x14000 0x40000200 acpi0 acpi0
11551 214919 0 0 3 0x14000 0x200 bored softnet0
51187 327547 0 0 3 0x14000 0x200 bored systqmp
76099 152816 0 0 3 0x14000 0x200 bored systq
2879 245510 0 0 3 0x14000 0x40000200 tmoslp softclock
71949 113909 0 0 3 0x14000 0x40000200 idle0
1 443306 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 11027 12101K 12386K 166960K 12256 0
pcb 17 12K 12K 166960K 29 0
rtable 232 7K 7K 166960K 418 0
pf 29 12K 13K 166960K 33 0
ifaddr 38 6K 7K 166960K 48 0
ifgroup 46 2K 2K 166960K 54 0
sysctl 1 1K 9K 166960K 5 0
counters 32 17K 17K 166960K 34 0
ioctlops 0 0K 4K 166960K 38 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1420 89K 90K 166960K 1594 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 4 0K 0K 166960K 4 0
dirhash 12 2K 2K 166960K 12 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 17 61K 97K 166960K 208 0
sigio 0 0K 0K 166960K 2 0
proc 59 59K 124K 166960K 531 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 0 0K 0K 166960K 10 0
in_multi 88 5K 6K 166960K 110 0
ether_multi 1 0K 0K 166960K 1 0
mrt 0 0K 0K 166960K 4 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 55 254K 254K 166960K 55 0
exec 0 0K 1K 166960K 382 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 202 160K 173K 166960K 3516 0
UVM aobj 4 3K 3K 166960K 5 0
pinsyscall 38 76K 96K 166960K 1336 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 1 0
NDP 12 0K 2K 166960K 30 0
temp 33 9106K 9154K 166960K 4298 0
kqueue 13 20K 28K 166960K 37 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 43 0 38 1 0 1 1 0 8 0
rtentry 136 124 0 23 4 0 4 4 0 8 0
unpcb 144 75 0 60 1 0 1 1 0 8 0
syncache 336 4 0 4 1 0 1 1 0 8 1
tcpcb 736 21 0 17 1 0 1 1 0 8 0
arp 96 20 0 4 1 0 1 1 0 8 0
inpcb 328 105 0 98 2 0 2 2 0 8 1
ip6q 80 1 0 0 1 0 1 1 0 8 0
ip6af 40 1 0 0 1 0 1 1 0 8 0
nd6 112 27 0 6 1 0 1 1 0 8 0
kcovpl 48 10 0 2 1 0 1 1 0 8 0
pfstscr 40 1 0 1 1 0 1 1 0 8 1
pfstkey 128 2 0 2 1 0 1 1 0 8 1
pfstate 384 1 0 1 1 0 1 1 0 8 1
pfrule 1360 1 0 1 1 0 1 1 0 8 1
art_heap8 4096 2 0 0 2 0 2 2 0 8 0
art_heap4 256 528 0 88 31 0 31 31 0 8 1
art_table 40 530 0 88 5 0 5 5 0 8 0
art_node 32 124 0 32 1 0 1 1 0 8 0
semapl 72 2 0 0 1 0 1 1 0 8 0
shmpl 112 2 0 1 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1743 0 276 92 0 92 92 0 8 0
ffsino 256 1743 0 276 92 0 92 92 0 8 0
nchpl 144 1932 0 230 64 0 64 64 0 8 0
vnodes 216 1992 0 0 111 0 111 111 0 8 0
namei 1024 6903 0 6903 3 0 3 3 0 8 3
kstatmem 264 25 0 4 2 0 2 2 0 8 0
scxspl 216 7949 0 7949 8 0 8 8 1 8 8
plimitpl 152 41 0 24 1 0 1 1 0 8 0
sigapl 424 499 0 456 6 0 6 6 0 8 1
knotepl 120 4783 0 4736 2 0 2 2 0 8 0
kqueuepl 184 37 0 28 1 0 1 1 0 8 0
pipepl 304 132 0 105 3 0 3 3 0 8 0
fdescpl 448 486 0 457 5 0 5 5 0 8 1
filepl 120 1868 0 1662 11 0 11 11 0 8 4
lockfpl 104 16 0 13 1 0 1 1 0 8 0
lockfspl 48 9 0 6 1 0 1 1 0 8 0
sessionpl 144 29 0 20 1 0 1 1 0 8 0
pgrppl 48 41 0 24 1 0 1 1 0 8 0
ucredpl 104 123 0 111 1 0 1 1 0 8 0
zombiepl 144 458 0 456 1 0 1 1 0 8 0
processpl 1152 499 0 456 4 0 4 4 0 8 0
procpl 664 591 0 543 5 0 5 5 0 8 0
sockpl 552 226 0 199 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 2527 0 2475 13 0 13 13 0 8 6
mcl2k 2048 186 0 184 1 0 1 1 0 8 0
mextrefs 64 56 0 55 1 0 1 1 0 8 0
mtagpl 96 5 0 5 1 0 1 1 0 8 1
mbufpl 256 4639 0 4507 11 0 11 11 0 8 0
bufpl 272 3522 0 102 228 0 228 228 0 8 0
anonpl 24 86748 0 79696 43 0 43 43 0 187 0
amapchunkpl 152 9579 0 9165 25 0 25 25 0 158 7
amappl16 200 1395 0 1140 14 0 14 14 0 8 0
amappl15 192 1 0 1 1 0 1 1 0 8 1
amappl14 184 425 0 423 1 0 1 1 0 8 0
amappl13 176 119 0 109 1 0 1 1 0 8 0
amappl12 168 737 0 711 2 0 2 2 0 8 0
amappl11 160 4 0 4 1 0 1 1 0 8 1
amappl10 152 71 0 61 1 0 1 1 0 8 0
amappl9 144 270 0 270 1 0 1 1 0 8 1
amappl8 136 98 0 96 1 0 1 1 0 8 0
amappl7 128 140 0 129 1 0 1 1 0 8 0
amappl6 120 174 0 171 1 0 1 1 0 8 0
amappl5 112 94 0 86 1 0 1 1 0 8 0
amappl4 104 263 0 244 1 0 1 1 0 8 0
amappl3 96 1700 0 1624 3 0 3 3 0 8 0
amappl2 88 599 0 531 2 0 2 2 0 8 0
amappl1 80 10539 0 9994 13 0 13 13 0 8 0
amappl 88 2793 0 2657 4 0 4 4 0 92 0
uvmvnodes 80 96 0 0 2 0 2 2 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 8 0 8 1 0 1 1 0 8 1
dma16 16 19 0 18 1 0 1 1 0 8 0
aobjpl 72 4 0 1 1 0 1 1 0 8 0
uaddrrnd 24 486 0 457 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 486 0 457 1 0 1 1 0 8 0
vmmpekpl 168 5855 0 5822 2 0 2 2 0 8 0
vmmpepl 168 40058 0 38129 84 0 84 84 0 357 0
vmsppl 368 485 0 457 4 0 4 4 0 8 1
rwobjpl 40 14435 0 13286 12 0 12 12 0 8 0
pdppl 4096 978 0 914 96 30 66 82 0 8 2
pvpl 32 226489 0 214442 98 0 98 98 0 265 0
pmappl 216 485 0 457 3 0 3 3 0 8 1
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 589 0 30 16 0 16 16 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
arp_rtrequest(ffff8000002a2058,1,fffffa00630ab098) at arp_rtrequest+0x6a4 arprequest sys/netinet/if_ether.c:325 [inline]
arp_rtrequest(ffff8000002a2058,1,fffffa00630ab098) at arp_rtrequest+0x6a4 sys/netinet/if_ether.c:226
rtrequest(1,ffff8000388d19b0,0,ffff8000388d1920,16) at rtrequest+0xdc1 sys/net/route.c:1114
rtm_output(ffff800001610200,ffff8000388d1a58,ffff8000388d19b0,0,16) at rtm_output+0x91a sys/net/rtsock.c:956
route_output(fffffa007b02c700,ffff800001601150) at route_output+0xa6a sys/net/rtsock.c:862
route_send(ffff800001601150,fffffa007b02c700,0,0) at route_send+0xd7 sys/net/rtsock.c:322
sosend(ffff800001601150,0,ffff8000388d1c08,0,0,80c) at sosend+0x804 sys/kern/uipc_socket.c:-1
sendit(ffff80003c901778,3,ffff8000388d1d00,80c,ffff8000388d1da0) at sendit+0x5a5 sys/kern/uipc_syscalls.c:785
sys_sendto(ffff80003c901778,ffff8000388d1e50,ffff8000388d1da0) at sys_sendto+0x8d sys/kern/uipc_syscalls.c:563
syscall(ffff8000388d1e50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff8000388d1e50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x39ad9a8c810, count: -10
ddb> machine ddbcpu 1
No such command
ddb> trace
arp_rtrequest(ffff8000002a2058,1,fffffa00630ab098) at arp_rtrequest+0x6a4 arprequest sys/netinet/if_ether.c:325 [inline]
arp_rtrequest(ffff8000002a2058,1,fffffa00630ab098) at arp_rtrequest+0x6a4 sys/netinet/if_ether.c:226
rtrequest(1,ffff8000388d19b0,0,ffff8000388d1920,16) at rtrequest+0xdc1 sys/net/route.c:1114
rtm_output(ffff800001610200,ffff8000388d1a58,ffff8000388d19b0,0,16) at rtm_output+0x91a sys/net/rtsock.c:956
route_output(fffffa007b02c700,ffff800001601150) at route_output+0xa6a sys/net/rtsock.c:862
route_send(ffff800001601150,fffffa007b02c700,0,0) at route_send+0xd7 sys/net/rtsock.c:322
sosend(ffff800001601150,0,ffff8000388d1c08,0,0,80c) at sosend+0x804 sys/kern/uipc_socket.c:-1
sendit(ffff80003c901778,3,ffff8000388d1d00,80c,ffff8000388d1da0) at sendit+0x5a5 sys/kern/uipc_syscalls.c:785
sys_sendto(ffff80003c901778,ffff8000388d1e50,ffff8000388d1da0) at sys_sendto+0x8d sys/kern/uipc_syscalls.c:563
syscall(ffff8000388d1e50) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff8000388d1e50) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x39ad9a8c810, count: -10