panic: attempt to execute user address 0x20ffb000 in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *226408 8173 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(ffff80001487ded0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800014916000,fffffd802e88f548,10,ffff80000005bb50,ffff80001487e138) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff80001487e098,83,ffff80001487e138,0,b) at 0x20ffb000 rt_match(fffffd803b6b3b70,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803b6b3b70,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff80001487e210,fffffd803f02d220,fffffd803b6b3af0) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803b6b3af0,fffffd803f02d200) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803b6b4600,4,0,fffffd803f02d200,0,ffff800014914780) at udp_usrreq+0x560 sys_connect(ffff800014914780,ffff80001487e398,ffff80001487e3e0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff80001487e460) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,df7aeb1b010) at Xsyscall+0x128 end of kernel end trace frame: 0xdfa2e82f9d0, 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 0x20ffb000 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(ffff80001487ded0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800014916000,fffffd802e88f548,10,ffff80000005bb50,ffff80001487e138) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff80001487e098,83,ffff80001487e138,0,b) at 0x20ffb000 rt_match(fffffd803b6b3b70,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803b6b3b70,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff80001487e210,fffffd803f02d220,fffffd803b6b3af0) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803b6b3af0,fffffd803f02d200) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803b6b4600,4,0,fffffd803f02d200,0,ffff800014914780) at udp_usrreq+0x560 sys_connect(ffff800014914780,ffff80001487e398,ffff80001487e3e0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff80001487e460) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,df7aeb1b010) at Xsyscall+0x128 end of kernel end trace frame: 0xdfa2e82f9d0, count: -13 ddb> show registers rdi 0xffffffff81b07ef7 db_enter+0x17 rsi 0x260d __ALIGN_SIZE+0x160d rbp 0xffff80001487dd40 rbx 0xffff80001487ddf0 rdx 0x260e __ALIGN_SIZE+0x160e rcx 0xffff800014916000 rax 0xffff800014916000 r8 0xffff80001487dd00 r9 0x1 r10 0xffff800000a6c880 r11 0xb57d692314874ca7 r12 0x3000000008 r13 0xffff80001487dd50 r14 0x100 r15 0x1 rip 0xffffffff81b07ef8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001487dd30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=226408 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff800014915b40,0xffffffff8255bd20 process=0xffff8000ffff7450 user=0xffff800014879000, vmspace=0xfffffd803f013440 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 8173 519239 78615 0 2 0 syz-executor.1 * 8173 226408 78615 0 7 0x4000000 syz-executor.1 4624 350556 95106 0 2 0x2 syz-executor.0 78615 331347 95106 0 3 0x82 nanosleep syz-executor.1 71556 256157 0 0 3 0x14200 acct acct 33891 313437 1 0 3 0x100083 ttyin getty 88650 21441 0 0 3 0x14200 bored sosplice 95106 77183 86666 0 3 0x82 thrsleep syz-fuzzer 95106 469257 86666 0 3 0x4000082 nanosleep syz-fuzzer 95106 357567 86666 0 3 0x4000082 kqread syz-fuzzer 95106 500891 86666 0 3 0x4000082 thrsleep syz-fuzzer 95106 389584 86666 0 3 0x4000082 thrsleep syz-fuzzer 95106 447955 86666 0 3 0x4000082 thrsleep syz-fuzzer 95106 9265 86666 0 3 0x4000082 thrsleep syz-fuzzer 86666 204437 97026 0 3 0x10008a pause ksh 97026 494265 1265 0 3 0x92 select sshd 1265 178827 1 0 3 0x80 select sshd 19083 313454 24220 73 3 0x100090 kqread syslogd 24220 93509 1 0 3 0x100082 netio syslogd 8689 298746 0 0 2 0x14200 zerothread 3746 326678 0 0 3 0x14200 aiodoned aiodoned 38211 34331 0 0 3 0x14200 syncer update 48009 452154 0 0 3 0x14200 cleaner cleaner 77345 424612 0 0 3 0x14200 reaper reaper 46982 217608 0 0 3 0x14200 pgdaemon pagedaemon 90530 401473 0 0 3 0x14200 bored crynlk 40023 361401 0 0 3 0x14200 bored crypto 47075 136313 0 0 3 0x40014200 acpi0 acpi0 40964 431813 0 0 3 0x14200 bored softnet 43105 414214 0 0 3 0x14200 bored systqmp 32515 240757 0 0 3 0x14200 bored systq 90020 152213 0 0 3 0x40014200 bored softclock 2197 47874 0 0 3 0x40014200 idle0 31836 218713 0 0 3 0x14200 bored smr 1 235493 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 9596 6962K 8168K 78643K 23018 0 0 pcb 13 12K 14K 78643K 1652 0 0 rtable 114 8K 9K 78643K 3038 0 0 ifaddr 91 24K 27K 78643K 1589 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 353 0 0 iov 0 0K 32K 78643K 1886 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1215 76K 78K 78643K 7359 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 94 0 0 VM map 2 0K 0K 78643K 42 0 0 sem 12 0K 1K 78643K 1170 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 8901 0 0 sigio 0 0K 0K 78643K 188 0 0 proc 45 30K 63K 78643K 3524 0 0 subproc 32 2K 2K 78643K 986 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 504 0 0 in_multi 19 1K 2K 78643K 917 0 0 ether_multi 1 0K 0K 78643K 29 0 0 mrt 0 0K 0K 78643K 36 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 108 477K 477K 78643K 108 0 0 exec 0 0K 1K 78643K 1866 0 0 pfkey data 0 0K 2K 78643K 15 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 132 23K 31K 78643K 23366 0 0 UVM aobj 130 4K 4K 78643K 152 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 1641 0 0 NDP 23 0K 1K 78643K 520 0 0 temp 247 3537K 4179K 78643K 246163 0 0 kqueue 0 0K 0K 78643K 54 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 229 0 224 1 0 1 1 0 8 0 rtpcb 80 5424 0 5424 13 12 1 2 0 8 1 rtentry 112 1027 0 988 2 0 2 2 0 8 0 unpcb 120 3231 0 3220 1 0 1 1 0 8 0 syncache 264 32 0 32 15 15 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 7057 0 7057 8 8 0 1 0 8 0 tcpcb 544 2791 0 2786 31 30 1 15 0 8 0 ipq 40 46 0 46 17 17 0 1 0 8 0 ipqe 40 98 0 98 17 17 0 1 0 8 0 inpcb 280 8760 0 8752 75 73 2 13 0 8 1 rttmr 72 13 0 12 1 0 1 1 0 8 0 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 48 136 0 135 2 1 1 1 0 8 0 pkpcb 40 8627 0 8627 10 9 1 1 0 8 1 swfcl 56 22 0 0 1 0 1 1 0 8 0 ppxss 1128 205 0 205 35 34 1 1 0 8 1 art_heap8 4096 15 0 14 9 8 1 3 0 8 0 art_heap4 256 4119 0 3896 54 38 16 20 0 8 0 art_table 32 4134 0 3910 7 4 3 3 0 8 0 art_node 16 1003 0 968 1 0 1 1 0 8 0 sysvmsgpl 40 42 0 25 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 1166 0 1156 1 0 1 1 0 8 0 shmpl 112 150 0 22 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 15087 0 13677 46 0 46 46 0 8 0 ffsino 240 15087 0 13677 85 1 84 84 0 8 0 nchpl 144 29698 0 28091 62 1 61 61 0 8 0 uvmvnodes 72 8376 0 0 153 0 153 153 0 8 0 vnodes 208 8376 0 0 441 0 441 441 0 8 0 namei 1024 110429 0 110429 11 10 1 1 0 8 1 vmpool 520 40 0 40 14 13 1 1 0 8 1 scsiplug 64 5 0 5 4 4 0 1 0 8 0 scxspl 192 125335 0 125335 51 49 2 7 0 8 2 plimitpl 152 748 0 742 1 0 1 1 0 8 0 sigapl 432 8905 0 8894 2 0 2 2 0 8 0 futexpl 56 269602 0 269602 11 10 1 1 0 8 1 knotepl 112 2409 0 2390 5 4 1 3 0 8 0 kqueuepl 104 2496 0 2494 7 6 1 4 0 8 0 pipepl 112 4800 0 4781 17 15 2 2 0 8 1 fdescpl 424 8906 0 8894 2 0 2 2 0 8 0 filepl 120 83909 0 83822 72 68 4 10 0 8 1 lockfpl 104 4709 0 4709 7 6 1 1 0 8 1 lockfspl 48 1549 0 1549 7 6 1 1 0 8 1 sessionpl 112 74 0 66 1 0 1 1 0 8 0 pgrppl 48 139 0 131 1 0 1 1 0 8 0 ucredpl 96 9652 0 9645 1 0 1 1 0 8 0 zombiepl 144 8900 0 8900 3 2 1 1 0 8 1 processpl 864 8928 0 8900 4 0 4 4 0 8 0 procpl 632 19835 0 19800 4 0 4 4 0 8 0 sosppl 128 157 0 157 34 34 0 1 0 8 0 sockpl 384 26400 0 26383 132 127 5 21 0 8 2 mcl64k 65536 3463 0 3463 229 228 1 33 0 8 1 mcl16k 16384 205 0 205 32 31 1 1 0 8 1 mcl12k 12288 216 0 216 29 28 1 1 0 8 1 mcl9k 9216 176 0 176 27 26 1 1 0 8 1 mcl8k 8192 389 0 389 22 21 1 1 0 8 1 mcl4k 4096 775 0 775 14 13 1 1 0 8 1 mcl2k2 2112 65 0 65 31 31 0 1 0 8 0 mcl2k 2048 73374 0 73330 26 19 7 14 0 8 0 mtagpl 80 590 0 590 8 8 0 6 0 8 0 mbufpl 256 189242 0 189149 156 146 10 44 0 8 0 bufpl 256 41175 0 32551 540 0 540 540 0 8 0 anonpl 16 1103113 0 1087567 352 280 72 99 0 62 0 amapchunkpl 152 49868 0 49741 171 165 6 19 0 158 0 amappl16 192 54644 0 53769 404 355 49 64 0 8 2 amappl15 184 2656 0 2656 7 7 0 1 0 8 0 amappl14 176 2035 0 2029 2 1 1 1 0 8 0 amappl13 168 1365 0 1364 1 0 1 1 0 8 0 amappl12 160 1167 0 1162 1 0 1 1 0 8 0 amappl11 152 905 0 901 1 0 1 1 0 8 0 amappl10 144 650 0 648 8 7 1 1 0 8 0 amappl9 136 2559 0 2552 1 0 1 1 0 8 0 amappl8 128 2019 0 1968 3 1 2 2 0 8 0 amappl7 120 863 0 856 1 0 1 1 0 8 0 amappl6 112 747 0 736 1 0 1 1 0 8 0 amappl5 104 2225 0 2217 1 0 1 1 0 8 0 amappl4 96 9085 0 9061 1 0 1 1 0 8 0 amappl3 88 3227 0 3219 1 0 1 1 0 8 0 amappl2 80 68441 0 68379 4 2 2 3 0 8 0 amappl1 72 172834 0 172448 28 19 9 20 0 8 0 amappl 80 21026 0 20986 2 0 2 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 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 151 0 22 3 0 3 3 0 8 0 uaddrrnd 24 8946 0 8894 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8946 0 8894 1 0 1 1 0 8 0 vmmpekpl 168 58901 0 58876 2 0 2 2 0 8 0 vmmpepl 168 1091332 0 1089442 618 492 126 132 0 357 33 vmsppl 272 8905 0 8894 3 2 1 2 0 8 0 pdppl 4096 17898 0 17868 6 1 5 6 0 8 0 pvpl 32 3350358 0 3331715 976 758 218 331 0 265 52 pmappl 200 8945 0 8934 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1223 0 550 22 1 21 21 0 8 0