panic: attempt to execute user address 0x20f23000 in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 96985 52490 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(ffff800014884320) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015b6a000,fffffd802e4e09a8,10,ffff80000005b190,ffff800014884588) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff8000148844e8,83,ffff800014884588,0,b) at 0x20f23000 rt_match(fffffd803d1a8828,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803d1a8828,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff800014884660,fffffd803f02dd20,fffffd803d1a87a8) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803d1a87a8,fffffd803f02dd00) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803ba28df0,4,0,fffffd803f02dd00,0,ffff8000ffff29f8) at udp_usrreq+0x560 sys_connect(ffff8000ffff29f8,ffff8000148847e8,ffff800014884830) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff8000148848b0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,500d2bd5010) at Xsyscall+0x128 end of kernel end trace frame: 0x5033c004150, 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 0x20f23000 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(ffff800014884320) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015b6a000,fffffd802e4e09a8,10,ffff80000005b190,ffff800014884588) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff8000148844e8,83,ffff800014884588,0,b) at 0x20f23000 rt_match(fffffd803d1a8828,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803d1a8828,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff800014884660,fffffd803f02dd20,fffffd803d1a87a8) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803d1a87a8,fffffd803f02dd00) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803ba28df0,4,0,fffffd803f02dd00,0,ffff8000ffff29f8) at udp_usrreq+0x560 sys_connect(ffff8000ffff29f8,ffff8000148847e8,ffff800014884830) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff8000148848b0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,500d2bd5010) at Xsyscall+0x128 end of kernel end trace frame: 0x5033c004150, count: -13 ddb> show registers rdi 0xffffffff812f41a7 db_enter+0x17 rsi 0x2833 __ALIGN_SIZE+0x1833 rbp 0xffff800014884190 rbx 0xffff800014884240 rdx 0x2834 __ALIGN_SIZE+0x1834 rcx 0xffff800015b6a000 rax 0xffff800015b6a000 r8 0xffff800014884150 r9 0x1 r10 0xffff800000a51380 r11 0x8bf652a982298a43 r12 0x3000000008 r13 0xffff8000148841a0 r14 0x100 r15 0x1 rip 0xffffffff812f41a8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014884180 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=96985 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff3650,0xffffffff8256fdd0 process=0xffff8000148a30f8 user=0xffff80001487f000, vmspace=0xfffffd803f013440 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 52490 480430 77008 0 2 0 syz-executor.1 *52490 96985 77008 0 7 0x4000000 syz-executor.1 43139 104784 8892 0 2 0 syz-executor.0 43139 274771 8892 0 3 0x4000080 fsleep syz-executor.0 43139 399593 8892 0 3 0x4000080 fsleep syz-executor.0 77008 387489 49617 0 2 0x482 syz-executor.1 8892 385952 49617 0 3 0x82 nanosleep syz-executor.0 31819 379717 0 0 3 0x14200 acct acct 50624 235445 1 0 3 0x100083 ttyin getty 18524 417487 0 0 3 0x14200 bored sosplice 49617 242128 84485 0 3 0x82 thrsleep syz-fuzzer 49617 260217 84485 0 2 0x4000482 syz-fuzzer 49617 393421 84485 0 3 0x4000082 kqread syz-fuzzer 49617 311625 84485 0 3 0x4000082 thrsleep syz-fuzzer 49617 111673 84485 0 3 0x4000082 thrsleep syz-fuzzer 49617 253871 84485 0 3 0x4000082 thrsleep syz-fuzzer 49617 406931 84485 0 3 0x4000082 thrsleep syz-fuzzer 49617 477883 84485 0 3 0x4000082 thrsleep syz-fuzzer 84485 362019 42570 0 3 0x10008a pause ksh 42570 227282 75419 0 3 0x92 select sshd 75419 366017 1 0 3 0x80 select sshd 17201 282426 62985 73 3 0x100090 kqread syslogd 62985 243405 1 0 3 0x100082 netio syslogd 61387 379905 0 0 2 0x14200 zerothread 84112 156189 0 0 3 0x14200 aiodoned aiodoned 66618 348128 0 0 3 0x14200 syncer update 42070 462576 0 0 3 0x14200 cleaner cleaner 97073 340069 0 0 3 0x14200 reaper reaper 96962 21034 0 0 3 0x14200 pgdaemon pagedaemon 178 245020 0 0 3 0x14200 bored crynlk 15740 228236 0 0 3 0x14200 bored crypto 50886 6573 0 0 3 0x40014200 acpi0 acpi0 88416 145110 0 0 3 0x14200 bored softnet 36526 417187 0 0 3 0x14200 bored systqmp 74125 432079 0 0 3 0x14200 bored systq 80075 338495 0 0 3 0x40014200 bored softclock 58203 368655 0 0 3 0x40014200 idle0 78852 140907 0 0 3 0x14200 bored smr 1 344057 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 9597 6391K 7158K 78643K 37033 0 0 pcb 13 12K 14K 78643K 1790 0 0 rtable 127 12K 14K 78643K 4432 0 0 ifaddr 94 25K 29K 78643K 1358 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 362 0 0 iov 0 0K 16K 78643K 1444 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1200 75K 77K 78643K 12200 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 9K 78643K 233 0 0 VM map 2 0K 0K 78643K 10 0 0 sem 12 0K 0K 78643K 3141 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 12129 0 0 sigio 0 0K 0K 78643K 178 0 0 proc 45 30K 62K 78643K 3127 0 0 subproc 32 2K 2K 78643K 739 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 1490 0 0 in_multi 31 2K 2K 78643K 1040 0 0 ether_multi 1 0K 0K 78643K 85 0 0 mrt 1 0K 0K 78643K 83 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 150 662K 662K 78643K 150 0 0 exec 0 0K 1K 78643K 1856 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 130 23K 30K 78643K 29478 0 0 UVM aobj 130 5K 5K 78643K 138 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 1700 0 0 NDP 21 0K 1K 78643K 434 0 0 temp 233 3537K 3609K 78643K 219993 0 0 kqueue 0 0K 0K 78643K 84 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 132 0 125 1 0 1 1 0 8 0 rtpcb 80 782 0 782 1 0 1 1 0 8 1 rtentry 112 656 0 610 2 0 2 2 0 8 0 unpcb 120 5134 0 5101 5 3 2 2 0 8 0 syncache 264 47 0 47 21 21 0 1 0 8 0 sackhl 24 3 0 3 3 2 1 1 0 8 1 tcpqe 32 7020 0 7020 3 3 0 1 0 8 0 tcpcb 544 6781 0 6777 88 86 2 16 0 8 1 ipq 40 11 0 11 7 7 0 1 0 8 0 ipqe 40 26 0 26 7 7 0 1 0 8 0 inpcb 280 13370 0 13363 79 78 1 13 0 8 0 rttmr 72 25 0 24 6 5 1 1 0 8 0 nd6 48 99 0 96 1 0 1 1 0 8 0 pkpcb 40 100 0 100 24 24 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 175 0 175 34 33 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2835 0 2571 35 17 18 19 0 8 0 art_table 32 2836 0 2571 6 3 3 3 0 8 0 art_node 16 630 0 589 1 0 1 1 0 8 0 sysvmsgpl 40 36 0 30 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 3134 0 3124 1 0 1 1 0 8 0 shmpl 112 136 0 8 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 20675 0 19257 46 0 46 46 0 8 0 ffsino 240 20675 0 19257 84 0 84 84 0 8 0 nchpl 144 43032 0 41426 62 0 62 62 0 8 0 uvmvnodes 72 8162 0 0 149 0 149 149 0 8 0 vnodes 208 8162 0 0 430 0 430 430 0 8 0 namei 1024 148848 0 148848 8 7 1 1 0 8 1 vmpool 520 8 0 8 4 4 0 1 0 8 0 scsiplug 64 22 0 22 14 13 1 1 0 8 1 scxspl 192 113242 0 113242 35 33 2 7 0 8 2 plimitpl 152 1083 0 1077 1 0 1 1 0 8 0 sigapl 432 12178 0 12166 2 0 2 2 0 8 0 futexpl 56 301396 0 301394 6 5 1 1 0 8 0 knotepl 112 2750 0 2731 5 4 1 3 0 8 0 kqueuepl 104 3608 0 3605 16 15 1 4 0 8 0 pipepl 112 7820 0 7801 29 27 2 2 0 8 1 fdescpl 424 12179 0 12166 2 0 2 2 0 8 0 filepl 120 103814 0 103724 70 65 5 11 0 8 1 lockfpl 104 5488 0 5487 1 0 1 1 0 8 0 lockfspl 48 1594 0 1593 1 0 1 1 0 8 0 sessionpl 112 59 0 51 1 0 1 1 0 8 0 pgrppl 48 184 0 176 1 0 1 1 0 8 0 ucredpl 96 24455 0 24447 1 0 1 1 0 8 0 zombiepl 144 12169 0 12169 4 3 1 1 0 8 1 processpl 864 12198 0 12169 4 0 4 4 0 8 0 procpl 632 26732 0 26693 5 1 4 5 0 8 0 sosppl 128 147 0 147 33 33 0 1 0 8 0 sockpl 384 19514 0 19476 111 105 6 22 0 8 0 mcl64k 65536 930 0 930 87 86 1 33 0 8 1 mcl16k 16384 94 0 94 37 36 1 1 0 8 1 mcl12k 12288 233 0 233 32 31 1 1 0 8 1 mcl9k 9216 143 0 143 38 37 1 1 0 8 1 mcl8k 8192 360 0 360 17 16 1 1 0 8 1 mcl4k 4096 1035 0 1035 10 9 1 1 0 8 1 mcl2k2 2112 97 0 97 36 36 0 1 0 8 0 mcl2k 2048 72985 0 72945 25 19 6 13 0 8 0 mtagpl 80 655 0 641 4 3 1 2 0 8 0 mbufpl 256 209663 0 209533 129 115 14 36 0 8 0 bufpl 256 35633 0 27472 511 0 511 511 0 8 0 anonpl 16 1116760 0 1097568 295 217 78 81 0 62 0 amapchunkpl 152 52560 0 52442 119 101 18 18 0 158 13 amappl16 192 62824 0 61699 376 319 57 57 0 8 0 amappl15 184 1997 0 1993 7 6 1 1 0 8 0 amappl14 176 2617 0 2614 2 1 1 1 0 8 0 amappl13 168 314 0 314 5 5 0 1 0 8 0 amappl12 160 408 0 406 1 0 1 1 0 8 0 amappl11 152 2198 0 2191 1 0 1 1 0 8 0 amappl10 144 1346 0 1345 1 0 1 1 0 8 0 amappl9 136 3548 0 3542 1 0 1 1 0 8 0 amappl8 128 3093 0 3043 4 2 2 2 0 8 0 amappl7 120 1571 0 1563 1 0 1 1 0 8 0 amappl6 112 2074 0 2057 1 0 1 1 0 8 0 amappl5 104 943 0 936 1 0 1 1 0 8 0 amappl4 96 11077 0 11049 1 0 1 1 0 8 0 amappl3 88 3718 0 3713 1 0 1 1 0 8 0 amappl2 80 95904 0 95834 4 2 2 3 0 8 0 amappl1 72 223482 0 223075 28 19 9 20 0 8 0 amappl 80 27605 0 27570 1 0 1 1 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 137 0 8 3 0 3 3 0 8 0 uaddrrnd 24 12187 0 12166 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 12187 0 12166 1 0 1 1 0 8 0 vmmpekpl 168 73647 0 73623 2 0 2 2 0 8 0 vmmpepl 168 1421914 0 1419663 607 490 117 126 0 357 19 vmsppl 272 12178 0 12166 5 4 1 2 0 8 0 pdppl 4096 24380 0 24348 6 1 5 6 0 8 0 pvpl 32 3214916 0 3192075 745 560 185 295 0 265 0 pmappl 200 12186 0 12174 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1048 0 398 19 0 19 19 0 8 0