uvm_fault(0xfffffd80656d1110, 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 *433033 26036 0 0 0x4000000 0 syz-executor.0 rtm_output(ffff800000baf300,ffff800022dacbb0,ffff800022dacb10,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd806590b700,fffffd8065b94a88,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd8065b94a88,9,fffffd806590b700,0,0,ffff8000226ec2b0) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd8065b94a88,0,ffff800022dacdc0,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff8000226ec2b0,3,ffff800022dacea0,0,ffff800022dacf90) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000226ec2b0,ffff800022dacf38,ffff800022dacf90) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff800022dad000) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3b84fce3350, 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(0xfffffd80656d1110, 0x58, 0, 1) -> e ddb> trace rtm_output(ffff800000baf300,ffff800022dacbb0,ffff800022dacb10,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd806590b700,fffffd8065b94a88,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd8065b94a88,9,fffffd806590b700,0,0,ffff8000226ec2b0) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd8065b94a88,0,ffff800022dacdc0,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff8000226ec2b0,3,ffff800022dacea0,0,ffff800022dacf90) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000226ec2b0,ffff800022dacf38,ffff800022dacf90) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff800022dad000) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3b84fce3350, count: -8 ddb> show registers rdi 0xffff800024906000 rsi 0x19b rbp 0xffff800022dacb00 rbx 0x3 rdx 0xffff800024906000 rcx 0x19a rax 0xffffffff8233ff8b rtm_output+0x1fb r8 0x8 r9 0x1 r10 0xe59b6074643fa32b r11 0x138648abab3c411c r12 0x8 r13 0x8 r14 0 r15 0xffff800022dacb10 rip 0xffffffff82340165 rtm_output+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800022daca70 ss 0x10 rtm_output+0x3d5: movl 0x58(%r14),%edi ddb> show proc PROC (syz-executor.0) pid=433033 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff8000226ed270,0xffffffff828adc98 process=0xffff8000226e37a0 user=0xffff800022da8000, vmspace=0xfffffd80656d1110 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 26036 32528 67260 0 2 0 syz-executor.0 *26036 433033 67260 0 7 0x4000000 syz-executor.0 82340 238492 73177 0 3 0x82 nanoslp syz-executor.1 70473 185065 0 0 3 0x14280 nfsidl nfsio 84474 334240 0 0 3 0x14280 nfsidl nfsio 42559 365945 0 0 3 0x14280 nfsidl nfsio 39736 305425 0 0 3 0x14280 nfsidl nfsio 30204 393922 0 0 3 0x14280 nfsidl nfsio 65016 440837 0 0 3 0x14280 nfsidl nfsio 63811 273853 0 0 3 0x14280 nfsidl nfsio 26465 304714 0 0 3 0x14280 nfsidl nfsio 74742 204239 0 0 3 0x14280 nfsidl nfsio 79067 505953 0 0 3 0x14280 nfsidl nfsio 95263 202653 0 0 3 0x14280 nfsidl nfsio 57078 279427 0 0 3 0x14280 nfsidl nfsio 8139 52109 0 0 3 0x14280 nfsidl nfsio 13956 344614 0 0 3 0x14280 nfsidl nfsio 53114 309799 0 0 3 0x14280 nfsidl nfsio 85976 481924 0 0 3 0x14280 nfsidl nfsio 10122 172610 0 0 3 0x14280 nfsidl nfsio 92102 179487 0 0 3 0x14280 nfsidl nfsio 37391 520505 0 0 3 0x14280 nfsidl nfsio 78008 331873 0 0 3 0x14280 nfsidl nfsio 1651 57373 0 0 3 0x14200 bored sosplice 67260 219444 73177 0 3 0x82 nanoslp syz-executor.0 80788 99588 0 0 3 0x14200 acct acct 73177 426251 70396 0 3 0x82 thrsleep syz-fuzzer 73177 309245 70396 0 3 0x4000082 thrsleep syz-fuzzer 73177 203754 70396 0 3 0x4000082 thrsleep syz-fuzzer 73177 156491 70396 0 3 0x4000082 kqread syz-fuzzer 73177 455390 70396 0 3 0x4000082 thrsleep syz-fuzzer 73177 185863 70396 0 3 0x4000082 thrsleep syz-fuzzer 73177 297973 70396 0 3 0x4000082 thrsleep syz-fuzzer 70396 277149 44988 0 3 0x10008a sigsusp ksh 44988 377613 23171 0 3 0x9a select sshd 13686 449807 1 0 3 0x100083 ttyin getty 23171 409451 1 0 3 0x88 select sshd 79046 395879 44459 73 3 0x100090 kqread syslogd 44459 222661 1 0 3 0x100082 netio syslogd 27995 416397 1 0 3 0x100080 kqread resolvd 9130 31028 24343 77 3 0x100092 kqread dhcpleased 6521 98897 24343 77 3 0x100092 kqread dhcpleased 24343 509452 1 0 3 0x80 kqread dhcpleased 95184 398409 0 0 3 0x14200 bored smr 73236 96754 0 0 2 0x14200 zerothread 30351 371209 0 0 3 0x14200 aiodoned aiodoned 55359 349524 0 0 3 0x14200 syncer update 35553 181552 0 0 3 0x14200 cleaner cleaner 83072 53569 0 0 3 0x14200 reaper reaper 93756 457229 0 0 3 0x14200 pgdaemon pagedaemon 81716 460459 0 0 3 0x14200 bored crynlk 56068 263095 0 0 3 0x14200 bored crypto 82031 25361 0 0 3 0x14200 bored viomb 88608 298065 0 0 3 0x40014200 acpi0 acpi0 11968 426391 0 0 3 0x14200 bored softnet 50969 216116 0 0 3 0x14200 bored systqmp 41505 368823 0 0 3 0x14200 bored systq 88034 367440 0 0 3 0x40014200 bored softclock 23834 108124 0 0 3 0x40014200 idle0 1 364215 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 10155 6368K 7200K 78643K 15458 0 pcb 13 8K 8K 78643K 175 0 rtable 115 4K 4K 78643K 380 0 ifaddr 70 13K 13K 78643K 107 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 27 0 ioctlops 0 0K 4K 78643K 195 0 iov 0 0K 32K 78643K 186 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1217 77K 77K 78643K 2569 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 11 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 758 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 6 17K 25K 78643K 3834 0 sigio 5 0K 0K 78643K 82 0 proc 70 55K 71K 78643K 425 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 230 0 in_multi 33 2K 2K 78643K 171 0 ether_multi 1 0K 0K 78643K 44 0 mrt 0 0K 0K 78643K 12 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 2K 78643K 592 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 282 309K 309K 78643K 46664 0 UVM aobj 12 2K 2K 78643K 13 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 199 0 NDP 12 0K 0K 78643K 26 0 temp 130 4204K 4268K 78643K 24084 0 kqueue 10 14K 19K 78643K 142 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 128 0 124 1 0 1 1 0 8 0 rtentry 112 85 0 40 2 0 2 2 0 8 0 unpcb 120 1153 0 1129 3 2 1 2 0 8 0 syncache 296 31 0 31 5 5 0 1 0 8 0 tcpqe 32 44 0 44 2 2 0 1 0 8 0 tcpcb 736 597 0 591 13 10 3 4 0 8 1 arp 88 12 0 6 1 0 1 1 0 8 0 ipq 40 9 0 8 2 1 1 1 0 8 0 ipqe 40 357 0 356 2 1 1 1 0 8 0 inpcb 304 1480 0 1471 7 5 2 2 0 8 1 nd6 48 15 0 8 1 0 1 1 0 8 0 pkpcb 40 25 0 25 2 2 0 1 0 8 0 kcovpl 48 4 0 2 1 0 1 1 0 8 0 ppxss 1152 4 0 4 1 1 0 1 0 8 0 pfosfp 40 11 0 1 1 0 1 1 0 8 0 pfosfpen 112 11 0 0 1 0 1 1 0 8 0 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pftag 88 11 0 5 1 0 1 1 0 8 0 pfqueue 264 5 0 4 1 0 1 1 0 8 0 pfrule 1360 41 0 20 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 325 0 104 14 0 14 14 0 8 0 art_table 32 326 0 104 2 0 2 2 0 8 0 art_node 16 81 0 40 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 8 1 0 1 1 0 8 0 semupl 112 9 0 9 1 1 0 1 0 8 0 semapl 112 756 0 746 1 0 1 1 0 8 0 shmpl 112 10 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6156 0 4752 89 1 88 89 0 8 0 ffsino 240 6156 0 4752 83 0 83 83 0 8 0 nchpl 144 10866 0 9272 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 26800 0 26800 1 0 1 1 0 8 1 vcpupl 1984 19 0 0 3 0 3 3 0 8 0 vmpool 528 19 0 0 2 0 2 2 0 8 0 scxspl 216 33336 0 33336 13 12 1 8 0 8 1 plimitpl 152 114 0 106 1 0 1 1 0 8 0 sigapl 424 4077 0 4023 7 0 7 7 0 8 1 futexpl 56 35740 0 35740 1 0 1 1 0 8 1 knotepl 112 322 0 284 2 0 2 2 0 8 0 kqueuepl 184 2117 0 2111 2 1 1 2 0 8 0 pipepl 304 322 0 312 3 2 1 2 0 8 0 fdescpl 432 4040 0 4023 3 1 2 3 0 8 0 filepl 120 14184 0 14073 5 1 4 5 0 8 0 lockfpl 104 337 0 335 1 0 1 1 0 8 0 lockfspl 48 137 0 135 1 0 1 1 0 8 0 sessionpl 144 19 0 9 1 0 1 1 0 8 0 pgrppl 48 43 0 33 1 0 1 1 0 8 0 ucredpl 96 1653 0 1643 1 0 1 1 0 8 0 zombiepl 144 4024 0 4023 1 0 1 1 0 8 0 processpl 1008 4077 0 4023 7 0 7 7 0 8 0 procpl 672 8200 0 8139 6 0 6 6 0 8 0 sosppl 168 57 0 57 4 3 1 1 0 8 1 sockpl 448 2787 0 2749 12 6 6 6 0 8 1 mcl64k 65536 124 0 124 7 7 0 1 0 8 0 mcl16k 16384 51 0 51 8 7 1 1 0 8 1 mcl12k 12288 138 0 138 5 4 1 1 0 8 1 mcl9k 9216 30 0 30 3 3 0 1 0 8 0 mcl8k 8192 98 0 98 7 6 1 1 0 8 1 mcl4k 4096 259 0 259 6 5 1 1 0 8 1 mcl2k2 2112 25 0 25 4 3 1 1 0 8 1 mcl2k 2048 79947 0 79903 49 38 11 17 0 8 4 mtagpl 96 403 0 210 7 1 6 6 0 8 0 mbufpl 256 256340 0 255755 58 18 40 54 0 8 0 bufpl 280 9810 0 3404 458 0 458 458 0 8 0 anonpl 24 1041329 0 1028888 132 30 102 126 0 188 27 amapchunkpl 152 109766 0 109313 30 11 19 25 0 158 1 amappl16 200 9881 0 9407 51 25 26 42 0 8 1 amappl15 192 1 0 1 1 1 0 1 0 8 0 amappl14 184 6 0 5 2 1 1 1 0 8 0 amappl13 176 1297 0 1295 1 0 1 1 0 8 0 amappl12 168 653 0 650 1 0 1 1 0 8 0 amappl11 160 48 0 37 1 0 1 1 0 8 0 amappl10 152 1432 0 1425 1 0 1 1 0 8 0 amappl9 144 217 0 214 1 0 1 1 0 8 0 amappl8 136 975 0 916 3 0 3 3 0 8 0 amappl7 128 590 0 577 1 0 1 1 0 8 0 amappl6 120 126 0 114 1 0 1 1 0 8 0 amappl5 112 4771 0 4754 1 0 1 1 0 8 0 amappl4 104 612 0 587 1 0 1 1 0 8 0 amappl3 96 853 0 849 1 0 1 1 0 8 0 amappl2 88 2433 0 2373 2 0 2 2 0 8 0 amappl1 80 68791 0 68367 12 3 9 12 0 8 0 amappl 88 45924 0 45758 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 12 0 1 1 0 1 1 0 8 0 uaddrrnd 24 4059 0 4023 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4059 0 4023 1 0 1 1 0 8 0 vmmpekpl 168 21756 0 21723 2 0 2 2 0 8 0 vmmpepl 168 451933 0 450061 121 39 82 95 0 357 0 vmsppl 272 4058 0 4023 4 1 3 3 0 8 0 rwobjpl 24 78828 0 77609 11 3 8 10 0 8 0 pdppl 4096 8125 0 8065 78 18 60 60 0 8 0 pvpl 32 2222304 0 2206056 240 63 177 201 0 265 45 pmappl 192 4058 0 4023 2 0 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 438 0 119 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtm_output(ffff800000baf300,ffff800022dacbb0,ffff800022dacb10,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd806590b700,fffffd8065b94a88,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd8065b94a88,9,fffffd806590b700,0,0,ffff8000226ec2b0) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd8065b94a88,0,ffff800022dacdc0,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff8000226ec2b0,3,ffff800022dacea0,0,ffff800022dacf90) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000226ec2b0,ffff800022dacf38,ffff800022dacf90) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff800022dad000) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3b84fce3350, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace rtm_output(ffff800000baf300,ffff800022dacbb0,ffff800022dacb10,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd806590b700,fffffd8065b94a88,0,0) at route_output+0x6ba sys/net/rtsock.c:864 route_usrreq(fffffd8065b94a88,9,fffffd806590b700,0,0,ffff8000226ec2b0) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd8065b94a88,0,ffff800022dacdc0,0,0,80) at sosend+0x668 sys/kern/uipc_socket.c:573 sendit(ffff8000226ec2b0,3,ffff800022dacea0,0,ffff800022dacf90) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000226ec2b0,ffff800022dacf38,ffff800022dacf90) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff800022dad000) at syscall+0x571 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3b84fce3350, count: -8