kernel: page fault trap, code=1 Stopped at rtable_match+0xcb: movq 0(%rax,%rcx,8),%r15 TID PID UID PRFLAGS PFLAGS CPU COMMAND *152476 982 0 0 0x4000000 0 syz-executor rtable_match(0,fffff5007e2696f0,0) at rtable_match+0xcb rtable_get sys/net/rtable.c:260 [inline] rtable_match(0,fffff5007e2696f0,0) at rtable_match+0xcb sys/net/rtable.c:492 rt_match(fffff5007e2696f0,0,1,0) at rt_match+0x51 sys/net/route.c:-1 route6_mpath(fffff5007e2696d8,fffff5006b697094,0,0) at route6_mpath+0x163 sys/net/route.c:305 in6_selectroute(fffff5006b697094,0,fffff5007e2696d8,0) at in6_selectroute+0x55 sys/netinet6/in6_src.c:299 ip6_output(fffff5007f20e000,0,fffff5007e2696d8,22,0,0) at ip6_output+0xd23 sys/netinet6/ip6_output.c:-1 divert6_output(fffff5007e269668,fffff5007f20e000,fffff5007f20e800,0) at divert6_output+0x481 sys/netinet6/ip6_divert.c:161 sosend(ffff80000159e8a8,fffff5007f20e800,ffff80003c5b16e8,0,0,402) at sosend+0x804 sys/kern/uipc_socket.c:-1 sendit(ffff80003c8faa80,4,ffff80003c5b1868,402,ffff80003c5b1910) at sendit+0x5a5 sys/kern/uipc_syscalls.c:785 sys_sendmsg(ffff80003c8faa80,ffff80003c5b19c0,ffff80003c5b1910) at sys_sendmsg+0x246 sys/kern/uipc_syscalls.c:603 syscall(ffff80003c5b19c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c5b19c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x12e96a63c90, count: 4 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: attempt to access user address 0x2000006b9000 in supervisor mode ddb> show kasan No such command ddb> trace rtable_match(0,fffff5007e2696f0,0) at rtable_match+0xcb rtable_get sys/net/rtable.c:260 [inline] rtable_match(0,fffff5007e2696f0,0) at rtable_match+0xcb sys/net/rtable.c:492 rt_match(fffff5007e2696f0,0,1,0) at rt_match+0x51 sys/net/route.c:-1 route6_mpath(fffff5007e2696d8,fffff5006b697094,0,0) at route6_mpath+0x163 sys/net/route.c:305 in6_selectroute(fffff5006b697094,0,fffff5007e2696d8,0) at in6_selectroute+0x55 sys/netinet6/in6_src.c:299 ip6_output(fffff5007f20e000,0,fffff5007e2696d8,22,0,0) at ip6_output+0xd23 sys/netinet6/ip6_output.c:-1 divert6_output(fffff5007e269668,fffff5007f20e000,fffff5007f20e800,0) at divert6_output+0x481 sys/netinet6/ip6_divert.c:161 sosend(ffff80000159e8a8,fffff5007f20e800,ffff80003c5b16e8,0,0,402) at sosend+0x804 sys/kern/uipc_socket.c:-1 sendit(ffff80003c8faa80,4,ffff80003c5b1868,402,ffff80003c5b1910) at sendit+0x5a5 sys/kern/uipc_syscalls.c:785 sys_sendmsg(ffff80003c8faa80,ffff80003c5b19c0,ffff80003c5b1910) at sys_sendmsg+0x246 sys/kern/uipc_syscalls.c:603 syscall(ffff80003c5b19c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c5b19c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x12e96a63c90, count: -11 ddb> show registers rdi 0xee01 __ALIGN_SIZE+0xde01 rsi 0 rbp 0xffff80003c5b1250 rbx 0 rdx 0xffff8000015efec0 rcx 0 rax 0x2000006b9000 r8 0 r9 0 r10 0xc0a7417ea4069cae r11 0x2d02932c1f50ce47 r12 0xfffff5007e2696f0 r13 0xee01 __ALIGN_SIZE+0xde01 r14 0 r15 0xffff800000c57f60 rip 0xffffffff81205fbb rtable_match+0xcb cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c5b11f0 ss 0x10 rtable_match+0xcb: movq 0(%rax,%rcx,8),%r15 ddb> show proc PROC (syz-executor) tid=152476 pid=982 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=51, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c8fba10,0xffffffff83a97648 process=0xffff800045ff9f98 user=0xffff80003c5ac000, vmspace=0xfffff5006d97d2f0 estcpu=1, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 982 180382 23367 0 2 0 0 syz-executor * 982 152476 23367 0 7 0 0x4000000 syz-executor 67699 449363 27394 0 2 0 0 syz-executor 38194 360812 31632 0 2 0x100002 0 sh 17765 250486 57530 0 2 0 0 syz-executor 17765 258772 57530 0 3 0 0x4000080 fsleep syz-executor 20124 308566 26463 0 2 0 0 syz-executor 20124 457442 26463 0 3 0 0x4000080 fsleep syz-executor 20124 212239 26463 0 3 0 0x4000080 fsleep syz-executor 46489 444110 24375 0 2 0 0 syz-executor 46489 64894 24375 0 3 0 0x4000080 fsleep syz-executor 31632 419973 31745 0 3 0x2 0x80 wait syz-executor 27394 415972 31745 0 2 0x2 0xc80 syz-executor 26463 318202 31745 0 2 0x2 0xc80 syz-executor 24375 13517 31745 0 2 0x2 0xc80 syz-executor 57530 348599 31745 0 2 0x2 0xc80 syz-executor 23367 415502 31745 0 2 0x2 0xc80 syz-executor 18093 73772 31745 0 3 0x2 0x80 piperd syz-executor 31745 115495 1 0 2 0x2 0 syz-executor 44241 107785 0 0 3 0x14000 0x200 bored smr 77196 480430 0 0 2 0x14000 0x200 zerothread 39543 180689 0 0 3 0x14000 0x200 aiodoned aiodoned 66397 438520 0 0 3 0x14000 0x200 syncer update 23965 455683 0 0 3 0x14000 0x200 cleaner cleaner 87546 10644 0 0 3 0x14000 0x200 reaper reaper 95934 163948 0 0 3 0x14000 0x200 pgdaemon pagedaemon 59116 449516 0 0 3 0x14000 0x200 bored viomb 27690 75874 0 0 3 0x14000 0x40000200 acpi0 acpi0 96041 52720 0 0 3 0x14000 0x200 bored softnet0 4095 129211 0 0 3 0x14000 0x200 bored systqmp 70775 230568 0 0 3 0x14000 0x200 bored systq 38457 212111 0 0 3 0x14000 0x40000200 tmoslp softclock 1762 507354 0 0 3 0x14000 0x40000200 idle0 1 93216 0 0 3 0x80002 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 11022 12096K 12297K 166960K 12412 0 pcb 17 12K 12K 166960K 54 0 rtable 230 8K 8K 166960K 2226 0 pf 28 12K 17K 166960K 131 0 ifaddr 39 7K 8K 166960K 222 0 ifgroup 43 1K 2K 166960K 213 0 sysctl 2 1K 9K 166960K 6 0 counters 32 17K 17K 166960K 77 0 ioctlops 0 0K 4K 166960K 133 0 iov 1 1K 12K 166960K 10 0 mount 1 1K 1K 166960K 1 0 log 1 4K 4K 166960K 5 0 vnodes 1354 85K 86K 166960K 1924 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 7 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 27 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 15 57K 97K 166960K 912 0 sigio 0 0K 0K 166960K 6 0 proc 11 17K 124K 166960K 1591 0 subproc 72 4K 4K 166960K 423 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 89 6K 6K 166960K 517 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 18 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 875 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 107 70K 151K 166960K 7912 0 UVM aobj 8 2K 2K 166960K 8 0 pinsyscall 16 32K 96K 166960K 3002 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 15 0 NDP 18 1K 2K 166960K 145 0 temp 35 9106K 9170K 166960K 12727 0 kqueue 1 2K 30K 166960K 77 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 194 0 194 3 0 3 3 0 8 3 rtentry 136 878 0 777 5 0 5 5 0 8 0 unpcb 144 287 0 287 1 0 1 1 0 8 1 syncache 336 6 0 6 1 1 0 1 0 8 0 tcpcb 736 46 0 44 1 0 1 1 0 8 0 arp 96 96 0 79 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 1 0 0 1 0 1 1 0 8 0 inpcb 328 397 0 393 3 1 2 2 0 8 1 ip6q 80 6 0 5 1 0 1 1 0 8 0 ip6af 40 11 0 10 1 0 1 1 0 8 0 nd6 112 141 0 120 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 1 1 1 0 8 1 kcovpl 48 47 0 39 1 0 1 1 0 8 0 ppxss 1072 5 0 5 2 1 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pfrktable 1344 3 0 3 1 1 0 1 0 8 0 pfanchor 1288 2 0 2 1 1 0 1 0 8 0 pftag 88 1 0 1 1 1 0 1 0 8 0 pfstkey 128 1 0 1 1 1 0 1 0 8 0 pfstate 384 1 0 1 1 1 0 1 0 8 0 pfrule 1360 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 2158 0 1744 36 4 32 32 0 8 2 art_table 40 2160 0 1744 7 1 6 6 0 8 0 art_node 32 878 0 787 2 0 2 2 0 8 0 sysvmsgpl 40 77 0 67 1 0 1 1 0 8 0 semapl 72 23 0 13 1 0 1 1 0 8 0 shmpl 112 5 0 0 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 2011 0 469 97 0 97 97 0 8 0 ffsino 256 2011 0 469 97 0 97 97 0 8 0 nchpl 144 2477 0 651 68 0 68 68 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 2567 0 0 143 0 143 143 0 8 0 namei 1024 11117 0 11117 2 1 1 2 0 8 1 pfiaddrpl 120 1 0 1 1 1 0 1 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 kstatmem 264 107 0 86 2 0 2 2 0 8 0 scxspl 216 11007 0 11007 11 3 8 8 1 8 8 plimitpl 152 127 0 118 1 0 1 1 0 8 0 sigapl 424 1129 0 1099 6 1 5 6 0 8 1 knotepl 120 43365 0 43348 41 31 10 25 0 8 8 kqueuepl 184 92 0 91 1 0 1 1 0 8 0 pipepl 304 451 0 391 5 0 5 5 0 8 0 fdescpl 448 1116 0 1099 5 1 4 5 0 8 1 filepl 120 4452 0 4233 10 1 9 10 0 8 1 lockfpl 104 69 0 68 1 0 1 1 0 8 0 lockfspl 48 32 0 31 1 0 1 1 0 8 0 sessionpl 144 73 0 71 1 0 1 1 0 8 0 pgrppl 48 185 0 175 1 0 1 1 0 8 0 ucredpl 104 366 0 363 1 0 1 1 0 8 0 zombiepl 144 1100 0 1099 2 1 1 1 0 8 0 processpl 1152 1129 0 1099 4 0 4 4 0 8 0 procpl 664 1571 0 1536 6 1 5 6 0 8 1 sosppl 176 2 0 2 1 1 0 1 0 8 0 sockpl 552 924 0 920 8 1 7 7 0 8 6 mcl64k 65536 30 0 28 1 0 1 1 0 8 0 mcl16k 16384 10 0 10 1 1 0 1 0 8 0 mcl12k 12288 3 0 3 1 1 0 1 0 8 0 mcl8k 8192 5 0 5 1 1 0 1 0 8 0 mcl4k 4096 2809 0 2753 13 4 9 13 0 8 1 mcl2k 2048 743 0 742 7 3 4 4 0 8 3 mextrefs 64 266 0 266 2 1 1 1 0 8 1 mtagpl 96 5 0 4 1 0 1 1 0 8 0 mbufpl 256 9897 0 9743 46 25 21 44 0 8 8 bufpl 272 4116 0 102 268 0 268 268 0 8 0 anonpl 24 162262 0 160712 54 11 43 43 0 187 20 amapchunkpl 152 22445 0 22156 30 4 26 26 0 158 11 amappl16 200 2044 0 2032 17 7 10 14 0 8 8 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 867 0 866 1 0 1 1 0 8 0 amappl13 176 209 0 209 1 0 1 1 0 8 1 amappl12 168 1502 0 1486 2 0 2 2 0 8 0 amappl11 160 1 0 1 1 1 0 1 0 8 0 amappl10 152 62 0 62 1 0 1 1 0 8 1 amappl9 144 272 0 272 1 1 0 1 0 8 0 amappl8 136 245 0 244 1 0 1 1 0 8 0 amappl7 128 216 0 215 1 0 1 1 0 8 0 amappl6 120 531 0 529 1 0 1 1 0 8 0 amappl5 112 167 0 166 1 0 1 1 0 8 0 amappl4 104 380 0 377 1 0 1 1 0 8 0 amappl3 96 4068 0 4022 3 0 3 3 0 8 0 amappl2 88 1083 0 1062 2 0 2 2 0 8 0 amappl1 80 15852 0 15766 13 1 12 13 0 8 7 amappl 88 6554 0 6457 4 0 4 4 0 92 1 uvmvnodes 80 99 0 0 3 0 3 3 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 253 0 253 1 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 7 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1116 0 1099 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1116 0 1099 1 0 1 1 0 8 0 vmmpekpl 168 10873 0 10827 3 0 3 3 0 8 0 vmmpepl 168 79634 0 78973 88 4 84 84 0 357 50 vmsppl 368 1115 0 1099 4 1 3 4 0 8 0 rwobjpl 40 24867 0 24513 13 1 12 12 0 8 1 pdppl 4096 2238 0 2198 126 82 44 82 0 8 4 pvpl 32 449805 0 446046 134 32 102 109 0 265 46 pmappl 216 1115 0 1099 3 0 3 3 0 8 1 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 715 0 127 18 0 18 18 0 8 0 ddb>