uvm_fault(0xfffffd806b039010, 0x58, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtm_output+0x3d5: movl 0x58(%r14),%edi TID PID UID PRFLAGS PFLAGS CPU COMMAND * 31681 28112 0 0 0x4000000 0 syz-executor.0 rtm_output(ffff800000b99600,ffff8000216e1430,ffff8000216e1390,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd80655b0d00,fffffd807db84540,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd807db84540,9,fffffd80655b0d00,0,0,ffff800021659a40) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd807db84540,0,ffff8000216e1640,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff800021659a40,3,ffff8000216e1720,0,ffff8000216e1810) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff800021659a40,ffff8000216e17b8,ffff8000216e1810) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000216e1880) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa273d80e3e0, count: 7 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(0xfffffd806b039010, 0x58, 0, 1) -> e ddb> trace rtm_output(ffff800000b99600,ffff8000216e1430,ffff8000216e1390,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd80655b0d00,fffffd807db84540,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd807db84540,9,fffffd80655b0d00,0,0,ffff800021659a40) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd807db84540,0,ffff8000216e1640,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff800021659a40,3,ffff8000216e1720,0,ffff8000216e1810) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff800021659a40,ffff8000216e17b8,ffff8000216e1810) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000216e1880) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa273d80e3e0, count: -8 ddb> show registers rdi 0xffff800024738000 rsi 0x18a rbp 0xffff8000216e1380 rbx 0x3 rdx 0xffff800024738000 rcx 0x189 rax 0xffffffff8233ff8b rtm_output+0x1fb r8 0x8 r9 0x1 r10 0x5e7b2d0a4dd2f046 r11 0xf0f4b53051da752f r12 0x8 r13 0x8 r14 0 r15 0xffff8000216e1390 rip 0xffffffff82340165 rtm_output+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000216e12f0 ss 0x10 rtm_output+0x3d5: movl 0x58(%r14),%edi ddb> show proc PROC (syz-executor.0) pid=31681 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff800021658d20,0xffffffff828adc98 process=0xffff80002163a3f8 user=0xffff8000216dc000, vmspace=0xfffffd806b039010 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 28112 178247 23375 0 2 0 syz-executor.0 *28112 31681 23375 0 7 0x4000000 syz-executor.0 95781 63427 51231 0 2 0x2 syz-executor.1 23375 520479 51231 0 3 0x82 nanoslp syz-executor.0 42572 302196 0 0 3 0x14200 acct acct 12332 193072 0 0 3 0x14200 bored sosplice 51231 43334 73115 0 3 0x82 thrsleep syz-fuzzer 51231 234702 73115 0 3 0x4000082 nanoslp syz-fuzzer 51231 78800 73115 0 3 0x4000082 thrsleep syz-fuzzer 51231 307543 73115 0 3 0x4000082 thrsleep syz-fuzzer 51231 522942 73115 0 3 0x4000082 thrsleep syz-fuzzer 51231 211298 73115 0 3 0x4000082 thrsleep syz-fuzzer 51231 149782 73115 0 3 0x4000082 kqread syz-fuzzer 73115 352821 84212 0 3 0x10008a sigsusp ksh 84212 448415 47222 0 3 0x9a select sshd 57655 216715 1 0 3 0x100083 ttyin getty 47222 449767 1 0 3 0x88 select sshd 42551 407627 46777 73 3 0x100090 kqread syslogd 46777 512906 1 0 3 0x100082 netio syslogd 20192 495618 1 0 3 0x100080 kqread resolvd 66388 234833 27333 77 3 0x100092 kqread dhcpleased 46134 439200 27333 77 3 0x100092 kqread dhcpleased 27333 254221 1 0 3 0x80 kqread dhcpleased 75928 48955 0 0 3 0x14200 bored smr 84845 212671 0 0 2 0x14200 zerothread 61307 39133 0 0 3 0x14200 aiodoned aiodoned 31357 47772 0 0 3 0x14200 syncer update 38190 233353 0 0 3 0x14200 cleaner cleaner 83193 147560 0 0 3 0x14200 reaper reaper 49045 2600 0 0 3 0x14200 pgdaemon pagedaemon 88383 84270 0 0 3 0x14200 bored crynlk 33061 375199 0 0 3 0x14200 bored crypto 14006 389262 0 0 3 0x14200 bored viomb 12377 366628 0 0 3 0x40014200 acpi0 acpi0 33293 276496 0 0 3 0x14200 bored softnet 95416 302034 0 0 3 0x14200 bored systqmp 48366 474241 0 0 3 0x14200 bored systq 32737 275172 0 0 3 0x40014200 bored softclock 47634 76842 0 0 3 0x40014200 idle0 1 464595 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 10173 6378K 7391K 78643K 18059 0 pcb 13 8K 8K 78643K 324 0 rtable 120 6K 6K 78643K 636 0 ifaddr 83 16K 16K 78643K 273 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 48 0 ioctlops 0 0K 4K 78643K 255 0 iov 0 0K 24K 78643K 298 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1231 77K 78K 78643K 3234 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 27 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 1184 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 6258 0 sigio 0 0K 0K 78643K 24 0 proc 62 55K 71K 78643K 677 0 subproc 32 2K 3K 78643K 119 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 337 0 in_multi 33 2K 2K 78643K 313 0 ether_multi 1 0K 0K 78643K 103 0 mrt 1 0K 0K 78643K 71 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 2K 78643K 652 0 pfkey data 0 0K 1K 78643K 13 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 290 167K 167K 78643K 74943 0 UVM aobj 56 7K 7K 78643K 64 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 306 0 NDP 14 0K 0K 78643K 55 0 temp 141 4210K 4774K 78643K 57443 0 kqueue 10 14K 22K 78643K 195 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 230 0 226 1 0 1 1 0 8 0 rtentry 112 106 0 61 2 0 2 2 0 8 0 unpcb 120 1299 0 1282 1 0 1 1 0 8 0 syncache 296 70 0 70 8 8 0 1 0 8 0 tcpqe 32 72 0 72 3 3 0 1 0 8 0 tcpcb 736 1000 0 994 19 17 2 4 0 8 1 arp 88 16 0 10 1 0 1 1 0 8 0 inpcb 304 2562 0 2555 9 7 2 2 0 8 1 rttmr 72 5 0 5 1 1 0 1 0 8 0 nd6 48 22 0 15 1 0 1 1 0 8 0 pkpcb 40 18 0 18 3 3 0 1 0 8 0 kcovpl 48 7 0 5 1 0 1 1 0 8 0 swfcl 56 14 0 0 1 0 1 1 0 8 0 ppxss 1152 5 0 5 2 1 1 1 0 8 1 pfstscr 40 8 0 7 1 0 1 1 0 8 0 pfosfp 40 8 0 1 1 0 1 1 0 8 0 pfosfpen 112 8 0 0 1 0 1 1 0 8 0 pfrktable 1344 59 0 56 2 1 1 1 0 8 0 pftag 88 13 0 11 2 1 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 16 0 14 1 0 1 1 0 8 0 pfstate 320 8 0 7 1 0 1 1 0 8 0 pfrule 1360 67 0 40 3 0 3 3 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 436 0 223 17 3 14 14 0 8 0 art_table 32 437 0 223 2 0 2 2 0 8 0 art_node 16 105 0 64 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 28 1 0 1 1 0 8 0 semupl 112 7 0 7 1 1 0 1 0 8 0 semapl 112 1174 0 1164 1 0 1 1 0 8 0 shmpl 112 61 0 8 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 9039 0 7607 91 1 90 90 0 8 0 ffsino 240 9039 0 7607 85 0 85 85 0 8 0 nchpl 144 16712 0 15111 60 0 60 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 40666 0 40666 1 0 1 1 0 8 1 vcpupl 1984 9 0 0 2 0 2 2 0 8 0 vmpool 528 9 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 22 0 11 2 1 1 1 0 8 0 scsiplug 72 5 0 5 1 1 0 1 0 8 0 scxspl 216 50483 0 50483 12 11 1 8 0 8 1 plimitpl 152 147 0 139 1 0 1 1 0 8 0 sigapl 424 6472 0 6439 4 0 4 4 0 8 0 futexpl 56 58549 0 58549 1 0 1 1 0 8 1 knotepl 112 458 0 420 2 0 2 2 0 8 0 kqueuepl 184 3632 0 3618 9 7 2 2 0 8 1 pipepl 304 453 0 443 4 3 1 2 0 8 0 fdescpl 432 6455 0 6439 4 2 2 3 0 8 0 filepl 120 21802 0 21693 4 0 4 4 0 8 0 lockfpl 104 759 0 757 1 0 1 1 0 8 0 lockfspl 48 334 0 332 1 0 1 1 0 8 0 sessionpl 144 22 0 12 1 0 1 1 0 8 0 pgrppl 48 43 0 33 1 0 1 1 0 8 0 ucredpl 96 2014 0 2004 1 0 1 1 0 8 0 zombiepl 144 6439 0 6439 1 0 1 1 0 8 1 processpl 1008 6472 0 6439 5 0 5 5 0 8 0 procpl 672 13131 0 13091 4 0 4 4 0 8 0 sosppl 168 96 0 96 5 4 1 1 0 8 1 sockpl 448 4118 0 4090 13 8 5 5 0 8 0 mcl64k 65536 254 0 254 13 12 1 1 0 8 1 mcl16k 16384 82 0 82 13 13 0 1 0 8 0 mcl12k 12288 257 0 257 13 12 1 1 0 8 1 mcl9k 9216 59 0 59 9 8 1 1 0 8 1 mcl8k 8192 170 0 170 13 13 0 1 0 8 0 mcl4k 4096 333 0 333 14 13 1 1 0 8 1 mcl2k2 2112 15 0 15 3 2 1 1 0 8 1 mcl2k 2048 92910 0 92855 52 38 14 16 0 8 2 mtagpl 96 647 0 522 14 10 4 6 0 8 0 mbufpl 256 364889 0 364432 77 45 32 48 0 8 1 bufpl 280 12332 0 5926 458 0 458 458 0 8 0 anonpl 24 1635940 0 1619570 140 36 104 106 0 188 0 amapchunkpl 152 176706 0 176100 42 17 25 26 0 158 1 amappl16 200 14159 0 13564 52 20 32 32 0 8 0 amappl14 184 1 0 0 1 0 1 1 0 8 0 amappl13 176 1880 0 1878 1 0 1 1 0 8 0 amappl12 168 1407 0 1403 1 0 1 1 0 8 0 amappl11 160 2780 0 2769 1 0 1 1 0 8 0 amappl10 152 42 0 36 1 0 1 1 0 8 0 amappl9 144 483 0 481 1 0 1 1 0 8 0 amappl8 136 556 0 472 4 1 3 3 0 8 0 amappl7 128 85 0 72 1 0 1 1 0 8 0 amappl6 120 407 0 391 1 0 1 1 0 8 0 amappl5 112 4762 0 4747 1 0 1 1 0 8 0 amappl4 104 3475 0 3447 1 0 1 1 0 8 0 amappl3 96 2662 0 2660 1 0 1 1 0 8 0 amappl2 88 3131 0 3067 2 0 2 2 0 8 0 amappl1 80 107034 0 106618 13 3 10 12 0 8 0 amappl 88 73928 0 73757 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 64 63 0 8 1 0 1 1 0 8 0 uaddrrnd 24 6464 0 6439 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6464 0 6439 1 0 1 1 0 8 0 vmmpekpl 168 33910 0 33882 2 0 2 2 0 8 0 vmmpepl 168 715638 0 713706 161 72 89 97 0 357 2 vmsppl 272 6463 0 6439 3 1 2 2 0 8 0 rwobjpl 24 121525 0 120161 13 4 9 9 0 8 0 pdppl 4096 12935 0 12887 69 20 49 50 0 8 1 pvpl 32 3537213 0 3517499 263 91 172 176 0 265 4 pmappl 192 6463 0 6439 2 0 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 490 0 186 9 0 9 9 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtm_output(ffff800000b99600,ffff8000216e1430,ffff8000216e1390,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd80655b0d00,fffffd807db84540,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd807db84540,9,fffffd80655b0d00,0,0,ffff800021659a40) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd807db84540,0,ffff8000216e1640,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff800021659a40,3,ffff8000216e1720,0,ffff8000216e1810) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff800021659a40,ffff8000216e17b8,ffff8000216e1810) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000216e1880) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa273d80e3e0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace rtm_output(ffff800000b99600,ffff8000216e1430,ffff8000216e1390,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd80655b0d00,fffffd807db84540,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd807db84540,9,fffffd80655b0d00,0,0,ffff800021659a40) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd807db84540,0,ffff8000216e1640,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff800021659a40,3,ffff8000216e1720,0,ffff8000216e1810) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff800021659a40,ffff8000216e17b8,ffff8000216e1810) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000216e1880) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa273d80e3e0, count: -8