uvm_fault(0xfffffd8076271008, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtrequest+0x8e1: movzbl 0(%r14),%r15d TID PID UID PRFLAGS PFLAGS CPU COMMAND * 49540 72948 0 0 0x4000000 0 syz-executor.6 rtrequest(1,ffff80002e8423a8,0,ffff80002e842318,0) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000d1fe00,ffff80002e842450,ffff80002e8423a8,0,0) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd80681a7300,fffffd8067fef1e0) at route_output+0x6bc sys/net/rtsock.c:863 route_send(fffffd8067fef1e0,fffffd80681a7300,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd8067fef1e0,0,ffff80002e842620,0,0,0) at sosend+0x66d sendit(ffff8000217437f8,3,ffff80002e842720,0,ffff80002e842800) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000217437f8,ffff80002e8427b0,ffff80002e842800) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002e842880) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x96daa3fc540, 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(0xfffffd8076271008, 0x0, 0, 1) -> e ddb> trace rtrequest(1,ffff80002e8423a8,0,ffff80002e842318,0) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000d1fe00,ffff80002e842450,ffff80002e8423a8,0,0) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd80681a7300,fffffd8067fef1e0) at route_output+0x6bc sys/net/rtsock.c:863 route_send(fffffd8067fef1e0,fffffd80681a7300,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd8067fef1e0,0,ffff80002e842620,0,0,0) at sosend+0x66d sendit(ffff8000217437f8,3,ffff80002e842720,0,ffff80002e842800) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000217437f8,ffff80002e8427b0,ffff80002e842800) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002e842880) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x96daa3fc540, count: -9 ddb> show registers rdi 0xffff80002ce1f000 rsi 0x2e6 rbp 0xffff80002e8422f0 rbx 0x33 rdx 0xffff80002ce1f000 rcx 0x2e5 rax 0xffffffff81448f22 rt_putgwroute+0x112 r8 0x20 r9 0 r10 0xd9a6f8460089544f r11 0xe7cb0481f65ef13 r12 0xfffffd80681a8a98 r13 0xffff80002e8423a8 r14 0 r15 0xffff8000006c6c00 rip 0xffffffff81447e21 rtrequest+0x8e1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e842200 ss 0x10 rtrequest+0x8e1: movzbl 0(%r14),%r15d ddb> show proc PROC (syz-executor.6) tid=49540 pid=72948 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff800021744a90,0xffff8000217447f8 process=0xffff8000216f33b0 user=0xffff80002e83d000, vmspace=0xfffffd8076271008 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 74311 45506 46781 0 2 0 syz-executor.1 99348 417043 660 0 2 0 syz-executor.5 78864 498930 83491 0 2 0 syz-executor.7 43916 185383 7986 0 2 0 syz-executor.2 43916 232686 7986 0 3 0x4000080 fsleep syz-executor.2 72948 144921 30039 0 2 0 syz-executor.6 *72948 49540 30039 0 7 0x4000000 syz-executor.6 98056 183720 45227 0 2 0 syz-executor.4 98056 387707 45227 0 3 0x4000080 fsleep syz-executor.4 16175 66119 0 0 3 0x14200 bored sosplice 30039 56882 84424 0 2 0x482 syz-executor.6 45227 503101 84424 0 2 0x482 syz-executor.4 49364 262865 84424 0 2 0x2 syz-executor.3 83491 155403 84424 0 3 0x82 nanoslp syz-executor.7 7986 70654 84424 0 3 0x82 nanoslp syz-executor.2 660 140438 84424 0 3 0x82 nanoslp syz-executor.5 8527 397695 84424 0 2 0x2 syz-executor.0 46781 127291 84424 0 2 0x2 syz-executor.1 84424 44164 72156 0 3 0x2000082 wait syz-fuzzer 84424 83304 72156 0 3 0x6000082 nanoslp syz-fuzzer 84424 209027 72156 0 3 0x6000082 wait syz-fuzzer 84424 239951 72156 0 3 0x6000082 thrsleep syz-fuzzer 84424 99819 72156 0 3 0x6000082 wait syz-fuzzer 84424 264719 72156 0 3 0x6000082 thrsleep syz-fuzzer 84424 340624 72156 0 3 0x6000082 wait syz-fuzzer 84424 5888 72156 0 3 0x6000082 wait syz-fuzzer 84424 356798 72156 0 3 0x6000082 wait syz-fuzzer 84424 448665 72156 0 3 0x6000082 thrsleep syz-fuzzer 84424 475256 72156 0 3 0x6000082 wait syz-fuzzer 84424 522748 72156 0 3 0x6000082 wait syz-fuzzer 84424 435466 72156 0 3 0x6000082 thrsleep syz-fuzzer 84424 107738 72156 0 3 0x6000082 kqread syz-fuzzer 72156 313509 31452 0 3 0x10008a sigsusp ksh 31452 391752 3031 0 3 0x9a kqread sshd 65137 357509 1 0 3 0x100083 ttyin getty 3031 443950 1 0 3 0x88 kqread sshd 65606 63060 63820 73 3 0x1100090 kqread syslogd 63820 103334 1 0 3 0x100082 netio syslogd 23153 246930 1 0 3 0x100080 kqread resolvd 61214 327691 54172 77 3 0x100092 kqread dhcpleased 46294 163597 54172 77 3 0x100092 kqread dhcpleased 54172 512522 1 0 3 0x80 kqread dhcpleased 1382 495889 0 0 3 0x14200 bored smr 4704 402697 0 0 2 0x14200 zerothread 11223 438714 0 0 3 0x14200 aiodoned aiodoned 46910 161983 0 0 3 0x14200 syncer update 96666 19529 0 0 3 0x14200 cleaner cleaner 97813 167156 0 0 3 0x14200 reaper reaper 82728 70416 0 0 3 0x14200 pgdaemon pagedaemon 16918 152585 0 0 3 0x14200 bored viomb 68228 514231 0 0 3 0x40014200 acpi0 acpi0 54721 325410 0 0 3 0x14200 bored softnet3 27144 20328 0 0 3 0x14200 bored softnet2 54479 73225 0 0 3 0x14200 bored softnet1 45326 145131 0 0 3 0x14200 bored softnet0 8367 54892 0 0 3 0x14200 bored systqmp 14208 194211 0 0 3 0x14200 bored systq 84261 35409 0 0 3 0x40014200 tmoslp softclock 66696 419252 0 0 3 0x40014200 idle0 1 33821 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 10188 6660K 6668K 78643K 11402 0 pcb 13 8K 8K 78643K 29 0 rtable 236 6K 6K 78643K 355 0 pf 29 8K 8K 78643K 29 0 ifaddr 43 11K 11K 78643K 45 0 ifgroup 50 2K 2K 78643K 50 0 counters 28 17K 17K 78643K 28 0 ioctlops 0 0K 2K 78643K 30 0 iov 0 0K 4K 78643K 3 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1281 80K 80K 78643K 1333 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 14 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 73K 78643K 286 0 sigio 0 0K 0K 78643K 5 0 proc 57 59K 75K 78643K 488 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 12 0 in_multi 99 7K 7K 78643K 100 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 370 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 273 79K 80K 78643K 4530 0 UVM aobj 7 2K 2K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 9 0 NDP 11 0K 2K 78643K 27 0 temp 35 5902K 5966K 78643K 6043 0 kqueue 12 18K 26K 78643K 39 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 38 0 34 1 0 1 1 0 8 0 rtentry 112 112 0 1 4 0 4 4 0 8 0 unpcb 144 107 0 92 1 0 1 1 0 8 0 syncache 304 6 0 6 1 0 1 1 0 8 1 tcpqe 32 161 0 161 2 1 1 1 0 8 1 tcpcb 808 40 0 33 2 0 2 2 0 8 1 arp 88 18 0 0 1 0 1 1 0 8 0 inpcb 336 124 0 114 2 0 2 2 0 8 1 nd6 104 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 452 0 0 29 0 29 29 0 8 0 art_table 32 453 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 semupl 112 8 0 8 1 0 1 1 0 8 1 semapl 112 10 0 0 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1705 0 267 91 0 91 91 0 8 0 ffsino 240 1705 0 267 85 0 85 85 0 8 0 nchpl 144 2156 0 479 63 0 63 63 0 8 0 uvmvnodes 80 1853 0 0 38 0 38 38 0 8 0 vnodes 216 1853 0 0 103 0 103 103 0 8 0 namei 1024 7045 0 7043 2 0 2 2 0 8 1 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 7365 0 7365 2 1 1 2 1 8 1 plimitpl 152 35 0 20 1 0 1 1 0 8 0 sigapl 424 582 0 538 6 0 6 6 0 8 0 futexpl 64 1126 0 1124 1 0 1 1 0 8 0 knotepl 120 5444 0 5364 4 0 4 4 0 8 0 kqueuepl 184 35 0 27 1 0 1 1 0 8 0 pipepl 288 138 0 110 3 0 3 3 0 8 1 fdescpl 432 565 0 538 4 0 4 4 0 8 0 filepl 120 2079 0 1842 8 0 8 8 0 8 0 lockfpl 104 23 0 21 1 0 1 1 0 8 0 lockfspl 48 12 0 10 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 23 0 7 1 0 1 1 0 8 0 ucredpl 104 90 0 80 1 0 1 1 0 8 0 zombiepl 144 538 0 538 1 0 1 1 0 8 1 processpl 1008 582 0 538 7 1 6 6 0 8 0 procpl 680 759 0 699 6 0 6 6 0 8 0 sosppl 168 8 0 8 1 0 1 1 0 8 1 sockpl 456 269 0 240 5 0 5 5 0 8 1 mcl64k 65536 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 13 0 13 2 1 1 1 0 8 1 mcl4k 4096 13 0 13 2 1 1 1 0 8 1 mcl2k 2048 59487 0 59444 33 20 13 31 0 8 7 mtagpl 96 17 0 4 2 1 1 1 0 8 0 mbufpl 256 95043 0 94863 22 8 14 16 0 8 0 bufpl 288 4252 0 143 294 0 294 294 0 8 0 anonpl 24 210284 0 198655 72 0 72 72 0 188 0 amapchunkpl 152 15359 0 14614 33 0 33 33 0 158 1 amappl16 200 5913 0 5575 20 1 19 19 0 8 1 amappl15 192 7 0 7 1 1 0 1 0 8 0 amappl14 184 147 0 136 2 0 2 2 0 8 1 amappl13 176 10 0 10 1 1 0 1 0 8 0 amappl12 168 1187 0 1159 2 0 2 2 0 8 0 amappl11 160 51 0 40 1 0 1 1 0 8 0 amappl10 152 28 0 19 2 1 1 1 0 8 0 amappl9 144 170 0 169 1 0 1 1 0 8 0 amappl8 136 177 0 136 2 0 2 2 0 8 0 amappl7 128 168 0 151 2 0 2 2 0 8 0 amappl6 120 236 0 229 1 0 1 1 0 8 0 amappl5 112 117 0 109 1 0 1 1 0 8 0 amappl4 104 412 0 392 2 0 2 2 0 8 1 amappl3 96 3234 0 3161 3 0 3 3 0 8 1 amappl2 88 1002 0 935 3 0 3 3 0 8 1 amappl1 80 9986 0 9481 22 4 18 22 0 8 7 amappl 88 4043 0 3858 5 0 5 5 0 92 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 565 0 538 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 565 0 538 1 0 1 1 0 8 0 vmmpekpl 168 9895 0 9851 3 0 3 3 0 8 0 vmmpepl 168 56412 0 54372 122 0 122 122 0 357 33 vmsppl 368 564 0 538 3 0 3 3 0 8 0 rwobjpl 24 22735 0 19598 20 0 20 20 0 8 0 pdppl 4096 1136 0 1076 100 36 64 68 0 8 4 pvpl 32 441049 0 424368 340 8 332 340 0 265 194 pmappl 216 564 0 538 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 684 0 68 18 0 18 18 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtrequest(1,ffff80002e8423a8,0,ffff80002e842318,0) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000d1fe00,ffff80002e842450,ffff80002e8423a8,0,0) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd80681a7300,fffffd8067fef1e0) at route_output+0x6bc sys/net/rtsock.c:863 route_send(fffffd8067fef1e0,fffffd80681a7300,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd8067fef1e0,0,ffff80002e842620,0,0,0) at sosend+0x66d sendit(ffff8000217437f8,3,ffff80002e842720,0,ffff80002e842800) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000217437f8,ffff80002e8427b0,ffff80002e842800) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002e842880) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x96daa3fc540, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace rtrequest(1,ffff80002e8423a8,0,ffff80002e842318,0) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000d1fe00,ffff80002e842450,ffff80002e8423a8,0,0) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd80681a7300,fffffd8067fef1e0) at route_output+0x6bc sys/net/rtsock.c:863 route_send(fffffd8067fef1e0,fffffd80681a7300,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd8067fef1e0,0,ffff80002e842620,0,0,0) at sosend+0x66d sendit(ffff8000217437f8,3,ffff80002e842720,0,ffff80002e842800) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000217437f8,ffff80002e8427b0,ffff80002e842800) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002e842880) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x96daa3fc540, count: -9