login: panic: attempt to execute user address 0x20ff3000 in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *133556 7207 0 0 0x4000000 0K syz-executor.0 285058 38092 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(ffff800022d76e10) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800020b58000,fffffd806364b318,10,ffff80000005bf40,ffff800022d77078) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff800022d76fd8,83,ffff800022d77078,0,b) at 0x20ff3000 rt_clone(ffff800022d770e8,fffffd806f6cd198,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cd198,fffffd806d617874,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cd198,fffffd806d617874,0) at rtalloc_mpath+0xba sys/net/route.c:359 ip_output(fffffd80682dc100,0,fffffd806f6cd188,20,0,fffffd806f6cd118) at ip_output+0x4f2 sys/netinet/ip_output.c:204 rip_output(fffffd80682dc100,fffffd8062e8f038,ffff800022d772f8,ffff800020b58000) at rip_output+0x252 sys/netinet/raw_ip.c:289 rip_usrreq(fffffd8062e8f038,9,fffffd80682dc100,0,0,ffff800020ab18c8) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd8062e8f038,0,ffff800022d77590,0,0,0) at sosend+0x645 sys/kern/uipc_socket.c:524 dofilewritev(ffff800020ab18c8,3,ffff800022d77590,0,ffff800022d77680) at dofilewritev+0x1b7 sys/kern/sys_generic.c:364 sys_writev(ffff800020ab18c8,ffff800022d77638,ffff800022d77680) at sys_writev+0xa7 sys/kern/sys_generic.c:311 end trace frame: 0xffff800022d776f0, 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 0x20ff3000 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(ffff800022d76e10) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800020b58000,fffffd806364b318,10,ffff80000005bf40,ffff800022d77078) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff800022d76fd8,83,ffff800022d77078,0,b) at 0x20ff3000 rt_clone(ffff800022d770e8,fffffd806f6cd198,0) at rt_clone+0x78 sys/net/route.c:266 rtalloc_mpath(fffffd806f6cd198,fffffd806d617874,0) at rtalloc_mpath+0xba rt_match sys/net/route.c:244 [inline] rtalloc_mpath(fffffd806f6cd198,fffffd806d617874,0) at rtalloc_mpath+0xba sys/net/route.c:359 ip_output(fffffd80682dc100,0,fffffd806f6cd188,20,0,fffffd806f6cd118) at ip_output+0x4f2 sys/netinet/ip_output.c:204 rip_output(fffffd80682dc100,fffffd8062e8f038,ffff800022d772f8,ffff800020b58000) at rip_output+0x252 sys/netinet/raw_ip.c:289 rip_usrreq(fffffd8062e8f038,9,fffffd80682dc100,0,0,ffff800020ab18c8) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd8062e8f038,0,ffff800022d77590,0,0,0) at sosend+0x645 sys/kern/uipc_socket.c:524 dofilewritev(ffff800020ab18c8,3,ffff800022d77590,0,ffff800022d77680) at dofilewritev+0x1b7 sys/kern/sys_generic.c:364 sys_writev(ffff800020ab18c8,ffff800022d77638,ffff800022d77680) at sys_writev+0xa7 sys/kern/sys_generic.c:311 syscall(ffff800022d77700) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800022d77700) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,d,0,3,810e8081010) at Xsyscall+0x128 end of kernel end trace frame: 0x813abfc2a10, count: -16 ddb{0}> show registers rdi 0xffffffff81bf70d7 db_enter+0x17 rsi 0x26e7 __ALIGN_SIZE+0x16e7 rbp 0xffff800022d76c80 rbx 0xffff800022d76d30 rdx 0x26e8 __ALIGN_SIZE+0x16e8 rcx 0xffff800020b58000 rax 0xffff800020b58000 r8 0xffffffff812cd6df kprintf+0x16f r9 0x1 r10 0x25 r11 0x525ba95a90733d60 r12 0x3000000008 r13 0xffff800022d76c90 r14 0x100 r15 0x1 rip 0xffffffff81bf70d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800022d76c70 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=133556 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ac0288,0xffffffff826640f0 process=0xffff800020add880 user=0xffff800022d72000, vmspace=0xfffffd807f00c170 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 7207 334287 22770 0 2 0 syz-executor.0 * 7207 133556 22770 0 7 0x4000000 syz-executor.0 23714 195437 36192 0 3 0x82 nanosleep syz-executor.1 22770 479264 36192 0 3 0x82 nanosleep syz-executor.0 27211 353873 1 0 3 0x100083 ttyin getty 67276 340056 0 0 3 0x14200 acct acct 83069 134594 0 0 3 0x14200 bored sosplice 36192 107200 35781 0 3 0x82 thrsleep syz-fuzzer 36192 112763 35781 0 3 0x4000082 thrsleep syz-fuzzer 36192 66231 35781 0 3 0x4000082 thrsleep syz-fuzzer 36192 487024 35781 0 3 0x4000082 kqread syz-fuzzer 36192 375762 35781 0 3 0x4000082 thrsleep syz-fuzzer 36192 314889 35781 0 3 0x4000082 thrsleep syz-fuzzer 36192 33896 35781 0 3 0x4000082 thrsleep syz-fuzzer 36192 318804 35781 0 3 0x4000082 thrsleep syz-fuzzer 36192 197052 35781 0 3 0x4000082 thrsleep syz-fuzzer 36192 260798 35781 0 3 0x4000082 thrsleep syz-fuzzer 35781 485036 17535 0 3 0x10008a pause ksh 17535 7520 52128 0 3 0x92 select sshd 52128 357910 1 0 3 0x80 select sshd 80951 438613 14815 74 3 0x100092 bpf pflogd 14815 113402 1 0 3 0x80 netio pflogd 81391 278900 4690 73 3 0x100090 kqread syslogd 4690 443622 1 0 3 0x100082 netio syslogd 34779 377340 1 77 3 0x100090 poll dhclient 2683 101696 1 0 3 0x80 poll dhclient 327 320931 0 0 2 0x14200 zerothread 20875 417372 0 0 3 0x14200 aiodoned aiodoned 43129 434231 0 0 3 0x14200 syncer update 71325 477424 0 0 3 0x14200 cleaner cleaner 38092 285058 0 0 7 0x14200 reaper 72641 70194 0 0 3 0x14200 pgdaemon pagedaemon 59616 223311 0 0 3 0x14200 bored crynlk 6009 509769 0 0 3 0x14200 bored crypto 23513 204032 0 0 3 0x40014200 acpi0 acpi0 60044 477021 0 0 3 0x40014200 idle1 31527 302119 0 0 3 0x14200 bored softnet 53801 230070 0 0 3 0x14200 bored systqmp 23022 388448 0 0 3 0x14200 bored systq 73199 443801 0 0 3 0x40014200 bored softclock 7831 78922 0 0 3 0x40014200 idle0 11126 138975 0 0 3 0x14200 bored smr 1 475001 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 7207 (syz-executor.0) thread 0xffff800020ab18c8 (133556) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82648810) #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_writev+0xa7 sys/kern/sys_generic.c:311 #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 (0xffffffff82492448) #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_writev+0xa7 sys/kern/sys_generic.c:311 #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 9542 6452K 6839K 78643K 13796 0 0 pcb 13 8K 8K 78643K 179 0 0 rtable 111 4K 4K 78643K 652 0 0 ifaddr 69 15K 16K 78643K 187 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1557 0 0 iov 0 0K 28K 78643K 448 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1214 76K 77K 78643K 2507 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 24 0 0 VM map 2 1K 1K 78643K 4 0 0 sem 12 0K 0K 78643K 926 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 5 13K 25K 78643K 3140 0 0 sigio 0 0K 0K 78643K 23 0 0 proc 61 63K 95K 78643K 825 0 0 subproc 32 2K 2K 78643K 153 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 97 0 0 in_multi 34 2K 2K 78643K 146 0 0 ether_multi 1 0K 0K 78643K 5 0 0 mrt 0 0K 0K 78643K 2 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 72 318K 318K 78643K 72 0 0 exec 0 0K 1K 78643K 678 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 121 22K 24K 78643K 10516 0 0 UVM aobj 130 4K 4K 78643K 130 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 165 0 0 NDP 14 0K 0K 78643K 57 0 0 temp 186 3556K 4190K 78643K 29735 0 0 kqueue 0 0K 0K 78643K 8 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 21 0 15 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 75 0 73 1 0 1 1 0 8 0 rtentry 112 121 0 76 2 0 2 2 0 8 0 unpcb 120 6589 0 6575 1 0 1 1 0 8 0 syncache 264 9 0 9 4 4 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 5628 0 5628 2 2 0 1 0 8 0 tcpcb 544 265 0 261 1 0 1 1 0 8 0 inpcb 280 6404 0 6396 9 7 2 4 0 8 1 nd6 48 18 0 14 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 2 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 10 0 10 3 2 1 1 0 8 1 pffrag 232 4 0 4 3 3 0 1 0 482 0 pffrnode 88 4 0 4 3 3 0 1 0 8 0 pffrent 40 8 0 8 3 3 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 632 0 406 3 0 3 3 0 8 0 pfstkey 112 632 0 406 10 0 10 10 0 8 0 pfstate 328 632 0 406 28 1 27 28 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 536 0 320 18 4 14 14 0 8 0 art_table 32 537 0 320 2 0 2 2 0 8 0 art_node 16 118 0 77 1 0 1 1 0 8 0 sysvmsgpl 40 335 0 295 1 0 1 1 0 8 0 semupl 112 9 0 9 1 1 0 1 0 8 0 semapl 112 924 0 914 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 5508 0 4104 46 0 46 46 0 8 0 ffsino 272 5508 0 4104 95 0 95 95 0 8 0 nchpl 144 9814 0 8210 61 0 61 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 26893 0 26893 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vmpool 552 2 0 2 1 1 0 1 0 8 0 scsiplug 64 3 0 3 2 2 0 1 0 8 0 scxspl 192 45741 0 45741 20 19 1 7 0 8 1 plimitpl 152 118 0 110 1 0 1 1 0 8 0 sigapl 432 3320 0 3305 3 1 2 3 0 8 0 futexpl 56 58363 0 58363 1 0 1 1 0 8 1 knotepl 112 351 0 332 1 0 1 1 0 8 0 kqueuepl 104 580 0 578 1 0 1 1 0 8 0 pipepl 112 1026 0 1007 4 3 1 2 0 8 0 fdescpl 488 3321 0 3305 3 0 3 3 0 8 0 filepl 152 24587 0 24486 14 9 5 8 0 8 1 lockfpl 104 843 0 842 1 0 1 1 0 8 0 lockfspl 48 369 0 368 1 0 1 1 0 8 0 sessionpl 112 26 0 15 1 0 1 1 0 8 0 pgrppl 48 74 0 63 1 0 1 1 0 8 0 ucredpl 96 1052 0 1043 1 0 1 1 0 8 0 zombiepl 144 3305 0 3304 3 2 1 1 0 8 0 processpl 896 3338 0 3304 4 0 4 4 0 8 0 procpl 632 9232 0 9188 7 2 5 5 0 8 1 srpgc 64 14 0 14 6 5 1 1 0 8 1 sosppl 128 10 0 10 5 5 0 1 0 8 0 sockpl 384 13121 0 13097 16 11 5 7 0 8 1 mcl64k 65536 12 0 0 2 0 2 2 0 8 0 mcl16k 16384 9 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 7 0 0 1 0 1 1 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 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 179 0 0 19 1 18 19 0 8 0 mtagpl 80 23 0 0 1 0 1 1 0 8 0 mbufpl 256 314 0 0 13 0 13 13 0 8 0 bufpl 256 21125 0 14077 441 0 441 441 0 8 0 anonpl 16 296043 0 282039 82 21 61 74 0 124 0 amapchunkpl 152 17846 0 17711 20 10 10 13 0 158 3 amappl16 192 14785 0 13983 53 12 41 52 0 8 0 amappl15 184 3298 0 3296 2 1 1 1 0 8 0 amappl14 176 68 0 67 2 1 1 1 0 8 0 amappl13 168 381 0 381 2 2 0 1 0 8 0 amappl12 160 72 0 71 1 0 1 1 0 8 0 amappl11 152 74 0 59 1 0 1 1 0 8 0 amappl10 144 679 0 676 1 0 1 1 0 8 0 amappl9 136 722 0 714 1 0 1 1 0 8 0 amappl8 128 278 0 239 2 0 2 2 0 8 0 amappl7 120 731 0 724 1 0 1 1 0 8 0 amappl6 112 104 0 82 1 0 1 1 0 8 0 amappl5 104 253 0 238 1 0 1 1 0 8 0 amappl4 96 3759 0 3727 1 0 1 1 0 8 0 amappl3 88 252 0 247 1 0 1 1 0 8 0 amappl2 80 27904 0 27822 4 2 2 3 0 8 0 amappl1 72 78892 0 78445 26 16 10 20 0 8 0 amappl 80 9601 0 9556 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 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 129 0 0 3 0 3 3 0 8 0 uaddrrnd 24 3323 0 3305 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3323 0 3305 1 0 1 1 0 8 0 vmmpekpl 168 22937 0 22900 2 0 2 2 0 8 0 vmmpepl 168 402839 0 400813 218 101 117 117 0 357 26 vmsppl 368 3320 0 3304 2 0 2 2 0 8 0 pdppl 4096 6653 0 6612 7 1 6 6 0 8 0 pvpl 32 861532 0 844356 231 67 164 179 0 265 16 pmappl 232 3322 0 3306 3 2 1 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 616 0 10 18 0 18 18 0 8 0