uvm_fault(0xfffffd806c409740, 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 129806 47709 0 0 0 0 syz-executor.0 *243714 78082 0 0 0x4000000 1K syz-executor.1 rtm_output(ffff800000bd6700,ffff80002269d268,ffff80002269d1c8,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd8077de5400,fffffd806e232798,0,0) at route_output+0x6b8 sys/net/rtsock.c:864 route_usrreq(fffffd806e232798,9,fffffd8077de5400,0,0,ffff800022e98000) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd806e232798,0,ffff80002269d470,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:573 sendit(ffff800022e98000,3,ffff80002269d550,0,ffff80002269d630) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff800022e98000,ffff80002269d5e8,ffff80002269d630) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff80002269d6b0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002269d6b0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3eb1afb0500, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xfffffd806c409740, 0x58, 0, 1) -> e ddb{1}> trace rtm_output(ffff800000bd6700,ffff80002269d268,ffff80002269d1c8,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd8077de5400,fffffd806e232798,0,0) at route_output+0x6b8 sys/net/rtsock.c:864 route_usrreq(fffffd806e232798,9,fffffd8077de5400,0,0,ffff800022e98000) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd806e232798,0,ffff80002269d470,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:573 sendit(ffff800022e98000,3,ffff80002269d550,0,ffff80002269d630) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff800022e98000,ffff80002269d5e8,ffff80002269d630) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff80002269d6b0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002269d6b0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3eb1afb0500, count: -8 ddb{1}> show registers rdi 0xffff8000234a0000 rsi 0x2be rbp 0xffff80002269d1b0 rbx 0x3 rdx 0xffff8000234a0000 rcx 0x2bd rax 0xffffffff813fbd9b rtm_output+0x1fb r8 0x8 r9 0x1 r10 0xe6a7262c8f3665e r11 0x39630362efb3bd0e r12 0x8 r13 0x8 r14 0 r15 0xffff80002269d1c8 rip 0xffffffff813fbf75 rtm_output+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002269d120 ss 0x10 rtm_output+0x3d5: movl 0x58(%r14),%edi ddb{1}> show proc PROC (syz-executor.1) pid=243714 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800022e99260,0xffff800022e997b0 process=0xffff8000226f6198 user=0xffff800022698000, vmspace=0xfffffd806c409740 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 47709 129806 23342 0 7 0 syz-executor.0 47709 118383 23342 0 2 0x4000000 syz-executor.0 78082 181106 69917 0 2 0 syz-executor.1 *78082 243714 69917 0 7 0x4000000 syz-executor.1 53431 59045 0 0 3 0x14280 nfsidl nfsio 9541 141429 0 0 3 0x14280 nfsidl nfsio 97689 409325 0 0 3 0x14280 nfsidl nfsio 81902 341633 0 0 3 0x14280 nfsidl nfsio 45303 229796 0 0 3 0x14280 nfsidl nfsio 48227 212447 0 0 3 0x14280 nfsidl nfsio 4069 379526 0 0 3 0x14280 nfsidl nfsio 62425 515085 0 0 3 0x14280 nfsidl nfsio 21799 269568 0 0 3 0x14280 nfsidl nfsio 73292 102922 0 0 3 0x14280 nfsidl nfsio 47319 459027 0 0 3 0x14280 nfsidl nfsio 55649 74077 0 0 3 0x14280 nfsidl nfsio 45312 202051 0 0 3 0x14280 nfsidl nfsio 25745 428890 0 0 3 0x14280 nfsidl nfsio 50925 165521 0 0 3 0x14280 nfsidl nfsio 10881 16786 0 0 3 0x14280 nfsidl nfsio 87886 103078 0 0 3 0x14280 nfsidl nfsio 77767 282456 0 0 3 0x14280 nfsidl nfsio 29844 30377 0 0 3 0x14280 nfsidl nfsio 45355 433384 0 0 3 0x14280 nfsidl nfsio 62088 313338 1 0 3 0x100083 ttyin getty 23342 23429 87544 0 3 0x82 nanoslp syz-executor.0 69917 57249 87544 0 3 0x82 nanoslp syz-executor.1 21780 123577 0 0 3 0x14200 bored sosplice 87544 233381 72341 0 3 0x82 thrsleep syz-fuzzer 87544 433454 72341 0 3 0x4000082 thrsleep syz-fuzzer 87544 101240 72341 0 3 0x4000082 kqread syz-fuzzer 87544 235164 72341 0 3 0x4000082 thrsleep syz-fuzzer 87544 121905 72341 0 3 0x4000082 thrsleep syz-fuzzer 87544 58404 72341 0 3 0x4000082 thrsleep syz-fuzzer 87544 452505 72341 0 3 0x4000082 thrsleep syz-fuzzer 87544 44669 72341 0 3 0x4000082 thrsleep syz-fuzzer 72341 30922 75557 0 3 0x10008a sigsusp ksh 75557 283237 31517 0 3 0x9a select sshd 31517 481337 1 0 3 0x88 select sshd 68993 12027 71433 74 3 0x100092 bpf pflogd 71433 396612 1 0 3 0x80 netio pflogd 12240 178027 97634 73 3 0x100090 kqread syslogd 97634 518751 1 0 3 0x100082 netio syslogd 21292 206036 1 0 3 0x100080 kqread resolvd 36783 414639 79519 77 3 0x100092 kqread dhcpleased 18 385243 79519 77 3 0x100092 kqread dhcpleased 79519 34701 1 0 3 0x80 kqread dhcpleased 39592 208003 0 0 3 0x14200 bored smr 62515 101659 0 0 2 0x14200 zerothread 52737 311835 0 0 3 0x14200 aiodoned aiodoned 33603 397893 0 0 3 0x14200 syncer update 31513 95126 0 0 3 0x14200 cleaner cleaner 13068 335159 0 0 3 0x14200 reaper reaper 64799 483343 0 0 3 0x14200 pgdaemon pagedaemon 87122 515494 0 0 3 0x14200 bored crynlk 82220 36684 0 0 3 0x14200 bored crypto 21988 403187 0 0 3 0x14200 bored viomb 52608 220980 0 0 3 0x40014200 acpi0 acpi0 49465 452744 0 0 3 0x40014200 idle1 16810 1320 0 0 3 0x14200 bored softnet 66608 451267 0 0 3 0x14200 bored systqmp 82591 273378 0 0 3 0x14200 bored systq 32629 340118 0 0 3 0x40014200 bored softclock 6081 204435 0 0 3 0x40014200 idle0 1 484453 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 78082 (syz-executor.1) thread 0xffff800022e98000 (243714) 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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10173 6496K 7254K 78643K 14519 0 pcb 13 8K 8K 78643K 230 0 rtable 110 4K 4K 78643K 404 0 ifaddr 74 14K 15K 78643K 189 0 sysctl 2 0K 0K 78643K 2 0 counters 44 34K 34K 78643K 86 0 ioctlops 0 0K 4K 78643K 1609 0 iov 0 0K 24K 78643K 93 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 6 0 vnodes 1222 77K 77K 78643K 2441 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 9 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 372 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 6 17K 25K 78643K 3605 0 sigio 0 0K 0K 78643K 28 0 proc 70 87K 111K 78643K 515 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 189 0 in_multi 33 2K 2K 78643K 257 0 ether_multi 1 0K 0K 78643K 62 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 49 228K 228K 78643K 49 0 exec 0 0K 2K 78643K 577 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 242 160K 160K 78643K 44673 0 UVM aobj 22 2K 2K 78643K 22 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 197 0 NDP 13 0K 0K 78643K 59 0 temp 134 4206K 4270K 78643K 26154 0 kqueue 10 14K 18K 78643K 133 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 136 0 132 1 0 1 1 0 8 0 rtentry 112 99 0 55 2 0 2 2 0 8 0 unpcb 120 590 0 574 1 0 1 1 0 8 0 syncache 296 9 0 9 2 2 0 1 0 8 0 tcpqe 32 290 0 290 1 1 0 1 0 8 0 tcpcb 736 408 0 404 9 7 2 3 0 8 1 arp 120 11 0 5 1 0 1 1 0 8 0 inpcb 304 1261 0 1254 8 6 2 2 0 8 1 rttmr 72 6 0 6 1 1 0 1 0 8 0 nd6 48 29 0 23 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 0 1 1 0 8 1 kcovpl 48 4 0 2 1 0 1 1 0 8 0 ppxss 1248 8 0 8 2 2 0 1 0 8 0 pffrag 232 3 0 2 1 0 1 1 0 482 0 pffrnode 88 3 0 2 1 0 1 1 0 8 0 pffrent 40 12 0 11 1 0 1 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 pfstitem 24 32 0 21 1 0 1 1 0 8 0 pfstkey 112 32 0 21 1 0 1 1 0 8 0 pfstate 320 32 0 21 2 0 2 2 0 8 0 pfrule 1360 31 0 21 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 286 0 93 13 0 13 13 0 8 0 art_table 32 287 0 93 2 0 2 2 0 8 0 art_node 16 98 0 58 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 19 1 0 1 1 0 8 0 semapl 112 370 0 360 1 0 1 1 0 8 0 shmpl 112 19 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 6064 0 4647 89 0 89 89 0 8 0 ffsino 272 6064 0 4647 95 0 95 95 0 8 0 nchpl 144 10374 0 8767 61 0 61 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 24874 0 24874 1 0 1 1 0 8 1 percpumem 16 55 0 21 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 scxspl 216 29430 0 29430 7 6 1 5 0 8 1 plimitpl 152 60 0 51 1 0 1 1 0 8 0 sigapl 424 3871 0 3815 7 0 7 7 0 8 0 futexpl 56 23000 0 23000 2 1 1 1 0 8 1 knotepl 112 56 0 0 2 0 2 2 0 8 0 kqueuepl 216 1619 0 1613 1 0 1 1 0 8 0 pipepl 336 268 0 258 8 6 2 2 0 8 1 fdescpl 496 3834 0 3815 3 0 3 3 0 8 0 filepl 152 11500 0 11387 5 0 5 5 0 8 0 lockfpl 104 307 0 305 1 0 1 1 0 8 0 lockfspl 48 102 0 100 1 0 1 1 0 8 0 sessionpl 144 21 0 10 1 0 1 1 0 8 0 pgrppl 48 29 0 18 1 0 1 1 0 8 0 ucredpl 96 933 0 921 1 0 1 1 0 8 0 zombiepl 144 3815 0 3815 2 1 1 1 0 8 1 processpl 1072 3871 0 3815 4 0 4 4 0 8 0 procpl 672 8152 0 8087 10 4 6 6 0 8 0 sosppl 168 33 0 33 3 3 0 1 0 8 0 sockpl 480 2001 0 1974 9 4 5 5 0 8 1 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 13 0 0 2 0 2 2 0 8 0 mcl12k 12288 10 0 0 1 0 1 1 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 214 0 0 18 0 18 18 0 8 0 mtagpl 96 210 0 0 5 0 5 5 0 8 0 mbufpl 256 887 0 0 51 0 51 51 0 8 0 bufpl 280 7586 0 1250 453 0 453 453 0 8 0 anonpl 24 947144 0 937484 62 2 60 60 0 186 0 amapchunkpl 152 105054 0 104584 26 6 20 20 0 158 1 amappl16 200 6521 0 6249 17 2 15 15 0 8 0 amappl14 184 3 0 1 1 0 1 1 0 8 0 amappl13 176 42 0 40 1 0 1 1 0 8 0 amappl12 168 1495 0 1492 1 0 1 1 0 8 0 amappl11 160 48 0 32 1 0 1 1 0 8 0 amappl10 152 2103 0 2094 1 0 1 1 0 8 0 amappl9 144 17 0 13 1 0 1 1 0 8 0 amappl8 136 433 0 387 2 0 2 2 0 8 0 amappl7 128 80 0 66 1 0 1 1 0 8 0 amappl6 120 139 0 127 1 0 1 1 0 8 0 amappl5 112 6221 0 6198 1 0 1 1 0 8 0 amappl4 104 662 0 636 1 0 1 1 0 8 0 amappl3 96 1611 0 1606 1 0 1 1 0 8 0 amappl2 88 514 0 464 2 0 2 2 0 8 0 amappl1 80 66662 0 66211 13 3 10 13 0 8 0 amappl 88 44148 0 43990 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 21 0 0 1 0 1 1 0 8 0 uaddrrnd 24 3843 0 3815 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3843 0 3815 1 0 1 1 0 8 0 vmmpekpl 168 21567 0 21534 2 0 2 2 0 8 0 vmmpepl 168 426522 0 424820 84 8 76 76 0 357 2 vmsppl 368 3842 0 3815 3 0 3 3 0 8 0 rwobjpl 56 73711 0 72683 15 0 15 15 0 8 0 pdppl 4096 7694 0 7639 75 20 55 56 0 8 0 pvpl 32 2079456 0 2066113 165 53 112 135 0 265 3 pmappl 224 3842 0 3815 2 0 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 383 0 36 10 0 10 10 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82808ff0) 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 end of kernel end trace frame: 0x7f7ffffbe100, count: 12 ddb{0}> trace x86_ipi_db(ffffffff82808ff0) 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 end of kernel end trace frame: 0x7f7ffffbe100, count: -3 ddb{0}> machine ddbcpu 1 Stopped at rtm_output+0x3d5: movl 0x58(%r14),%edi rtm_output(ffff800000bd6700,ffff80002269d268,ffff80002269d1c8,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd8077de5400,fffffd806e232798,0,0) at route_output+0x6b8 sys/net/rtsock.c:864 route_usrreq(fffffd806e232798,9,fffffd8077de5400,0,0,ffff800022e98000) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd806e232798,0,ffff80002269d470,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:573 sendit(ffff800022e98000,3,ffff80002269d550,0,ffff80002269d630) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff800022e98000,ffff80002269d5e8,ffff80002269d630) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff80002269d6b0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002269d6b0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3eb1afb0500, count: 7 ddb{1}> trace rtm_output(ffff800000bd6700,ffff80002269d268,ffff80002269d1c8,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd8077de5400,fffffd806e232798,0,0) at route_output+0x6b8 sys/net/rtsock.c:864 route_usrreq(fffffd806e232798,9,fffffd8077de5400,0,0,ffff800022e98000) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd806e232798,0,ffff80002269d470,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:573 sendit(ffff800022e98000,3,ffff80002269d550,0,ffff80002269d630) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff800022e98000,ffff80002269d5e8,ffff80002269d630) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff80002269d6b0) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002269d6b0) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3eb1afb0500, count: -8