panic: attempt to execute user address 0x20ed0000 in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *120311 24839 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(ffff8000161593b0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001594a000,fffffd80385aa628,10,ffff80000005b640,ffff800016159618) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff800016159578,83,ffff800016159618,0,b) at 0x20ed0000 rt_match(fffffd803d86a3c8,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803d86a3c8,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff8000161596f0,fffffd80342d7820,fffffd803d86a348) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803d86a348,fffffd80342d7800) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 tcp_usrreq(fffffd8029ac9960,4,0,fffffd80342d7800,0,ffff80001592eee8) at tcp_usrreq+0xada sys/netinet/tcp_usrreq.c:228 sys_connect(ffff80001592eee8,ffff800016159898,ffff8000161598e0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800016159960) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,20e79a07010) at Xsyscall+0x128 end of kernel end trace frame: 0x210db454450, 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 0x20ed0000 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(ffff8000161593b0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001594a000,fffffd80385aa628,10,ffff80000005b640,ffff800016159618) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff800016159578,83,ffff800016159618,0,b) at 0x20ed0000 rt_match(fffffd803d86a3c8,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803d86a3c8,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff8000161596f0,fffffd80342d7820,fffffd803d86a348) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803d86a348,fffffd80342d7800) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 tcp_usrreq(fffffd8029ac9960,4,0,fffffd80342d7800,0,ffff80001592eee8) at tcp_usrreq+0xada sys/netinet/tcp_usrreq.c:228 sys_connect(ffff80001592eee8,ffff800016159898,ffff8000161598e0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800016159960) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,20e79a07010) at Xsyscall+0x128 end of kernel end trace frame: 0x210db454450, count: -13 ddb> show registers rdi 0xffffffff81b07ef7 db_enter+0x17 rsi 0x25f3 __ALIGN_SIZE+0x15f3 rbp 0xffff800016159220 rbx 0xffff8000161592d0 rdx 0x25f4 __ALIGN_SIZE+0x15f4 rcx 0xffff80001594a000 rax 0xffff80001594a000 r8 0xffff8000161591e0 r9 0x1 r10 0xffff800000a82440 r11 0xfb0f74ac488794db r12 0x3000000008 r13 0xffff800016159230 r14 0x100 r15 0x1 rip 0xffffffff81b07ef8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800016159210 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=120311 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80001592f160,0xffffffff8255bd20 process=0xffff8000ffff77b0 user=0xffff800016154000, vmspace=0xfffffd803f013110 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 24839 4380 33213 0 2 0 syz-executor.1 *24839 120311 33213 0 7 0x4000000 syz-executor.1 87797 478835 79783 0 2 0x2 syz-executor.0 73978 266121 1 0 3 0x100083 ttyin getty 33213 220754 79783 0 3 0x82 nanosleep syz-executor.1 46003 437218 0 0 3 0x14200 acct acct 63871 164924 0 0 3 0x14200 bored sosplice 79783 427082 61314 0 3 0x82 thrsleep syz-fuzzer 79783 141642 61314 0 3 0x4000082 nanosleep syz-fuzzer 79783 319101 61314 0 3 0x4000082 kqread syz-fuzzer 79783 422535 61314 0 3 0x4000082 thrsleep syz-fuzzer 79783 40403 61314 0 3 0x4000082 thrsleep syz-fuzzer 79783 381937 61314 0 3 0x4000082 thrsleep syz-fuzzer 79783 14260 61314 0 3 0x4000082 thrsleep syz-fuzzer 61314 295538 94386 0 3 0x10008a pause ksh 94386 436015 34598 0 3 0x92 select sshd 34598 407024 1 0 3 0x80 select sshd 72707 324979 46298 73 3 0x100090 kqread syslogd 46298 403862 1 0 3 0x100082 netio syslogd 18221 142895 1 77 3 0x100090 poll dhclient 46729 488426 1 0 3 0x80 poll dhclient 99225 41631 0 0 2 0x14200 zerothread 23402 328302 0 0 3 0x14200 aiodoned aiodoned 9810 212977 0 0 3 0x14200 syncer update 15063 280567 0 0 3 0x14200 cleaner cleaner 29051 262246 0 0 3 0x14200 reaper reaper 82018 120897 0 0 3 0x14200 pgdaemon pagedaemon 75638 348450 0 0 3 0x14200 bored crynlk 59225 60807 0 0 3 0x14200 bored crypto 72427 226407 0 0 3 0x40014200 acpi0 acpi0 39360 200071 0 0 3 0x14200 bored softnet 79110 33460 0 0 3 0x14200 bored systqmp 57451 356182 0 0 3 0x14200 bored systq 87683 481854 0 0 3 0x40014200 bored softclock 92939 517847 0 0 3 0x40014200 idle0 80025 352316 0 0 3 0x14200 bored smr 1 315476 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 9540 7007K 8927K 78643K 21337 0 0 pcb 13 10K 12K 78643K 1196 0 0 rtable 136 13K 13K 78643K 1823 0 0 ifaddr 79 17K 18K 78643K 490 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 174 0 0 iov 0 0K 28K 78643K 687 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1232 77K 78K 78643K 4605 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 46 0 0 VM map 2 0K 0K 78643K 16 0 0 sem 12 1K 1K 78643K 438 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 3004 0 0 sigio 0 0K 0K 78643K 36 0 0 proc 49 38K 63K 78643K 1252 0 0 subproc 32 2K 2K 78643K 291 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 202 0 0 in_multi 36 2K 2K 78643K 273 0 0 ether_multi 1 0K 0K 78643K 12 0 0 mrt 0 0K 0K 78643K 27 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 84 371K 371K 78643K 84 0 0 exec 0 0K 1K 78643K 749 0 0 pfkey data 0 0K 4K 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 114 22K 31K 78643K 8316 0 0 UVM aobj 115 3K 4K 78643K 135 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 857 0 0 NDP 17 0K 1K 78643K 153 0 0 temp 205 3536K 4176K 78643K 85458 0 0 kqueue 0 0K 0K 78643K 16 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 72 0 65 1 0 1 1 0 8 0 rtpcb 80 245 0 243 1 0 1 1 0 8 0 rtentry 112 318 0 268 2 0 2 2 0 8 0 unpcb 120 2541 0 2531 1 0 1 1 0 8 0 syncache 264 24 0 24 10 10 0 1 0 8 0 sackhl 24 2 0 2 1 1 0 1 0 8 0 tcpqe 32 7742 0 7742 6 6 0 2 0 8 0 tcpcb 544 2077 0 2072 21 20 1 15 0 8 0 ipq 40 20 0 20 8 7 1 1 0 8 1 ipqe 40 44 0 44 8 7 1 1 0 8 1 inpcb 280 4561 0 4553 20 18 2 9 0 8 1 rttmr 72 10 0 10 6 6 0 1 0 8 0 nd6 48 35 0 31 2 1 1 1 0 8 0 pkpcb 40 13 0 13 4 4 0 1 0 8 0 swfcl 56 8 0 0 1 0 1 1 0 8 0 ppxss 1128 53 0 53 11 10 1 1 0 8 1 art_heap8 4096 7 0 6 4 3 1 4 0 8 0 art_heap4 256 1214 0 978 28 13 15 16 0 8 0 art_table 32 1221 0 984 2 0 2 2 0 8 0 art_node 16 311 0 266 1 0 1 1 0 8 0 sysvmsgpl 40 14 0 5 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 434 0 424 1 0 1 1 0 8 0 shmpl 112 133 0 20 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 6164 0 4766 46 0 46 46 0 8 0 ffsino 240 6164 0 4766 83 0 83 83 0 8 0 nchpl 144 10503 0 8902 62 1 61 61 0 8 0 uvmvnodes 72 6561 0 0 120 0 120 120 0 8 0 vnodes 208 6561 0 0 346 0 346 346 0 8 0 namei 1024 37657 0 37657 4 3 1 1 0 8 1 vmpool 520 14 0 14 5 4 1 1 0 8 1 scsiplug 64 2 0 2 1 1 0 1 0 8 0 scxspl 192 43548 0 43548 24 22 2 7 0 8 2 plimitpl 152 225 0 218 1 0 1 1 0 8 0 sigapl 432 3133 0 3120 2 0 2 2 0 8 0 futexpl 56 75360 0 75360 3 2 1 1 0 8 1 knotepl 112 764 0 745 3 2 1 2 0 8 0 kqueuepl 104 788 0 786 4 3 1 4 0 8 0 pipepl 112 1862 0 1843 7 6 1 2 0 8 0 fdescpl 424 3134 0 3120 2 0 2 2 0 8 0 filepl 120 27424 0 27327 18 14 4 11 0 8 1 lockfpl 104 1216 0 1215 1 0 1 1 0 8 0 lockfspl 48 381 0 380 1 0 1 1 0 8 0 sessionpl 112 35 0 25 1 0 1 1 0 8 0 pgrppl 48 59 0 49 1 0 1 1 0 8 0 ucredpl 96 4510 0 4503 1 0 1 1 0 8 0 zombiepl 144 3122 0 3122 3 2 1 1 0 8 1 processpl 864 3152 0 3122 4 0 4 4 0 8 0 procpl 632 6838 0 6801 4 0 4 4 0 8 0 sosppl 128 49 0 49 11 11 0 1 0 8 0 sockpl 384 7553 0 7533 28 24 4 14 0 8 1 mcl64k 65536 1984 0 1984 100 92 8 33 0 8 8 mcl16k 16384 38 0 38 14 13 1 1 0 8 1 mcl12k 12288 83 0 83 8 7 1 1 0 8 1 mcl9k 9216 40 0 40 13 12 1 1 0 8 1 mcl8k 8192 113 0 113 3 2 1 1 0 8 1 mcl4k 4096 305 0 305 4 3 1 1 0 8 1 mcl2k2 2112 25 0 25 9 9 0 1 0 8 0 mcl2k 2048 60410 0 60371 28 22 6 24 0 8 0 mtagpl 80 78 0 78 4 4 0 1 0 8 0 mbufpl 256 122506 0 122424 63 55 8 23 0 8 0 bufpl 256 20110 0 13547 411 0 411 411 0 8 0 anonpl 16 388138 0 372959 158 81 77 81 0 62 7 amapchunkpl 152 16242 0 16133 57 42 15 15 0 158 9 amappl16 192 19188 0 18279 162 109 53 58 0 8 7 amappl15 184 423 0 423 3 3 0 1 0 8 0 amappl14 176 583 0 581 2 1 1 1 0 8 0 amappl13 168 277 0 276 2 1 1 1 0 8 0 amappl12 160 70 0 67 1 0 1 1 0 8 0 amappl11 152 226 0 215 1 0 1 1 0 8 0 amappl10 144 1049 0 1047 1 0 1 1 0 8 0 amappl9 136 1073 0 1064 1 0 1 1 0 8 0 amappl8 128 625 0 588 3 1 2 2 0 8 0 amappl7 120 1137 0 1131 1 0 1 1 0 8 0 amappl6 112 203 0 193 1 0 1 1 0 8 0 amappl5 104 331 0 320 1 0 1 1 0 8 0 amappl4 96 3386 0 3357 1 0 1 1 0 8 0 amappl3 88 946 0 940 1 0 1 1 0 8 0 amappl2 80 23688 0 23620 4 2 2 3 0 8 0 amappl1 72 66473 0 66062 26 16 10 20 0 8 0 amappl 80 7315 0 7278 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 134 0 20 2 0 2 2 0 8 0 uaddrrnd 24 3148 0 3120 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3148 0 3120 1 0 1 1 0 8 0 vmmpekpl 168 22222 0 22197 2 0 2 2 0 8 0 vmmpepl 168 386098 0 384125 271 150 121 126 0 357 29 vmsppl 272 3133 0 3120 4 3 1 2 0 8 0 pdppl 4096 6302 0 6268 6 1 5 6 0 8 0 pvpl 32 1066539 0 1048268 455 189 266 295 0 265 106 pmappl 200 3147 0 3134 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 778 0 232 17 0 17 17 0 8 0