login: panic: attempt to execute user address 0x20ffc000 in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *355643 9070 0 0 0x4000000 0K syz-executor.1 36614 28062 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(ffff800022d68bd0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800021754000,fffffd80653dc698,10,ffff80000005b420,ffff800022d68e38) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff800022d68d98,83,ffff800022d68e38,0,b) at 0x20ffc000 rt_clone(ffff800022d68ea8,fffffd806f6ccb70,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6ccb70,fffffd8007dcb074,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6ccb70,fffffd8007dcb074,0) at rtalloc_mpath+0xba sys/net/route.c:359 ip_output(fffffd8071a94600,0,fffffd806f6ccb60,20,0,fffffd806f6ccaf0) at ip_output+0x4f2 sys/netinet/ip_output.c:204 rip_output(fffffd8071a94600,fffffd8074222c10,ffff800022d690b8,ffff800021754000) at rip_output+0x252 sys/netinet/raw_ip.c:289 rip_usrreq(fffffd8074222c10,9,fffffd8071a94600,0,0,ffff800020abe2b8) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd8074222c10,0,ffff800022d692d8,0,0,0) at sosend+0x645 sys/kern/uipc_socket.c:524 dofilewritev(ffff800020abe2b8,3,ffff800022d692d8,0,ffff800022d693c0) at dofilewritev+0x1b7 sys/kern/sys_generic.c:364 sys_write(ffff800020abe2b8,ffff800022d69378,ffff800022d693c0) at sys_write+0x83 sys/kern/sys_generic.c:284 end trace frame: 0xffff800022d69430, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic attempt to execute user address 0x20ffc000 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(ffff800022d68bd0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800021754000,fffffd80653dc698,10,ffff80000005b420,ffff800022d68e38) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff800022d68d98,83,ffff800022d68e38,0,b) at 0x20ffc000 rt_clone(ffff800022d68ea8,fffffd806f6ccb70,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6ccb70,fffffd8007dcb074,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6ccb70,fffffd8007dcb074,0) at rtalloc_mpath+0xba sys/net/route.c:359 ip_output(fffffd8071a94600,0,fffffd806f6ccb60,20,0,fffffd806f6ccaf0) at ip_output+0x4f2 sys/netinet/ip_output.c:204 rip_output(fffffd8071a94600,fffffd8074222c10,ffff800022d690b8,ffff800021754000) at rip_output+0x252 sys/netinet/raw_ip.c:289 rip_usrreq(fffffd8074222c10,9,fffffd8071a94600,0,0,ffff800020abe2b8) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd8074222c10,0,ffff800022d692d8,0,0,0) at sosend+0x645 sys/kern/uipc_socket.c:524 dofilewritev(ffff800020abe2b8,3,ffff800022d692d8,0,ffff800022d693c0) at dofilewritev+0x1b7 sys/kern/sys_generic.c:364 sys_write(ffff800020abe2b8,ffff800022d69378,ffff800022d693c0) at sys_write+0x83 sys/kern/sys_generic.c:284 syscall(ffff800022d69440) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800022d69440) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,c,0,3,8187351e010) at Xsyscall+0x128 end of kernel end trace frame: 0x81b52b331b0, count: -16 ddb{0}> show registers rdi 0xffffffff81d142c7 db_enter+0x17 rsi 0x24d4 __ALIGN_SIZE+0x14d4 rbp 0xffff800022d68a40 rbx 0xffff800022d68af0 rdx 0x24d5 __ALIGN_SIZE+0x14d5 rcx 0xffff800021754000 rax 0xffff800021754000 r8 0xffffffff81c7878f kprintf+0x16f r9 0x1 r10 0x25 r11 0x6a72dc77c87cc8b7 r12 0x3000000008 r13 0xffff800022d68a50 r14 0x100 r15 0x1 rip 0xffffffff81d142c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800022d68a30 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=355643 stat=onproc flags process=0 proc=4000000 pri=76, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff800020abea20,0xffffffff82638a28 process=0xffff800020a8ae10 user=0xffff800022d64000, vmspace=0xfffffd807f00b170 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 9070 33841 89882 0 2 0 syz-executor.1 * 9070 355643 89882 0 7 0x4000000 syz-executor.1 89882 4014 82280 0 3 0x82 nanosleep syz-executor.1 31671 180449 1 0 3 0x100083 ttyin getty 2137 465205 82280 0 2 0x482 syz-executor.0 33944 386904 0 0 3 0x14200 acct acct 21506 238670 0 0 3 0x14200 bored sosplice 82280 114085 83966 0 3 0x82 thrsleep syz-fuzzer 82280 454984 83966 0 3 0x4000082 thrsleep syz-fuzzer 82280 49933 83966 0 3 0x4000082 thrsleep syz-fuzzer 82280 65590 83966 0 3 0x4000082 kqread syz-fuzzer 82280 389743 83966 0 3 0x4000082 thrsleep syz-fuzzer 82280 249989 83966 0 3 0x4000082 thrsleep syz-fuzzer 82280 231548 83966 0 3 0x4000082 thrsleep syz-fuzzer 82280 114253 83966 0 3 0x4000082 thrsleep syz-fuzzer 82280 147006 83966 0 3 0x4000082 thrsleep syz-fuzzer 82280 131638 83966 0 3 0x4000082 thrsleep syz-fuzzer 83966 451874 17818 0 3 0x10008a pause ksh 17818 228669 47970 0 3 0x92 select sshd 47970 463780 1 0 3 0x80 select sshd 63453 114933 66572 74 3 0x100092 bpf pflogd 66572 361612 1 0 3 0x80 netio pflogd 3102 167642 54856 73 3 0x100090 kqread syslogd 54856 205879 1 0 3 0x100082 netio syslogd 42803 108020 1 77 3 0x100090 poll dhclient 89342 80731 1 0 3 0x80 poll dhclient 15669 12789 0 0 2 0x14200 zerothread 83706 27500 0 0 3 0x14200 aiodoned aiodoned 22889 39457 0 0 3 0x14200 syncer update 68241 496538 0 0 3 0x14200 cleaner cleaner 28062 36614 0 0 7 0x14200 reaper 91213 256251 0 0 3 0x14200 pgdaemon pagedaemon 54408 396325 0 0 3 0x14200 bored crynlk 93566 406889 0 0 3 0x14200 bored crypto 34358 156731 0 0 3 0x40014200 acpi0 acpi0 45147 310343 0 0 3 0x40014200 idle1 53298 461803 0 0 3 0x14200 bored softnet 56860 467588 0 0 3 0x14200 bored systqmp 52837 456726 0 0 3 0x14200 bored systq 12118 449777 0 0 3 0x40014200 bored softclock 95297 518684 0 0 3 0x40014200 idle0 91301 259213 0 0 3 0x14200 bored smr 1 296993 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 9070 (syz-executor.1) thread 0xffff800020abe2b8 (355643) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82636130) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rt_clone+0x5c sys/net/route.c:266 #2 rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] #2 rtalloc_mpath+0xba sys/net/route.c:359 #3 ip_output+0x4f2 sys/netinet/ip_output.c:204 #4 rip_output+0x252 sys/netinet/raw_ip.c:289 #5 rip_usrreq+0x46a sys/netinet/raw_ip.c:538 #6 sosend+0x645 sys/kern/uipc_socket.c:524 #7 dofilewritev+0x1b7 sys/kern/sys_generic.c:364 #8 sys_write+0x83 sys/kern/sys_generic.c:284 #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 rwlock netlock r = 0 (0xffffffff824eed78) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sosend+0x51b sys/kern/uipc_socket.c:512 #3 dofilewritev+0x1b7 sys/kern/sys_generic.c:364 #4 sys_write+0x83 sys/kern/sys_generic.c:284 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #6 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9642 6478K 14654K 78643K 36045 0 0 pcb 14 11K 12K 78643K 1584 0 0 rtable 135 14K 15K 78643K 5456 0 0 ifaddr 104 26K 31K 78643K 1494 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 2008 0 0 iov 0 0K 48K 78643K 1250 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1220 77K 77K 78643K 11147 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 194 0 0 VM map 2 1K 1K 78643K 48 0 0 sem 12 1K 1K 78643K 467 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 5 13K 25K 78643K 11659 0 0 sigio 0 0K 0K 78643K 216 0 0 proc 62 63K 95K 78643K 3122 0 0 subproc 32 2K 2K 78643K 762 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 1176 0 0 in_multi 31 2K 2K 78643K 2060 0 0 ether_multi 1 0K 0K 78643K 44 0 0 mrt 0 0K 0K 78643K 37 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 204 901K 901K 78643K 204 0 0 exec 0 0K 1K 78643K 1605 0 0 pfkey data 0 0K 0K 78643K 1 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 140 24K 33K 78643K 40441 0 0 UVM aobj 130 7K 7K 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 1K 78643K 4424 0 0 NDP 24 0K 1K 78643K 603 0 0 temp 256 3557K 4197K 78643K 132196 0 0 kqueue 0 0K 0K 78643K 59 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 97 0 90 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 608 0 606 1 0 1 1 0 8 0 rtentry 112 1310 0 1264 2 0 2 2 0 8 0 unpcb 120 7384 0 7356 27 25 2 2 0 8 1 syncache 264 44 0 44 22 22 0 1 0 8 0 tcpqe 32 5857 0 5857 3 3 0 2 0 8 0 tcpcb 544 10017 0 10013 121 120 1 15 0 8 0 inpcb 280 29197 0 29186 95 92 3 10 0 8 1 rttmr 72 12 0 11 6 5 1 1 0 8 0 nd6 48 283 0 280 1 0 1 1 0 8 0 pkpcb 40 69 0 69 17 17 0 1 0 8 0 swfcl 56 5 0 0 1 0 1 1 0 8 0 ppxss 1128 183 0 183 40 39 1 1 0 8 1 pffrag 232 26 0 26 15 15 0 1 0 482 0 pffrnode 88 26 0 26 15 15 0 1 0 8 0 pffrent 40 68 0 68 17 17 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 356 0 337 1 0 1 1 0 8 0 pfstkey 112 356 0 337 2 0 2 2 0 8 0 pfstate 328 356 0 337 6 4 2 4 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 7321 0 7037 34 15 19 19 0 8 0 art_table 32 7324 0 7039 4 1 3 3 0 8 0 art_node 16 1299 0 1256 1 0 1 1 0 8 0 sysvmsgpl 40 103 0 80 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 465 0 455 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 18603 0 17173 47 0 47 47 0 8 0 ffsino 272 18603 0 17173 96 0 96 96 0 8 0 nchpl 144 34731 0 33050 63 0 63 63 0 8 0 uvmvnodes 72 7328 0 0 134 0 134 134 0 8 0 vnodes 208 7328 0 0 386 0 386 386 0 8 0 namei 1024 119629 0 119629 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vmpool 552 46 0 46 17 17 0 1 0 8 0 scsiplug 64 19 0 19 13 13 0 1 0 8 0 scxspl 192 101786 0 101786 63 62 1 7 0 8 1 plimitpl 152 1022 0 1014 1 0 1 1 0 8 0 sigapl 432 11743 0 11728 3 1 2 3 0 8 0 futexpl 56 247625 0 247625 1 0 1 1 0 8 1 knotepl 112 2962 0 2943 12 11 1 3 0 8 0 kqueuepl 104 4982 0 4980 32 31 1 4 0 8 0 pipepl 112 6288 0 6267 18 17 1 2 0 8 0 fdescpl 488 11744 0 11728 3 0 3 3 0 8 0 filepl 152 100783 0 100679 120 114 6 14 0 8 1 lockfpl 104 3693 0 3692 1 0 1 1 0 8 0 lockfspl 48 1263 0 1262 1 0 1 1 0 8 0 sessionpl 112 70 0 59 1 0 1 1 0 8 0 pgrppl 48 202 0 190 1 0 1 1 0 8 0 ucredpl 96 15895 0 15886 1 0 1 1 0 8 0 zombiepl 144 11732 0 11731 3 2 1 1 0 8 0 processpl 896 11765 0 11731 4 0 4 4 0 8 0 procpl 632 37414 0 37369 9 4 5 5 0 8 0 srpgc 64 71 0 71 27 27 0 1 0 8 0 sosppl 128 146 0 146 33 33 0 1 0 8 0 sockpl 384 37864 0 37825 154 147 7 16 0 8 2 mcl64k 65536 437 0 0 52 34 18 34 0 8 1 mcl16k 16384 23 0 0 3 1 2 3 0 8 0 mcl12k 12288 57 0 0 3 1 2 2 0 8 0 mcl9k 9216 34 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 14 0 0 1 0 1 1 0 8 0 mcl2k 2048 242 0 0 27 5 22 27 0 8 0 mtagpl 80 248 0 0 2 0 2 2 0 8 0 mbufpl 256 1153 0 0 34 0 34 34 0 8 0 bufpl 256 32442 0 25114 459 0 459 459 0 8 0 anonpl 16 1099154 0 1086227 301 229 72 82 0 124 4 amapchunkpl 152 76496 0 76362 96 85 11 20 0 158 2 amappl16 192 55575 0 54686 269 223 46 58 0 8 0 amappl15 184 950 0 946 3 2 1 1 0 8 0 amappl14 176 2445 0 2442 2 1 1 1 0 8 0 amappl13 168 1117 0 1117 6 5 1 1 0 8 1 amappl12 160 2000 0 1998 1 0 1 1 0 8 0 amappl11 152 3378 0 3363 1 0 1 1 0 8 0 amappl10 144 486 0 482 1 0 1 1 0 8 0 amappl9 136 2517 0 2510 1 0 1 1 0 8 0 amappl8 128 2126 0 2080 3 1 2 2 0 8 0 amappl7 120 643 0 635 1 0 1 1 0 8 0 amappl6 112 3232 0 3216 1 0 1 1 0 8 0 amappl5 104 2491 0 2477 1 0 1 1 0 8 0 amappl4 96 10600 0 10561 1 0 1 1 0 8 0 amappl3 88 3719 0 3710 1 0 1 1 0 8 0 amappl2 80 91941 0 91858 4 2 2 3 0 8 0 amappl1 72 267052 0 266597 26 16 10 20 0 8 0 amappl 80 38482 0 38436 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 11790 0 11728 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 11790 0 11728 1 0 1 1 0 8 0 vmmpekpl 168 88059 0 88025 2 0 2 2 0 8 0 vmmpepl 168 1447204 0 1445074 619 494 125 138 0 357 25 vmsppl 368 11743 0 11727 2 0 2 2 0 8 0 pdppl 4096 23587 0 23546 7 1 6 6 0 8 0 pvpl 32 2961619 0 2945511 663 489 174 198 0 265 18 pmappl 232 11789 0 11773 17 16 1 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 853 0 182 20 0 20 20 0 8 0