uvm_fault(0xfffffd8064ccf440, 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 *338959 28130 0 0 0x4000000 0 syz-executor.1 rtm_output(ffff800000b94300,ffff800022708b20,ffff800022708a80,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd8075990100,fffffd806ef63708,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd806ef63708,9,fffffd8075990100,0,0,ffff800021658000) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd806ef63708,0,ffff800022708d30,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff800021658000,3,ffff800022708e10,0,ffff800022708f00) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff800021658000,ffff800022708ea8,ffff800022708f00) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff800022708f70) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b78d6850, 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(0xfffffd8064ccf440, 0x58, 0, 1) -> e ddb> trace rtm_output(ffff800000b94300,ffff800022708b20,ffff800022708a80,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd8075990100,fffffd806ef63708,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd806ef63708,9,fffffd8075990100,0,0,ffff800021658000) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd806ef63708,0,ffff800022708d30,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff800021658000,3,ffff800022708e10,0,ffff800022708f00) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff800021658000,ffff800022708ea8,ffff800022708f00) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff800022708f70) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b78d6850, count: -8 ddb> show registers rdi 0xffff800021704000 rsi 0x197 rbp 0xffff800022708a70 rbx 0x3 rdx 0xffff800021704000 rcx 0x196 rax 0xffffffff8233ff8b rtm_output+0x1fb r8 0x8 r9 0x1 r10 0x111e58e28228ad97 r11 0xa8b4cdd40357de6b r12 0x8 r13 0x8 r14 0 r15 0xffff800022708a80 rip 0xffffffff82340165 rtm_output+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000227089e0 ss 0x10 rtm_output+0x3d5: movl 0x58(%r14),%edi ddb> show proc PROC (syz-executor.1) pid=338959 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=70, nice=20 forw=0xffffffffffffffff, list=0xffff800021658540,0xffffffff828adc98 process=0xffff800021669ba0 user=0xffff800022704000, vmspace=0xfffffd8064ccf440 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 28130 40163 72652 0 2 0 syz-executor.1 *28130 338959 72652 0 7 0x4000000 syz-executor.1 15892 28412 0 0 3 0x14200 bored sosplice 18363 349498 44804 0 3 0x82 nanoslp syz-executor.0 72652 275135 44804 0 3 0x82 nanoslp syz-executor.1 44804 87958 42229 0 3 0x82 thrsleep syz-fuzzer 44804 97326 42229 0 3 0x4000082 thrsleep syz-fuzzer 44804 129317 42229 0 3 0x4000082 thrsleep syz-fuzzer 44804 325889 42229 0 3 0x4000082 thrsleep syz-fuzzer 44804 522402 42229 0 3 0x4000082 thrsleep syz-fuzzer 44804 356199 42229 0 3 0x4000082 kqread syz-fuzzer 44804 100892 42229 0 3 0x4000082 thrsleep syz-fuzzer 42229 273112 18031 0 3 0x10008a sigsusp ksh 18031 361282 59047 0 3 0x9a select sshd 53594 380595 1 0 3 0x100083 ttyin getty 59047 19933 1 0 3 0x88 select sshd 52857 264007 95170 73 3 0x100090 kqread syslogd 95170 32058 1 0 3 0x100082 netio syslogd 37140 38609 1 0 3 0x100080 kqread resolvd 51532 420824 5675 77 3 0x100092 kqread dhcpleased 48204 264243 5675 77 3 0x100092 kqread dhcpleased 5675 330549 1 0 3 0x80 kqread dhcpleased 76557 272941 0 0 3 0x14200 bored smr 10831 377095 0 0 2 0x14200 zerothread 28367 123193 0 0 3 0x14200 aiodoned aiodoned 10755 480126 0 0 3 0x14200 syncer update 96265 433777 0 0 3 0x14200 cleaner cleaner 3277 442839 0 0 3 0x14200 reaper reaper 47382 68932 0 0 3 0x14200 pgdaemon pagedaemon 90425 301766 0 0 3 0x14200 bored crynlk 91135 159198 0 0 3 0x14200 bored crypto 81540 292973 0 0 3 0x14200 bored viomb 24527 519332 0 0 3 0x40014200 acpi0 acpi0 43389 37432 0 0 3 0x14200 bored softnet 71209 200874 0 0 3 0x14200 bored systqmp 22976 495243 0 0 3 0x14200 bored systq 88688 354194 0 0 3 0x40014200 bored softclock 7350 96913 0 0 3 0x40014200 idle0 1 522042 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 10150 6488K 6741K 78643K 11855 0 pcb 13 8K 8K 78643K 57 0 rtable 107 3K 3K 78643K 198 0 ifaddr 60 12K 12K 78643K 70 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 23 0 ioctlops 0 0K 4K 78643K 52 0 iov 0 0K 12K 78643K 22 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1222 77K 77K 78643K 1399 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 11 1K 1K 78643K 17 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 595 0 sigio 0 0K 0K 78643K 11 0 proc 57 55K 71K 78643K 298 0 subproc 32 2K 2K 78643K 36 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 16 0 in_multi 33 2K 2K 78643K 51 0 ether_multi 1 0K 0K 78643K 8 0 mrt 2 0K 0K 78643K 8 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 2K 78643K 387 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 239 46K 46K 78643K 8602 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 22 0 NDP 10 0K 0K 78643K 16 0 temp 122 4202K 4266K 78643K 3807 0 kqueue 10 14K 19K 78643K 51 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 42 0 38 1 0 1 1 0 8 0 rtentry 112 47 0 3 2 0 2 2 0 8 0 unpcb 120 182 0 169 1 0 1 1 0 8 0 syncache 296 6 0 6 2 2 0 1 0 8 0 tcpqe 32 93 0 93 1 1 0 1 0 8 0 tcpcb 736 68 0 62 3 2 1 2 0 8 0 arp 88 6 0 0 1 0 1 1 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 90 0 90 1 1 0 1 0 8 0 inpcb 304 227 0 220 2 1 1 2 0 8 0 rttmr 72 2 0 2 1 0 1 1 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 kcovpl 48 2 0 0 1 0 1 1 0 8 0 ppxss 1152 1 0 1 1 1 0 1 0 8 0 pfrule 1360 15 0 14 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 46 0 6 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 9 1 0 1 1 0 8 0 semupl 112 6 0 6 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2070 0 667 88 0 88 88 0 8 0 ffsino 240 2070 0 667 84 1 83 83 0 8 0 nchpl 144 2949 0 1337 60 0 60 60 0 8 0 uvmvnodes 72 2250 0 0 41 0 41 41 0 8 0 vnodes 224 2250 0 0 133 0 133 133 0 8 0 namei 1024 7706 0 7706 2 1 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 2 0 0 1 0 1 1 0 8 0 scxspl 216 8380 0 8380 10 9 1 8 0 8 1 plimitpl 152 24 0 16 1 0 1 1 0 8 0 sigapl 424 826 0 794 4 0 4 4 0 8 0 futexpl 56 7459 0 7459 1 0 1 1 0 8 1 knotepl 112 276 0 238 2 0 2 2 0 8 0 kqueuepl 184 614 0 608 1 0 1 1 0 8 0 pipepl 304 133 0 123 1 0 1 1 0 8 0 fdescpl 432 810 0 794 3 1 2 3 0 8 0 filepl 120 3471 0 3363 5 1 4 4 0 8 0 lockfpl 104 49 0 47 1 0 1 1 0 8 0 lockfspl 48 24 0 22 1 0 1 1 0 8 0 sessionpl 144 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 297 0 287 1 0 1 1 0 8 0 zombiepl 144 794 0 793 2 1 1 1 0 8 0 processpl 1008 826 0 793 6 1 5 5 0 8 0 procpl 672 1439 0 1399 4 0 4 4 0 8 0 sosppl 168 7 0 7 2 1 1 1 0 8 1 sockpl 448 452 0 428 5 1 4 4 0 8 1 mcl64k 65536 25 0 25 2 1 1 1 0 8 1 mcl16k 16384 12 0 12 3 2 1 1 0 8 1 mcl12k 12288 42 0 42 2 1 1 1 0 8 1 mcl9k 9216 11 0 11 1 0 1 1 0 8 1 mcl8k 8192 27 0 27 2 1 1 1 0 8 1 mcl4k 4096 42 0 42 3 2 1 1 0 8 1 mcl2k 2048 341578 0 341538 18 10 8 15 0 8 1 mtagpl 96 49 0 3 3 1 2 2 0 8 0 mbufpl 256 575312 0 575004 34 11 23 30 0 8 2 bufpl 280 3943 0 131 273 0 273 273 0 8 0 anonpl 24 209642 0 178166 192 0 192 192 0 188 0 amapchunkpl 152 20222 0 19390 35 1 34 35 0 158 1 amappl16 200 2302 0 1039 67 0 67 67 0 8 0 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl13 176 45 0 44 1 0 1 1 0 8 0 amappl12 168 19 0 15 1 0 1 1 0 8 0 amappl11 160 312 0 301 1 0 1 1 0 8 0 amappl10 152 31 0 24 1 0 1 1 0 8 0 amappl9 144 521 0 517 1 0 1 1 0 8 0 amappl8 136 353 0 314 2 0 2 2 0 8 0 amappl7 128 69 0 56 1 0 1 1 0 8 0 amappl6 120 409 0 395 1 0 1 1 0 8 0 amappl5 112 741 0 725 1 0 1 1 0 8 0 amappl4 104 820 0 794 1 0 1 1 0 8 0 amappl3 96 90 0 88 1 0 1 1 0 8 0 amappl2 88 482 0 429 2 0 2 2 0 8 0 amappl1 80 16579 0 16165 14 5 9 12 0 8 0 amappl 88 8176 0 7997 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 812 0 794 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 812 0 794 1 0 1 1 0 8 0 vmmpekpl 168 8977 0 8956 2 0 2 2 0 8 0 vmmpepl 168 91983 0 89436 158 28 130 158 0 357 18 vmsppl 272 811 0 794 4 2 2 2 0 8 0 rwobjpl 24 18904 0 16898 13 0 13 13 0 8 0 pdppl 4096 1631 0 1590 73 30 43 45 0 8 2 pvpl 32 548444 0 513636 289 0 289 289 0 265 7 pmappl 192 811 0 794 1 0 1 1 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 341 0 66 8 0 8 8 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtm_output(ffff800000b94300,ffff800022708b20,ffff800022708a80,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd8075990100,fffffd806ef63708,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd806ef63708,9,fffffd8075990100,0,0,ffff800021658000) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd806ef63708,0,ffff800022708d30,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff800021658000,3,ffff800022708e10,0,ffff800022708f00) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff800021658000,ffff800022708ea8,ffff800022708f00) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff800022708f70) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b78d6850, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace rtm_output(ffff800000b94300,ffff800022708b20,ffff800022708a80,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd8075990100,fffffd806ef63708,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd806ef63708,9,fffffd8075990100,0,0,ffff800021658000) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd806ef63708,0,ffff800022708d30,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff800021658000,3,ffff800022708e10,0,ffff800022708f00) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff800021658000,ffff800022708ea8,ffff800022708f00) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff800022708f70) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b78d6850, count: -8