uvm_fault(0xfffffd8076148180, 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 *383912 66135 0 0 0x4000000 0K syz-executor.0 rtm_output(ffff800000b68500,ffff800024741938,ffff800024741898,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd806ce6e500,fffffd8075dea798,0,0) at route_output+0x6b8 sys/net/rtsock.c:864 route_usrreq(fffffd8075dea798,9,fffffd806ce6e500,0,0,ffff80002126fcf0) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd8075dea798,0,ffff800024741b40,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:573 sendit(ffff80002126fcf0,3,ffff800024741c20,0,ffff800024741d00) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff80002126fcf0,ffff800024741cb8,ffff800024741d00) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff800024741d80) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024741d80) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x950e5469180, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd8076148180, 0x58, 0, 1) -> e ddb{0}> trace rtm_output(ffff800000b68500,ffff800024741938,ffff800024741898,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd806ce6e500,fffffd8075dea798,0,0) at route_output+0x6b8 sys/net/rtsock.c:864 route_usrreq(fffffd8075dea798,9,fffffd806ce6e500,0,0,ffff80002126fcf0) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd8075dea798,0,ffff800024741b40,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:573 sendit(ffff80002126fcf0,3,ffff800024741c20,0,ffff800024741d00) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff80002126fcf0,ffff800024741cb8,ffff800024741d00) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff800024741d80) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024741d80) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x950e5469180, count: -8 ddb{0}> show registers rdi 0xffff800024136000 rsi 0x2a5 rbp 0xffff800024741880 rbx 0x3 rdx 0xffff800024136000 rcx 0x2a4 rax 0xffffffff813fbd9b rtm_output+0x1fb r8 0x8 r9 0x1 r10 0x84e7f7e9a325138 r11 0x8c76880b7b9b88a7 r12 0x8 r13 0x8 r14 0 r15 0xffff800024741898 rip 0xffffffff813fbf75 rtm_output+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000247417f0 ss 0x10 rtm_output+0x3d5: movl 0x58(%r14),%edi ddb{0}> show proc PROC (syz-executor.0) pid=383912 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff80002126e7f0,0xffffffff829deed8 process=0xffff8000232ff688 user=0xffff80002473c000, vmspace=0xfffffd8076148180 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 66135 336121 92435 0 2 0 syz-executor.0 *66135 383912 92435 0 7 0x4000000 syz-executor.0 92435 484309 54315 0 2 0x482 syz-executor.0 59298 498579 0 0 3 0x14200 acct acct 4046 173659 54315 0 2 0x482 syz-executor.1 6197 68136 0 0 3 0x14280 nfsidl nfsio 24574 78281 0 0 3 0x14280 nfsidl nfsio 88258 399164 0 0 3 0x14280 nfsidl nfsio 40636 71093 0 0 3 0x14280 nfsidl nfsio 35848 302621 0 0 3 0x14280 nfsidl nfsio 53097 473553 0 0 3 0x14280 nfsidl nfsio 76507 268093 0 0 3 0x14280 nfsidl nfsio 45790 129816 0 0 3 0x14280 nfsidl nfsio 88789 474999 0 0 3 0x14280 nfsidl nfsio 1631 182397 0 0 3 0x14280 nfsidl nfsio 77583 68127 0 0 3 0x14280 nfsidl nfsio 90283 484712 0 0 3 0x14280 nfsidl nfsio 80466 345242 0 0 3 0x14280 nfsidl nfsio 84721 119979 0 0 3 0x14280 nfsidl nfsio 49310 298678 0 0 3 0x14280 nfsidl nfsio 77341 50509 0 0 3 0x14280 nfsidl nfsio 1128 175506 0 0 3 0x14280 nfsidl nfsio 51094 329655 0 0 3 0x14280 nfsidl nfsio 66421 150365 0 0 3 0x14280 nfsidl nfsio 74942 434521 0 0 3 0x14280 nfsidl nfsio 51283 454944 0 0 3 0x14200 bored sosplice 54315 261186 51476 0 3 0x82 thrsleep syz-fuzzer 54315 286055 51476 0 3 0x4000082 nanoslp syz-fuzzer 54315 454611 51476 0 3 0x4000082 thrsleep syz-fuzzer 54315 421043 51476 0 3 0x4000082 kqread syz-fuzzer 54315 167900 51476 0 3 0x4000082 thrsleep syz-fuzzer 54315 21971 51476 0 3 0x4000082 thrsleep syz-fuzzer 54315 521257 51476 0 3 0x4000082 thrsleep syz-fuzzer 54315 439205 51476 0 3 0x4000082 thrsleep syz-fuzzer 51476 228314 99169 0 3 0x10008a sigsusp ksh 99169 315922 12520 0 3 0x9a select sshd 38318 236394 1 0 3 0x100083 ttyin getty 12520 183754 1 0 3 0x88 select sshd 29817 452561 86012 74 3 0x100092 bpf pflogd 86012 432359 1 0 3 0x80 netio pflogd 34537 6126 88463 73 3 0x100090 kqread syslogd 88463 299276 1 0 3 0x100082 netio syslogd 48458 246020 1 0 3 0x100080 kqread resolvd 14918 76143 12136 77 3 0x100092 kqread dhcpleased 56406 124788 12136 77 3 0x100092 kqread dhcpleased 12136 396990 1 0 3 0x80 kqread dhcpleased 76416 515072 0 0 3 0x14200 bored smr 75807 106435 0 0 2 0x14200 zerothread 19546 175587 0 0 3 0x14200 aiodoned aiodoned 60875 172391 0 0 3 0x14200 syncer update 40291 445931 0 0 3 0x14200 cleaner cleaner 75472 383086 0 0 3 0x14200 reaper reaper 31145 468914 0 0 3 0x14200 pgdaemon pagedaemon 34410 394340 0 0 3 0x14200 bored crynlk 21873 280467 0 0 3 0x14200 bored crypto 97909 486859 0 0 3 0x14200 bored viomb 41033 135387 0 0 3 0x40014200 acpi0 acpi0 5444 126170 0 0 7 0x40014200 idle1 42035 84214 0 0 3 0x14200 bored softnet 60849 104075 0 0 3 0x14200 bored systqmp 77082 84195 0 0 3 0x14200 bored systq 99656 9050 0 0 3 0x40014200 bored softclock 38780 138101 0 0 3 0x40014200 idle0 1 449572 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 66135 (syz-executor.0) thread 0xffff80002126fcf0 (383912) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82a062b0) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 kpageflttrap+0x229 sys/arch/amd64/amd64/trap.c:274 #2 kerntrap+0xef sys/arch/amd64/amd64/trap.c:318 #3 alltraps_kern_meltdown+0x7b #4 rtm_output+0x3d5 sys/net/rtsock.c:1035 #5 route_output+0x6b8 sys/net/rtsock.c:864 #6 route_usrreq+0x391 sys/net/rtsock.c:283 #7 sosend+0x671 sys/kern/uipc_socket.c:573 #8 sendit+0x589 sys/kern/uipc_syscalls.c:653 #9 sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 #10 syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 #11 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10182 6503K 7267K 78643K 17033 0 pcb 13 8K 8K 78643K 301 0 rtable 110 6K 6K 78643K 495 0 ifaddr 78 15K 15K 78643K 196 0 sysctl 2 0K 0K 78643K 2 0 counters 44 34K 34K 78643K 90 0 ioctlops 0 0K 4K 78643K 1719 0 iov 0 0K 12K 78643K 183 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 6 0 vnodes 1233 78K 78K 78643K 3064 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 29 0 VM map 2 1K 1K 78643K 2 0 sem 11 1K 1K 78643K 18 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 6496 0 sigio 0 0K 0K 78643K 33 0 proc 79 88K 112K 78643K 662 0 subproc 32 2K 2K 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 306 0 in_multi 32 2K 2K 78643K 434 0 ether_multi 1 0K 0K 78643K 113 0 mrt 0 0K 0K 78643K 23 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 648 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 263 159K 160K 78643K 78127 0 UVM aobj 44 2K 2K 78643K 52 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 283 0 NDP 14 0K 0K 78643K 51 0 temp 139 4208K 4276K 78643K 58435 0 kqueue 10 14K 19K 78643K 168 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 174 0 170 1 0 1 1 0 8 0 rtentry 112 107 0 67 2 0 2 2 0 8 0 unpcb 120 1444 0 1423 2 1 1 2 0 8 0 syncache 296 57 0 57 6 6 0 1 0 8 0 tcpqe 32 76 0 76 2 2 0 1 0 8 0 tcpcb 736 884 0 878 20 19 1 5 0 8 0 arp 120 18 0 14 1 0 1 1 0 8 0 inpcb 304 2328 0 2321 13 11 2 4 0 8 1 rttmr 72 5 0 5 1 1 0 1 0 8 0 nd6 48 23 0 17 1 0 1 1 0 8 0 pkpcb 40 14 0 14 4 4 0 1 0 8 0 kcovpl 48 7 0 5 1 0 1 1 0 8 0 ppxss 1248 13 0 13 3 3 0 1 0 8 0 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 7 0 7 2 2 0 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 6 0 2 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 264 2 0 2 1 1 0 1 0 8 0 pfstitem 24 45 0 43 1 0 1 1 0 8 0 pfstkey 112 45 0 43 1 0 1 1 0 8 0 pfstate 320 45 0 43 4 3 1 3 0 8 0 pfrule 1360 136 0 92 5 1 4 4 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 485 0 298 17 4 13 16 0 8 1 art_table 32 486 0 298 2 0 2 2 0 8 0 art_node 16 106 0 70 1 0 1 1 0 8 0 sysvmsgpl 40 38 0 28 1 0 1 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 49 0 8 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 9026 0 7617 89 0 89 89 0 8 0 ffsino 272 9026 0 7617 95 0 95 95 0 8 0 nchpl 144 16467 0 14859 61 1 60 61 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 40169 0 40169 3 2 1 1 0 8 1 percpumem 16 57 0 23 1 0 1 1 0 8 0 vcpupl 2048 9 0 0 2 0 2 2 0 8 0 vmpool 560 9 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 33 0 0 1 0 1 1 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 48393 0 48393 9 8 1 7 0 8 1 plimitpl 152 165 0 156 1 0 1 1 0 8 0 sigapl 424 6753 0 6697 8 1 7 7 0 8 0 futexpl 56 48029 0 48029 3 2 1 1 0 8 1 knotepl 112 55 0 0 2 0 2 2 0 8 0 kqueuepl 216 3400 0 3394 2 1 1 2 0 8 0 pipepl 336 318 0 308 12 10 2 2 0 8 0 fdescpl 496 6715 0 6697 3 0 3 3 0 8 0 filepl 152 20585 0 20471 8 2 6 6 0 8 1 lockfpl 104 577 0 575 1 0 1 1 0 8 0 lockfspl 48 218 0 216 1 0 1 1 0 8 0 sessionpl 144 23 0 12 1 0 1 1 0 8 0 pgrppl 48 42 0 31 1 0 1 1 0 8 0 ucredpl 96 2090 0 2075 1 0 1 1 0 8 0 zombiepl 144 6697 0 6696 2 1 1 1 0 8 0 processpl 1072 6753 0 6696 4 0 4 4 0 8 0 procpl 672 13886 0 13821 9 3 6 6 0 8 0 sosppl 168 33 0 33 6 6 0 1 0 8 0 sockpl 480 3973 0 3941 20 14 6 8 0 8 1 mcl64k 65536 23 0 0 3 1 2 3 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 13 0 0 2 0 2 2 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 15 0 0 2 0 2 2 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 288 0 0 19 0 19 19 0 8 0 mtagpl 96 344 0 0 9 0 9 9 0 8 0 mbufpl 256 1135 0 0 61 2 59 59 0 8 0 bufpl 280 10986 0 4650 453 0 453 453 0 8 0 anonpl 24 1725947 0 1715014 182 114 68 100 0 186 0 amapchunkpl 152 183948 0 183531 28 10 18 20 0 158 0 amappl16 200 15693 0 15304 88 67 21 36 0 8 0 amappl15 192 2364 0 2364 1 1 0 1 0 8 0 amappl14 184 421 0 420 2 1 1 1 0 8 0 amappl13 176 516 0 512 1 0 1 1 0 8 0 amappl12 168 2577 0 2575 1 0 1 1 0 8 0 amappl11 160 589 0 575 1 0 1 1 0 8 0 amappl10 152 130 0 117 1 0 1 1 0 8 0 amappl9 144 27 0 25 1 0 1 1 0 8 0 amappl8 136 577 0 493 3 0 3 3 0 8 0 amappl7 128 93 0 78 1 0 1 1 0 8 0 amappl6 120 161 0 146 1 0 1 1 0 8 0 amappl5 112 4117 0 4096 1 0 1 1 0 8 0 amappl4 104 1721 0 1689 1 0 1 1 0 8 0 amappl3 96 3246 0 3242 1 0 1 1 0 8 0 amappl2 88 3181 0 3122 2 0 2 2 0 8 0 amappl1 80 112202 0 111757 13 3 10 13 0 8 0 amappl 88 77290 0 77140 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 51 0 8 1 0 1 1 0 8 0 uaddrrnd 24 6724 0 6697 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6724 0 6697 1 0 1 1 0 8 0 vmmpekpl 168 34102 0 34067 2 0 2 2 0 8 0 vmmpepl 168 744424 0 742661 166 74 92 92 0 357 10 vmsppl 368 6723 0 6697 3 0 3 3 0 8 0 rwobjpl 56 128065 0 126879 39 21 18 21 0 8 1 pdppl 4096 13456 0 13403 75 20 55 55 0 8 2 pvpl 32 3799212 0 3784685 300 176 124 167 0 265 3 pmappl 224 6723 0 6697 2 0 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 415 0 61 12 1 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace rtm_output(ffff800000b68500,ffff800024741938,ffff800024741898,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd806ce6e500,fffffd8075dea798,0,0) at route_output+0x6b8 sys/net/rtsock.c:864 route_usrreq(fffffd8075dea798,9,fffffd806ce6e500,0,0,ffff80002126fcf0) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd8075dea798,0,ffff800024741b40,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:573 sendit(ffff80002126fcf0,3,ffff800024741c20,0,ffff800024741d00) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff80002126fcf0,ffff800024741cb8,ffff800024741d00) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff800024741d80) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024741d80) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x950e5469180, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 acpicpu_idle() at acpicpu_idle+0x2eb sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020d38ff0) at sched_idle+0x417 sys/kern/kern_sched.c:178 end trace frame: 0x0, count: 10