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 *417886 4131 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(ffff800018b5bf00) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015709000,fffffd802ef110e8,10,ffff80000005b870,ffff800018b5c168) at alltraps_kern_meltdown+0x7b 0(b,ffff800018b5c0c8,83,ffff800018b5c168,0,b) at 0 rt_match(fffffd80370205f8,fffffd802ec58874,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd80370205f8,fffffd802ec58874,1,0) at rt_match+0xbe sys/net/route.c:242 ip_output(fffffd80345d1600,0,fffffd80370205e8,20,0,fffffd8037020578) at ip_output+0x4d2 sys/netinet/ip_output.c:204 rip_output(fffffd80345d1600,fffffd802e2857d8,ffff800018b5c378,ffff800015709000) at rip_output+0x22b sys/netinet/raw_ip.c:289 rip_usrreq(fffffd802e2857d8,9,fffffd80345d1600,0,0,ffff8000ffff3b40) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd802e2857d8,0,ffff800018b5c4e0,0,0,0) at sosend+0x63d sys/kern/uipc_socket.c:524 sendit(ffff8000ffff3b40,5,ffff800018b5c5c0,0,ffff800018b5c6a0) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendto(ffff8000ffff3b40,ffff800018b5c658,ffff800018b5c6a0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 syscall(ffff800018b5c720) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 end trace frame: 0xffff800018b5c7a0, count: 0 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(ffff800018b5bf00) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015709000,fffffd802ef110e8,10,ffff80000005b870,ffff800018b5c168) at alltraps_kern_meltdown+0x7b 0(b,ffff800018b5c0c8,83,ffff800018b5c168,0,b) at 0 rt_match(fffffd80370205f8,fffffd802ec58874,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd80370205f8,fffffd802ec58874,1,0) at rt_match+0xbe sys/net/route.c:242 ip_output(fffffd80345d1600,0,fffffd80370205e8,20,0,fffffd8037020578) at ip_output+0x4d2 sys/netinet/ip_output.c:204 rip_output(fffffd80345d1600,fffffd802e2857d8,ffff800018b5c378,ffff800015709000) at rip_output+0x22b sys/netinet/raw_ip.c:289 rip_usrreq(fffffd802e2857d8,9,fffffd80345d1600,0,0,ffff8000ffff3b40) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd802e2857d8,0,ffff800018b5c4e0,0,0,0) at sosend+0x63d sys/kern/uipc_socket.c:524 sendit(ffff8000ffff3b40,5,ffff800018b5c5c0,0,ffff800018b5c6a0) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendto(ffff8000ffff3b40,ffff800018b5c658,ffff800018b5c6a0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 syscall(ffff800018b5c720) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffffd8,0,6,a71abe4b010) at Xsyscall+0x128 end of kernel end trace frame: 0xa74251dd6b0, count: -15 ddb> show registers rdi 0xffffffff814d3647 db_enter+0x17 rsi 0x21f9 __ALIGN_SIZE+0x11f9 rbp 0xffff800018b5bd70 rbx 0xffff800018b5be20 rdx 0x21fa __ALIGN_SIZE+0x11fa rcx 0xffff800015709000 rax 0xffff800015709000 r8 0xffff800018b5bd30 r9 0x1 r10 0xffff800000b64980 r11 0x3c42576b6504d26f r12 0x3000000008 r13 0xffff800018b5bd80 r14 0x100 r15 0x1 rip 0xffffffff814d3648 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800018b5bd60 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=417886 stat=onproc flags process=0 proc=4000000 pri=77, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff3160,0xffffffff82585f08 process=0xffff8000ffff6d90 user=0xffff800018b57000, vmspace=0xfffffd803f014770 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 4131 474853 48945 0 2 0 syz-executor.1 * 4131 417886 48945 0 7 0x4000000 syz-executor.1 48945 23478 50236 0 3 0x82 nanosleep syz-executor.1 74504 512382 0 0 3 0x14200 acct acct 35488 505173 50236 0 2 0x2 syz-executor.0 43434 459226 1 0 3 0x100083 ttyin getty 21610 210681 0 0 3 0x14200 bored sosplice 50236 98392 33102 0 3 0x82 thrsleep syz-fuzzer 50236 84111 33102 0 3 0x4000082 nanosleep syz-fuzzer 50236 200233 33102 0 3 0x4000082 thrsleep syz-fuzzer 50236 296210 33102 0 3 0x4000082 thrsleep syz-fuzzer 50236 431163 33102 0 3 0x4000082 thrsleep syz-fuzzer 50236 75096 33102 0 3 0x4000082 kqread syz-fuzzer 50236 265426 33102 0 3 0x4000082 thrsleep syz-fuzzer 33102 32900 54031 0 3 0x10008a pause ksh 54031 310818 67206 0 3 0x92 select sshd 67206 50524 1 0 3 0x80 select sshd 97251 502287 7224 73 3 0x100090 kqread syslogd 7224 96787 1 0 3 0x100082 netio syslogd 95338 263230 0 0 2 0x14200 zerothread 59544 67656 0 0 3 0x14200 aiodoned aiodoned 38099 291200 0 0 3 0x14200 syncer update 17801 445396 0 0 3 0x14200 cleaner cleaner 63721 156695 0 0 3 0x14200 reaper reaper 87478 204530 0 0 3 0x14200 pgdaemon pagedaemon 47286 74919 0 0 3 0x14200 bored crynlk 63155 199433 0 0 3 0x14200 bored crypto 72811 330516 0 0 3 0x40014200 acpi0 acpi0 55725 100070 0 0 3 0x14200 bored softnet 69221 21192 0 0 3 0x14200 bored systqmp 78598 60 0 0 3 0x14200 bored systq 56343 311399 0 0 3 0x40014200 bored softclock 77838 502300 0 0 3 0x40014200 idle0 36187 317675 0 0 3 0x14200 bored smr 1 446188 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 9600 6573K 7467K 78643K 37101 0 0 pcb 13 8K 8K 78643K 1496 0 0 rtable 109 12K 13K 78643K 2782 0 0 ifaddr 79 22K 27K 78643K 1149 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 622 0 0 iov 0 0K 32K 78643K 1245 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1204 76K 77K 78643K 11649 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 151 0 0 VM map 2 0K 0K 78643K 26 0 0 sem 12 0K 1K 78643K 1339 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 11706 0 0 sigio 0 0K 0K 78643K 256 0 0 proc 45 30K 63K 78643K 2876 0 0 subproc 32 2K 2K 78643K 720 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 1241 0 0 in_multi 24 1K 2K 78643K 815 0 0 ether_multi 1 0K 0K 78643K 48 0 0 mrt 0 0K 0K 78643K 57 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 198 874K 874K 78643K 198 0 0 exec 0 0K 1K 78643K 1753 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 116 22K 40K 78643K 28981 0 0 UVM aobj 130 4K 4K 78643K 141 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 1417 0 0 NDP 21 0K 1K 78643K 363 0 0 temp 218 3532K 4172K 78643K 176144 0 0 kqueue 0 0K 0K 78643K 114 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 279 0 275 1 0 1 1 0 8 0 rtpcb 80 699 0 699 31 30 1 1 0 8 1 rtentry 112 872 0 833 2 0 2 2 0 8 0 unpcb 120 7795 0 7773 32 30 2 3 0 8 1 syncache 264 4 0 4 1 1 0 1 0 8 0 sackhl 24 3 0 3 3 3 0 1 0 8 0 tcpqe 32 7156 0 7156 1 1 0 1 0 8 0 tcpcb 544 5991 0 5987 43 41 2 3 0 8 1 ipq 40 16 0 16 6 6 0 1 0 8 0 ipqe 40 41 0 41 6 6 0 1 0 8 0 inpcb 280 24047 0 24041 57 55 2 5 0 8 1 rttmr 72 13 0 13 11 11 0 1 0 8 0 nd6 48 82 0 80 2 1 1 1 0 8 0 pkpcb 40 60 0 60 25 25 0 1 0 8 0 swfcl 56 5 0 0 1 0 1 1 0 8 0 ppxss 1128 164 0 164 40 40 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2341 0 2138 33 17 16 17 0 8 1 art_table 32 2342 0 2138 3 1 2 3 0 8 0 art_node 16 662 0 627 1 0 1 1 0 8 0 sysvmsgpl 40 47 0 32 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 1333 0 1323 1 0 1 1 0 8 0 shmpl 112 139 0 11 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 19069 0 17667 46 0 46 46 0 8 0 ffsino 240 19069 0 17667 83 0 83 83 0 8 0 nchpl 144 36351 0 34738 63 1 62 62 0 8 0 uvmvnodes 72 8301 0 0 151 0 151 151 0 8 0 vnodes 208 8301 0 0 437 0 437 437 0 8 0 namei 1024 122528 0 122528 9 8 1 1 0 8 1 vmpool 520 24 0 24 9 9 0 1 0 8 0 scsiplug 64 17 0 17 11 11 0 1 0 8 0 scxspl 192 111664 0 111664 41 40 1 7 0 8 1 plimitpl 152 994 0 988 1 0 1 1 0 8 0 sigapl 432 11760 0 11749 2 0 2 2 0 8 0 futexpl 56 289751 0 289751 10 9 1 1 0 8 1 knotepl 112 2951 0 2932 9 8 1 3 0 8 0 kqueuepl 104 9382 0 9380 1 0 1 1 0 8 0 pipepl 112 5992 0 5973 19 18 1 2 0 8 0 fdescpl 424 11761 0 11749 2 0 2 2 0 8 0 filepl 120 102964 0 102878 47 43 4 7 0 8 1 lockfpl 104 3601 0 3601 12 11 1 1 0 8 1 lockfspl 48 1212 0 1212 12 11 1 1 0 8 1 sessionpl 112 60 0 52 1 0 1 1 0 8 0 pgrppl 48 173 0 165 1 0 1 1 0 8 0 ucredpl 96 13851 0 13844 1 0 1 1 0 8 0 zombiepl 144 11750 0 11750 3 2 1 1 0 8 1 processpl 864 11778 0 11750 4 0 4 4 0 8 0 procpl 632 26271 0 26236 4 0 4 4 0 8 0 sosppl 128 160 0 160 39 39 0 1 0 8 0 sockpl 384 32745 0 32718 112 105 7 11 0 8 3 mcl64k 65536 2850 0 2850 345 345 0 129 0 8 0 mcl16k 16384 68 0 68 38 38 0 1 0 8 0 mcl12k 12288 199 0 199 34 33 1 1 0 8 1 mcl9k 9216 149 0 149 45 44 1 1 0 8 1 mcl8k 8192 331 0 331 31 30 1 1 0 8 1 mcl4k 4096 995 0 995 14 13 1 1 0 8 1 mcl2k2 2112 97 0 97 33 32 1 1 0 8 1 mcl2k 2048 74061 0 74017 32 26 6 14 0 8 0 mtagpl 80 310 0 308 8 7 1 1 0 8 0 mbufpl 256 197576 0 197486 171 162 9 70 0 8 0 bufpl 256 35974 0 27647 521 0 521 521 0 8 0 anonpl 16 1100776 0 1089539 339 276 63 78 0 62 0 amapchunkpl 152 52329 0 52231 112 107 5 18 0 158 0 amappl16 192 61162 0 60348 385 343 42 56 0 8 1 amappl15 184 2612 0 2611 8 7 1 1 0 8 0 amappl14 176 2904 0 2900 1 0 1 1 0 8 0 amappl13 168 1073 0 1073 8 8 0 1 0 8 0 amappl12 160 939 0 933 1 0 1 1 0 8 0 amappl11 152 729 0 725 1 0 1 1 0 8 0 amappl10 144 1582 0 1579 1 0 1 1 0 8 0 amappl9 136 2672 0 2664 1 0 1 1 0 8 0 amappl8 128 2237 0 2196 2 0 2 2 0 8 0 amappl7 120 1797 0 1789 1 0 1 1 0 8 0 amappl6 112 676 0 663 1 0 1 1 0 8 0 amappl5 104 1426 0 1417 1 0 1 1 0 8 0 amappl4 96 10485 0 10461 1 0 1 1 0 8 0 amappl3 88 5064 0 5058 1 0 1 1 0 8 0 amappl2 80 93605 0 93546 3 1 2 3 0 8 0 amappl1 72 219602 0 219220 26 16 10 20 0 8 0 amappl 80 27136 0 27105 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 140 0 11 3 0 3 3 0 8 0 uaddrrnd 24 11785 0 11749 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 11785 0 11749 1 0 1 1 0 8 0 vmmpekpl 168 68071 0 68043 2 0 2 2 0 8 0 vmmpepl 168 1415288 0 1413487 687 577 110 110 0 357 22 vmsppl 272 11760 0 11749 2 1 1 2 0 8 0 pdppl 4096 23576 0 23546 12 7 5 6 0 8 1 pvpl 32 3138919 0 3124656 865 716 149 290 0 265 0 pmappl 200 11784 0 11773 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1340 0 690 21 1 20 20 0 8 0