uvm_fault(0xfffffd8066d7d880, 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 * 60518 69485 0 0 0x4000000 0 syz-executor.1 rtm_output(ffff800000b5f400,ffff8000216ed870,ffff8000216ed7d0,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd806255bc00,fffffd806c6e3c68,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd806c6e3c68,9,fffffd806255bc00,0,0,ffff8000216f8548) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd806c6e3c68,0,ffff8000216eda80,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff8000216f8548,3,ffff8000216edb60,0,ffff8000216edc50) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000216f8548,ffff8000216edbf8,ffff8000216edc50) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000216edcc0) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5efab78ced0, 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(0xfffffd8066d7d880, 0x58, 0, 1) -> e ddb> trace rtm_output(ffff800000b5f400,ffff8000216ed870,ffff8000216ed7d0,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd806255bc00,fffffd806c6e3c68,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd806c6e3c68,9,fffffd806255bc00,0,0,ffff8000216f8548) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd806c6e3c68,0,ffff8000216eda80,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff8000216f8548,3,ffff8000216edb60,0,ffff8000216edc50) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000216f8548,ffff8000216edbf8,ffff8000216edc50) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000216edcc0) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5efab78ced0, count: -8 ddb> show registers rdi 0xffff800021700000 rsi 0x1b2 rbp 0xffff8000216ed7c0 rbx 0x3 rdx 0xffff800021700000 rcx 0x1b1 rax 0xffffffff8233ff8b rtm_output+0x1fb r8 0xffffffff81530274 rtable_satoplen+0x1b4 r9 0x1 r10 0x1fb4bfdd35b49186 r11 0xc208194408abf657 r12 0x8 r13 0x8 r14 0 r15 0xffff8000216ed7d0 rip 0xffffffff82340165 rtm_output+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000216ed730 ss 0x10 rtm_output+0x3d5: movl 0x58(%r14),%edi ddb> show proc PROC (syz-executor.1) pid=60518 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff8000216f8d28,0xffff8000216f9518 process=0xffff800021652be0 user=0xffff8000216e8000, vmspace=0xfffffd8066d7d880 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 16901 43170 93526 0 2 0 syz-executor.0 69485 104606 14629 0 2 0 syz-executor.1 *69485 60518 14629 0 7 0x4000000 syz-executor.1 93526 61015 89961 0 3 0x82 nanoslp syz-executor.0 69089 344554 0 0 3 0x14200 bored sosplice 14629 367927 89961 0 3 0x82 nanoslp syz-executor.1 89961 25603 52240 0 3 0x82 thrsleep syz-fuzzer 89961 318501 52240 0 3 0x4000082 nanoslp syz-fuzzer 89961 378395 52240 0 3 0x4000082 thrsleep syz-fuzzer 89961 78948 52240 0 3 0x4000082 thrsleep syz-fuzzer 89961 2689 52240 0 3 0x4000082 thrsleep syz-fuzzer 89961 374793 52240 0 3 0x4000082 thrsleep syz-fuzzer 89961 132115 52240 0 3 0x4000082 kqread syz-fuzzer 52240 282771 98763 0 3 0x10008a sigsusp ksh 98763 4301 49413 0 3 0x9a select sshd 44482 466465 1 0 3 0x100083 ttyin getty 49413 411683 1 0 3 0x88 select sshd 10375 210848 89269 73 3 0x100090 kqread syslogd 89269 506671 1 0 3 0x100082 netio syslogd 6513 395505 1 0 3 0x100080 kqread resolvd 95820 59950 95244 77 3 0x100092 kqread dhcpleased 6803 16058 95244 77 3 0x100092 kqread dhcpleased 95244 202135 1 0 3 0x80 kqread dhcpleased 84208 415469 0 0 2 0x14200 smr 54666 426420 0 0 2 0x14200 zerothread 34070 362775 0 0 3 0x14200 aiodoned aiodoned 57681 181630 0 0 3 0x14200 syncer update 6781 411151 0 0 3 0x14200 cleaner cleaner 63395 51755 0 0 3 0x14200 reaper reaper 17978 129087 0 0 3 0x14200 pgdaemon pagedaemon 40973 214337 0 0 3 0x14200 bored crynlk 54685 120677 0 0 3 0x14200 bored crypto 28282 41114 0 0 3 0x14200 bored viomb 46337 420408 0 0 3 0x40014200 acpi0 acpi0 86527 212899 0 0 3 0x14200 bored softnet 48477 263898 0 0 3 0x14200 bored systqmp 87795 17842 0 0 3 0x14200 bored systq 25202 321998 0 0 2 0x40014200 softclock 53519 189551 0 0 3 0x40014200 idle0 1 210711 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 10153 6437K 6934K 78643K 13633 0 pcb 13 8K 8K 78643K 138 0 rtable 114 4K 4K 78643K 427 0 ifaddr 64 12K 13K 78643K 172 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 41 0 ioctlops 0 0K 4K 78643K 83 0 iov 0 0K 12K 78643K 60 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1218 77K 77K 78643K 2017 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 12 0K 0K 78643K 455 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 6 17K 25K 78643K 2364 0 sigio 0 0K 0K 78643K 11 0 proc 63 55K 71K 78643K 353 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 150 0 in_multi 29 1K 2K 78643K 196 0 ether_multi 1 0K 0K 78643K 37 0 mrt 0 0K 0K 78643K 36 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 2K 78643K 449 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 219 30K 33K 78643K 29306 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 124 0 NDP 11 0K 0K 78643K 49 0 temp 125 4202K 4266K 78643K 15539 0 kqueue 10 14K 24K 78643K 146 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 90 0 86 1 0 1 1 0 8 0 rtentry 112 131 0 85 2 0 2 2 0 8 0 unpcb 120 566 0 548 1 0 1 1 0 8 0 syncache 296 17 0 17 3 3 0 1 0 8 0 tcpqe 32 528 0 528 3 3 0 2 0 8 0 tcpcb 736 378 0 374 6 4 2 3 0 8 1 arp 88 10 0 2 1 0 1 1 0 8 0 inpcb 304 973 0 966 4 3 1 2 0 8 0 rttmr 72 14 0 14 1 1 0 1 0 8 0 nd6 48 22 0 17 1 0 1 1 0 8 0 pkpcb 40 10 0 10 1 1 0 1 0 8 0 kcovpl 48 3 0 1 1 0 1 1 0 8 0 ppxss 1152 4 0 4 1 1 0 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfqueue 264 5 0 5 1 1 0 1 0 8 0 pfrule 1360 10 0 10 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 546 0 348 14 1 13 13 0 8 0 art_table 32 547 0 348 2 0 2 2 0 8 0 art_node 16 122 0 79 1 0 1 1 0 8 0 sysvmsgpl 40 42 0 2 1 0 1 1 0 8 0 semapl 112 453 0 443 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4376 0 2974 89 0 89 89 0 8 0 ffsino 240 4376 0 2974 84 1 83 83 0 8 0 nchpl 144 7338 0 5739 60 0 60 60 0 8 0 uvmvnodes 72 4952 0 0 91 0 91 91 0 8 0 vnodes 224 4952 0 0 292 0 292 292 0 8 0 namei 1024 18064 0 18064 2 1 1 1 0 8 1 scxspl 216 20428 0 20428 10 9 1 8 0 8 1 plimitpl 152 62 0 54 1 0 1 1 0 8 0 sigapl 424 2589 0 2556 4 0 4 4 0 8 0 futexpl 56 21311 0 21311 1 0 1 1 0 8 1 knotepl 112 399 0 361 2 0 2 2 0 8 0 kqueuepl 184 1357 0 1351 1 0 1 1 0 8 0 pipepl 304 230 0 220 3 2 1 2 0 8 0 fdescpl 432 2573 0 2556 3 1 2 3 0 8 0 filepl 120 9018 0 8910 5 1 4 4 0 8 0 lockfpl 104 194 0 192 1 0 1 1 0 8 0 lockfspl 48 88 0 86 1 0 1 1 0 8 0 sessionpl 144 18 0 8 1 0 1 1 0 8 0 pgrppl 48 18 0 8 1 0 1 1 0 8 0 ucredpl 96 942 0 932 1 0 1 1 0 8 0 zombiepl 144 2556 0 2556 2 1 1 1 0 8 1 processpl 1008 2589 0 2556 6 1 5 5 0 8 0 procpl 672 5120 0 5080 5 1 4 5 0 8 0 sosppl 168 35 0 35 5 4 1 1 0 8 1 sockpl 448 1639 0 1610 9 5 4 5 0 8 0 mcl64k 65536 86 0 86 5 4 1 1 0 8 1 mcl16k 16384 67 0 67 3 2 1 1 0 8 1 mcl12k 12288 81 0 81 5 4 1 1 0 8 1 mcl9k 9216 24 0 24 4 3 1 1 0 8 1 mcl8k 8192 68 0 68 5 4 1 1 0 8 1 mcl4k 4096 115 0 115 5 4 1 1 0 8 1 mcl2k2 2112 20 0 20 3 2 1 1 0 8 1 mcl2k 2048 225523 0 225458 68 54 14 52 0 8 4 mtagpl 96 138 0 42 4 1 3 3 0 8 0 mbufpl 256 435936 0 435488 61 30 31 33 0 8 0 bufpl 280 5942 0 126 416 0 416 416 0 8 0 anonpl 24 646372 0 621020 157 2 155 155 0 188 1 amapchunkpl 152 68595 0 68002 28 4 24 25 0 158 1 amappl16 200 5669 0 4571 59 0 59 59 0 8 1 amappl15 192 2 0 0 1 0 1 1 0 8 0 amappl14 184 2 0 1 1 0 1 1 0 8 0 amappl13 176 66 0 64 1 0 1 1 0 8 0 amappl12 168 622 0 620 1 0 1 1 0 8 0 amappl11 160 37 0 27 1 0 1 1 0 8 0 amappl10 152 34 0 28 1 0 1 1 0 8 0 amappl9 144 1383 0 1377 1 0 1 1 0 8 0 amappl8 136 964 0 911 2 0 2 2 0 8 0 amappl7 128 647 0 634 1 0 1 1 0 8 0 amappl6 120 1265 0 1248 1 0 1 1 0 8 0 amappl5 112 1909 0 1894 1 0 1 1 0 8 0 amappl4 104 605 0 578 1 0 1 1 0 8 0 amappl3 96 727 0 726 1 0 1 1 0 8 0 amappl2 88 1112 0 1059 2 0 2 2 0 8 0 amappl1 80 45233 0 44809 13 3 10 12 0 8 0 amappl 88 28734 0 28587 4 0 4 4 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 2573 0 2556 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2573 0 2556 1 0 1 1 0 8 0 vmmpekpl 168 16584 0 16564 2 0 2 2 0 8 0 vmmpepl 168 289041 0 286589 178 62 116 149 0 357 9 vmsppl 272 2572 0 2556 4 2 2 2 0 8 0 rwobjpl 24 50873 0 49045 12 0 12 12 0 8 0 pdppl 4096 5153 0 5112 62 21 41 45 0 8 0 pvpl 32 1402837 0 1374140 248 11 237 239 0 265 5 pmappl 192 2572 0 2556 1 0 1 1 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 425 0 136 9 0 9 9 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtm_output(ffff800000b5f400,ffff8000216ed870,ffff8000216ed7d0,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd806255bc00,fffffd806c6e3c68,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd806c6e3c68,9,fffffd806255bc00,0,0,ffff8000216f8548) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd806c6e3c68,0,ffff8000216eda80,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff8000216f8548,3,ffff8000216edb60,0,ffff8000216edc50) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000216f8548,ffff8000216edbf8,ffff8000216edc50) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000216edcc0) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5efab78ced0, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace rtm_output(ffff800000b5f400,ffff8000216ed870,ffff8000216ed7d0,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd806255bc00,fffffd806c6e3c68,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd806c6e3c68,9,fffffd806255bc00,0,0,ffff8000216f8548) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd806c6e3c68,0,ffff8000216eda80,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff8000216f8548,3,ffff8000216edb60,0,ffff8000216edc50) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000216f8548,ffff8000216edbf8,ffff8000216edc50) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000216edcc0) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5efab78ced0, count: -8