panic: attempt to execute user address 0x20008fffd in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *182961 43433 0 0 0x4000000 0 syz-executor.0 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(ffff800017b759d0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015913000,fffffd802dbc3158,10,ffff800000025100,ffff800017b75c38) at alltraps_kern_meltdown+0x7b 20008fffd(b,ffff800017b75b98,83,ffff800017b75c38,0,b) at 0x20008fffd rt_match(fffffd8037615b70,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8037615b70,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff800017b75d10,fffffd802a1f5720,fffffd8037615af0) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd8037615af0,fffffd802a1f5700) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803be52010,4,0,fffffd802a1f5700,0,ffff8000ffff33d8) at udp_usrreq+0x560 sys_connect(ffff8000ffff33d8,ffff800017b75e98,ffff800017b75ee0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800017b75f60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,181d1125010) at Xsyscall+0x128 end of kernel end trace frame: 0x183d562f840, 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 0x20008fffd 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(ffff800017b759d0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015913000,fffffd802dbc3158,10,ffff800000025100,ffff800017b75c38) at alltraps_kern_meltdown+0x7b 20008fffd(b,ffff800017b75b98,83,ffff800017b75c38,0,b) at 0x20008fffd rt_match(fffffd8037615b70,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8037615b70,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff800017b75d10,fffffd802a1f5720,fffffd8037615af0) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd8037615af0,fffffd802a1f5700) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803be52010,4,0,fffffd802a1f5700,0,ffff8000ffff33d8) at udp_usrreq+0x560 sys_connect(ffff8000ffff33d8,ffff800017b75e98,ffff800017b75ee0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800017b75f60) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,181d1125010) at Xsyscall+0x128 end of kernel end trace frame: 0x183d562f840, count: -13 ddb> show registers rdi 0xffffffff814c2957 db_enter+0x17 rsi 0x2605 __ALIGN_SIZE+0x1605 rbp 0xffff800017b75840 rbx 0xffff800017b758f0 rdx 0x2606 __ALIGN_SIZE+0x1606 rcx 0xffff800015913000 rax 0xffff800015913000 r8 0xffff800017b75800 r9 0x1 r10 0xffff800000a6bf80 r11 0x8f8db7b31d439337 r12 0x3000000008 r13 0xffff800017b75850 r14 0x100 r15 0x1 rip 0xffffffff814c2958 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800017b75830 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=182961 stat=onproc flags process=0 proc=4000000 pri=80, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2508,0xffffffff825533c8 process=0xffff8000148a2a38 user=0xffff800017b71000, vmspace=0xfffffd803f014ee0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 43433 95152 61187 0 2 0 syz-executor.0 *43433 182961 61187 0 7 0x4000000 syz-executor.0 93523 166699 38073 0 2 0 syz-executor.1 93523 445525 38073 0 3 0x4000080 fifor syz-executor.1 93523 195547 38073 0 3 0x4000080 fsleep syz-executor.1 38073 194498 41449 0 3 0x82 nanosleep syz-executor.1 61187 514122 41449 0 3 0x82 nanosleep syz-executor.0 6305 378026 1 0 3 0x100083 ttyin getty 74204 228568 0 0 3 0x14200 acct acct 92104 434031 0 0 3 0x14200 bored sosplice 41449 253661 91899 0 3 0x82 thrsleep syz-fuzzer 41449 267051 91899 0 3 0x4000082 thrsleep syz-fuzzer 41449 17801 91899 0 3 0x4000082 thrsleep syz-fuzzer 41449 336779 91899 0 3 0x4000082 thrsleep syz-fuzzer 41449 94035 91899 0 3 0x4000082 kqread syz-fuzzer 41449 311213 91899 0 3 0x4000082 thrsleep syz-fuzzer 41449 183187 91899 0 3 0x4000082 thrsleep syz-fuzzer 41449 87092 91899 0 3 0x4000082 thrsleep syz-fuzzer 91899 460338 88306 0 3 0x10008a pause ksh 88306 94432 23811 0 3 0x92 select sshd 23811 473649 1 0 3 0x80 select sshd 2034 413768 10309 73 3 0x100090 kqread syslogd 10309 128168 1 0 3 0x100082 netio syslogd 63741 284 1 77 3 0x100090 poll dhclient 11537 316079 1 0 3 0x80 poll dhclient 96464 171093 0 0 2 0x14200 zerothread 26699 445236 0 0 3 0x14200 aiodoned aiodoned 53375 69405 0 0 3 0x14200 syncer update 62606 237718 0 0 3 0x14200 cleaner cleaner 36907 341409 0 0 3 0x14200 reaper reaper 28341 367335 0 0 3 0x14200 pgdaemon pagedaemon 81839 243805 0 0 3 0x14200 bored crynlk 92975 405360 0 0 3 0x14200 bored crypto 89536 395541 0 0 3 0x40014200 acpi0 acpi0 69405 368055 0 0 3 0x14200 bored softnet 2352 416386 0 0 3 0x14200 bored systqmp 87989 212273 0 0 3 0x14200 bored systq 65281 192723 0 0 3 0x40014200 bored softclock 73067 279076 0 0 3 0x40014200 idle0 57077 442631 0 0 3 0x14200 bored smr 1 307318 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 9569 6373K 7649K 78643K 30288 0 0 pcb 14 10K 12K 78643K 5471 0 0 rtable 116 12K 13K 78643K 2853 0 0 ifaddr 80 19K 20K 78643K 979 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 296 0 0 iov 0 0K 32K 78643K 1011 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1203 76K 77K 78643K 9026 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 125 0 0 VM map 2 0K 0K 78643K 24 0 0 sem 12 1K 1K 78643K 1165 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 8693 0 0 sigio 0 0K 0K 78643K 168 0 0 proc 50 38K 63K 78643K 2020 0 0 subproc 32 2K 2K 78643K 482 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 870 0 0 in_multi 30 2K 2K 78643K 552 0 0 ether_multi 1 0K 0K 78643K 31 0 0 mrt 0 0K 0K 78643K 35 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 126 556K 556K 78643K 126 0 0 exec 0 0K 1K 78643K 1354 0 0 pfkey data 0 0K 4K 78643K 4 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 124 23K 32K 78643K 22295 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 1 0K 1K 78643K 2935 0 0 NDP 18 0K 0K 78643K 293 0 0 temp 212 3536K 4175K 78643K 522896 0 0 kqueue 0 0K 0K 78643K 58 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 66 0 60 1 0 1 1 0 8 0 rtpcb 80 518 0 516 1 0 1 1 0 8 0 rtentry 112 377 0 334 2 0 2 2 0 8 0 unpcb 120 3821 0 3792 13 12 1 2 0 8 0 syncache 264 30 0 30 13 13 0 1 0 8 0 sackhl 24 2 0 2 2 2 0 1 0 8 0 tcpqe 32 6566 0 6566 4 4 0 1 0 8 0 tcpcb 544 7279 0 7275 45 43 2 15 0 8 1 ipq 40 9 0 9 5 5 0 1 0 8 0 ipqe 40 21 0 21 5 5 0 1 0 8 0 inpcb 280 16008 0 15999 39 37 2 9 0 8 1 rttmr 72 9 0 9 8 8 0 1 0 8 0 ip6q 72 4 0 4 4 4 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 48 50 0 47 1 0 1 1 0 8 0 pkpcb 40 48 0 48 15 14 1 1 0 8 1 swfcl 56 4 0 0 1 0 1 1 0 8 0 ppxss 1128 153 0 153 31 31 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1476 0 1263 22 7 15 15 0 8 0 art_table 32 1477 0 1263 2 0 2 2 0 8 0 art_node 16 354 0 314 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 1157 0 1147 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 15129 0 13727 46 0 46 46 0 8 0 ffsino 240 15129 0 13727 84 0 84 84 0 8 0 nchpl 144 28975 0 27329 63 1 62 62 0 8 0 uvmvnodes 72 6949 0 0 127 0 127 127 0 8 0 vnodes 208 6949 0 0 366 0 366 366 0 8 0 namei 1024 96935 0 96935 3 2 1 1 0 8 1 vmpool 520 22 0 22 11 11 0 1 0 8 0 scsiplug 64 19 0 19 14 14 0 1 0 8 0 scxspl 192 86891 0 86891 23 22 1 7 0 8 1 plimitpl 152 745 0 738 1 0 1 1 0 8 0 sigapl 432 8790 0 8776 2 0 2 2 0 8 0 futexpl 56 208657 0 208656 1 0 1 1 0 8 0 knotepl 112 2101 0 2082 4 3 1 2 0 8 0 kqueuepl 104 2517 0 2515 7 6 1 4 0 8 0 pipepl 112 5052 0 5033 23 22 1 2 0 8 0 fdescpl 424 8791 0 8776 2 0 2 2 0 8 0 filepl 120 72562 0 72463 35 31 4 11 0 8 0 lockfpl 104 4368 0 4367 1 0 1 1 0 8 0 lockfspl 48 1360 0 1359 1 0 1 1 0 8 0 sessionpl 112 47 0 37 1 0 1 1 0 8 0 pgrppl 48 119 0 109 1 0 1 1 0 8 0 ucredpl 96 10831 0 10824 1 0 1 1 0 8 0 zombiepl 144 8776 0 8776 3 2 1 1 0 8 1 processpl 864 8807 0 8776 4 0 4 4 0 8 0 procpl 632 20227 0 20186 13 9 4 5 0 8 0 sosppl 128 133 0 133 24 24 0 1 0 8 0 sockpl 384 20752 0 20712 63 57 6 15 0 8 2 mcl64k 65536 2309 0 2309 179 179 0 33 0 8 0 mcl16k 16384 63 0 63 30 29 1 1 0 8 1 mcl12k 12288 197 0 197 21 20 1 1 0 8 1 mcl9k 9216 90 0 90 32 32 0 1 0 8 0 mcl8k 8192 246 0 246 11 10 1 1 0 8 1 mcl4k 4096 780 0 780 2 1 1 1 0 8 1 mcl2k2 2112 71 0 71 35 35 0 1 0 8 0 mcl2k 2048 62938 0 62896 34 28 6 13 0 8 0 mtagpl 80 509 0 507 6 5 1 2 0 8 0 mbufpl 256 159477 0 159380 102 91 11 25 0 8 0 bufpl 256 32368 0 25401 436 0 436 436 0 8 0 anonpl 16 827057 0 814512 291 224 67 77 0 62 4 amapchunkpl 152 40651 0 40542 115 109 6 19 0 158 1 amappl16 192 47459 0 46609 322 267 55 55 0 8 11 amappl15 184 409 0 408 1 0 1 1 0 8 0 amappl14 176 984 0 979 2 1 1 1 0 8 0 amappl13 168 2668 0 2668 5 5 0 1 0 8 0 amappl12 160 1216 0 1214 1 0 1 1 0 8 0 amappl11 152 627 0 613 1 0 1 1 0 8 0 amappl10 144 215 0 214 1 0 1 1 0 8 0 amappl9 136 2115 0 2107 1 0 1 1 0 8 0 amappl8 128 1670 0 1629 3 1 2 2 0 8 0 amappl7 120 331 0 325 1 0 1 1 0 8 0 amappl6 112 605 0 592 1 0 1 1 0 8 0 amappl5 104 1589 0 1580 1 0 1 1 0 8 0 amappl4 96 11151 0 11118 1 0 1 1 0 8 0 amappl3 88 976 0 970 1 0 1 1 0 8 0 amappl2 80 68130 0 68053 4 2 2 3 0 8 0 amappl1 72 167249 0 166818 28 19 9 20 0 8 0 amappl 80 20876 0 20838 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 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 151 0 22 3 0 3 3 0 8 0 uaddrrnd 24 8813 0 8776 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8813 0 8776 1 0 1 1 0 8 0 vmmpekpl 168 54920 0 54890 2 0 2 2 0 8 0 vmmpepl 168 1030033 0 1027998 556 434 122 122 0 357 29 vmsppl 272 8790 0 8776 6 4 2 2 0 8 1 pdppl 4096 17632 0 17596 6 1 5 6 0 8 0 pvpl 32 2351592 0 2335806 691 526 165 281 0 265 12 pmappl 200 8812 0 8798 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 966 0 397 19 1 18 18 0 8 0