panic: attempt to execute user address 0x0 in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 12124 55137 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(ffff8000149102a0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015984000,fffffd803461a3f8,10,ffff80000005b620,ffff800014910508) at alltraps_kern_meltdown+0x7b 0(b,ffff800014910468,83,ffff800014910508,0,b) at 0 rt_match(fffffd8036ff3a58,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8036ff3a58,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff8000149105e0,fffffd8037093e20,fffffd8036ff39d8) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd8036ff39d8,fffffd8037093e00) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd8036ff4780,4,0,fffffd8037093e00,0,ffff8000ffff98b8) at udp_usrreq+0x560 sys_connect(ffff8000ffff98b8,ffff800014910768,ffff8000149107b0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800014910830) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,c48bbf52010) at Xsyscall+0x128 end of kernel end trace frame: 0xc4b422d0cc0, 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 0x0 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(ffff8000149102a0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015984000,fffffd803461a3f8,10,ffff80000005b620,ffff800014910508) at alltraps_kern_meltdown+0x7b 0(b,ffff800014910468,83,ffff800014910508,0,b) at 0 rt_match(fffffd8036ff3a58,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8036ff3a58,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff8000149105e0,fffffd8037093e20,fffffd8036ff39d8) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd8036ff39d8,fffffd8037093e00) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd8036ff4780,4,0,fffffd8037093e00,0,ffff8000ffff98b8) at udp_usrreq+0x560 sys_connect(ffff8000ffff98b8,ffff800014910768,ffff8000149107b0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800014910830) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,c48bbf52010) at Xsyscall+0x128 end of kernel end trace frame: 0xc4b422d0cc0, count: -13 ddb> show registers rdi 0xffffffff82049277 db_enter+0x17 rsi 0x20e9 __ALIGN_SIZE+0x10e9 rbp 0xffff800014910110 rbx 0xffff8000149101c0 rdx 0x20ea __ALIGN_SIZE+0x10ea rcx 0xffff800015984000 rax 0xffff800015984000 r8 0xffff8000149100d0 r9 0x1 r10 0xffff800000022440 r11 0xcdcc3209a31f09aa r12 0x3000000008 r13 0xffff800014910120 r14 0x100 r15 0x1 rip 0xffffffff82049278 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014910100 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=12124 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff84f8,0xffffffff8258bb98 process=0xffff8000148a26d8 user=0xffff80001490b000, vmspace=0xfffffd803f014dd0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 55137 268932 44730 0 2 0 syz-executor.1 *55137 12124 44730 0 7 0x4000000 syz-executor.1 44730 92323 45875 0 3 0x82 nanosleep syz-executor.1 87103 68662 45875 0 2 0x2 syz-executor.0 15384 130983 0 0 3 0x14200 acct acct 11632 259907 0 0 3 0x14200 bored sosplice 45875 29044 30407 0 3 0x82 thrsleep syz-fuzzer 45875 159935 30407 0 3 0x4000082 nanosleep syz-fuzzer 45875 65509 30407 0 3 0x4000082 kqread syz-fuzzer 45875 301049 30407 0 3 0x4000082 thrsleep syz-fuzzer 45875 430475 30407 0 3 0x4000082 thrsleep syz-fuzzer 45875 290694 30407 0 3 0x4000082 thrsleep syz-fuzzer 45875 58853 30407 0 3 0x4000082 thrsleep syz-fuzzer 45875 280111 30407 0 3 0x4000082 thrsleep syz-fuzzer 30407 103310 33657 0 3 0x10008a pause ksh 33657 168529 62303 0 3 0x92 select sshd 26636 432031 1 0 3 0x100083 ttyin getty 62303 14907 1 0 3 0x80 select sshd 32798 324062 10392 73 3 0x100090 kqread syslogd 10392 399566 1 0 3 0x100082 netio syslogd 27246 43871 1 77 3 0x100090 poll dhclient 31478 311557 1 0 3 0x80 poll dhclient 55322 492145 0 0 2 0x14200 zerothread 98456 58091 0 0 3 0x14200 aiodoned aiodoned 42360 201958 0 0 3 0x14200 syncer update 7197 302100 0 0 3 0x14200 cleaner cleaner 84400 233702 0 0 3 0x14200 reaper reaper 69327 445859 0 0 3 0x14200 pgdaemon pagedaemon 18409 480942 0 0 3 0x14200 bored crynlk 78264 321096 0 0 3 0x14200 bored crypto 11912 323306 0 0 3 0x40014200 acpi0 acpi0 17930 472394 0 0 3 0x14200 bored softnet 14776 244879 0 0 3 0x14200 bored systqmp 50419 31887 0 0 3 0x14200 bored systq 68527 340719 0 0 3 0x40014200 bored softclock 70582 187504 0 0 3 0x40014200 idle0 81540 396799 0 0 3 0x14200 bored smr 1 295587 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 9574 7081K 8234K 78643K 15372 0 0 pcb 13 8K 9K 78643K 492 0 0 rtable 91 11K 12K 78643K 1486 0 0 ifaddr 76 16K 18K 78643K 397 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 151 0 0 iov 0 0K 32K 78643K 497 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1219 77K 77K 78643K 3068 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 40 0 0 VM map 34 8K 8K 78643K 35 0 0 sem 12 0K 1K 78643K 548 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 2029 0 0 sigio 0 0K 0K 78643K 54 0 0 proc 49 38K 55K 78643K 1022 0 0 subproc 32 2K 2K 78643K 255 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 227 0 0 in_multi 14 0K 2K 78643K 254 0 0 ether_multi 1 0K 0K 78643K 21 0 0 mrt 0 0K 0K 78643K 19 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 565 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 161 267K 267K 78643K 6041 0 0 UVM aobj 107 5K 5K 78643K 149 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 456 0 0 NDP 19 0K 0K 78643K 127 0 0 temp 181 3544K 4183K 78643K 56464 0 0 kqueue 0 0K 0K 78643K 15 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 49 0 45 1 0 1 1 0 8 0 rtpcb 80 357 0 355 1 0 1 1 0 8 0 rtentry 112 266 0 237 2 0 2 2 0 8 0 unpcb 120 1236 0 1225 2 1 1 2 0 8 0 syncache 264 16 0 16 7 7 0 1 0 8 0 tcpqe 32 84 0 84 5 5 0 1 0 8 0 tcpcb 544 789 0 784 2 1 1 2 0 8 0 ipq 40 24 0 24 8 8 0 1 0 8 0 ipqe 40 538 0 538 8 8 0 1 0 8 0 inpcb 280 5990 0 5980 10 8 2 4 0 8 1 rttmr 72 6 0 5 3 2 1 1 0 8 0 nd6 48 32 0 32 2 1 1 1 0 8 1 pkpcb 40 4 0 4 1 1 0 1 0 8 0 swfcl 56 3 0 0 1 0 1 1 0 8 0 ppxss 1128 33 0 33 9 9 0 1 0 8 0 art_heap8 4096 11 0 10 9 8 1 3 0 8 0 art_heap4 256 1083 0 928 25 10 15 16 0 8 2 art_table 32 1094 0 938 3 0 3 3 0 8 1 art_node 16 258 0 231 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 8 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 546 0 536 1 0 1 1 0 8 0 shmpl 112 147 0 42 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4369 0 2969 46 0 46 46 0 8 0 ffsino 240 4369 0 2969 83 0 83 83 0 8 0 nchpl 144 7421 0 6954 60 40 20 60 0 8 0 uvmvnodes 72 5792 0 0 106 0 106 106 0 8 0 vnodes 208 5792 0 0 305 0 305 305 0 8 0 namei 1024 24582 0 24582 2 1 1 1 0 8 1 vcpupl 1984 32 0 0 4 0 4 4 0 8 0 vmpool 520 33 0 1 3 0 3 3 0 8 0 scsiplug 64 5 0 5 3 2 1 1 0 8 1 scxspl 192 24828 0 24828 12 11 1 7 0 8 1 plimitpl 152 199 0 192 1 0 1 1 0 8 0 sigapl 432 2160 0 2147 2 0 2 2 0 8 0 futexpl 56 59094 0 59094 2 1 1 1 0 8 1 knotepl 112 561 0 542 3 2 1 3 0 8 0 kqueuepl 104 640 0 638 1 0 1 1 0 8 0 pipepl 112 1400 0 1381 6 5 1 2 0 8 0 fdescpl 424 2161 0 2147 2 0 2 2 0 8 0 filepl 120 19987 0 19889 17 13 4 6 0 8 0 lockfpl 104 794 0 793 1 0 1 1 0 8 0 lockfspl 48 267 0 266 1 0 1 1 0 8 0 sessionpl 112 30 0 20 1 0 1 1 0 8 0 pgrppl 48 48 0 38 1 0 1 1 0 8 0 ucredpl 96 2102 0 2095 1 0 1 1 0 8 0 zombiepl 144 2152 0 2152 1 0 1 1 0 8 1 processpl 864 2182 0 2152 4 0 4 4 0 8 0 procpl 632 4642 0 4604 4 0 4 4 0 8 0 sosppl 128 41 0 41 10 10 0 1 0 8 0 sockpl 384 7606 0 7583 17 12 5 7 0 8 2 mcl64k 65536 439 0 439 32 31 1 29 0 8 1 mcl16k 16384 36 0 36 8 7 1 1 0 8 1 mcl12k 12288 46 0 46 9 8 1 1 0 8 1 mcl9k 9216 27 0 27 9 9 0 1 0 8 0 mcl8k 8192 93 0 93 3 2 1 1 0 8 1 mcl4k 4096 235 0 235 3 2 1 1 0 8 1 mcl2k2 2112 26 0 26 11 10 1 1 0 8 1 mcl2k 2048 73364 0 73318 16 9 7 15 0 8 0 mtagpl 80 89 0 89 3 2 1 1 0 8 1 mbufpl 256 136772 0 136709 84 73 11 33 0 8 2 bufpl 256 17090 0 10012 443 0 443 443 0 8 0 anonpl 16 299969 0 281865 155 66 89 101 0 62 0 amapchunkpl 152 13137 0 12972 57 42 15 31 0 158 7 amappl16 192 13380 0 12151 140 76 64 71 0 8 1 amappl15 184 435 0 433 1 0 1 1 0 8 0 amappl14 176 402 0 395 1 0 1 1 0 8 0 amappl13 168 263 0 263 1 1 0 1 0 8 0 amappl12 160 343 0 343 2 1 1 1 0 8 1 amappl11 152 84 0 72 1 0 1 1 0 8 0 amappl10 144 118 0 115 1 0 1 1 0 8 0 amappl9 136 1390 0 1386 1 0 1 1 0 8 0 amappl8 128 935 0 895 2 0 2 2 0 8 0 amappl7 120 178 0 171 1 0 1 1 0 8 0 amappl6 112 65 0 54 1 0 1 1 0 8 0 amappl5 104 596 0 586 1 0 1 1 0 8 0 amappl4 96 2539 0 2507 1 0 1 1 0 8 0 amappl3 88 437 0 430 1 0 1 1 0 8 0 amappl2 80 15914 0 15839 3 1 2 3 0 8 0 amappl1 72 49307 0 48901 27 18 9 20 0 8 0 amappl 80 5126 0 5066 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 148 0 42 2 0 2 2 0 8 0 uaddrrnd 24 2194 0 2147 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2194 0 2147 1 0 1 1 0 8 0 vmmpekpl 168 17836 0 17802 2 0 2 2 0 8 0 vmmpepl 168 271262 0 268815 285 133 152 174 0 357 39 vmsppl 272 2160 0 2147 3 2 1 2 0 8 0 pdppl 4096 4394 0 4328 10 1 9 9 0 8 0 pvpl 32 773143 0 753432 325 119 206 247 0 265 13 pmappl 200 2193 0 2148 3 0 3 3 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 728 0 149 18 0 18 18 0 8 0