uvm_fault(0xfffffd805f7e68a0, 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 *204720 92153 0 0 0x4000000 0 syz-executor.1 rtrequest(1,ffff80002e115658,7,ffff80002e1155c8,5) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000d07e00,ffff80002e115700,ffff80002e115658,7,5) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd807761b200,fffffd8056244078) at route_output+0x6bc sys/net/rtsock.c:863 route_send(fffffd8056244078,fffffd807761b200,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd8056244078,0,ffff80002e1158d0,0,0,40c) at sosend+0x66d sendit(ffff8000216e3aa8,3,ffff80002e1159d0,40c,ffff80002e115ab0) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000216e3aa8,ffff80002e115a60,ffff80002e115ab0) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002e115b30) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3729b4a6eb0, 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(0xfffffd805f7e68a0, 0x0, 0, 1) -> e ddb> trace rtrequest(1,ffff80002e115658,7,ffff80002e1155c8,5) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000d07e00,ffff80002e115700,ffff80002e115658,7,5) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd807761b200,fffffd8056244078) at route_output+0x6bc sys/net/rtsock.c:863 route_send(fffffd8056244078,fffffd807761b200,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd8056244078,0,ffff80002e1158d0,0,0,40c) at sosend+0x66d sendit(ffff8000216e3aa8,3,ffff80002e1159d0,40c,ffff80002e115ab0) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000216e3aa8,ffff80002e115a60,ffff80002e115ab0) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002e115b30) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3729b4a6eb0, count: -9 ddb> show registers rdi 0xffff80002a1ff000 rsi 0x2e0 rbp 0xffff80002e1155a0 rbx 0x33 rdx 0xffff80002a1ff000 rcx 0x2df rax 0xffffffff81288f42 rt_putgwroute+0x112 r8 0x20 r9 0x40c r10 0x24cca22bf44c02d0 r11 0x57a032ea1a1389d0 r12 0xfffffd807a72f540 r13 0xffff80002e115658 r14 0 r15 0xffff800000dd1cf0 rip 0xffffffff81287e41 rtrequest+0x8e1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e1154b0 ss 0x10 rtrequest+0x8e1: movzbl 0(%r14),%r15d ddb> show proc PROC (syz-executor.1) tid=204720 pid=92153 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff8000216e32b0,0xffffffff82d39d48 process=0xffff8000ffffbba0 user=0xffff80002e110000, vmspace=0xfffffd805f7e68a0 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 92153 207608 41061 0 2 0 syz-executor.1 *92153 204720 41061 0 7 0x4000000 syz-executor.1 50020 71120 57349 0 3 0x80 nanoslp syz-executor.2 50020 340067 57349 0 3 0x4000080 fsleep syz-executor.2 34102 184724 88280 0 2 0x480 syz-executor.4 34102 409420 88280 0 3 0x4000080 lockf syz-executor.4 34102 494507 88280 0 3 0x4000080 fsleep syz-executor.4 91014 186290 60073 0 2 0x480 syz-executor.0 91014 114393 60073 0 3 0x4000080 kqsel syz-executor.0 30200 97188 84145 0 3 0x80 nanoslp syz-executor.6 30200 222571 84145 0 3 0x4000080 lockf syz-executor.6 71335 484040 0 0 3 0x14200 acct acct 88280 194831 85179 0 3 0x82 nanoslp syz-executor.4 84145 459944 85179 0 3 0x82 nanoslp syz-executor.6 1221 499704 85179 0 2 0x482 syz-executor.5 46734 230383 85179 0 3 0x82 piperd syz-executor.7 63755 461706 85179 0 2 0x2 syz-executor.3 41061 208158 85179 0 2 0x482 syz-executor.1 57349 274869 85179 0 2 0x482 syz-executor.2 60073 261215 85179 0 3 0x82 nanoslp syz-executor.0 20024 401806 85041 0 3 0x100082 netio arp 85041 255836 1 0 3 0x10008a sigsusp sh 16363 372280 1 0 3 0x100083 ttyin getty 92585 263472 0 0 3 0x14200 bored sosplice 85179 61179 21829 0 3 0x2000082 wait syz-fuzzer 85179 330895 21829 0 3 0x6000082 thrsleep syz-fuzzer 85179 161207 21829 0 3 0x6000082 wait syz-fuzzer 85179 388205 21829 0 3 0x6000082 thrsleep syz-fuzzer 85179 185280 21829 0 3 0x6000082 thrsleep syz-fuzzer 85179 298044 21829 0 3 0x6000082 wait syz-fuzzer 85179 344863 21829 0 3 0x6000082 wait syz-fuzzer 85179 162295 21829 0 3 0x6000082 thrsleep syz-fuzzer 85179 472593 21829 0 3 0x6000082 thrsleep syz-fuzzer 85179 321868 21829 0 3 0x6000082 thrsleep syz-fuzzer 85179 200714 21829 0 3 0x6000082 wait syz-fuzzer 85179 301822 21829 0 3 0x6000082 wait syz-fuzzer 85179 91773 21829 0 3 0x6000082 wait syz-fuzzer 85179 288042 21829 0 3 0x6000082 kqread syz-fuzzer 85179 83858 21829 0 3 0x6000082 wait syz-fuzzer 21829 168483 13903 0 3 0x10008a sigsusp ksh 13903 118003 64848 0 3 0x9a kqread sshd 64848 416193 1 0 3 0x88 kqread sshd 6047 261327 2963 73 3 0x1100090 kqread syslogd 2963 366565 1 0 3 0x100082 netio syslogd 23640 497345 1 0 3 0x100080 kqread resolvd 18948 339657 44386 77 3 0x100092 kqread dhcpleased 25103 425926 44386 77 3 0x100092 kqread dhcpleased 44386 262339 1 0 3 0x80 kqread dhcpleased 43569 411395 0 0 3 0x14200 bored smr 18951 379472 0 0 2 0x14200 zerothread 2584 343777 0 0 3 0x14200 aiodoned aiodoned 63357 122485 0 0 3 0x14200 syncer update 3706 463881 0 0 3 0x14200 cleaner cleaner 91648 228765 0 0 3 0x14200 reaper reaper 54538 351261 0 0 3 0x14200 pgdaemon pagedaemon 64448 305546 0 0 3 0x14200 bored viomb 32420 195436 0 0 3 0x40014200 acpi0 acpi0 97957 347097 0 0 3 0x14200 bored softnet3 94868 493866 0 0 3 0x14200 bored softnet2 96243 163592 0 0 3 0x14200 bored softnet1 56017 95162 0 0 3 0x14200 bored softnet0 3700 286464 0 0 3 0x14200 bored systqmp 45990 523843 0 0 3 0x14200 bored systq 47347 397610 0 0 3 0x40014200 tmoslp softclock 59271 282888 0 0 3 0x40014200 idle0 1 362314 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 10216 6566K 7028K 78643K 53645 0 pcb 13 22K 32K 78643K 6712 0 rtable 239 7K 7K 78643K 4518 0 pf 34 9K 10K 78643K 627 0 ifaddr 45 15K 17K 78643K 652 0 ifgroup 59 2K 2K 78643K 1074 0 sysctl 4 1K 3K 78643K 7 0 counters 30 17K 17K 78643K 299 0 ioctlops 0 0K 2K 78643K 1740 0 iov 0 0K 32K 78643K 3414 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1444 90K 91K 78643K 17491 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 339 0 VM map 2 1K 1K 78643K 2 0 sem 11 1K 1K 78643K 23 0 dirhash 12 2K 2K 78643K 90 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 85K 78643K 26155 0 sigio 0 0K 0K 78643K 685 0 proc 58 59K 108K 78643K 4193 0 subproc 117 7K 7K 78643K 1560 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1909 0 in_multi 99 7K 7K 78643K 1427 0 ether_multi 1 0K 0K 78643K 19 0 mrt 1 0K 0K 78643K 27 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 223 996K 996K 78643K 223 0 exec 0 0K 1K 78643K 5197 0 pfkey data 0 0K 0K 78643K 4 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 777 648K 649K 78643K 247791 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 439 0 NDP 13 0K 2K 78643K 514 0 temp 74 5916K 6108K 78643K 271325 0 kqueue 13 20K 26K 78643K 1681 0 SYN cache 2 2456K 2464K 78643K 4 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 889 0 884 8 7 1 4 0 8 0 rtentry 112 1373 0 1262 10 6 4 4 0 8 0 unpcb 144 59485 0 59472 336 330 6 19 0 8 5 syncache 304 217 0 217 51 50 1 1 0 8 1 sackhl 24 3 5 3 3 3 0 1 0 8 0 tcpqe 32 509 0 509 36 36 0 1 0 8 0 tcpcb 808 8492 0 8470 219 213 6 11 0 8 3 arp 88 242 0 224 1 0 1 1 0 8 0 ipq 40 31 0 31 16 15 1 1 0 8 1 ipqe 40 172 0 172 16 15 1 1 0 8 1 inpcb 336 25697 0 25672 340 331 9 23 0 8 5 nd6 104 368 0 344 1 0 1 1 0 8 0 pkpcb 40 248 0 248 17 16 1 1 0 8 1 kcovpl 48 120 0 111 1 0 1 1 0 8 0 ppxss 1160 58 0 58 16 16 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 5353 0 4889 73 43 30 30 0 8 0 art_table 32 5354 0 4889 7 3 4 4 0 8 0 art_node 16 1330 0 1230 1 0 1 1 0 8 0 sysvmsgpl 40 33 0 33 1 1 0 1 0 8 0 semupl 112 7 0 7 2 2 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 69 0 52 3 0 3 3 0 8 0 dino2pl 256 36595 0 35015 100 0 100 100 0 8 0 ffsino 240 36595 0 35015 95 1 94 94 0 8 0 nchpl 144 73672 0 73175 63 42 21 63 0 8 0 uvmvnodes 80 9258 0 0 189 0 189 189 0 8 0 vnodes 216 9258 0 0 515 0 515 515 0 8 0 namei 1024 243261 0 243260 34 33 1 3 0 8 0 vcpupl 2048 336 0 0 42 0 42 42 0 8 0 vmpool 664 368 0 32 29 1 28 28 0 8 0 kstatmem 264 564 0 538 6 4 2 3 0 8 0 scxspl 216 262815 0 262815 56 55 1 8 1 8 1 plimitpl 152 2089 0 2073 2 1 1 2 0 8 0 sigapl 424 26590 0 26543 13 6 7 9 0 8 0 futexpl 64 275861 0 275859 33 32 1 1 0 8 0 knotepl 120 292276 0 292196 154 150 4 22 0 8 0 kqueuepl 184 3627 0 3617 50 49 1 4 0 8 0 pipepl 288 4190 0 4159 100 97 3 8 0 8 0 fdescpl 432 26185 0 26157 9 5 4 4 0 8 0 filepl 120 194192 0 193934 331 318 13 23 0 8 2 lockfpl 104 9335 0 9329 20 19 1 4 0 8 0 lockfspl 48 3175 0 3171 1 0 1 1 0 8 0 sessionpl 144 136 0 119 1 0 1 1 0 8 0 pgrppl 48 272 0 255 1 0 1 1 0 8 0 ucredpl 104 19448 0 19433 1 0 1 1 0 8 0 zombiepl 144 26544 0 26543 8 7 1 1 0 8 0 processpl 1008 26590 0 26543 17 10 7 10 0 8 0 procpl 680 69213 0 69146 36 28 8 9 0 8 0 sosppl 168 221 0 221 38 37 1 1 0 8 1 sockpl 456 86444 0 86401 2008 1985 23 66 0 8 13 mcl64k 65536 945 0 945 54 53 1 1 0 8 1 mcl16k 16384 479 0 479 65 64 1 1 0 8 1 mcl12k 12288 1029 0 1029 48 47 1 1 0 8 1 mcl9k 9216 683 0 683 76 75 1 1 0 8 1 mcl8k 8192 1540 0 1540 45 44 1 1 0 8 1 mcl4k 4096 2840 0 2840 40 39 1 1 0 8 1 mcl2k2 2112 191 0 191 63 63 0 1 0 8 0 mcl2k 2048 96655 0 96548 224 207 17 29 0 8 1 mtagpl 96 4328 0 3870 51 36 15 15 0 8 0 mbufpl 256 439709 0 439080 508 455 53 84 0 8 0 bufpl 288 48866 0 39592 663 0 663 663 0 8 0 anonpl 24 2382833 0 2370271 413 322 91 98 0 188 0 amapchunkpl 152 778029 0 777303 209 174 35 49 0 158 2 amappl16 200 41897 0 41426 212 186 26 38 0 8 0 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 487 0 472 2 1 1 2 0 8 0 amappl13 176 16 0 16 1 1 0 1 0 8 0 amappl12 168 28458 0 28421 2 0 2 2 0 8 0 amappl11 160 83 0 73 1 0 1 1 0 8 0 amappl10 152 143 0 130 1 0 1 1 0 8 0 amappl9 144 244 0 242 1 0 1 1 0 8 0 amappl8 136 2730 0 2324 15 0 15 15 0 8 0 amappl7 128 477 0 451 2 0 2 2 0 8 0 amappl6 120 2135 0 2109 2 1 1 2 0 8 0 amappl5 112 579 0 570 1 0 1 1 0 8 0 amappl4 104 1260 0 1222 5 3 2 2 0 8 0 amappl3 96 152902 0 152819 4 1 3 3 0 8 0 amappl2 88 27842 0 27752 4 1 3 3 0 8 0 amappl1 80 109525 0 108991 23 11 12 22 0 8 0 amappl 88 245140 0 244883 9 2 7 7 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 26553 0 26189 3 0 3 3 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 26553 0 26189 3 0 3 3 0 8 0 vmmpekpl 168 182117 0 182013 5 0 5 5 0 8 0 vmmpepl 168 1568015 0 1565087 592 449 143 166 0 357 0 vmsppl 368 26552 0 26189 36 2 34 34 0 8 0 rwobjpl 24 365088 0 353806 75 6 69 69 0 8 0 pdppl 4096 53112 0 52714 1460 1056 404 404 0 8 6 pvpl 32 7307336 0 7288863 783 616 167 334 0 265 0 pmappl 216 26552 0 26189 21 0 21 21 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 4141 0 2668 43 0 43 43 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtrequest(1,ffff80002e115658,7,ffff80002e1155c8,5) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000d07e00,ffff80002e115700,ffff80002e115658,7,5) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd807761b200,fffffd8056244078) at route_output+0x6bc sys/net/rtsock.c:863 route_send(fffffd8056244078,fffffd807761b200,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd8056244078,0,ffff80002e1158d0,0,0,40c) at sosend+0x66d sendit(ffff8000216e3aa8,3,ffff80002e1159d0,40c,ffff80002e115ab0) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000216e3aa8,ffff80002e115a60,ffff80002e115ab0) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002e115b30) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3729b4a6eb0, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace rtrequest(1,ffff80002e115658,7,ffff80002e1155c8,5) at rtrequest+0x8e1 sys/net/route.c:941 rtm_output(ffff800000d07e00,ffff80002e115700,ffff80002e115658,7,5) at rtm_output+0x5f7 sys/net/rtsock.c:958 route_output(fffffd807761b200,fffffd8056244078) at route_output+0x6bc sys/net/rtsock.c:863 route_send(fffffd8056244078,fffffd807761b200,0,0) at route_send+0x8f sys/net/rtsock.c:339 sosend(fffffd8056244078,0,ffff80002e1158d0,0,0,40c) at sosend+0x66d sendit(ffff8000216e3aa8,3,ffff80002e1159d0,40c,ffff80002e115ab0) at sendit+0x65d sys/kern/uipc_syscalls.c:786 sys_sendto(ffff8000216e3aa8,ffff80002e115a60,ffff80002e115ab0) at sys_sendto+0x84 sys/kern/uipc_syscalls.c:564 syscall(ffff80002e115b30) at syscall+0x4a8 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3729b4a6eb0, count: -9