panic: attempt to execute user address 0x20ffd000 in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 106701 78089 0 0 0 1 syz-executor.0 *467226 78089 0 0 0x4000000 0K 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+0x40b kerntrap(ffff800021964b20) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800022f88000,fffffd8063868d28,10,ffff8000000251b0,ffff800021964d88) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff800021964ce8,83,ffff800021964d88,0,b) at 0x20ffd000 rt_clone(ffff800021964df8,fffffd806f6d64e0,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6d64e0,0,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6d64e0,0,0) at rtalloc_mpath+0xba sys/net/route.c:359 in_pcbselsrc(ffff800021964ed0,fffffd8068b11920,fffffd806f6d6460) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd806f6d6460,fffffd8068b11900) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd8079ea3678,4,0,fffffd8068b11900,0,ffff800020aceef0) at udp_usrreq+0x560 sys_connect(ffff800020aceef0,ffff800021965058,ffff8000219650a0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800021965120) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021965120) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,31362144010) at Xsyscall+0x128 end of kernel end trace frame: 0x3162b949f50, 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 0x20ffd000 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(ffff800021964b20) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800022f88000,fffffd8063868d28,10,ffff8000000251b0,ffff800021964d88) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff800021964ce8,83,ffff800021964d88,0,b) at 0x20ffd000 rt_clone(ffff800021964df8,fffffd806f6d64e0,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6d64e0,0,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6d64e0,0,0) at rtalloc_mpath+0xba sys/net/route.c:359 in_pcbselsrc(ffff800021964ed0,fffffd8068b11920,fffffd806f6d6460) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd806f6d6460,fffffd8068b11900) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd8079ea3678,4,0,fffffd8068b11900,0,ffff800020aceef0) at udp_usrreq+0x560 sys_connect(ffff800020aceef0,ffff800021965058,ffff8000219650a0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800021965120) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021965120) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,31362144010) at Xsyscall+0x128 end of kernel end trace frame: 0x3162b949f50, count: -14 ddb{0}> show registers rdi 0xffffffff81d142c7 db_enter+0x17 rsi 0x270c __ALIGN_SIZE+0x170c rbp 0xffff800021964990 rbx 0xffff800021964a40 rdx 0x270d __ALIGN_SIZE+0x170d rcx 0xffff800022f88000 rax 0xffff800022f88000 r8 0xffffffff81c7878f kprintf+0x16f r9 0x1 r10 0x25 r11 0xfa25b854aa8c4366 r12 0x3000000008 r13 0xffff8000219649a0 r14 0x100 r15 0x1 rip 0xffffffff81d142c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021964980 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=467226 stat=onproc flags process=0 proc=4000000 pri=78, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff800020acf168,0xffffffff82638a28 process=0xffff800020a8b510 user=0xffff800021960000, vmspace=0xfffffd807f00ba10 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 78089 106701 57651 0 7 0 syz-executor.0 *78089 467226 57651 0 7 0x4000000 syz-executor.0 48530 4271 32693 0 3 0x80 nanosleep syz-executor.1 48530 193450 32693 0 3 0x4000080 ttyout syz-executor.1 48530 342375 32693 0 3 0x4000080 fsleep syz-executor.1 32693 187633 56981 0 3 0x82 nanosleep syz-executor.1 57651 415313 56981 0 3 0x82 nanosleep syz-executor.0 76316 118753 1 0 3 0x100083 ttyin getty 2778 205281 0 0 3 0x14200 acct acct 58005 9457 0 0 3 0x14200 bored sosplice 56981 403471 62945 0 3 0x82 thrsleep syz-fuzzer 56981 163293 62945 0 3 0x4000082 nanosleep syz-fuzzer 56981 116559 62945 0 3 0x4000082 thrsleep syz-fuzzer 56981 114007 62945 0 3 0x4000082 thrsleep syz-fuzzer 56981 169672 62945 0 3 0x4000082 thrsleep syz-fuzzer 56981 320716 62945 0 3 0x4000082 kqread syz-fuzzer 56981 238724 62945 0 3 0x4000082 thrsleep syz-fuzzer 56981 403261 62945 0 3 0x4000082 thrsleep syz-fuzzer 56981 81436 62945 0 3 0x4000082 thrsleep syz-fuzzer 56981 467755 62945 0 3 0x4000082 thrsleep syz-fuzzer 62945 303311 1938 0 3 0x10008a pause ksh 1938 131674 90532 0 3 0x92 select sshd 90532 244947 1 0 3 0x80 select sshd 4411 398198 25658 74 3 0x100092 bpf pflogd 25658 470086 1 0 3 0x80 netio pflogd 71047 377426 10284 73 3 0x100090 kqread syslogd 10284 428267 1 0 3 0x100082 netio syslogd 89007 326286 1 77 3 0x100090 poll dhclient 46679 38086 1 0 3 0x80 poll dhclient 81192 395817 0 0 3 0x14200 pgzero zerothread 33449 506095 0 0 3 0x14200 aiodoned aiodoned 35255 158240 0 0 3 0x14200 syncer update 7328 181830 0 0 3 0x14200 cleaner cleaner 92805 438679 0 0 3 0x14200 reaper reaper 84792 21269 0 0 3 0x14200 pgdaemon pagedaemon 51717 198288 0 0 3 0x14200 bored crynlk 64274 493909 0 0 3 0x14200 bored crypto 25872 341257 0 0 3 0x40014200 acpi0 acpi0 25975 437649 0 0 3 0x40014200 idle1 99360 296470 0 0 3 0x14200 bored softnet 94181 1628 0 0 3 0x14200 bored systqmp 38610 25560 0 0 3 0x14200 bored systq 45165 267384 0 0 3 0x40014200 bored softclock 65908 453739 0 0 3 0x40014200 idle0 37388 435952 0 0 3 0x14200 bored smr 1 468220 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 78089 (syz-executor.0) thread 0xffff800020aceef0 (467226) exclusive rwlock netlock r = 0 (0xffffffff824eed78) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 uvn_io+0x3b2 sys/uvm/uvm_vnode.c:1206 #2 uvn_get+0x226 sys/uvm/uvm_vnode.c:1049 #3 uvm_fault+0x11cc sys/uvm/uvm_fault.c:1023 #4 pageflttrap+0x20b sys/arch/amd64/amd64/trap.c:199 #5 kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 #6 alltraps_kern_meltdown+0x7b #7 copyin+0x4b #8 sys_connect+0x9c sys/kern/uipc_syscalls.c:367 #9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #10 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 2 (0xffffffff82636130) #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 9655 6487K 7639K 78643K 37818 0 0 pcb 13 12K 14K 78643K 1319 0 0 rtable 128 14K 15K 78643K 4051 0 0 ifaddr 101 25K 29K 78643K 1327 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1929 0 0 iov 0 0K 16K 78643K 900 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1213 76K 78K 78643K 11889 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 154 0 0 VM map 2 1K 1K 78643K 23 0 0 sem 12 0K 0K 78643K 1596 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 6 17K 25K 78643K 9016 0 0 sigio 0 0K 0K 78643K 92 0 0 proc 62 63K 95K 78643K 3029 0 0 subproc 32 2K 2K 78643K 784 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 895 0 0 in_multi 32 2K 2K 78643K 770 0 0 ether_multi 1 0K 0K 78643K 27 0 0 mrt 1 0K 0K 78643K 41 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 240 1060K 1060K 78643K 240 0 0 exec 0 0K 1K 78643K 1411 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 131 23K 32K 78643K 33947 0 0 UVM aobj 130 7K 7K 78643K 142 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 1297 0 0 NDP 25 0K 1K 78643K 425 0 0 temp 264 3557K 4199K 78643K 165667 0 0 kqueue 0 0K 0K 78643K 78 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 111 0 104 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 453 0 451 1 0 1 1 0 8 0 rtentry 112 575 0 532 2 0 2 2 0 8 0 unpcb 120 8695 0 8671 22 21 1 2 0 8 0 syncache 264 23 0 23 13 13 0 1 0 8 0 sackhl 24 3 0 3 2 2 0 1 0 8 0 tcpqe 32 6570 0 6570 4 4 0 1 0 8 0 tcpcb 544 3831 0 3827 73 72 1 15 0 8 0 inpcb 280 8783 0 8775 93 91 2 13 0 8 1 rttmr 72 10 0 10 2 2 0 1 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 nd6 48 95 0 92 2 1 1 1 0 8 0 pkpcb 40 39 0 39 14 14 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 192 0 192 42 41 1 1 0 8 1 pffrag 232 14 0 14 9 9 0 1 0 482 0 pffrnode 88 14 0 14 9 9 0 1 0 8 0 pffrent 40 42 0 42 10 10 0 1 0 8 0 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 286 0 277 1 0 1 1 0 8 0 pfstkey 112 286 0 277 1 0 1 1 0 8 0 pfstate 328 286 0 277 6 4 2 3 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 3 0 2 3 2 1 3 0 8 0 art_heap4 256 2530 0 2289 37 21 16 18 0 8 0 art_table 32 2533 0 2291 4 1 3 3 0 8 0 art_node 16 556 0 516 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 19 1 0 1 1 0 8 0 semapl 112 1594 0 1584 1 0 1 1 0 8 0 shmpl 112 140 0 12 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 15900 0 14488 46 0 46 46 0 8 0 ffsino 272 15900 0 14488 95 0 95 95 0 8 0 nchpl 144 29138 0 28593 62 36 26 62 0 8 0 uvmvnodes 72 6492 0 0 119 0 119 119 0 8 0 vnodes 208 6492 0 0 342 0 342 342 0 8 0 namei 1024 127127 0 127127 3 2 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vmpool 552 21 0 21 9 9 0 1 0 8 0 scsiplug 64 14 0 14 13 13 0 1 0 8 0 scxspl 192 77901 0 77901 37 36 1 7 0 8 1 plimitpl 152 840 0 832 1 0 1 1 0 8 0 sigapl 432 9096 0 9080 3 1 2 3 0 8 0 futexpl 56 191127 0 191126 2 1 1 1 0 8 0 knotepl 112 9011 0 8992 18 17 1 2 0 8 0 kqueuepl 104 10923 0 10921 19 18 1 4 0 8 0 pipepl 112 5010 0 4991 14 13 1 2 0 8 0 fdescpl 488 9097 0 9080 3 0 3 3 0 8 0 filepl 152 101719 0 101613 101 95 6 14 0 8 1 lockfpl 104 3112 0 3111 1 0 1 1 0 8 0 lockfspl 48 1088 0 1087 1 0 1 1 0 8 0 sessionpl 112 74 0 63 1 0 1 1 0 8 0 pgrppl 48 182 0 171 1 0 1 1 0 8 0 ucredpl 96 32105 0 32094 1 0 1 1 0 8 0 zombiepl 144 9081 0 9081 3 2 1 1 0 8 1 processpl 896 9115 0 9081 4 0 4 4 0 8 0 procpl 632 31030 0 30984 5 0 5 5 0 8 0 srpgc 64 81 0 81 32 32 0 1 0 8 0 sosppl 128 114 0 114 31 31 0 1 0 8 0 sockpl 384 18117 0 18083 104 99 5 22 0 8 0 mcl64k 65536 529 0 0 64 36 28 34 0 8 1 mcl16k 16384 20 0 0 3 1 2 3 0 8 0 mcl12k 12288 41 0 0 2 0 2 2 0 8 0 mcl9k 9216 25 0 0 2 0 2 2 0 8 0 mcl8k 8192 33 0 0 4 2 2 3 0 8 0 mcl4k 4096 34 0 0 3 0 3 3 0 8 0 mcl2k2 2112 15 0 0 1 0 1 1 0 8 0 mcl2k 2048 206 0 0 23 5 18 23 0 8 0 mtagpl 80 155 0 0 2 0 2 2 0 8 0 mbufpl 256 1067 0 0 27 3 24 24 0 8 0 bufpl 256 29380 0 22332 441 0 441 441 0 8 0 anonpl 16 918981 0 903374 211 132 79 80 0 124 9 amapchunkpl 152 64119 0 64007 101 95 6 12 0 158 0 amappl16 192 43378 0 42471 232 178 54 58 0 8 8 amappl15 184 2032 0 2029 1 0 1 1 0 8 0 amappl14 176 997 0 995 1 0 1 1 0 8 0 amappl13 168 502 0 502 6 6 0 1 0 8 0 amappl12 160 783 0 779 2 1 1 1 0 8 0 amappl11 152 2849 0 2833 1 0 1 1 0 8 0 amappl10 144 1256 0 1248 1 0 1 1 0 8 0 amappl9 136 1934 0 1928 1 0 1 1 0 8 0 amappl8 128 1512 0 1467 5 3 2 2 0 8 0 amappl7 120 1492 0 1482 1 0 1 1 0 8 0 amappl6 112 2727 0 2716 1 0 1 1 0 8 0 amappl5 104 1232 0 1217 1 0 1 1 0 8 0 amappl4 96 9061 0 9021 8 7 1 2 0 8 0 amappl3 88 1522 0 1516 1 0 1 1 0 8 0 amappl2 80 70566 0 70486 3 1 2 3 0 8 0 amappl1 72 216102 0 215647 25 15 10 20 0 8 0 amappl 80 32014 0 31974 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 141 0 12 3 0 3 3 0 8 0 uaddrrnd 24 9118 0 9080 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9118 0 9080 1 0 1 1 0 8 0 vmmpekpl 168 76247 0 76209 2 0 2 2 0 8 0 vmmpepl 168 1137181 0 1134998 716 604 112 127 0 357 14 vmsppl 368 9096 0 9080 2 0 2 2 0 8 0 pdppl 4096 18243 0 18202 7 1 6 6 0 8 0 pvpl 32 2557624 0 2538675 572 383 189 192 0 265 28 pmappl 232 9117 0 9101 14 13 1 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 792 0 148 19 0 19 19 0 8 0