uvm_fault(0xfffffd80685918a8, 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 *522740 67952 0 0 0x4000000 0 syz-executor.5 rtrequest(1,ffff80002e87c4d8,0,ffff80002e87c448,0) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000d29000,ffff80002e87c580,ffff80002e87c4d8,0,0) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd800746be00,fffffd807e7e2590) at route_output+0x6bc sys/net/rtsock.c:863 route_send(fffffd807e7e2590,fffffd800746be00,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd807e7e2590,0,ffff80002e87c750,0,0,0) at sosend+0x66d sendit(ffff8000216d3aa0,3,ffff80002e87c850,0,ffff80002e87c930) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000216d3aa0,ffff80002e87c8e0,ffff80002e87c930) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002e87c9b0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77393cc8070, 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(0xfffffd80685918a8, 0x0, 0, 1) -> e ddb> trace rtrequest(1,ffff80002e87c4d8,0,ffff80002e87c448,0) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000d29000,ffff80002e87c580,ffff80002e87c4d8,0,0) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd800746be00,fffffd807e7e2590) at route_output+0x6bc sys/net/rtsock.c:863 route_send(fffffd807e7e2590,fffffd800746be00,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd807e7e2590,0,ffff80002e87c750,0,0,0) at sosend+0x66d sendit(ffff8000216d3aa0,3,ffff80002e87c850,0,ffff80002e87c930) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000216d3aa0,ffff80002e87c8e0,ffff80002e87c930) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002e87c9b0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77393cc8070, count: -9 ddb> show registers rdi 0xffff800027fc9000 rsi 0x2e3 rbp 0xffff80002e87c420 rbx 0x33 rdx 0xffff800027fc9000 rcx 0x2e2 rax 0xffffffff81448f22 rt_putgwroute+0x112 r8 0x20 r9 0 r10 0x82d7604ec847e433 r11 0x53d1554bc137ddb5 r12 0xfffffd806f999010 r13 0xffff80002e87c4d8 r14 0 r15 0xffff800000db98d0 rip 0xffffffff81447e21 rtrequest+0x8e1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e87c330 ss 0x10 rtrequest+0x8e1: movzbl 0(%r14),%r15d ddb> show proc PROC (syz-executor.5) tid=522740 pid=67952 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=0xffff8000216d32a8,0xffffffff82c978b0 process=0xffff80002b40d3b0 user=0xffff80002e877000, vmspace=0xfffffd80685918a8 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 67952 213192 49512 0 2 0 syz-executor.5 *67952 522740 49512 0 7 0x4000000 syz-executor.5 32378 22074 32908 0 3 0x80 nanoslp syz-executor.6 32378 501127 32908 0 3 0x4000080 fsleep syz-executor.6 1145 20588 19637 0 2 0 syz-executor.4 1145 51602 19637 0 3 0x4000080 fsleep syz-executor.4 54934 275644 6066 0 3 0x80 nanoslp syz-executor.1 54934 404995 6066 0 3 0x4000080 fsleep syz-executor.1 6073 68204 39491 0 3 0x82 nanoslp syz-executor.7 32908 443220 39491 0 3 0x82 nanoslp syz-executor.6 79506 48747 39491 0 3 0x82 nanoslp syz-executor.2 15788 364546 0 0 3 0x14280 nfsidl nfsio 80357 155736 0 0 3 0x14280 nfsidl nfsio 29874 373611 0 0 3 0x14280 nfsidl nfsio 14199 446116 0 0 3 0x14280 nfsidl nfsio 62754 290839 0 0 3 0x14280 nfsidl nfsio 30038 168504 0 0 3 0x14280 nfsidl nfsio 27927 363928 0 0 3 0x14280 nfsidl nfsio 90727 293846 0 0 3 0x14280 nfsidl nfsio 25358 310735 0 0 3 0x14280 nfsidl nfsio 84352 452833 0 0 3 0x14280 nfsidl nfsio 77299 372393 0 0 3 0x14280 nfsidl nfsio 34802 224114 0 0 3 0x14280 nfsidl nfsio 53946 335627 0 0 3 0x14280 nfsidl nfsio 12988 326214 0 0 3 0x14280 nfsidl nfsio 12933 17555 0 0 3 0x14280 nfsidl nfsio 24623 89896 0 0 3 0x14280 nfsidl nfsio 57903 214992 0 0 3 0x14280 nfsidl nfsio 37247 412349 0 0 3 0x14280 nfsidl nfsio 72344 346920 0 0 3 0x14280 nfsidl nfsio 12090 389332 0 0 3 0x14280 nfsidl nfsio 65572 233679 39491 0 3 0x82 nanoslp syz-executor.3 73164 247107 0 0 3 0x14200 bored sosplice 77519 185677 0 0 3 0x14200 acct acct 19637 215290 39491 0 3 0x82 nanoslp syz-executor.4 49512 42697 39491 0 3 0x82 nanoslp syz-executor.5 6066 184347 39491 0 3 0x82 nanoslp syz-executor.1 60764 25183 39491 0 2 0x2 syz-executor.0 39491 522540 14594 0 3 0x2000082 thrsleep syz-fuzzer 39491 334978 14594 0 3 0x6000082 nanoslp syz-fuzzer 39491 418482 14594 0 3 0x6000082 wait syz-fuzzer 39491 510793 14594 0 3 0x6000082 wait syz-fuzzer 39491 439848 14594 0 3 0x6000082 wait syz-fuzzer 39491 445315 14594 0 3 0x6000082 thrsleep syz-fuzzer 39491 49879 14594 0 3 0x6000082 wait syz-fuzzer 39491 20130 14594 0 3 0x6000082 wait syz-fuzzer 39491 234145 14594 0 3 0x6000082 wait syz-fuzzer 39491 37712 14594 0 3 0x6000082 thrsleep syz-fuzzer 39491 366216 14594 0 3 0x6000082 wait syz-fuzzer 39491 123819 14594 0 3 0x6000082 kqread syz-fuzzer 39491 423554 14594 0 3 0x6000082 wait syz-fuzzer 39491 254094 14594 0 3 0x6000082 thrsleep syz-fuzzer 14594 100751 58736 0 3 0x10008a sigsusp ksh 58736 117634 7064 0 3 0x9a kqread sshd 25182 220427 1 0 3 0x100083 ttyin getty 7064 241997 1 0 3 0x88 kqread sshd 98398 500235 2322 73 3 0x1100090 kqread syslogd 2322 70599 1 0 3 0x100082 netio syslogd 75088 402988 1 0 3 0x100080 kqread resolvd 412 126784 77096 77 3 0x100092 kqread dhcpleased 4916 475485 77096 77 3 0x100092 kqread dhcpleased 77096 435876 1 0 3 0x80 kqread dhcpleased 17431 45031 0 0 3 0x14200 bored smr 55512 91773 0 0 2 0x14200 zerothread 91334 299760 0 0 3 0x14200 aiodoned aiodoned 96536 278453 0 0 3 0x14200 syncer update 44613 428002 0 0 3 0x14200 cleaner cleaner 19683 356893 0 0 3 0x14200 reaper reaper 67433 309610 0 0 3 0x14200 pgdaemon pagedaemon 54777 451245 0 0 3 0x14200 bored viomb 76034 64025 0 0 3 0x40014200 acpi0 acpi0 21064 100650 0 0 3 0x14200 bored softnet3 95383 372300 0 0 3 0x14200 bored softnet2 20507 448103 0 0 3 0x14200 bored softnet1 96762 125759 0 0 3 0x14200 bored softnet0 3722 283003 0 0 3 0x14200 bored systqmp 15265 296879 0 0 3 0x14200 bored systq 52386 298780 0 0 3 0x40014200 tmoslp softclock 37288 175858 0 0 3 0x40014200 idle0 1 274241 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 10185 6406K 7470K 78643K 18169 0 pcb 13 12K 14K 78643K 342 0 rtable 240 7K 7K 78643K 713 0 pf 29 8K 10K 78643K 220 0 ifaddr 43 12K 13K 78643K 143 0 ifgroup 50 2K 2K 78643K 355 0 sysctl 3 0K 2K 78643K 10 0 counters 28 17K 17K 78643K 102 0 ioctlops 0 0K 2K 78643K 533 0 iov 0 0K 24K 78643K 463 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1437 90K 90K 78643K 3558 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 53 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 595 0 dirhash 12 2K 2K 78643K 24 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 73K 78643K 4019 0 sigio 0 0K 0K 78643K 480 0 proc 57 59K 83K 78643K 741 0 subproc 104 6K 6K 78643K 182 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 120 0 in_multi 99 7K 7K 78643K 200 0 ether_multi 1 0K 0K 78643K 1 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 139 625K 625K 78643K 139 0 exec 0 0K 1K 78643K 892 0 pfkey data 0 0K 0K 78643K 8 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 361 189K 195K 78643K 39248 0 UVM aobj 131 5K 5K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 82 0 NDP 11 0K 1K 78643K 113 0 temp 74 5916K 6044K 78643K 44242 0 kqueue 12 18K 24K 78643K 308 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 315 0 311 5 4 1 3 0 8 0 rtentry 112 182 0 69 4 0 4 4 0 8 0 unpcb 144 2992 0 2977 33 27 6 8 0 8 5 syncache 304 45 0 45 9 8 1 1 0 8 1 tcpqe 32 128 0 128 9 8 1 1 0 8 1 tcpcb 808 980 0 967 34 28 6 10 0 8 3 arp 88 31 0 12 1 0 1 1 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 6 0 6 1 1 0 1 0 8 0 inpcb 336 2396 0 2379 38 34 4 9 0 8 1 nd6 104 45 0 20 1 0 1 1 0 8 0 pkpcb 40 11 0 11 2 2 0 1 0 8 0 kcovpl 48 14 0 6 1 0 1 1 0 8 0 ppxss 1160 17 0 17 6 6 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 742 0 278 29 0 29 29 0 8 0 art_table 32 743 0 278 4 0 4 4 0 8 0 art_node 16 180 0 78 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 2 1 0 1 1 0 8 0 semapl 112 593 0 583 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 7112 0 5664 91 0 91 91 0 8 0 ffsino 240 7112 0 5664 86 0 86 86 0 8 0 nchpl 144 12582 0 12089 63 41 22 63 0 8 0 uvmvnodes 80 8087 0 0 166 0 166 166 0 8 0 vnodes 216 8087 0 0 450 0 450 450 0 8 0 namei 1024 43238 0 43238 5 4 1 3 0 8 1 vcpupl 2048 102 0 0 13 0 13 13 0 8 0 vmpool 664 177 0 75 9 0 9 9 0 8 0 kstatmem 264 170 0 148 2 0 2 2 0 8 0 scxspl 216 44331 0 44331 15 14 1 8 1 8 1 plimitpl 152 826 0 811 1 0 1 1 0 8 0 sigapl 424 4324 0 4258 8 0 8 8 0 8 0 futexpl 64 41417 0 41414 4 3 1 1 0 8 0 knotepl 120 37577 0 37497 14 11 3 11 0 8 0 kqueuepl 184 588 0 580 4 3 1 3 0 8 0 pipepl 288 6438 0 6408 58 48 10 12 0 8 6 fdescpl 432 4286 0 4261 4 0 4 4 0 8 0 filepl 120 36497 0 36255 61 46 15 18 0 8 6 lockfpl 104 1809 0 1807 6 5 1 3 0 8 0 lockfspl 48 548 0 546 1 0 1 1 0 8 0 sessionpl 144 29 0 13 1 0 1 1 0 8 0 pgrppl 48 626 0 610 1 0 1 1 0 8 0 ucredpl 104 4892 0 4881 1 0 1 1 0 8 0 zombiepl 144 4261 0 4258 1 0 1 1 0 8 0 processpl 1008 4324 0 4258 10 1 9 9 0 8 0 procpl 680 10330 0 10247 18 9 9 9 0 8 1 sosppl 168 61 0 58 4 3 1 1 0 8 0 sockpl 456 5726 0 5691 137 124 13 28 0 8 7 mcl64k 65536 186 0 186 6 5 1 1 0 8 1 mcl16k 16384 100 0 100 9 8 1 1 0 8 1 mcl12k 12288 148 0 148 7 6 1 1 0 8 1 mcl9k 9216 47 0 47 9 8 1 1 0 8 1 mcl8k 8192 221 0 221 7 6 1 1 0 8 1 mcl4k 4096 476 0 476 10 6 4 4 0 8 4 mcl2k2 2112 44 0 44 11 10 1 1 0 8 1 mcl2k 2048 73662 0 73610 39 30 9 32 0 8 0 mtagpl 96 1106 0 447 18 1 17 17 0 8 0 mbufpl 256 154220 0 153461 507 458 49 430 0 8 1 bufpl 288 11172 0 4777 458 0 458 458 0 8 0 anonpl 24 507570 0 489811 123 15 108 108 0 188 0 amapchunkpl 152 125643 0 124812 60 23 37 44 0 158 1 amappl16 200 10797 0 10108 46 9 37 37 0 8 0 amappl15 192 11 0 11 2 2 0 1 0 8 0 amappl14 184 168 0 157 2 1 1 2 0 8 0 amappl13 176 11 0 11 1 1 0 1 0 8 0 amappl12 168 4992 0 4966 2 0 2 2 0 8 0 amappl11 160 55 0 44 1 0 1 1 0 8 0 amappl10 152 34 0 22 2 1 1 1 0 8 0 amappl9 144 193 0 191 1 0 1 1 0 8 0 amappl8 136 282 0 216 3 0 3 3 0 8 0 amappl7 128 203 0 181 2 0 2 2 0 8 0 amappl6 120 354 0 341 1 0 1 1 0 8 0 amappl5 112 223 0 215 1 0 1 1 0 8 0 amappl4 104 515 0 486 2 1 1 2 0 8 0 amappl3 96 24804 0 24728 4 1 3 3 0 8 0 amappl2 88 4869 0 4802 3 1 2 3 0 8 0 amappl1 80 23880 0 23372 22 10 12 22 0 8 0 amappl 88 38582 0 38365 6 0 6 6 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 4463 0 4336 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4463 0 4336 1 0 1 1 0 8 0 vmmpekpl 168 55331 0 55251 4 0 4 4 0 8 0 vmmpepl 168 263662 0 261198 200 76 124 129 0 357 11 vmsppl 368 4462 0 4336 16 4 12 12 0 8 0 rwobjpl 24 74984 0 65070 62 2 60 60 0 8 0 pdppl 4096 8932 0 8774 336 170 166 166 0 8 8 pvpl 32 1359732 0 1336578 442 250 192 345 0 265 4 pmappl 216 4462 0 4336 10 2 8 8 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1767 0 812 36 8 28 33 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtrequest(1,ffff80002e87c4d8,0,ffff80002e87c448,0) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000d29000,ffff80002e87c580,ffff80002e87c4d8,0,0) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd800746be00,fffffd807e7e2590) at route_output+0x6bc sys/net/rtsock.c:863 route_send(fffffd807e7e2590,fffffd800746be00,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd807e7e2590,0,ffff80002e87c750,0,0,0) at sosend+0x66d sendit(ffff8000216d3aa0,3,ffff80002e87c850,0,ffff80002e87c930) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000216d3aa0,ffff80002e87c8e0,ffff80002e87c930) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002e87c9b0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77393cc8070, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace rtrequest(1,ffff80002e87c4d8,0,ffff80002e87c448,0) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000d29000,ffff80002e87c580,ffff80002e87c4d8,0,0) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd800746be00,fffffd807e7e2590) at route_output+0x6bc sys/net/rtsock.c:863 route_send(fffffd807e7e2590,fffffd800746be00,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd807e7e2590,0,ffff80002e87c750,0,0,0) at sosend+0x66d sendit(ffff8000216d3aa0,3,ffff80002e87c850,0,ffff80002e87c930) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000216d3aa0,ffff80002e87c8e0,ffff80002e87c930) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002e87c9b0) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x77393cc8070, count: -9