panic: attempt to execute user address 0x48 in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *200404 49385 0 0 0x4000000 0 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+0x3eb kerntrap(ffff80001694e4f0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015b49000,fffffd802e8f2318,10,ffff80000005b8b0,ffff80001694e758) at alltraps_kern_meltdown+0x7b 48(b,ffff80001694e6b8,83,ffff80001694e758,0,b) at 0x48 rt_match(fffffd803a66fa58,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803a66fa58,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff80001694e830,fffffd802f052020,fffffd803a66f9d8) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803a66f9d8,fffffd802f052000) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803ebb3dd0,4,0,fffffd802f052000,0,ffff8000ffff2018) at udp_usrreq+0x560 sys_connect(ffff8000ffff2018,ffff80001694e9b8,ffff80001694ea00) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff80001694ea80) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,a196c063010) at Xsyscall+0x128 end of kernel end trace frame: 0xa1b9473af20, count: 2 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 0x48 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(ffff80001694e4f0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800015b49000,fffffd802e8f2318,10,ffff80000005b8b0,ffff80001694e758) at alltraps_kern_meltdown+0x7b 48(b,ffff80001694e6b8,83,ffff80001694e758,0,b) at 0x48 rt_match(fffffd803a66fa58,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803a66fa58,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff80001694e830,fffffd802f052020,fffffd803a66f9d8) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803a66f9d8,fffffd802f052000) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803ebb3dd0,4,0,fffffd802f052000,0,ffff8000ffff2018) at udp_usrreq+0x560 sys_connect(ffff8000ffff2018,ffff80001694e9b8,ffff80001694ea00) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff80001694ea80) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,a196c063010) at Xsyscall+0x128 end of kernel end trace frame: 0xa1b9473af20, count: -13 ddb> show registers rdi 0xffffffff812241d7 db_enter+0x17 rsi 0x22fe __ALIGN_SIZE+0x12fe rbp 0xffff80001694e360 rbx 0xffff80001694e410 rdx 0x22ff __ALIGN_SIZE+0x12ff rcx 0xffff800015b49000 rax 0xffff800015b49000 r8 0xffff80001694e320 r9 0x1 r10 0xffff800000a63d40 r11 0x94c63880e99f9c72 r12 0x3000000008 r13 0xffff80001694e370 r14 0x100 r15 0x1 rip 0xffffffff812241d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001694e350 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=200404 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2508,0xffffffff825686e0 process=0xffff8000ffff66d0 user=0xffff800016949000, vmspace=0xfffffd803f013990 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 49385 52858 99133 0 2 0 syz-executor.0 *49385 200404 99133 0 7 0x4000000 syz-executor.0 41859 382985 51122 0 3 0x80 nanosleep syz-executor.1 41859 154334 51122 0 3 0x4000080 netio syz-executor.1 41859 244423 51122 0 3 0x4000080 fsleep syz-executor.1 51122 403575 97065 0 3 0x82 nanosleep syz-executor.1 99133 507332 97065 0 3 0x82 nanosleep syz-executor.0 35193 125411 0 0 3 0x14200 bored sosplice 97065 513369 11578 0 3 0x82 thrsleep syz-fuzzer 97065 485426 11578 0 3 0x4000082 thrsleep syz-fuzzer 97065 297412 11578 0 3 0x4000082 thrsleep syz-fuzzer 97065 84207 11578 0 3 0x4000082 thrsleep syz-fuzzer 97065 332965 11578 0 3 0x4000082 kqread syz-fuzzer 97065 229500 11578 0 3 0x4000082 thrsleep syz-fuzzer 97065 309989 11578 0 3 0x4000082 thrsleep syz-fuzzer 97065 353744 11578 0 3 0x4000082 thrsleep syz-fuzzer 11578 192218 77951 0 3 0x10008a pause ksh 77951 15903 12381 0 3 0x92 select sshd 46724 157177 1 0 3 0x100083 ttyin getty 12381 412555 1 0 3 0x80 select sshd 92909 332164 64386 73 3 0x100090 kqread syslogd 64386 474359 1 0 3 0x100082 netio syslogd 95231 121856 1 77 3 0x100090 poll dhclient 49822 112529 1 0 3 0x80 poll dhclient 67852 146561 0 0 2 0x14200 zerothread 53596 452249 0 0 3 0x14200 aiodoned aiodoned 96869 267503 0 0 3 0x14200 syncer update 57297 430409 0 0 3 0x14200 cleaner cleaner 42654 426921 0 0 3 0x14200 reaper reaper 79857 284151 0 0 3 0x14200 pgdaemon pagedaemon 81779 327649 0 0 3 0x14200 bored crynlk 19238 470372 0 0 3 0x14200 bored crypto 45537 222327 0 0 3 0x40014200 acpi0 acpi0 7459 121026 0 0 3 0x14200 bored softnet 91356 422859 0 0 3 0x14200 bored systqmp 5140 157012 0 0 3 0x14200 bored systq 95708 210187 0 0 3 0x40014200 bored softclock 24469 196360 0 0 3 0x40014200 idle0 80255 503068 0 0 3 0x14200 bored smr 1 17956 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 9603 7039K 7680K 78643K 20932 0 0 pcb 13 10K 12K 78643K 778 0 0 rtable 112 8K 9K 78643K 2393 0 0 ifaddr 88 20K 20K 78643K 740 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 146 0 0 iov 0 0K 32K 78643K 950 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1218 77K 77K 78643K 6164 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 72 0 0 VM map 2 0K 0K 78643K 12 0 0 sem 12 1K 1K 78643K 15 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 4063 0 0 sigio 0 0K 0K 78643K 28 0 0 proc 49 38K 62K 78643K 1778 0 0 subproc 32 2K 2K 78643K 429 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 278 0 0 in_multi 25 1K 2K 78643K 445 0 0 ether_multi 1 0K 0K 78643K 22 0 0 mrt 0 0K 0K 78643K 22 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 174 768K 768K 78643K 174 0 0 exec 0 0K 1K 78643K 975 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 124 23K 31K 78643K 10936 0 0 UVM aobj 110 3K 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 815 0 0 NDP 23 0K 0K 78643K 241 0 0 temp 233 3537K 4177K 78643K 96805 0 0 kqueue 0 0K 0K 78643K 37 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 79 0 74 1 0 1 1 0 8 0 rtpcb 80 298 0 296 1 0 1 1 0 8 0 rtentry 112 433 0 393 2 0 2 2 0 8 0 unpcb 120 1638 0 1626 3 2 1 2 0 8 0 syncache 264 24 0 24 9 9 0 1 0 8 0 tcpqe 32 6859 0 6859 4 4 0 1 0 8 0 tcpcb 544 1276 0 1271 5 4 1 3 0 8 0 ipq 40 27 0 27 12 11 1 1 0 8 1 ipqe 40 63 0 63 12 11 1 1 0 8 1 inpcb 280 7129 0 7117 31 29 2 13 0 8 1 rttmr 72 6 0 5 4 3 1 1 0 8 0 nd6 48 62 0 60 3 2 1 1 0 8 0 pkpcb 40 14 0 14 6 5 1 1 0 8 1 swfcl 56 4 0 0 1 0 1 1 0 8 0 ppxss 1128 73 0 73 14 14 0 1 0 8 0 art_heap8 4096 11 0 10 5 4 1 3 0 8 0 art_heap4 256 2082 0 1873 42 26 16 18 0 8 2 art_table 32 2093 0 1883 3 1 2 3 0 8 0 art_node 16 426 0 390 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 11 0 1 1 0 1 1 0 8 0 shmpl 112 128 0 20 5 1 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 9054 0 7659 46 0 46 46 0 8 0 ffsino 240 9054 0 7659 83 0 83 83 0 8 0 nchpl 144 15210 0 13590 61 0 61 61 0 8 0 uvmvnodes 72 7426 0 0 136 0 136 136 0 8 0 vnodes 208 7426 0 0 391 0 391 391 0 8 0 namei 1024 63501 0 63501 6 5 1 1 0 8 1 vmpool 520 10 0 10 5 5 0 1 0 8 0 scsiplug 64 4 0 4 2 2 0 1 0 8 0 scxspl 192 51908 0 51908 26 24 2 7 0 8 2 plimitpl 152 354 0 347 1 0 1 1 0 8 0 sigapl 432 4165 0 4151 2 0 2 2 0 8 0 futexpl 56 122955 0 122954 4 3 1 1 0 8 0 knotepl 112 1173 0 1154 5 4 1 3 0 8 0 kqueuepl 104 1061 0 1058 1 0 1 1 0 8 0 pipepl 112 4130 0 4109 21 19 2 3 0 8 1 fdescpl 424 4166 0 4151 2 0 2 2 0 8 0 filepl 120 47495 0 47387 35 29 6 11 0 8 2 lockfpl 104 1463 0 1462 1 0 1 1 0 8 0 lockfspl 48 494 0 493 1 0 1 1 0 8 0 sessionpl 112 40 0 30 1 0 1 1 0 8 0 pgrppl 48 82 0 72 1 0 1 1 0 8 0 ucredpl 96 14771 0 14764 1 0 1 1 0 8 0 zombiepl 144 4153 0 4153 3 2 1 1 0 8 1 processpl 864 4183 0 4153 4 0 4 4 0 8 0 procpl 632 9054 0 9014 5 1 4 5 0 8 0 sosppl 128 39 0 39 12 11 1 1 0 8 1 sockpl 384 9113 0 9087 51 47 4 22 0 8 1 mcl64k 65536 1174 0 1171 118 117 1 33 0 8 0 mcl16k 16384 49 0 49 15 14 1 1 0 8 1 mcl12k 12288 103 0 103 17 16 1 1 0 8 1 mcl9k 9216 76 0 76 13 12 1 1 0 8 1 mcl8k 8192 188 0 188 9 8 1 1 0 8 1 mcl4k 4096 366 0 366 5 4 1 1 0 8 1 mcl2k2 2112 39 0 39 15 14 1 1 0 8 1 mcl2k 2048 62221 0 62177 33 26 7 20 0 8 0 mtagpl 80 147 0 147 6 5 1 1 0 8 1 mbufpl 256 133230 0 133158 71 58 13 24 0 8 2 bufpl 256 22133 0 14546 475 0 475 475 0 8 0 anonpl 16 531639 0 518916 184 104 80 83 0 62 11 amapchunkpl 152 23184 0 23075 92 80 12 18 0 158 6 amappl16 192 25714 0 24813 187 135 52 68 0 8 6 amappl15 184 643 0 643 5 5 0 1 0 8 0 amappl14 176 401 0 397 2 1 1 1 0 8 0 amappl13 168 951 0 949 7 6 1 1 0 8 0 amappl12 160 476 0 475 1 0 1 1 0 8 0 amappl11 152 256 0 245 1 0 1 1 0 8 0 amappl10 144 54 0 53 1 0 1 1 0 8 0 amappl9 136 1630 0 1623 1 0 1 1 0 8 0 amappl8 128 1164 0 1123 3 1 2 2 0 8 0 amappl7 120 163 0 156 1 0 1 1 0 8 0 amappl6 112 241 0 226 1 0 1 1 0 8 0 amappl5 104 814 0 804 1 0 1 1 0 8 0 amappl4 96 4527 0 4495 1 0 1 1 0 8 0 amappl3 88 814 0 809 1 0 1 1 0 8 0 amappl2 80 31959 0 31882 4 2 2 3 0 8 0 amappl1 72 86590 0 86160 28 19 9 20 0 8 0 amappl 80 9674 0 9636 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 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 129 0 20 2 0 2 2 0 8 0 uaddrrnd 24 4176 0 4151 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4176 0 4151 1 0 1 1 0 8 0 vmmpekpl 168 32584 0 32557 2 0 2 2 0 8 0 vmmpepl 168 511067 0 508992 325 205 120 120 0 357 28 vmsppl 272 4165 0 4151 3 2 1 2 0 8 0 pdppl 4096 8358 0 8322 6 1 5 6 0 8 0 pvpl 32 1491345 0 1475371 482 290 192 296 0 265 33 pmappl 200 4175 0 4161 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 881 0 271 19 0 19 19 0 8 0