panic: attempt to execute user address 0x20ffa000 in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *469367 72621 0 0 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 pageflttrap() at pageflttrap+0x3eb kerntrap(ffff8000149354f0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015741000,fffffd802ec8a388,10,ffff80000005b620,ffff800014935758) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff8000149356b8,83,ffff800014935758,0,b) at 0x20ffa000 rt_match(fffffd803be7eda0,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803be7eda0,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff800014935830,fffffd803e220d20,fffffd803be7ed20) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803be7ed20,fffffd803e220d00) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803be7fa80,4,0,fffffd803e220d00,0,ffff8000ffff33d8) at udp_usrreq+0x560 sys_connect(ffff8000ffff33d8,ffff8000149359b8,ffff800014935a00) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800014935a80) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,31a9d61010) at Xsyscall+0x128 end of kernel end trace frame: 0x3461648a10, count: 2 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 attempt to execute user address 0x20ffa000 in supervisor mode ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 pageflttrap() at pageflttrap+0x3eb kerntrap(ffff8000149354f0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015741000,fffffd802ec8a388,10,ffff80000005b620,ffff800014935758) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff8000149356b8,83,ffff800014935758,0,b) at 0x20ffa000 rt_match(fffffd803be7eda0,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803be7eda0,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff800014935830,fffffd803e220d20,fffffd803be7ed20) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803be7ed20,fffffd803e220d00) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803be7fa80,4,0,fffffd803e220d00,0,ffff8000ffff33d8) at udp_usrreq+0x560 sys_connect(ffff8000ffff33d8,ffff8000149359b8,ffff800014935a00) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800014935a80) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,31a9d61010) at Xsyscall+0x128 end of kernel end trace frame: 0x3461648a10, count: -13 ddb> show registers rdi 0xffffffff81b354a7 db_enter+0x17 rsi 0x267b __ALIGN_SIZE+0x167b rbp 0xffff800014935360 rbx 0xffff800014935410 rdx 0x267c __ALIGN_SIZE+0x167c rcx 0xffff800015741000 rax 0xffff800015741000 r8 0xffff800014935320 r9 0x1 r10 0xffff800000ab2100 r11 0x2c3d0e610a7d014a r12 0x3000000008 r13 0xffff800014935370 r14 0x100 r15 0x1 rip 0xffffffff81b354a8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014935350 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=469367 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2780,0xffffffff82589c90 process=0xffff8000148a2378 user=0xffff800014930000, vmspace=0xfffffd803f013bb0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 72621 507104 62940 0 2 0 syz-executor.1 *72621 469367 62940 0 7 0x4000000 syz-executor.1 45134 338850 60699 0 2 0 syz-executor.0 45134 55431 60699 0 3 0x4000080 fsleep syz-executor.0 62940 521700 11782 0 3 0x82 nanosleep syz-executor.1 60699 33527 11782 0 3 0x82 nanosleep syz-executor.0 94619 206671 0 0 3 0x14200 acct acct 31522 276870 1 0 3 0x100083 ttyin getty 73882 74060 0 0 3 0x14200 bored sosplice 11782 315413 99299 0 3 0x82 thrsleep syz-fuzzer 11782 388678 99299 0 3 0x4000082 thrsleep syz-fuzzer 11782 191692 99299 0 3 0x4000082 thrsleep syz-fuzzer 11782 296418 99299 0 3 0x4000082 thrsleep syz-fuzzer 11782 378540 99299 0 3 0x4000082 kqread syz-fuzzer 11782 466442 99299 0 3 0x4000082 thrsleep syz-fuzzer 11782 222536 99299 0 3 0x4000082 thrsleep syz-fuzzer 99299 52005 9230 0 3 0x10008a pause ksh 9230 20547 52470 0 3 0x92 select sshd 52470 120612 1 0 3 0x80 select sshd 63854 7958 29185 73 3 0x100090 kqread syslogd 29185 27651 1 0 3 0x100082 netio syslogd 64348 311571 1 77 3 0x100090 poll dhclient 4458 459522 1 0 3 0x80 poll dhclient 43132 28804 0 0 2 0x14200 zerothread 80212 174559 0 0 3 0x14200 aiodoned aiodoned 93972 148549 0 0 3 0x14200 syncer update 10744 31005 0 0 3 0x14200 cleaner cleaner 39811 179477 0 0 3 0x14200 reaper reaper 56807 85695 0 0 3 0x14200 pgdaemon pagedaemon 62677 408619 0 0 3 0x14200 bored crynlk 85825 423277 0 0 3 0x14200 bored crypto 26492 11578 0 0 3 0x40014200 acpi0 acpi0 26388 213840 0 0 3 0x14200 bored softnet 675 136523 0 0 3 0x14200 bored systqmp 13799 222118 0 0 3 0x14200 bored systq 31906 276582 0 0 3 0x40014200 bored softclock 85564 410297 0 0 3 0x40014200 idle0 12438 95573 0 0 3 0x14200 bored smr 1 437553 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 Kern Lim devbuf 9526 6355K 14787K 78643K 17405 0 0 pcb 13 8K 8K 78643K 1009 0 0 rtable 116 4K 4K 78643K 829 0 0 ifaddr 67 15K 17K 78643K 282 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 106 0 0 iov 0 0K 32K 78643K 259 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1214 76K 77K 78643K 3511 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 26 0 0 VM map 2 0K 0K 78643K 6 0 0 sem 12 0K 0K 78643K 346 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 2145 0 0 sigio 0 0K 0K 78643K 48 0 0 proc 49 38K 63K 78643K 754 0 0 subproc 32 2K 2K 78643K 129 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 214 0 0 in_multi 35 2K 2K 78643K 159 0 0 ether_multi 1 0K 0K 78643K 11 0 0 mrt 0 0K 0K 78643K 12 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 78 344K 344K 78643K 78 0 0 exec 0 0K 1K 78643K 434 0 0 pfkey data 0 0K 0K 78643K 2 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 106 22K 30K 78643K 5953 0 0 UVM aobj 55 2K 2K 78643K 62 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 1K 78643K 346 0 0 NDP 14 0K 0K 78643K 83 0 0 temp 184 3535K 3607K 78643K 32940 0 0 kqueue 0 0K 0K 78643K 21 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 19 0 12 1 0 1 1 0 8 0 rtpcb 80 107 0 105 1 0 1 1 0 8 0 rtentry 112 114 0 68 2 0 2 2 0 8 0 unpcb 120 4984 0 4976 10 8 2 3 0 8 1 syncache 264 7 0 7 3 3 0 1 0 8 0 tcpqe 32 6325 0 6325 2 2 0 1 0 8 0 tcpcb 544 524 0 520 1 0 1 1 0 8 0 ipq 40 6 0 6 3 3 0 1 0 8 0 ipqe 40 16 0 16 3 3 0 1 0 8 0 inpcb 280 2282 0 2274 7 6 1 2 0 8 0 rttmr 72 3 0 3 2 2 0 1 0 8 0 nd6 48 15 0 11 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 ppxss 1128 35 0 35 7 6 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 527 0 301 17 2 15 16 0 8 0 art_table 32 528 0 301 2 0 2 2 0 8 0 art_node 16 108 0 67 1 0 1 1 0 8 0 sysvmsgpl 40 114 0 80 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 344 0 334 1 0 1 1 0 8 0 shmpl 112 60 0 7 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4746 0 3354 46 0 46 46 0 8 0 ffsino 240 4746 0 3354 83 0 83 83 0 8 0 nchpl 144 8113 0 6497 61 1 60 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 26968 0 26968 4 3 1 1 0 8 1 vmpool 520 4 0 4 2 2 0 1 0 8 0 scsiplug 64 6 0 6 4 3 1 1 0 8 1 scxspl 192 23719 0 23719 14 13 1 7 0 8 1 plimitpl 152 185 0 178 1 0 1 1 0 8 0 sigapl 432 2302 0 2288 2 0 2 2 0 8 0 futexpl 56 58515 0 58514 2 1 1 1 0 8 0 knotepl 112 578 0 559 1 0 1 1 0 8 0 kqueuepl 104 622 0 620 1 0 1 1 0 8 0 pipepl 112 2532 0 2513 5 4 1 2 0 8 0 fdescpl 424 2303 0 2288 2 0 2 2 0 8 0 filepl 120 21770 0 21674 14 9 5 6 0 8 2 lockfpl 104 843 0 842 1 0 1 1 0 8 0 lockfspl 48 276 0 275 1 0 1 1 0 8 0 sessionpl 112 23 0 13 1 0 1 1 0 8 0 pgrppl 48 178 0 168 1 0 1 1 0 8 0 ucredpl 96 3052 0 3045 1 0 1 1 0 8 0 zombiepl 144 2288 0 2288 3 2 1 1 0 8 1 processpl 864 2319 0 2288 4 0 4 4 0 8 0 procpl 632 4966 0 4927 5 1 4 5 0 8 0 sosppl 128 24 0 24 8 8 0 1 0 8 0 sockpl 384 7418 0 7400 35 28 7 10 0 8 5 mcl64k 65536 186 0 186 23 22 1 15 0 8 1 mcl16k 16384 18 0 18 8 8 0 1 0 8 0 mcl12k 12288 46 0 46 6 5 1 1 0 8 1 mcl9k 9216 19 0 19 6 5 1 1 0 8 1 mcl8k 8192 98 0 98 2 1 1 1 0 8 1 mcl4k 4096 196 0 196 3 2 1 1 0 8 1 mcl2k2 2112 11 0 11 8 8 0 1 0 8 0 mcl2k 2048 55954 0 55912 20 14 6 14 0 8 0 mtagpl 80 142 0 94 3 2 1 2 0 8 0 mbufpl 256 108184 0 107980 24 9 15 20 0 8 0 bufpl 256 10680 0 5618 317 0 317 317 0 8 0 anonpl 16 232109 0 216888 144 67 77 79 0 62 14 amapchunkpl 152 10094 0 9980 26 17 9 10 0 158 4 amappl16 192 12076 0 11206 114 62 52 56 0 8 8 amappl15 184 316 0 313 2 1 1 1 0 8 0 amappl14 176 114 0 111 2 1 1 1 0 8 0 amappl12 160 1172 0 1167 1 0 1 1 0 8 0 amappl11 152 203 0 191 1 0 1 1 0 8 0 amappl10 144 482 0 479 1 0 1 1 0 8 0 amappl9 136 638 0 632 1 0 1 1 0 8 0 amappl8 128 228 0 197 2 0 2 2 0 8 0 amappl7 120 532 0 523 1 0 1 1 0 8 0 amappl6 112 198 0 190 1 0 1 1 0 8 0 amappl5 104 1372 0 1360 1 0 1 1 0 8 0 amappl4 96 1963 0 1932 1 0 1 1 0 8 0 amappl3 88 793 0 788 1 0 1 1 0 8 0 amappl2 80 17603 0 17525 4 2 2 3 0 8 0 amappl1 72 50736 0 50315 28 19 9 20 0 8 0 amappl 80 5279 0 5239 2 1 1 2 0 84 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 61 0 7 1 0 1 1 0 8 0 uaddrrnd 24 2307 0 2288 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2307 0 2288 1 0 1 1 0 8 0 vmmpekpl 168 20807 0 20786 2 0 2 2 0 8 0 vmmpepl 168 279679 0 277644 224 121 103 143 0 357 12 vmsppl 272 2302 0 2288 2 1 1 2 0 8 0 pdppl 4096 4620 0 4584 6 1 5 6 0 8 0 pvpl 32 627835 0 609493 288 102 186 189 0 265 32 pmappl 200 2306 0 2292 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 516 0 65 14 0 14 14 0 8 0