panic: attempt to execute user address 0x20ffb000 in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *236985 20011 0 0 0x4000000 1K syz-executor.1 170330 22396 73 0x100010 0 0 syslogd 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(ffff80002176f300) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800021b7c000,fffffd807c2832a8,10,ffff80000005b2f0,ffff80002176f568) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff80002176f4c8,83,ffff80002176f568,0,b) at 0x20ffb000 rt_clone(ffff80002176f5d8,fffffd806f6cd940,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cd940,0,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cd940,0,0) at rtalloc_mpath+0xba sys/net/route.c:359 in_pcbselsrc(ffff80002176f6b0,fffffd80621bd120,fffffd806f6cd8c0) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd806f6cd8c0,fffffd80621bd100) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd8065803618,4,0,fffffd80621bd100,0,ffff800020a5e4f8) at udp_usrreq+0x560 sys_connect(ffff800020a5e4f8,ffff80002176f838,ffff80002176f880) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff80002176f900) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff80002176f900) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffecf,0,3,e8c2b5e8010) at Xsyscall+0x128 end of kernel end trace frame: 0xe8ead324c70, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic attempt to execute user address 0x20ffb000 in supervisor mode ddb{1}> 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(ffff80002176f300) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800021b7c000,fffffd807c2832a8,10,ffff80000005b2f0,ffff80002176f568) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff80002176f4c8,83,ffff80002176f568,0,b) at 0x20ffb000 rt_clone(ffff80002176f5d8,fffffd806f6cd940,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cd940,0,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cd940,0,0) at rtalloc_mpath+0xba sys/net/route.c:359 in_pcbselsrc(ffff80002176f6b0,fffffd80621bd120,fffffd806f6cd8c0) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd806f6cd8c0,fffffd80621bd100) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd8065803618,4,0,fffffd80621bd100,0,ffff800020a5e4f8) at udp_usrreq+0x560 sys_connect(ffff800020a5e4f8,ffff80002176f838,ffff80002176f880) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff80002176f900) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff80002176f900) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffecf,0,3,e8c2b5e8010) at Xsyscall+0x128 end of kernel end trace frame: 0xe8ead324c70, count: -14 ddb{1}> show registers rdi 0xffffffff81ceddf7 db_enter+0x17 rsi 0x27c2 __ALIGN_SIZE+0x17c2 rbp 0xffff80002176f170 rbx 0xffff80002176f220 rdx 0x27c3 __ALIGN_SIZE+0x17c3 rcx 0xffff800021b7c000 rax 0xffff800021b7c000 r8 0xffffffff81931c2f kprintf+0x16f r9 0x1 r10 0x25 r11 0xd25f14972b898e16 r12 0x3000000008 r13 0xffff80002176f180 r14 0x100 r15 0x1 rip 0xffffffff81ceddf8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002176f160 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=236985 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020a5fb30,0xffffffff8265fe30 process=0xffff800020adc000 user=0xffff80002176a000, vmspace=0xfffffd807f00b170 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 20011 55771 74174 0 2 0 syz-executor.1 *20011 236985 74174 0 7 0x4000000 syz-executor.1 90653 518579 37290 0 2 0x2 syz-executor.0 22650 198305 0 0 3 0x14200 acct acct 74174 419312 37290 0 3 0x82 nanosleep syz-executor.1 4271 489661 0 0 3 0x14200 bored sosplice 37290 460616 42953 0 3 0x82 nanosleep syz-fuzzer 37290 83653 42953 0 3 0x4000082 nanosleep syz-fuzzer 37290 100278 42953 0 3 0x4000082 thrsleep syz-fuzzer 37290 348868 42953 0 3 0x4000082 thrsleep syz-fuzzer 37290 431104 42953 0 3 0x4000082 thrsleep syz-fuzzer 37290 51957 42953 0 3 0x4000082 thrsleep syz-fuzzer 37290 439156 42953 0 3 0x4000082 kqread syz-fuzzer 37290 282492 42953 0 3 0x4000082 thrsleep syz-fuzzer 37290 161746 42953 0 3 0x4000082 thrsleep syz-fuzzer 37290 337905 42953 0 3 0x4000082 thrsleep syz-fuzzer 42953 86790 21223 0 3 0x10008a pause ksh 21223 114515 21993 0 3 0x92 select sshd 60212 182612 1 0 3 0x100083 ttyin getty 21993 314127 1 0 3 0x80 select sshd 63748 412162 12470 74 3 0x100092 bpf pflogd 12470 151 1 0 3 0x80 netio pflogd 22396 170330 2460 73 7 0x100010 syslogd 2460 343961 1 0 3 0x100082 netio syslogd 23597 197211 1 77 3 0x100090 poll dhclient 98382 444868 1 0 3 0x80 poll dhclient 49432 501684 0 0 2 0x14200 zerothread 48959 519176 0 0 3 0x14200 aiodoned aiodoned 63902 513063 0 0 3 0x14200 syncer update 43707 378484 0 0 3 0x14200 cleaner cleaner 3248 242739 0 0 3 0x14200 reaper reaper 96934 707 0 0 3 0x14200 pgdaemon pagedaemon 94316 377050 0 0 3 0x14200 bored crynlk 85412 431273 0 0 3 0x14200 bored crypto 8442 411048 0 0 3 0x40014200 acpi0 acpi0 89554 162967 0 0 3 0x40014200 idle1 29456 233617 0 0 3 0x14200 bored softnet 90786 40408 0 0 3 0x14200 bored systqmp 14827 281261 0 0 3 0x14200 bored systq 97482 76150 0 0 3 0x40014200 bored softclock 111 34746 0 0 3 0x40014200 idle0 34068 165742 0 0 3 0x14200 bored smr 1 265202 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 20011 (syz-executor.1) thread 0xffff800020a5e4f8 (236985) exclusive rwlock netlock r = 0 (0xffffffff824e54e8) #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 (0xffffffff8265c4c8) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9599 6647K 7678K 78643K 13565 0 0 pcb 13 8K 8K 78643K 591 0 0 rtable 103 8K 9K 78643K 723 0 0 ifaddr 84 17K 18K 78643K 277 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1522 0 0 iov 0 0K 24K 78643K 179 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1220 77K 77K 78643K 2173 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 9 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 12 0K 0K 78643K 145 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 5 13K 25K 78643K 912 0 0 sigio 1 0K 0K 78643K 42 0 0 proc 62 63K 83K 78643K 639 0 0 subproc 32 2K 2K 78643K 87 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 56 0 0 in_multi 24 1K 2K 78643K 87 0 0 ether_multi 1 0K 0K 78643K 6 0 0 mrt 0 0K 0K 78643K 6 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 321 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 111 22K 30K 78643K 4079 0 0 UVM aobj 26 2K 3K 78643K 34 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 486 0 0 NDP 20 0K 0K 78643K 78 0 0 temp 228 3557K 3623K 78643K 36603 0 0 kqueue 0 0K 0K 78643K 4 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 16 0 11 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 71 0 69 1 0 1 1 0 8 0 rtentry 112 103 0 66 2 0 2 2 0 8 0 unpcb 120 408 0 397 1 0 1 1 0 8 0 syncache 264 5 0 5 2 2 0 1 0 8 0 tcpqe 32 5631 0 5631 1 1 0 1 0 8 0 tcpcb 544 722 0 717 2 1 1 2 0 8 0 inpcb 280 1981 0 1973 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 ip6q 72 1 0 0 1 0 1 1 0 8 0 nd6 48 11 0 9 2 1 1 1 0 8 0 ppxss 1128 39 0 39 2 1 1 1 0 8 1 pffrag 232 9 0 9 2 1 1 1 0 482 1 pffrnode 88 9 0 9 2 1 1 1 0 8 1 pffrent 40 18 0 18 2 1 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 81 0 25 1 0 1 1 0 8 0 pfstkey 112 81 0 25 2 0 2 2 0 8 0 pfstate 328 81 0 25 5 0 5 5 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 6 0 5 3 0 3 3 0 8 2 art_heap4 256 437 0 253 17 5 12 15 0 8 0 art_table 32 443 0 258 2 0 2 2 0 8 0 art_node 16 102 0 68 1 0 1 1 0 8 0 sysvmsgpl 40 81 0 41 1 0 1 1 0 8 0 semapl 112 143 0 133 1 0 1 1 0 8 0 shmpl 112 32 0 8 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2903 0 1499 46 0 46 46 0 8 0 ffsino 272 2903 0 1499 95 0 95 95 0 8 0 nchpl 144 4404 0 2798 61 0 61 61 0 8 0 uvmvnodes 72 3612 0 0 66 0 66 66 0 8 0 vnodes 208 3612 0 0 191 0 191 191 0 8 0 namei 1024 13726 0 13726 3 2 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scsiplug 64 4 0 4 2 1 1 1 0 8 1 scxspl 192 13693 0 13693 17 16 1 7 0 8 1 plimitpl 152 98 0 90 1 0 1 1 0 8 0 sigapl 432 1103 0 1088 3 1 2 3 0 8 0 futexpl 56 18539 0 18539 1 0 1 1 0 8 1 knotepl 112 254 0 235 1 0 1 1 0 8 0 kqueuepl 104 221 0 219 1 0 1 1 0 8 0 pipepl 112 530 0 511 3 2 1 2 0 8 0 fdescpl 488 1104 0 1088 3 0 3 3 0 8 0 filepl 152 8695 0 8592 8 3 5 6 0 8 1 lockfpl 104 338 0 337 1 0 1 1 0 8 0 lockfspl 48 109 0 108 1 0 1 1 0 8 0 sessionpl 112 21 0 10 1 0 1 1 0 8 0 pgrppl 48 42 0 31 1 0 1 1 0 8 0 ucredpl 96 1348 0 1339 1 0 1 1 0 8 0 zombiepl 144 1088 0 1088 3 2 1 1 0 8 1 processpl 896 1121 0 1088 4 0 4 4 0 8 0 procpl 632 3152 0 3109 5 0 5 5 0 8 1 srpgc 64 8 0 8 2 1 1 1 0 8 1 sosppl 128 19 0 19 3 2 1 1 0 8 1 sockpl 384 2472 0 2451 7 3 4 5 0 8 1 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 8 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 14 0 0 2 0 2 2 0 8 0 mcl4k 4096 11 0 0 2 0 2 2 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 128 0 0 15 0 15 15 0 8 0 mtagpl 80 28 0 0 1 0 1 1 0 8 0 mbufpl 256 274 0 0 14 0 14 14 0 8 0 bufpl 256 11230 0 4182 441 0 441 441 0 8 0 anonpl 16 126956 0 112597 95 27 68 82 0 124 1 amapchunkpl 152 7017 0 6909 24 12 12 12 0 158 7 amappl16 192 5978 0 5072 72 26 46 57 0 8 0 amappl15 184 209 0 208 1 0 1 1 0 8 0 amappl14 176 65 0 59 2 1 1 1 0 8 0 amappl12 160 11 0 9 1 0 1 1 0 8 0 amappl11 152 62 0 47 1 0 1 1 0 8 0 amappl10 144 11 0 8 1 0 1 1 0 8 0 amappl9 136 926 0 917 1 0 1 1 0 8 0 amappl8 128 488 0 450 2 0 2 2 0 8 0 amappl7 120 70 0 63 1 0 1 1 0 8 0 amappl6 112 87 0 76 1 0 1 1 0 8 0 amappl5 104 161 0 147 1 0 1 1 0 8 0 amappl4 96 1362 0 1330 1 0 1 1 0 8 0 amappl3 88 141 0 135 1 0 1 1 0 8 0 amappl2 80 7910 0 7839 4 2 2 3 0 8 0 amappl1 72 34353 0 33922 25 15 10 20 0 8 0 amappl 80 3442 0 3405 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 33 0 8 1 0 1 1 0 8 0 uaddrrnd 24 1104 0 1088 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1104 0 1088 1 0 1 1 0 8 0 vmmpekpl 168 12333 0 12294 2 0 2 2 0 8 0 vmmpepl 168 143021 0 140986 186 62 124 124 0 357 29 vmsppl 368 1103 0 1088 2 0 2 2 0 8 0 pdppl 4096 2215 0 2176 7 1 6 6 0 8 1 pvpl 32 364811 0 347245 237 57 180 195 0 265 23 pmappl 232 1103 0 1088 2 1 1 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 613 0 12 18 0 18 18 0 8 0