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 *173824 65057 0 0 0x4000000 0 syz-executor.1 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+0x3eb kerntrap(ffff80001692b800) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001490b000,fffffd802ce0f3f8,10,ffff800000025430,ffff80001692ba68) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff80001692b9c8,83,ffff80001692ba68,0,b) at 0x20ffc000 rt_match(fffffd8037018080,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8037018080,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff80001692bb80,fffffd802f4eb220,fffffd8037018000) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 udp_output(fffffd8037018000,fffffd802f4eb300,fffffd802f4eb200,fffffd802f4eb900) at udp_output+0x5ab sys/netinet/udp_usrreq.c:937 sosend(fffffd8029c52048,fffffd802f4eb200,ffff80001692bce0,0,fffffd802f4eb900,0) at sosend+0x63d sys/kern/uipc_socket.c:524 sendit(ffff800016b40290,4,ffff80001692be40,0,ffff80001692bf30) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendmsg(ffff800016b40290,ffff80001692bee8,ffff80001692bf30) at sys_sendmsg+0x1a4 sys/kern/uipc_syscalls.c:567 syscall(ffff80001692bfb0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffffd3,0,3,58920f1010) at Xsyscall+0x128 end of kernel end trace frame: 0x5b052bbd20, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic attempt to execute user address 0x20ffc000 in supervisor mode ddb> 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+0x3eb kerntrap(ffff80001692b800) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001490b000,fffffd802ce0f3f8,10,ffff800000025430,ffff80001692ba68) at alltraps_kern_meltdown+0x7b __kernel_end_phys(b,ffff80001692b9c8,83,ffff80001692ba68,0,b) at 0x20ffc000 rt_match(fffffd8037018080,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8037018080,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff80001692bb80,fffffd802f4eb220,fffffd8037018000) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 udp_output(fffffd8037018000,fffffd802f4eb300,fffffd802f4eb200,fffffd802f4eb900) at udp_output+0x5ab sys/netinet/udp_usrreq.c:937 sosend(fffffd8029c52048,fffffd802f4eb200,ffff80001692bce0,0,fffffd802f4eb900,0) at sosend+0x63d sys/kern/uipc_socket.c:524 sendit(ffff800016b40290,4,ffff80001692be40,0,ffff80001692bf30) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendmsg(ffff800016b40290,ffff80001692bee8,ffff80001692bf30) at sys_sendmsg+0x1a4 sys/kern/uipc_syscalls.c:567 syscall(ffff80001692bfb0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffffd3,0,3,58920f1010) at Xsyscall+0x128 end of kernel end trace frame: 0x5b052bbd20, count: -14 ddb> show registers rdi 0xffffffff8106c197 db_enter+0x17 rsi 0x26b5 __ALIGN_SIZE+0x16b5 rbp 0xffff80001692b670 rbx 0xffff80001692b720 rdx 0x26b6 __ALIGN_SIZE+0x16b6 rcx 0xffff80001490b000 rax 0xffff80001490b000 r8 0xffff80001692b630 r9 0x1 r10 0xffff800000abdb40 r11 0x6997df1189fa4098 r12 0x3000000008 r13 0xffff80001692b680 r14 0x100 r15 0x1 rip 0xffffffff8106c198 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001692b660 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=173824 stat=onproc flags process=0 proc=4000000 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff800016b40018,0xffffffff82569748 process=0xffff8000ffff7b10 user=0xffff800016927000, vmspace=0xfffffd803f014aa0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 65057 509833 60856 0 2 0 syz-executor.1 *65057 173824 60856 0 7 0x4000000 syz-executor.1 55024 440480 87628 0 2 0 syz-executor.0 55024 446232 87628 0 3 0x4000080 netio syz-executor.0 60856 254856 89552 0 3 0x82 nanosleep syz-executor.1 87628 111718 89552 0 3 0x82 nanosleep syz-executor.0 50304 482587 0 0 3 0x14200 acct acct 27561 472613 1 0 3 0x100083 ttyin getty 22573 190964 0 0 3 0x14200 bored sosplice 89552 155239 62862 0 3 0x82 thrsleep syz-fuzzer 89552 19302 62862 0 3 0x4000082 nanosleep syz-fuzzer 89552 36847 62862 0 3 0x4000082 thrsleep syz-fuzzer 89552 401708 62862 0 3 0x4000082 thrsleep syz-fuzzer 89552 375109 62862 0 3 0x4000082 thrsleep syz-fuzzer 89552 510362 62862 0 3 0x4000082 kqread syz-fuzzer 89552 128491 62862 0 3 0x4000082 thrsleep syz-fuzzer 62862 120599 92282 0 3 0x10008a pause ksh 92282 115237 66706 0 3 0x92 select sshd 66706 238408 1 0 3 0x80 select sshd 73996 29594 65010 73 3 0x100090 kqread syslogd 65010 176343 1 0 3 0x100082 netio syslogd 63777 152569 1 77 3 0x100090 poll dhclient 40369 293961 1 0 3 0x80 poll dhclient 99517 81846 0 0 2 0x14200 zerothread 3951 416219 0 0 3 0x14200 aiodoned aiodoned 31899 3070 0 0 3 0x14200 syncer update 60074 95101 0 0 3 0x14200 cleaner cleaner 66079 184725 0 0 3 0x14200 reaper reaper 67911 31941 0 0 3 0x14200 pgdaemon pagedaemon 55482 14356 0 0 3 0x14200 bored crynlk 27891 371053 0 0 3 0x14200 bored crypto 8114 94981 0 0 3 0x40014200 acpi0 acpi0 46415 276547 0 0 3 0x14200 bored softnet 66409 394802 0 0 3 0x14200 bored systqmp 2598 346166 0 0 3 0x14200 bored systq 67844 503487 0 0 3 0x40014200 bored softclock 92103 400745 0 0 3 0x40014200 idle0 8107 144709 0 0 3 0x14200 bored smr 1 267611 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9606 6403K 7041K 78643K 14190 0 0 pcb 13 8K 8K 78643K 1255 0 0 rtable 133 12K 13K 78643K 3484 0 0 ifaddr 89 24K 27K 78643K 1117 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 434 0 0 iov 0 0K 40K 78643K 2885 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1241 78K 79K 78643K 5276 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 148 0 0 VM map 2 0K 0K 78643K 20 0 0 sem 12 0K 0K 78643K 1393 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 9851 0 0 sigio 0 0K 0K 78643K 142 0 0 proc 50 38K 63K 78643K 2787 0 0 subproc 32 2K 2K 78643K 688 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 1082 0 0 in_multi 35 2K 2K 78643K 690 0 0 ether_multi 1 0K 0K 78643K 42 0 0 mrt 2 0K 0K 78643K 44 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 186 821K 821K 78643K 186 0 0 exec 0 0K 1K 78643K 1612 0 0 pfkey data 0 0K 4K 78643K 8 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 31K 78643K 24692 0 0 UVM aobj 130 6K 6K 78643K 144 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 1337 0 0 NDP 21 0K 1K 78643K 352 0 0 temp 233 3537K 4176K 78643K 150064 0 0 kqueue 0 0K 0K 78643K 95 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 86 0 78 1 0 1 1 0 8 0 rtpcb 80 1322 0 1320 1 0 1 1 0 8 0 rtentry 112 470 0 419 2 0 2 2 0 8 0 unpcb 120 4351 0 4321 19 17 2 3 0 8 1 syncache 264 17 0 17 10 10 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 6262 0 6262 4 4 0 1 0 8 0 tcpcb 544 2559 0 2554 7 6 1 2 0 8 0 ipq 40 27 0 27 16 15 1 1 0 8 1 ipqe 40 66 0 66 16 15 1 1 0 8 1 inpcb 280 10392 0 10381 44 42 2 3 0 8 1 rttmr 72 8 0 8 8 8 0 1 0 8 0 nd6 48 77 0 73 1 0 1 1 0 8 0 pkpcb 40 54 0 54 18 17 1 1 0 8 1 ppxss 1128 162 0 162 36 35 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1999 0 1743 23 7 16 16 0 8 0 art_table 32 2000 0 1743 4 1 3 3 0 8 0 art_node 16 458 0 412 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 11 4 3 1 1 0 8 0 semapl 112 1391 0 1381 1 0 1 1 0 8 0 shmpl 112 142 0 14 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 16997 0 15581 46 0 46 46 0 8 0 ffsino 240 16997 0 15581 84 0 84 84 0 8 0 nchpl 144 32919 0 31269 62 0 62 62 0 8 0 uvmvnodes 72 8520 0 0 155 0 155 155 0 8 0 vnodes 208 8520 0 0 449 0 449 449 0 8 0 namei 1024 119852 0 119852 7 6 1 1 0 8 1 vmpool 520 18 0 18 8 8 0 1 0 8 0 scsiplug 64 18 0 18 15 15 0 1 0 8 0 scxspl 192 108040 0 108040 47 46 1 7 0 8 1 plimitpl 152 837 0 830 1 0 1 1 0 8 0 sigapl 432 9916 0 9902 2 0 2 2 0 8 0 futexpl 56 237973 0 237973 6 5 1 1 0 8 1 knotepl 112 2324 0 2305 4 3 1 2 0 8 0 kqueuepl 104 2605 0 2603 1 0 1 1 0 8 0 pipepl 112 5430 0 5411 19 18 1 2 0 8 0 fdescpl 424 9917 0 9902 2 0 2 2 0 8 0 filepl 120 83594 0 83494 36 32 4 7 0 8 0 lockfpl 104 6449 0 6448 1 0 1 1 0 8 0 lockfspl 48 1767 0 1766 1 0 1 1 0 8 0 sessionpl 112 63 0 53 1 0 1 1 0 8 0 pgrppl 48 141 0 131 1 0 1 1 0 8 0 ucredpl 96 11950 0 11943 1 0 1 1 0 8 0 zombiepl 144 9905 0 9905 3 2 1 1 0 8 1 processpl 864 9936 0 9905 4 0 4 4 0 8 0 procpl 632 22129 0 22090 5 1 4 5 0 8 0 sosppl 128 117 0 117 34 33 1 1 0 8 1 sockpl 384 16293 0 16252 45 40 5 8 0 8 0 mcl64k 65536 4168 0 4168 364 363 1 64 0 8 1 mcl16k 16384 228 0 228 26 25 1 1 0 8 1 mcl12k 12288 1163 0 1163 5 4 1 1 0 8 1 mcl9k 9216 118 0 118 36 35 1 1 0 8 1 mcl8k 8192 2742 0 2741 5 4 1 1 0 8 0 mcl4k 4096 756 0 756 7 6 1 1 0 8 1 mcl2k2 2112 61 0 61 28 27 1 1 0 8 1 mcl2k 2048 82837 0 82799 19 13 6 13 0 8 0 mtagpl 80 22 0 22 4 4 0 1 0 8 0 mbufpl 256 250017 0 249930 262 253 9 38 0 8 1 bufpl 256 36004 0 27125 556 0 556 556 0 8 0 anonpl 16 997053 0 981699 274 205 69 81 0 62 0 amapchunkpl 152 44333 0 44220 83 77 6 15 0 158 0 amappl16 192 54370 0 53477 347 294 53 57 0 8 7 amappl15 184 2586 0 2584 8 7 1 1 0 8 0 amappl14 176 1556 0 1550 2 1 1 1 0 8 0 amappl13 168 1862 0 1861 1 0 1 1 0 8 0 amappl12 160 506 0 506 5 5 0 1 0 8 0 amappl11 152 1516 0 1505 1 0 1 1 0 8 0 amappl10 144 986 0 985 1 0 1 1 0 8 0 amappl9 136 1415 0 1407 1 0 1 1 0 8 0 amappl8 128 1017 0 972 2 0 2 2 0 8 0 amappl7 120 1185 0 1178 1 0 1 1 0 8 0 amappl6 112 1440 0 1427 1 0 1 1 0 8 0 amappl5 104 1341 0 1331 1 0 1 1 0 8 0 amappl4 96 10335 0 10305 1 0 1 1 0 8 0 amappl3 88 3201 0 3195 1 0 1 1 0 8 0 amappl2 80 79281 0 79205 5 3 2 3 0 8 0 amappl1 72 186245 0 185828 28 19 9 20 0 8 0 amappl 80 22977 0 22938 1 0 1 1 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 143 0 14 3 0 3 3 0 8 0 uaddrrnd 24 9935 0 9902 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9935 0 9902 1 0 1 1 0 8 0 vmmpekpl 168 60492 0 60464 2 0 2 2 0 8 0 vmmpepl 168 1175598 0 1173539 579 463 116 124 0 357 23 vmsppl 272 9916 0 9902 7 6 1 2 0 8 0 pdppl 4096 19876 0 19840 6 1 5 6 0 8 0 pvpl 32 2823176 0 2804578 782 545 237 292 0 265 78 pmappl 200 9934 0 9920 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1379 0 692 22 2 20 20 0 8 0