uvm_fault(0xfffffd800844aca8, 0xe7, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtrequest+0x7e6: movzbl 0xe7(%r13),%eax TID PID UID PRFLAGS PFLAGS CPU COMMAND *519338 20509 0 0 0x4000000 0 syz-executor rtrequest(1,ffff80003c9fed08,38,ffff80003c9fec80,0) at rtrequest+0x7e6 sys/net/route.c:1025 rtm_output(ffff80000147af00,ffff80003c9fedb0,ffff80003c9fed08,38,0) at rtm_output+0x859 sys/net/rtsock.c:973 route_output(fffffd806d330a00,ffff800010fd7090) at route_output+0x9ac sys/net/rtsock.c:878 route_send(ffff800010fd7090,fffffd806d330a00,0,0) at route_send+0xd7 sys/net/rtsock.c:342 sosend(ffff800010fd7090,0,ffff80003c9fef58,0,0,0) at sosend+0x824 sendit(ffff80002a88f740,5,ffff80003c9ff050,0,ffff80003c9ff100) at sendit+0x721 sys/kern/uipc_syscalls.c:779 sys_sendto(ffff80002a88f740,ffff80003c9ff1b0,ffff80003c9ff100) at sys_sendto+0x8d sys/kern/uipc_syscalls.c:557 syscall(ffff80003c9ff1b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a6f5816650, 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(0xfffffd800844aca8, 0xe7, 0, 1) -> e ddb> trace rtrequest(1,ffff80003c9fed08,38,ffff80003c9fec80,0) at rtrequest+0x7e6 sys/net/route.c:1025 rtm_output(ffff80000147af00,ffff80003c9fedb0,ffff80003c9fed08,38,0) at rtm_output+0x859 sys/net/rtsock.c:973 route_output(fffffd806d330a00,ffff800010fd7090) at route_output+0x9ac sys/net/rtsock.c:878 route_send(ffff800010fd7090,fffffd806d330a00,0,0) at route_send+0xd7 sys/net/rtsock.c:342 sosend(ffff800010fd7090,0,ffff80003c9fef58,0,0,0) at sosend+0x824 sendit(ffff80002a88f740,5,ffff80003c9ff050,0,ffff80003c9ff100) at sendit+0x721 sys/kern/uipc_syscalls.c:779 sys_sendto(ffff80002a88f740,ffff80003c9ff1b0,ffff80003c9ff100) at sys_sendto+0x8d sys/kern/uipc_syscalls.c:557 syscall(ffff80003c9ff1b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a6f5816650, count: -9 ddb> show registers rdi 0 rsi 0 rbp 0xffff80003c9fec50 rbx 0xffff8000015b8790 rdx 0xffff800000045380 rcx 0x248 rax 0 r8 0x88 r9 0 r10 0xbbed815b2b777834 r11 0xb7308e9350e5b581 r12 0xfffffd806b66dab8 r13 0 r14 0x1 r15 0xfe000033 rip 0xffffffff82df3726 rtrequest+0x7e6 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c9feb60 ss 0x10 rtrequest+0x7e6: movzbl 0xe7(%r13),%eax ddb> show proc PROC (syz-executor) tid=519338 pid=20509 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003a9499c8,0xffff80002a88ed10 process=0xffff8000ffff6f88 user=0xffff80003c9fa000, vmspace=0xfffffd800844aca8 estcpu=31, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 40706 187645 45570 0 3 0x80 fsleep syz-executor 40706 6019 45570 0 2 0x4000000 syz-executor 20509 450390 72007 0 2 0 syz-executor *20509 519338 72007 0 7 0x4000000 syz-executor 6079 66814 59368 0 3 0x80 fsleep syz-executor 6079 342347 59368 0 3 0x4000080 kqsel syz-executor 15459 499956 63521 0 3 0x80 fsleep syz-executor 15459 422787 63521 0 3 0x4000080 kqread syz-executor 7136 389863 85761 0 3 0x80 fsleep syz-executor 7136 387471 85761 0 3 0x4000080 kqread syz-executor 71457 219346 35099 0 3 0x80 fsleep syz-executor 71457 420148 35099 0 3 0x4000080 kqread syz-executor 71457 232420 35099 0 3 0x4000080 fsleep syz-executor 71457 295172 35099 0 3 0x4000080 fsleep syz-executor 63521 401292 92509 0 2 0x482 syz-executor 35099 285663 92509 0 2 0x482 syz-executor 46170 292107 92509 0 2 0x2 syz-executor 26261 220675 92509 0 3 0x82 wait syz-executor 85761 41655 92509 0 2 0x482 syz-executor 59368 133028 92509 0 3 0x82 nanoslp syz-executor 65484 394077 0 0 3 0x14280 nfsidl nfsio 9656 33414 0 0 3 0x14280 nfsidl nfsio 32602 124892 0 0 3 0x14280 nfsidl nfsio 49801 379748 0 0 3 0x14280 nfsidl nfsio 55121 372668 0 0 3 0x14280 nfsidl nfsio 46662 3753 0 0 3 0x14280 nfsidl nfsio 70118 254871 0 0 3 0x14280 nfsidl nfsio 36333 255397 0 0 3 0x14280 nfsidl nfsio 75574 2452 0 0 3 0x14280 nfsidl nfsio 47253 10841 0 0 3 0x14280 nfsidl nfsio 99058 233400 0 0 3 0x14280 nfsidl nfsio 34624 408891 0 0 3 0x14280 nfsidl nfsio 94412 203420 0 0 3 0x14280 nfsidl nfsio 30778 345926 0 0 3 0x14280 nfsidl nfsio 7115 230052 0 0 3 0x14280 nfsidl nfsio 10010 372108 0 0 3 0x14280 nfsidl nfsio 73465 231317 0 0 3 0x14280 nfsidl nfsio 18428 185359 0 0 3 0x14280 nfsidl nfsio 41756 87083 0 0 3 0x14280 nfsidl nfsio 40265 385194 0 0 3 0x14280 nfsidl nfsio 45570 432793 92509 0 2 0x482 syz-executor 55631 515616 0 0 3 0x14200 bored sosplice 72007 117628 92509 0 2 0x482 syz-executor 92509 255906 1162 0 3 0x82 kqread syz-executor 1162 379241 41212 0 3 0x10008a sigsusp ksh 41212 135013 87247 0 3 0x98 kqread sshd-session 87247 165460 67783 0 3 0x92 kqread sshd-session 18077 82023 1 0 3 0x100083 ttyin getty 67783 331192 1 0 3 0x88 kqread sshd 34618 171357 67077 73 3 0x1100090 kqread syslogd 67077 442973 1 0 3 0x100082 sbwait syslogd 1583 403307 1 0 3 0x100080 kqread resolvd 71632 395992 27224 77 3 0x100092 kqread dhcpleased 32229 217176 27224 77 3 0x100092 kqread dhcpleased 27224 373910 1 0 3 0x80 kqread dhcpleased 80042 168720 0 0 3 0x14200 bored smr 36741 509226 0 0 2 0x14200 zerothread 64027 75611 0 0 3 0x14200 aiodoned aiodoned 28623 432692 0 0 3 0x14200 syncer update 73840 84464 0 0 3 0x14200 cleaner cleaner 50799 414895 0 0 3 0x14200 reaper reaper 15017 32849 0 0 3 0x14200 pgdaemon pagedaemon 82961 460355 0 0 3 0x14200 bored viomb 85321 421283 0 0 3 0x40014200 acpi0 acpi0 26631 319242 0 0 3 0x14200 bored softnet3 97305 96180 0 0 3 0x14200 bored softnet2 14928 152531 0 0 3 0x14200 bored softnet1 35578 473927 0 0 3 0x14200 bored softnet0 89843 499015 0 0 3 0x14200 bored systqmp 95598 198074 0 0 3 0x14200 bored systq 14481 213707 0 0 3 0x40014200 tmoslp softclock 51282 255553 0 0 3 0x40014200 idle0 1 377477 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 10218 11122K 11706K 166960K 17429 0 pcb 17 16K 18K 166960K 563 0 rtable 181 6K 7K 166960K 932 0 pf 34 13K 268K 166960K 307 0 ifaddr 35 6K 7K 166960K 168 0 ifgroup 50 2K 2K 166960K 293 0 sysctl 4 1K 1K 166960K 10 0 counters 30 17K 18K 166960K 128 0 ioctlops 0 0K 4K 166960K 493 0 iov 0 0K 28K 166960K 337 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1509 95K 95K 166960K 4291 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 13K 166960K 61 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 279 0 dirhash 12 2K 3K 166960K 66 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 2962 0 sigio 0 0K 0K 166960K 124 0 proc 61 59K 124K 166960K 1003 0 subproc 72 4K 4K 166960K 162 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 444 0 in_multi 65 5K 7K 166960K 321 0 ether_multi 1 0K 0K 166960K 51 0 mrt 1 0K 0K 166960K 18 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 259 1155K 1155K 166960K 259 0 exec 0 0K 1K 166960K 880 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 219 72K 90K 166960K 27382 0 UVM aobj 109 8K 8K 166960K 117 0 pinsyscall 38 76K 96K 166960K 4225 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 119 0 NDP 11 0K 2K 166960K 117 0 temp 75 8636K 8712K 166960K 152080 0 kqueue 14 22K 30K 166960K 528 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 245 0 240 1 0 1 1 0 8 0 rtentry 136 278 0 200 4 1 3 4 0 8 0 unpcb 144 2825 0 2806 12 10 2 6 0 8 0 syncache 336 7 0 7 3 2 1 1 0 8 1 tcpcb 808 876 0 872 11 10 1 8 0 8 0 arp 88 47 0 31 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 2 0 2 1 1 0 1 0 8 0 inpcb 344 3405 0 3396 26 18 8 11 0 8 6 nd6 104 61 0 45 1 0 1 1 0 8 0 pkpcb 40 81 0 81 2 2 0 1 0 8 0 kcovpl 48 18 0 10 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 1 0 1 0 8 0 ppxss 1072 60 0 60 3 2 1 1 0 8 1 pppxif 1376 17 0 17 3 2 1 1 0 8 1 pfstscr 40 7 0 7 3 2 1 1 0 8 1 pffrag 232 15 0 6 1 0 1 1 0 482 0 pffrnode 88 15 0 6 1 0 1 1 0 8 0 pffrent 40 67 0 58 1 0 1 1 0 8 0 pfrktable 1344 2 0 2 2 2 0 1 0 8 0 pfanchor 1288 4 0 0 1 0 1 1 0 8 0 pftag 88 8 0 4 2 1 1 1 0 8 0 pfqueue 320 3 0 2 1 0 1 1 0 8 0 pfstitem 24 6 0 2 1 0 1 1 0 8 0 pfstkey 128 20 0 17 1 0 1 1 0 8 0 pfstate 344 12 0 10 1 0 1 1 0 8 0 pfrule 1344 85 0 82 1 0 1 1 0 8 0 art_heap8 4096 4 0 0 4 0 4 4 0 8 0 art_heap4 256 1077 0 777 30 9 21 29 0 8 0 art_table 32 1081 0 777 4 1 3 4 0 8 0 art_node 16 268 0 204 1 0 1 1 0 8 0 sysvmsgpl 40 89 0 79 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 235 0 225 1 0 1 1 0 8 0 shmpl 112 114 0 8 4 0 4 4 0 8 0 dirhash 1024 54 0 37 3 0 3 3 0 8 0 dino2pl 256 6667 0 5155 96 0 96 96 0 8 0 ffsino 248 6667 0 5155 96 0 96 96 0 8 0 nchpl 144 10758 0 9054 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 41686 0 41686 3 2 1 2 0 8 1 kstatmem 264 160 0 138 2 0 2 2 0 8 0 scsiplug 72 12 0 12 3 2 1 1 0 8 1 scxspl 216 32041 0 32041 12 10 2 8 1 8 2 plimitpl 152 1066 0 1050 1 0 1 1 0 8 0 sigapl 424 3225 0 3159 8 0 8 8 0 8 0 futexpl 64 43720 0 43713 1 0 1 1 0 8 0 knotepl 120 400947 0 400899 46 36 10 17 0 8 7 kqueuepl 184 1212 0 1199 10 6 4 4 0 8 3 pipepl 296 425 0 398 8 5 3 8 0 8 0 fdescpl 440 3179 0 3150 5 1 4 5 0 8 0 filepl 120 25000 0 24780 20 9 11 13 0 8 2 lockfpl 104 1361 0 1359 3 2 1 2 0 8 0 lockfspl 48 426 0 424 1 0 1 1 0 8 0 sessionpl 144 31 0 23 1 0 1 1 0 8 0 pgrppl 48 120 0 104 1 0 1 1 0 8 0 ucredpl 104 4284 0 4272 1 0 1 1 0 8 0 zombiepl 144 3160 0 3159 3 2 1 1 0 8 0 processpl 1104 3225 0 3159 5 0 5 5 0 8 0 procpl 656 7230 0 7156 9 1 8 8 0 8 0 sosppl 168 15 0 15 2 2 0 1 0 8 0 sockpl 528 6594 0 6561 36 28 8 16 0 8 3 mcl64k 65536 70 0 69 2 1 1 1 0 8 0 mcl16k 16384 4 0 4 1 1 0 1 0 8 0 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 43 0 43 2 2 0 1 0 8 0 mcl4k 4096 6126 0 6076 15 8 7 15 0 8 0 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 3293 0 3288 6 4 2 4 0 8 0 mtagpl 96 126 0 68 2 0 2 2 0 8 0 mbufpl 256 68211 0 68051 23 8 15 20 0 8 0 bufpl 280 8233 0 2005 445 0 445 445 0 8 0 anonpl 24 400998 0 392564 99 23 76 76 0 187 0 amapchunkpl 152 95050 0 94482 61 23 38 38 0 158 14 amappl16 200 7586 0 7322 59 33 26 26 0 8 0 amappl15 192 8 0 8 1 1 0 1 0 8 0 amappl14 184 130 0 120 1 0 1 1 0 8 0 amappl13 176 4 0 3 1 0 1 1 0 8 0 amappl12 168 3945 0 3916 3 1 2 3 0 8 0 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 6 0 5 1 0 1 1 0 8 0 amappl9 144 246 0 246 1 1 0 1 0 8 0 amappl8 136 31 0 29 1 0 1 1 0 8 0 amappl7 128 115 0 105 1 0 1 1 0 8 0 amappl6 120 267 0 264 1 0 1 1 0 8 0 amappl5 112 157 0 149 1 0 1 1 0 8 0 amappl4 104 323 0 307 1 0 1 1 0 8 0 amappl3 96 18969 0 18858 5 1 4 4 0 8 0 amappl2 88 763 0 706 2 0 2 2 0 8 0 amappl1 80 16546 0 16023 13 1 12 13 0 8 0 amappl 88 26771 0 26600 5 0 5 5 0 92 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma2048 2048 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 257 0 257 2 2 0 1 0 8 0 dma64 64 10 0 10 2 2 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 21 0 20 1 0 1 1 0 8 0 aobjpl 72 116 0 8 2 0 2 2 0 8 0 uaddrrnd 24 3179 0 3150 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3179 0 3150 1 0 1 1 0 8 0 vmmpekpl 168 20977 0 20924 3 0 3 3 0 8 0 vmmpepl 168 190863 0 188872 109 12 97 99 0 357 0 vmsppl 360 3178 0 3150 4 1 3 4 0 8 0 rwobjpl 32 51458 0 44327 60 0 60 60 0 8 0 pdppl 4096 6364 0 6300 128 62 66 82 0 8 2 pvpl 32 1274650 0 1260561 203 58 145 152 0 265 10 pmappl 216 3178 0 3150 3 1 2 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 333 0 114 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtrequest(1,ffff80003c9fed08,38,ffff80003c9fec80,0) at rtrequest+0x7e6 sys/net/route.c:1025 rtm_output(ffff80000147af00,ffff80003c9fedb0,ffff80003c9fed08,38,0) at rtm_output+0x859 sys/net/rtsock.c:973 route_output(fffffd806d330a00,ffff800010fd7090) at route_output+0x9ac sys/net/rtsock.c:878 route_send(ffff800010fd7090,fffffd806d330a00,0,0) at route_send+0xd7 sys/net/rtsock.c:342 sosend(ffff800010fd7090,0,ffff80003c9fef58,0,0,0) at sosend+0x824 sendit(ffff80002a88f740,5,ffff80003c9ff050,0,ffff80003c9ff100) at sendit+0x721 sys/kern/uipc_syscalls.c:779 sys_sendto(ffff80002a88f740,ffff80003c9ff1b0,ffff80003c9ff100) at sys_sendto+0x8d sys/kern/uipc_syscalls.c:557 syscall(ffff80003c9ff1b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a6f5816650, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace rtrequest(1,ffff80003c9fed08,38,ffff80003c9fec80,0) at rtrequest+0x7e6 sys/net/route.c:1025 rtm_output(ffff80000147af00,ffff80003c9fedb0,ffff80003c9fed08,38,0) at rtm_output+0x859 sys/net/rtsock.c:973 route_output(fffffd806d330a00,ffff800010fd7090) at route_output+0x9ac sys/net/rtsock.c:878 route_send(ffff800010fd7090,fffffd806d330a00,0,0) at route_send+0xd7 sys/net/rtsock.c:342 sosend(ffff800010fd7090,0,ffff80003c9fef58,0,0,0) at sosend+0x824 sendit(ffff80002a88f740,5,ffff80003c9ff050,0,ffff80003c9ff100) at sendit+0x721 sys/kern/uipc_syscalls.c:779 sys_sendto(ffff80002a88f740,ffff80003c9ff1b0,ffff80003c9ff100) at sys_sendto+0x8d sys/kern/uipc_syscalls.c:557 syscall(ffff80003c9ff1b0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a6f5816650, count: -9