uvm_fault(0xfffff00068bc7b98, 0x10000008f, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtable_match+0xcb: movq 0(%rax,%rcx,8),%r15 TID PID UID PRFLAGS PFLAGS CPU COMMAND *332571 50989 0 0 0x4000000 0 syz-executor rtable_match(0,fffff00070c266f0,0) at rtable_match+0xcb rtable_get sys/net/rtable.c:260 [inline] rtable_match(0,fffff00070c266f0,0) at rtable_match+0xcb sys/net/rtable.c:492 rt_match(fffff00070c266f0,0,1,0) at rt_match+0x51 sys/net/route.c:-1 route6_mpath(fffff00070c266d8,ffff80002a7b1708,0,0) at route6_mpath+0x163 sys/net/route.c:305 in6_pcbselsrc(ffff80002a7b1730,ffff80002a7b1700,fffff00070c26668,0) at in6_pcbselsrc+0x57e sys/netinet6/in6_src.c:-1 in6_pcbconnect(fffff00070c26668,fffff00071373400) at in6_pcbconnect+0x22e sys/netinet6/in6_pcb.c:292 udp_connect(ffff800001604238,fffff00071373400) at udp_connect+0xe3 sys/netinet/udp_usrreq.c:1189 sys_connect(ffff80002a737c90,ffff80002a7b1920,ffff80002a7b1870) at sys_connect+0x3f2 sys/kern/uipc_syscalls.c:420 syscall(ffff80002a7b1920) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7b1920) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4debb59a610, count: 6 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(0xfffff00068bc7b98, 0x10000008f, 0, 1) -> e ddb> show kasan No such command ddb> trace rtable_match(0,fffff00070c266f0,0) at rtable_match+0xcb rtable_get sys/net/rtable.c:260 [inline] rtable_match(0,fffff00070c266f0,0) at rtable_match+0xcb sys/net/rtable.c:492 rt_match(fffff00070c266f0,0,1,0) at rt_match+0x51 sys/net/route.c:-1 route6_mpath(fffff00070c266d8,ffff80002a7b1708,0,0) at route6_mpath+0x163 sys/net/route.c:305 in6_pcbselsrc(ffff80002a7b1730,ffff80002a7b1700,fffff00070c26668,0) at in6_pcbselsrc+0x57e sys/netinet6/in6_src.c:-1 in6_pcbconnect(fffff00070c26668,fffff00071373400) at in6_pcbconnect+0x22e sys/netinet6/in6_pcb.c:292 udp_connect(ffff800001604238,fffff00071373400) at udp_connect+0xe3 sys/netinet/udp_usrreq.c:1189 sys_connect(ffff80002a737c90,ffff80002a7b1920,ffff80002a7b1870) at sys_connect+0x3f2 sys/kern/uipc_syscalls.c:420 syscall(ffff80002a7b1920) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a7b1920) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4debb59a610, count: -9 ddb> show registers rdi 0xffffffff rsi 0 rbp 0xffff80002a7b14c0 rbx 0 rdx 0xffff8000015f6880 rcx 0 rax 0x10000008f r8 0x7f7fffffc000 r9 0 r10 0x24d9487c7cb90f41 r11 0x1aa18368f4d4ef5a r12 0xfffff00070c266f0 r13 0xffffffff r14 0 r15 0xffff800000c57aa0 rip 0xffffffff81c381bb rtable_match+0xcb cs 0x8 rflags 0x10286 __ALIGN_SIZE+0xf286 rsp 0xffff80002a7b1460 ss 0x10 rtable_match+0xcb: movq 0(%rax,%rcx,8),%r15 ddb> show proc PROC (syz-executor) tid=332571 pid=50989 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c8fafb0,0xffffffff839ce4b0 process=0xffff80002a744d88 user=0xffff80002a7ac000, vmspace=0xfffff00068bc7b98 estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 81676 37552 33600 0 2 0 0 syz-executor 81676 36514 33600 0 3 0 0x4000080 fsleep syz-executor 80286 215466 67503 0 2 0 0 syz-executor 80286 261650 67503 0 3 0 0x4000080 fsleep syz-executor 50989 319394 58180 0 2 0 0 syz-executor 50989 183376 58180 0 3 0 0x4000080 msgwait syz-executor 50989 93470 58180 0 3 0 0x4000080 msgwait syz-executor *50989 332571 58180 0 7 0 0x4000000 syz-executor 9436 491525 6013 0 2 0 0 syz-executor 9436 143307 6013 0 3 0 0x4000080 fsleep syz-executor 24858 275306 77567 0 2 0 0 syz-executor 24858 159656 77567 0 3 0 0x4000080 fsleep syz-executor 93098 448398 19328 0 3 0 0x80 nanoslp syz-executor 93098 384461 19328 0 3 0 0x4000080 kqread syz-executor 19742 443479 1 0 3 0x100003 0x80 ttyin getty 19328 372768 94728 0 3 0x2 0x80 nanoslp syz-executor 58180 165112 94728 0 2 0x2 0xc80 syz-executor 67503 489358 94728 0 2 0x2 0xc80 syz-executor 33600 263071 94728 0 3 0x2 0x80 nanoslp syz-executor 77567 42955 94728 0 3 0x2 0x80 nanoslp syz-executor 12857 45455 94728 0 2 0x2 0 syz-executor 8803 174173 94728 0 2 0x2 0 syz-executor 6013 130099 94728 0 2 0x2 0xc80 syz-executor 94728 415123 1 0 3 0x2 0x80 kqread syz-executor 6288 265946 1 73 3 0x1100010 0x80 kqread syslogd 57608 338921 0 0 3 0x14000 0x200 bored smr 18233 281621 0 0 2 0x14000 0x200 zerothread 84189 28317 0 0 3 0x14000 0x200 aiodoned aiodoned 96774 464292 0 0 3 0x14000 0x200 syncer update 7823 37836 0 0 3 0x14000 0x200 cleaner cleaner 58990 346813 0 0 3 0x14000 0x200 reaper reaper 22439 42943 0 0 3 0x14000 0x200 pgdaemon pagedaemon 6032 317356 0 0 3 0x14000 0x200 bored viomb 92824 479227 0 0 3 0x14000 0x40000200 acpi0 acpi0 61937 275657 0 0 2 0x14000 0x200 softnet0 25670 255711 0 0 3 0x14000 0x200 bored systqmp 3905 157227 0 0 3 0x14000 0x200 bored systq 85806 457332 0 0 3 0x14000 0x40000200 tmoslp softclock 2399 362263 0 0 3 0x14000 0x40000200 idle0 1 306797 0 0 3 0x80002 0x80 wait init 0 0 -1 0 3 0x10010000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11072 12203K 12585K 166960K 13109 0 pcb 17 12K 12K 166960K 117 0 rtable 280 10K 11K 166960K 565 0 pf 37 14K 74K 166960K 109 0 ifaddr 44 7K 8K 166960K 76 0 ifgroup 54 2K 2K 166960K 110 0 sysctl 3 1K 9K 166960K 9 0 counters 34 17K 18K 166960K 94 0 ioctlops 0 0K 4K 166960K 309 0 iov 0 0K 16K 166960K 71 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1302 82K 82K 166960K 1994 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 20 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 68 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 16 57K 97K 166960K 817 0 sigio 0 0K 0K 166960K 4 0 proc 20 25K 124K 166960K 639 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 1 0K 0K 166960K 73 0 in_multi 103 6K 7K 166960K 150 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 24 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 584 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 144 83K 152K 166960K 8642 0 UVM aobj 27 2K 4K 166960K 29 0 pinsyscall 20 40K 96K 166960K 1987 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 28 0 NDP 12 0K 2K 166960K 52 0 temp 46 9112K 9177K 166960K 28979 0 kqueue 5 5K 27K 166960K 148 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 98 0 97 1 0 1 1 0 8 0 rtentry 136 166 0 47 5 0 5 5 0 8 0 unpcb 144 389 0 384 2 1 1 2 0 8 0 syncache 336 19 0 19 3 2 1 1 0 8 1 tcpqe 32 6 0 6 2 2 0 1 0 8 0 tcpcb 736 259 0 252 8 6 2 7 0 8 0 arp 96 28 0 8 1 0 1 1 0 8 0 ipq 40 5 0 0 1 0 1 1 0 8 0 ipqe 40 7 0 1 1 0 1 1 0 8 0 inpcb 328 635 0 624 7 5 2 7 0 8 0 ip6q 80 2 0 1 1 0 1 1 0 8 0 ip6af 40 3 0 2 1 0 1 1 0 8 0 nd6 112 41 0 11 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 33 0 33 1 1 0 1 0 8 0 ppxss 1072 52 0 52 3 2 1 1 0 8 1 pppxif 1416 2 0 2 1 1 0 1 0 8 0 pfstscr 40 10 0 0 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 4 0 4 1 1 0 1 0 8 0 pfsrclim 320 3 0 3 1 1 0 1 0 8 0 pfanchor 1288 2 0 2 1 1 0 1 0 8 0 pftag 88 4 0 0 1 0 1 1 0 8 0 pfqueue 320 5 0 3 1 0 1 1 0 8 0 pfstitem 24 13 0 2 1 0 1 1 0 8 0 pfstkey 128 77 0 66 1 0 1 1 0 8 0 pfstate 384 39 0 32 1 0 1 1 0 8 0 pfrule 1360 6 0 6 2 2 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 719 0 191 33 0 33 33 0 8 0 art_table 40 720 0 191 6 0 6 6 0 8 0 art_node 32 165 0 61 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 2 2 0 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 66 0 56 1 0 1 1 0 8 0 shmpl 112 26 0 2 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2821 0 1359 92 0 92 92 0 8 0 ffsino 256 2821 0 1359 92 0 92 92 0 8 0 nchpl 144 4005 0 2302 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 vnodes 216 3231 0 0 180 0 180 180 0 8 0 namei 1024 13572 0 13571 4 3 1 2 0 8 0 pfiaddrpl 120 1 0 1 1 1 0 1 0 8 0 kstatmem 264 63 0 38 2 0 2 2 0 8 0 scsiplug 72 6 0 6 1 1 0 1 0 8 0 scxspl 216 16248 0 16248 12 10 2 8 1 8 2 plimitpl 152 327 0 313 1 0 1 1 0 8 0 sigapl 424 1133 0 1101 8 2 6 8 0 8 0 knotepl 120 40382 0 40359 18 15 3 10 0 8 0 kqueuepl 184 252 0 248 3 2 1 3 0 8 0 pipepl 304 176 0 149 3 0 3 3 0 8 0 fdescpl 448 1100 0 1081 5 1 4 5 0 8 0 filepl 120 6505 0 6322 11 2 9 11 0 8 0 lockfpl 104 288 0 286 2 1 1 1 0 8 0 lockfspl 48 130 0 129 2 1 1 1 0 8 0 sessionpl 144 100 0 96 1 0 1 1 0 8 0 pgrppl 48 112 0 100 1 0 1 1 0 8 0 ucredpl 104 1600 0 1594 1 0 1 1 0 8 0 zombiepl 144 1101 0 1101 2 1 1 1 0 8 1 processpl 1152 1133 0 1101 5 0 5 5 0 8 1 procpl 664 2045 0 2005 7 2 5 7 0 8 1 sockpl 552 1143 0 1126 9 6 3 8 0 8 0 mcl64k 65536 41 0 41 2 1 1 1 0 8 1 mcl16k 16384 11 0 11 2 1 1 1 0 8 1 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl9k128 9344 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 17 0 17 2 1 1 1 0 8 1 mcl4k 4096 3534 0 3480 15 7 8 13 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 693 0 690 2 1 1 2 0 8 0 mextrefs 64 397 0 396 1 0 1 1 0 8 0 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 11340 0 11175 22 8 14 19 0 8 0 bufpl 272 5557 0 107 364 0 364 364 0 8 0 anonpl 24 169311 0 167464 90 53 37 69 0 187 9 amapchunkpl 152 28533 0 28153 43 17 26 29 0 158 5 amappl16 200 3206 0 3182 36 32 4 27 0 8 0 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 438 0 438 1 1 0 1 0 8 0 amappl13 176 151 0 149 1 0 1 1 0 8 0 amappl12 168 1355 0 1337 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 72 0 70 1 0 1 1 0 8 0 amappl9 144 267 0 267 1 1 0 1 0 8 0 amappl8 136 105 0 104 1 0 1 1 0 8 0 amappl7 128 147 0 143 1 0 1 1 0 8 0 amappl6 120 172 0 172 1 1 0 1 0 8 0 amappl5 112 93 0 91 1 0 1 1 0 8 0 amappl4 104 274 0 268 1 0 1 1 0 8 0 amappl3 96 5040 0 4973 3 0 3 3 0 8 0 amappl2 88 1233 0 1200 2 0 2 2 0 8 0 amappl1 80 13196 0 13046 13 3 10 13 0 8 0 amappl 88 7782 0 7659 5 0 5 5 0 92 0 uvmvnodes 80 134 0 0 3 0 3 3 0 8 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma8192 8192 1 0 1 1 0 1 1 0 8 1 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 7 0 7 2 2 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 28 0 2 1 0 1 1 0 8 0 uaddrrnd 24 11