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 *379200 84864 0 0 0x4000000 0K syz-executor.1 513367 22986 0 0x14000 0x200 1 reaper 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+0x40b kerntrap(ffff800022bc3290) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800021158000,fffffd807ea98410,10,ffff800000b70650,ffff800022bc34f8) at alltraps_kern_meltdown+0x7b 0(b,ffff800022bc3458,83,ffff800022bc34f8,0,b) at 0 rt_clone(ffff800022bc3568,fffffd806f6cd2b0,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cd2b0,0,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cd2b0,0,0) at rtalloc_mpath+0xba sys/net/route.c:359 in_pcbselsrc(ffff800022bc3640,fffffd807705c720,fffffd806f6cd230) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd806f6cd230,fffffd807705c700) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd806203c040,4,0,fffffd807705c700,0,ffff800020abf8e0) at udp_usrreq+0x560 sys_connect(ffff800020abf8e0,ffff800022bc37c8,ffff800022bc3810) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800022bc3890) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800022bc3890) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,2de70af010) at Xsyscall+0x128 end of kernel end trace frame: 0x301287bf30, count: 1 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic attempt to execute user address 0x0 in supervisor mode ddb{0}> 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+0x40b kerntrap(ffff800022bc3290) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800021158000,fffffd807ea98410,10,ffff800000b70650,ffff800022bc34f8) at alltraps_kern_meltdown+0x7b 0(b,ffff800022bc3458,83,ffff800022bc34f8,0,b) at 0 rt_clone(ffff800022bc3568,fffffd806f6cd2b0,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cd2b0,0,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cd2b0,0,0) at rtalloc_mpath+0xba sys/net/route.c:359 in_pcbselsrc(ffff800022bc3640,fffffd807705c720,fffffd806f6cd230) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd806f6cd230,fffffd807705c700) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd806203c040,4,0,fffffd807705c700,0,ffff800020abf8e0) at udp_usrreq+0x560 sys_connect(ffff800020abf8e0,ffff800022bc37c8,ffff800022bc3810) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800022bc3890) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800022bc3890) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,2de70af010) at Xsyscall+0x128 end of kernel end trace frame: 0x301287bf30, count: -14 ddb{0}> show registers rdi 0xffffffff8120bfe7 db_enter+0x17 rsi 0x240b __ALIGN_SIZE+0x140b rbp 0xffff800022bc3100 rbx 0xffff800022bc31b0 rdx 0x240c __ALIGN_SIZE+0x140c rcx 0xffff800021158000 rax 0xffff800021158000 r8 0xffffffff81d00c7f kprintf+0x16f r9 0x1 r10 0x25 r11 0x680c8e141f7dda7b r12 0x3000000008 r13 0xffff800022bc3110 r14 0x100 r15 0x1 rip 0xffffffff8120bfe8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800022bc30f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=379200 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020abef00,0xffffffff8266a260 process=0xffff800020adc000 user=0xffff800022bbe000, vmspace=0xfffffd807f00a730 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 84864 7617 84877 0 2 0 syz-executor.1 *84864 379200 84877 0 7 0x4000000 syz-executor.1 28980 204160 7206 0 2 0x482 syz-executor.0 84877 153014 7206 0 3 0x82 nanosleep syz-executor.1 13740 215442 1 0 3 0x100083 ttyin getty 72744 111645 0 0 3 0x14200 bored sosplice 7206 348967 86395 0 3 0x82 thrsleep syz-fuzzer 7206 505795 86395 0 3 0x4000082 thrsleep syz-fuzzer 7206 287818 86395 0 3 0x4000082 kqread syz-fuzzer 7206 503843 86395 0 3 0x4000082 thrsleep syz-fuzzer 7206 479337 86395 0 3 0x4000082 thrsleep syz-fuzzer 7206 229514 86395 0 3 0x4000082 thrsleep syz-fuzzer 7206 46039 86395 0 3 0x4000082 thrsleep syz-fuzzer 7206 410996 86395 0 3 0x4000082 thrsleep syz-fuzzer 7206 89343 86395 0 3 0x4000082 thrsleep syz-fuzzer 7206 474296 86395 0 3 0x4000082 thrsleep syz-fuzzer 86395 53533 46982 0 3 0x10008a pause ksh 46982 131762 14718 0 3 0x92 select sshd 14718 520644 1 0 3 0x80 select sshd 314 379609 20110 74 3 0x100092 bpf pflogd 20110 205948 1 0 3 0x80 netio pflogd 67210 438925 13642 73 3 0x100090 kqread syslogd 13642 157138 1 0 3 0x100082 netio syslogd 52080 275221 1 77 3 0x100090 poll dhclient 57442 335483 1 0 3 0x80 poll dhclient 32240 474976 0 0 2 0x14200 zerothread 73304 455817 0 0 3 0x14200 aiodoned aiodoned 48549 478918 0 0 3 0x14200 syncer update 84805 38000 0 0 3 0x14200 cleaner cleaner 22986 513367 0 0 7 0x14200 reaper 979 419479 0 0 3 0x14200 pgdaemon pagedaemon 40931 150187 0 0 3 0x14200 bored crynlk 84828 125124 0 0 3 0x14200 bored crypto 72240 170089 0 0 3 0x40014200 acpi0 acpi0 21668 505201 0 0 3 0x40014200 idle1 39491 90125 0 0 3 0x14200 bored softnet 49731 506401 0 0 3 0x14200 bored systqmp 51452 360569 0 0 3 0x14200 bored systq 58188 134937 0 0 3 0x40014200 bored softclock 7560 137917 0 0 3 0x40014200 idle0 75249 135159 0 0 3 0x14200 bored smr 1 376910 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 1: exclusive mutex vmmpepl r = 0 (0xffffffff82657308) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pool_put+0x64 sys/kern/subr_pool.c:800 #4 uvm_unmap_detach+0xcf sys/uvm/uvm_map.c:1555 #5 uvm_map_teardown+0x25c sys/uvm/uvm_map.c:2737 #6 uvmspace_free+0x86 sys/uvm/uvm_map.c:3592 #7 uvm_exit+0x29 sys/uvm/uvm_glue.c:297 #8 reaper+0x189 sys/kern/kern_exit.c:442 #9 proc_trampoline+0x1c Process 84864 (syz-executor.1) thread 0xffff800020abf8e0 (379200) exclusive rwlock netlock r = 0 (0xffffffff824c0f78) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sys_connect+0x6b sys/kern/uipc_syscalls.c:362 #3 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #3 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #4 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 2 (0xffffffff82623a10) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9671 7329K 9911K 78643K 59866 0 0 pcb 13 12K 14K 78643K 3891 0 0 rtable 190 18K 19K 78643K 5320 0 0 ifaddr 137 33K 34K 78643K 1741 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1864 0 0 iov 0 0K 32K 78643K 1906 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1229 77K 78K 78643K 15254 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 122 0 0 VM map 66 33K 33K 78643K 83 0 0 sem 12 0K 0K 78643K 2435 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 5 13K 25K 78643K 8746 0 0 sigio 0 0K 0K 78643K 140 0 0 proc 62 63K 95K 78643K 3847 0 0 subproc 32 2K 2K 78643K 939 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 1K 78643K 859 0 0 in_multi 44 2K 3K 78643K 1102 0 0 ether_multi 1 0K 0K 78643K 88 0 0 mrt 3 0K 0K 78643K 66 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 102 450K 450K 78643K 102 0 0 exec 0 0K 1K 78643K 1740 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 246 586K 586K 78643K 32059 0 0 UVM aobj 130 9K 9K 78643K 137 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 2K 78643K 2009 0 0 NDP 27 0K 1K 78643K 554 0 0 temp 277 3562K 4202K 78643K 206430 0 0 kqueue 0 0K 0K 78643K 79 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 129 0 125 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 727 0 725 1 0 1 1 0 8 0 rtentry 112 954 0 875 5 2 3 3 0 8 0 unpcb 120 4996 0 4984 6 5 1 2 0 8 0 syncache 264 38 0 38 15 14 1 1 0 8 1 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 14 0 14 9 8 1 1 0 8 1 tcpcb 544 19314 0 19310 137 132 5 15 0 8 4 inpcb 280 32406 0 32398 132 126 6 13 0 8 5 rttmr 72 32 0 31 2 1 1 1 0 8 0 ip6q 72 7 0 7 4 4 0 1 0 8 0 ip6af 40 15 0 15 4 4 0 1 0 8 0 nd6 48 152 0 149 5 4 1 1 0 8 0 pkpcb 40 60 0 60 18 18 0 1 0 8 0 swfcl 56 4 0 0 1 0 1 1 0 8 0 ppxss 1128 245 0 245 20 19 1 1 0 8 1 pffrag 232 214 0 214 27 26 1 1 0 482 1 pffrnode 88 214 0 214 27 26 1 1 0 8 1 pffrent 40 6895 0 6895 27 26 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 917 0 842 1 0 1 1 0 8 0 pfstkey 112 922 0 847 6 2 4 5 0 8 0 pfstate 328 922 0 847 20 10 10 12 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 37 0 33 24 20 4 5 0 8 0 art_heap4 256 4534 0 4206 57 34 23 24 0 8 1 art_table 32 4571 0 4239 4 0 4 4 0 8 0 art_node 16 947 0 895 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 6 1 1 0 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 2433 0 2423 1 0 1 1 0 8 0 shmpl 112 135 0 7 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 14739 0 13302 47 0 47 47 0 8 0 ffsino 272 14739 0 13302 97 1 96 96 0 8 0 nchpl 144 29487 0 28999 61 40 21 61 0 8 0 uvmvnodes 72 6213 0 0 113 0 113 113 0 8 0 vnodes 208 6213 0 0 327 0 327 327 0 8 0 namei 1024 107906 0 107906 4 3 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 64 0 0 8 0 8 8 0 8 0 vmpool 552 81 0 17 8 3 5 5 0 8 0 scsiplug 64 10 0 10 6 5 1 1 0 8 1 scxspl 192 92861 0 92861 61 58 3 4 0 8 3 plimitpl 152 658 0 650 1 0 1 1 0 8 0 sigapl 432 8786 0 8771 5 3 2 3 0 8 0 futexpl 56 265377 0 265377 3 2 1 1 0 8 1 knotepl 112 2091 0 2072 10 9 1 3 0 8 0 kqueuepl 104 3126 0 3124 17 16 1 4 0 8 0 pipepl 112 5312 0 5293 10 8 2 2 0 8 0 fdescpl 488 8787 0 8771 3 0 3 3 0 8 0 filepl 152 98710 0 98609 106 98 8 14 0 8 4 lockfpl 104 3003 0 3002 1 0 1 1 0 8 0 lockfspl 48 1045 0 1044 1 0 1 1 0 8 0 sessionpl 112 72 0 61 1 0 1 1 0 8 0 pgrppl 48 3116 0 3105 1 0 1 1 0 8 0 ucredpl 96 9476 0 9466 1 0 1 1 0 8 0 zombiepl 144 8774 0 8773 4 3 1 1 0 8 0 processpl 896 8806 0 8773 6 2 4 5 0 8 0 procpl 632 28409 0 28366 7 2 5 5 0 8 0 srpgc 64 124 0 124 26 26 0 1 0 8 0 sosppl 128 366 0 366 25 24 1 1 0 8 1 sockpl 384 38463 0 38441 223 213 10 22 0 8 7 mcl64k 65536 961 0 0 105 42 63 66 0 8 0 mcl16k 16384 49 0 0 5 2 3 3 0 8 0 mcl12k 12288 33 0 0 2 0 2 2 0 8 0 mcl9k 9216 41 0 0 3 1 2 2 0 8 0 mcl8k 8192 42 0 0 5 2 3 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 13 0 0 1 0 1 1 0 8 0 mcl2k 2048 196 0 0 19 6 13 19 0 8 0 mtagpl 80 119 0 0 1 0 1 1 0 8 0 mbufpl 256 1033 0 0 38 0 38 38 0 8 0 bufpl 256 35006 0 27948 442 0 442 442 0 8 0 anonpl 16 1111569 0 1089848 289 198 91 115 0 124 0 amapchunkpl 152 66913 0 66722 103 94 9 21 0 158 0 amappl16 192 48444 0 47204 303 233 70 82 0 8 7 amappl15 184 1581 0 1581 5 5 0 1 0 8 0 amappl14 176 1465 0 1459 1 0 1 1 0 8 0 amappl13 168 1556 0 1556 8 8 0 1 0 8 0 amappl12 160 1333 0 1332 2 1 1 1 0 8 0 amappl11 152 829 0 811 1 0 1 1 0 8 0 amappl10 144 1010 0 1003 1 0 1 1 0 8 0 amappl9 136 2688 0 2684 1 0 1 1 0 8 0 amappl8 128 2250 0 2187 4 1 3 3 0 8 0 amappl7 120 1205 0 1195 1 0 1 1 0 8 0 amappl6 112 695 0 678 1 0 1 1 0 8 0 amappl5 104 2038 0 2023 1 0 1 1 0 8 0 amappl4 96 9288 0 9249 8 7 1 2 0 8 0 amappl3 88 2354 0 2339 1 0 1 1 0 8 0 amappl2 80 67948 0 67857 3 1 2 3 0 8 0 amappl1 72 206946 0 206487 25 15 10 20 0 8 0 amappl 80 29705 0 29619 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 136 0 7 3 0 3 3 0 8 0 uaddrrnd 24 8868 0 8771 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8868 0 8771 1 0 1 1 0 8 0 vmmpekpl 168 72712 0 72664 4 1 3 3 0 8 0 vmmpepl 168 1138939 0 1136260 408 251 157 161 0 357 33 vmsppl 368 8786 0 8770 2 0 2 2 0 8 0 pdppl 4096 17743 0 17638 16 2 14 14 0 8 0 pvpl 32 2840304 0 2816739 525 325 200 263 0 265 0 pmappl 232 8867 0 8787 7 2 5 5 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 961 0 247 21 0 21 21 0 8 0