uvm_fault(0xfffffd8069e715d0, 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 *206715 16823 0 0 0x4000000 1K syz-executor.1 235598 71096 0 0 0 0 syz-executor.0 rtm_output(ffff800000b6b700,ffff8000222c39d8,ffff8000222c3938,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd8067514d00,fffffd8066040038,0,0) at route_output+0x6b8 sys/net/rtsock.c:864 route_usrreq(fffffd8066040038,9,fffffd8067514d00,0,0,ffff8000222887e8) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd8066040038,0,ffff8000222c3be0,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:573 sendit(ffff8000222887e8,3,ffff8000222c3cc0,0,ffff8000222c3da0) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000222887e8,ffff8000222c3d58,ffff8000222c3da0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000222c3e20) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222c3e20) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6e32e77fef0, 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(0xfffffd8069e715d0, 0x58, 0, 1) -> e ddb{1}> trace rtm_output(ffff800000b6b700,ffff8000222c39d8,ffff8000222c3938,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd8067514d00,fffffd8066040038,0,0) at route_output+0x6b8 sys/net/rtsock.c:864 route_usrreq(fffffd8066040038,9,fffffd8067514d00,0,0,ffff8000222887e8) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd8066040038,0,ffff8000222c3be0,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:573 sendit(ffff8000222887e8,3,ffff8000222c3cc0,0,ffff8000222c3da0) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000222887e8,ffff8000222c3d58,ffff8000222c3da0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000222c3e20) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222c3e20) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6e32e77fef0, count: -8 ddb{1}> show registers rdi 0xffff8000232a0000 rsi 0x2a5 rbp 0xffff8000222c3920 rbx 0x3 rdx 0xffff8000232a0000 rcx 0x2a4 rax 0xffffffff813fbd9b rtm_output+0x1fb r8 0x8 r9 0x1 r10 0x34f02b4da94db625 r11 0xb4748b4770e7ae35 r12 0x8 r13 0x8 r14 0 r15 0xffff8000222c3938 rip 0xffffffff813fbf75 rtm_output+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000222c3890 ss 0x10 rtm_output+0x3d5: movl 0x58(%r14),%edi ddb{1}> show proc PROC (syz-executor.1) pid=206715 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800022289508,0xffffffff829deed8 process=0xffff8000ffff9d58 user=0xffff8000222be000, vmspace=0xfffffd8069e715d0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 16823 90812 44009 0 2 0 syz-executor.1 *16823 206715 44009 0 7 0x4000000 syz-executor.1 71096 235598 94725 0 7 0 syz-executor.0 71096 444287 94725 0 3 0x4000080 fsleep syz-executor.0 94725 265412 17536 0 3 0x82 nanoslp syz-executor.0 44009 358915 17536 0 3 0x82 nanoslp syz-executor.1 82563 2439 0 0 3 0x14200 acct acct 84171 285022 0 0 3 0x14200 bored sosplice 17536 180264 86187 0 3 0x82 thrsleep syz-fuzzer 17536 189387 86187 0 3 0x4000082 thrsleep syz-fuzzer 17536 99183 86187 0 3 0x4000082 thrsleep syz-fuzzer 17536 182975 86187 0 3 0x4000082 thrsleep syz-fuzzer 17536 76206 86187 0 3 0x4000082 kqread syz-fuzzer 17536 253445 86187 0 3 0x4000082 thrsleep syz-fuzzer 17536 327008 86187 0 3 0x4000082 thrsleep syz-fuzzer 17536 504882 86187 0 3 0x4000082 thrsleep syz-fuzzer 86187 101871 36455 0 3 0x10008a sigsusp ksh 36455 101794 15772 0 3 0x9a select sshd 85872 185032 1 0 3 0x100083 ttyin getty 15772 404445 1 0 3 0x88 select sshd 91540 463218 87015 74 3 0x100092 bpf pflogd 87015 178077 1 0 3 0x80 netio pflogd 69575 138932 93054 73 3 0x100090 kqread syslogd 93054 107143 1 0 3 0x100082 netio syslogd 39761 437866 1 0 3 0x100080 kqread resolvd 80957 287043 97221 77 3 0x100092 kqread dhcpleased 82775 378395 97221 77 3 0x100092 kqread dhcpleased 97221 259414 1 0 3 0x80 kqread dhcpleased 75938 453404 0 0 3 0x14200 bored smr 16050 114459 0 0 2 0x14200 zerothread 94213 335936 0 0 3 0x14200 aiodoned aiodoned 90038 98690 0 0 3 0x14200 syncer update 97492 433238 0 0 3 0x14200 cleaner cleaner 65436 300760 0 0 3 0x14200 reaper reaper 18716 322096 0 0 3 0x14200 pgdaemon pagedaemon 38276 319175 0 0 3 0x14200 bored crynlk 76696 294777 0 0 3 0x14200 bored crypto 13319 514117 0 0 3 0x14200 bored viomb 52444 164177 0 0 3 0x40014200 acpi0 acpi0 9683 506981 0 0 3 0x40014200 idle1 13288 342551 0 0 3 0x14200 bored softnet 88882 191415 0 0 3 0x14200 bored systqmp 7822 315081 0 0 3 0x14200 bored systq 23309 183085 0 0 3 0x40014200 bored softclock 57326 326281 0 0 3 0x40014200 idle0 1 211244 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 16823 (syz-executor.1) thread 0xffff8000222887e8 (206715) 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 10172 6502K 7153K 78643K 14976 0 pcb 13 8K 8K 78643K 331 0 rtable 93 11K 11K 78643K 611 0 ifaddr 74 14K 14K 78643K 173 0 sysctl 1 1K 1K 78643K 1 0 counters 44 34K 34K 78643K 84 0 ioctlops 0 0K 4K 78643K 1548 0 iov 0 0K 16K 78643K 260 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 6 0 vnodes 1226 77K 77K 78643K 2482 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 22 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 704 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 6 17K 25K 78643K 4903 0 sigio 0 0K 0K 78643K 52 0 proc 70 87K 111K 78643K 606 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 296 0 in_multi 33 2K 2K 78643K 285 0 ether_multi 1 0K 0K 78643K 54 0 mrt 1 0K 0K 78643K 75 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 2K 78643K 595 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 96K 96K 78643K 60130 0 UVM aobj 30 7K 7K 78643K 30 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 278 0 NDP 13 0K 0K 78643K 47 0 temp 135 4210K 4275K 78643K 32577 0 kqueue 10 14K 22K 78643K 158 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 175 0 171 1 0 1 1 0 8 0 rtentry 112 128 0 92 2 0 2 2 0 8 0 unpcb 120 960 0 934 2 1 1 2 0 8 0 syncache 296 60 0 60 9 8 1 1 0 8 1 tcpqe 32 35 0 35 6 6 0 1 0 8 0 tcpcb 736 806 0 802 19 16 3 5 0 8 2 arp 120 16 0 10 1 0 1 1 0 8 0 inpcb 304 2163 0 2156 12 11 1 2 0 8 0 rttmr 72 27 0 27 3 3 0 1 0 8 0 nd6 48 21 0 15 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 1 0 1 0 8 0 kcovpl 48 7 0 5 1 0 1 1 0 8 0 ppxss 1248 15 0 15 2 2 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 10 0 10 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 pfstitem 24 90 0 74 1 0 1 1 0 8 0 pfstkey 112 90 0 74 1 0 1 1 0 8 0 pfstate 320 90 0 74 5 3 2 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 446 0 264 14 2 12 12 0 8 0 art_table 32 447 0 264 2 0 2 2 0 8 0 art_node 16 127 0 97 1 0 1 1 0 8 0 sysvmsgpl 40 26 0 12 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 697 0 687 1 0 1 1 0 8 0 shmpl 112 27 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 7341 0 5917 90 0 90 90 0 8 0 ffsino 272 7341 0 5917 96 0 96 96 0 8 0 nchpl 144 13314 0 11707 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 32662 0 32662 1 0 1 1 0 8 1 percpumem 16 54 0 20 1 0 1 1 0 8 0 vcpupl 2048 5 0 0 1 0 1 1 0 8 0 vmpool 560 5 0 0 1 0 1 1 0 8 0 scxspl 216 39084 0 39084 10 9 1 7 0 8 1 plimitpl 152 134 0 125 1 0 1 1 0 8 0 sigapl 424 5140 0 5103 6 1 5 5 0 8 0 futexpl 56 36526 0 36525 1 0 1 1 0 8 0 knotepl 112 65 0 0 2 0 2 2 0 8 0 kqueuepl 216 2262 0 2249 3 1 2 2 0 8 1 pipepl 336 315 0 305 7 5 2 2 0 8 0 fdescpl 496 5122 0 5103 3 0 3 3 0 8 0 filepl 152 16314 0 16200 5 0 5 5 0 8 0 lockfpl 104 627 0 625 1 0 1 1 0 8 0 lockfspl 48 172 0 170 1 0 1 1 0 8 0 sessionpl 144 23 0 12 1 0 1 1 0 8 0 pgrppl 48 28 0 17 1 0 1 1 0 8 0 ucredpl 96 1508 0 1489 1 0 1 1 0 8 0 zombiepl 144 5103 0 5103 1 0 1 1 0 8 1 processpl 1072 5140 0 5103 3 0 3 3 0 8 0 procpl 672 10951 0 10905 11 6 5 5 0 8 0 srpgc 96 1 0 1 1 1 0 1 0 8 0 sosppl 168 102 0 102 6 6 0 1 0 8 0 sockpl 480 3312 0 3275 9 3 6 6 0 8 1 mcl64k 65536 15 0 0 2 0 2 2 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 8 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 253 0 0 15 0 15 15 0 8 0 mtagpl 96 160 0 0 4 0 4 4 0 8 0 mbufpl 256 904 0 0 46 0 46 46 0 8 0 bufpl 280 9886 0 3550 453 0 453 453 0 8 0 anonpl 24 1275459 0 1266667 61 7 54 54 0 186 1 amapchunkpl 152 141695 0 141240 22 4 18 19 0 158 0 amappl16 200 8974 0 8731 16 3 13 14 0 8 0 amappl15 192 467 0 466 2 1 1 1 0 8 0 amappl14 184 4 0 3 1 0 1 1 0 8 0 amappl13 176 393 0 391 1 0 1 1 0 8 0 amappl12 168 8 0 5 1 0 1 1 0 8 0 amappl11 160 4079 0 4062 1 0 1 1 0 8 0 amappl10 152 47 0 40 1 0 1 1 0 8 0 amappl9 144 70 0 68 1 0 1 1 0 8 0 amappl8 136 545 0 467 3 0 3 3 0 8 0 amappl7 128 94 0 80 1 0 1 1 0 8 0 amappl6 120 160 0 148 1 0 1 1 0 8 0 amappl5 112 1574 0 1552 1 0 1 1 0 8 0 amappl4 104 8603 0 8572 1 0 1 1 0 8 0 amappl3 96 187 0 184 1 0 1 1 0 8 0 amappl2 88 932 0 877 2 0 2 2 0 8 0 amappl1 80 91779 0 91319 13 3 10 13 0 8 0 amappl 88 59327 0 59173 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 29 0 0 1 0 1 1 0 8 0 uaddrrnd 24 5127 0 5103 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5127 0 5103 1 0 1 1 0 8 0 vmmpekpl 168 27086 0 27054 2 0 2 2 0 8 0 vmmpepl 168 570694 0 568989 88 12 76 82 0 357 0 vmsppl 368 5126 0 5103 3 0 3 3 0 8 0 rwobjpl 56 98054 0 97015 20 5 15 15 0 8 0 pdppl 4096 10262 0 10211 67 16 51 51 0 8 0 pvpl 32 2842756 0 2830374 188 81 107 137 0 265 3 pmappl 224 5126 0 5103 2 0 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 378 0 42 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 __mp_lock(ffffffff82a060a8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a060a8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x4f sys/dev/kcov.c:149 syscall(ffff80002329db40) at syscall+0x42d mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff80002329db40) at syscall+0x42d sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc2d70, count: 6 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 __mp_lock(ffffffff82a060a8) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a060a8) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x4f sys/dev/kcov.c:149 syscall(ffff80002329db40) at syscall+0x42d mi_syscall sys/sys/syscall_mi.h:93 [inline] syscall(ffff80002329db40) at syscall+0x42d sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc2d70, count: -9 ddb{0}> machine ddbcpu 1 Stopped at rtm_output+0x3d5: movl 0x58(%r14),%edi rtm_output(ffff800000b6b700,ffff8000222c39d8,ffff8000222c3938,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd8067514d00,fffffd8066040038,0,0) at route_output+0x6b8 sys/net/rtsock.c:864 route_usrreq(fffffd8066040038,9,fffffd8067514d00,0,0,ffff8000222887e8) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd8066040038,0,ffff8000222c3be0,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:573 sendit(ffff8000222887e8,3,ffff8000222c3cc0,0,ffff8000222c3da0) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000222887e8,ffff8000222c3d58,ffff8000222c3da0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000222c3e20) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222c3e20) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6e32e77fef0, count: 7 ddb{1}> trace rtm_output(ffff800000b6b700,ffff8000222c39d8,ffff8000222c3938,8,0) at rtm_output+0x3d5 sys/net/rtsock.c:1035 route_output(fffffd8067514d00,fffffd8066040038,0,0) at route_output+0x6b8 sys/net/rtsock.c:864 route_usrreq(fffffd8066040038,9,fffffd8067514d00,0,0,ffff8000222887e8) at route_usrreq+0x391 sys/net/rtsock.c:283 sosend(fffffd8066040038,0,ffff8000222c3be0,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:573 sendit(ffff8000222887e8,3,ffff8000222c3cc0,0,ffff8000222c3da0) at sendit+0x589 sys/kern/uipc_syscalls.c:653 sys_sendto(ffff8000222887e8,ffff8000222c3d58,ffff8000222c3da0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:520 syscall(ffff8000222c3e20) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222c3e20) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6e32e77fef0, count: -8