panic: attempt to execute user address 0x0 in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 59551 98481 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(ffff800015915f20) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800016b5f000,fffffd802e57ba18,10,ffff8000000251f0,ffff800015916188) at alltraps_kern_meltdown+0x7b 0(b,ffff8000159160e8,83,ffff800015916188,0,b) at 0 rt_match(fffffd803da7d3c8,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803da7d3c8,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff800015916260,fffffd80386ed020,fffffd803da7d348) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803da7d348,fffffd80386ed000) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 tcp_usrreq(fffffd802fe761c8,4,0,fffffd80386ed000,0,ffff8000ffff8280) at tcp_usrreq+0xada sys/netinet/tcp_usrreq.c:228 sys_connect(ffff8000ffff8280,ffff800015916408,ffff800015916450) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff8000159164d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,6cac8b1a010) at Xsyscall+0x128 end of kernel end trace frame: 0x6cdbfffa600, 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 0x0 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(ffff800015915f20) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800016b5f000,fffffd802e57ba18,10,ffff8000000251f0,ffff800015916188) at alltraps_kern_meltdown+0x7b 0(b,ffff8000159160e8,83,ffff800015916188,0,b) at 0 rt_match(fffffd803da7d3c8,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803da7d3c8,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff800015916260,fffffd80386ed020,fffffd803da7d348) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803da7d348,fffffd80386ed000) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 tcp_usrreq(fffffd802fe761c8,4,0,fffffd80386ed000,0,ffff8000ffff8280) at tcp_usrreq+0xada sys/netinet/tcp_usrreq.c:228 sys_connect(ffff8000ffff8280,ffff800015916408,ffff800015916450) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff8000159164d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,6cac8b1a010) at Xsyscall+0x128 end of kernel end trace frame: 0x6cdbfffa600, count: -13 ddb> show registers rdi 0xffffffff813b3ea7 db_enter+0x17 rsi 0x22d7 __ALIGN_SIZE+0x12d7 rbp 0xffff800015915d90 rbx 0xffff800015915e40 rdx 0x22d8 __ALIGN_SIZE+0x12d8 rcx 0xffff800016b5f000 rax 0xffff800016b5f000 r8 0xffff800015915d50 r9 0x1 r10 0xffff800000a50c40 r11 0xf1e55fe7296ba4c4 r12 0x3000000008 r13 0xffff800015915da0 r14 0x100 r15 0x1 rip 0xffffffff813b3ea8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800015915d80 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=59551 stat=onproc flags process=0 proc=4000000 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff4c68,0xffffffff82558cc8 process=0xffff8000ffff66d0 user=0xffff800015911000, vmspace=0xfffffd803f014220 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 98481 225657 93954 0 2 0 syz-executor.0 *98481 59551 93954 0 7 0x4000000 syz-executor.0 19687 208802 1808 0 3 0x80 nanosleep syz-executor.1 19687 338653 1808 0 3 0x4000080 ttyout syz-executor.1 19687 40573 1808 0 3 0x4000080 fsleep syz-executor.1 93954 384009 90658 0 3 0x82 nanosleep syz-executor.0 1808 12479 90658 0 3 0x82 nanosleep syz-executor.1 93475 107310 1 0 3 0x100083 ttyin getty 52136 118258 0 0 3 0x14200 bored sosplice 90658 360225 43322 0 3 0x82 thrsleep syz-fuzzer 90658 513480 43322 0 3 0x4000082 nanosleep syz-fuzzer 90658 328695 43322 0 3 0x4000082 kqread syz-fuzzer 90658 93660 43322 0 3 0x4000082 thrsleep syz-fuzzer 90658 338833 43322 0 3 0x4000082 thrsleep syz-fuzzer 90658 294137 43322 0 3 0x4000082 thrsleep syz-fuzzer 90658 426928 43322 0 3 0x4000082 thrsleep syz-fuzzer 90658 163628 43322 0 3 0x4000082 thrsleep syz-fuzzer 43322 484604 88932 0 3 0x10008a pause ksh 88932 247249 19061 0 3 0x92 select sshd 19061 489378 1 0 3 0x80 select sshd 14528 173514 96481 73 3 0x100090 kqread syslogd 96481 59587 1 0 3 0x100082 netio syslogd 53327 77321 0 0 2 0x14200 zerothread 43672 436436 0 0 3 0x14200 aiodoned aiodoned 62993 419851 0 0 3 0x14200 syncer update 70562 178215 0 0 3 0x14200 cleaner cleaner 75924 201310 0 0 3 0x14200 reaper reaper 23530 150561 0 0 3 0x14200 pgdaemon pagedaemon 36845 190130 0 0 3 0x14200 bored crynlk 25996 176164 0 0 3 0x14200 bored crypto 83965 481217 0 0 3 0x40014200 acpi0 acpi0 12315 88083 0 0 3 0x14200 bored softnet 80043 153160 0 0 3 0x14200 bored systqmp 58645 374396 0 0 3 0x14200 bored systq 83150 36542 0 0 3 0x40014200 bored softclock 97659 2804 0 0 3 0x40014200 idle0 97095 313435 0 0 3 0x14200 bored smr 1 114500 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 9602 6320K 14567K 78643K 41706 0 0 pcb 14 10K 12K 78643K 1317 0 0 rtable 141 9K 9K 78643K 5123 0 0 ifaddr 97 29K 35K 78643K 2304 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 487 0 0 iov 0 0K 32K 78643K 1298 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1223 77K 78K 78643K 10335 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 84 0 0 VM map 2 0K 0K 78643K 32 0 0 sem 12 0K 0K 78643K 758 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 5610 0 0 sigio 0 0K 0K 78643K 63 0 0 proc 44 30K 63K 78643K 1839 0 0 subproc 32 2K 2K 78643K 476 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 205 0 0 in_multi 35 2K 2K 78643K 408 0 0 ether_multi 1 0K 0K 78643K 14 0 0 mrt 0 0K 0K 78643K 13 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 987 0 0 pfkey data 0 0K 0K 78643K 4 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 101 21K 39K 78643K 14241 0 0 UVM aobj 130 4K 4K 78643K 138 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 2 0K 1K 78643K 847 0 0 NDP 24 0K 1K 78643K 700 0 0 temp 255 3541K 3621K 78643K 170265 0 0 kqueue 0 0K 0K 78643K 22 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 100 0 93 1 0 1 1 0 8 0 rtpcb 80 716 0 716 4 3 1 1 0 8 1 rtentry 112 481 0 428 2 0 2 2 0 8 0 unpcb 120 3744 0 3735 9 8 1 2 0 8 0 syncache 264 17 0 17 6 6 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 5326 0 5326 3 3 0 1 0 8 0 tcpcb 544 1812 0 1807 18 17 1 15 0 8 0 ipq 40 18 0 18 9 9 0 1 0 8 0 ipqe 40 42 0 42 9 9 0 1 0 8 0 inpcb 280 5344 0 5337 24 23 1 9 0 8 0 rttmr 72 4 0 4 4 4 0 1 0 8 0 nd6 48 59 0 55 3 2 1 1 0 8 0 pkpcb 40 18 0 18 7 7 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 542 0 542 19 18 1 1 0 8 1 art_heap8 4096 4 0 3 4 3 1 3 0 8 0 art_heap4 256 1872 0 1589 34 15 19 19 0 8 1 art_table 32 1876 0 1592 4 1 3 3 0 8 0 art_node 16 460 0 413 1 0 1 1 0 8 0 sysvmsgpl 40 22 0 10 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 754 0 744 1 0 1 1 0 8 0 shmpl 112 136 0 8 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 10502 0 9104 46 0 46 46 0 8 0 ffsino 240 10502 0 9104 83 0 83 83 0 8 0 nchpl 144 20075 0 18453 61 0 61 61 0 8 0 uvmvnodes 72 7206 0 0 132 0 132 132 0 8 0 vnodes 208 7206 0 0 380 0 380 380 0 8 0 namei 1024 66876 0 66876 5 4 1 1 0 8 1 vmpool 520 30 0 30 14 14 0 1 0 8 0 scsiplug 64 4 0 4 4 3 1 1 0 8 1 scxspl 192 64072 0 64072 35 34 1 7 0 8 1 plimitpl 152 394 0 388 1 0 1 1 0 8 0 sigapl 432 5707 0 5695 2 0 2 2 0 8 0 futexpl 56 130589 0 130588 4 3 1 1 0 8 0 knotepl 112 1338 0 1319 2 1 1 2 0 8 0 kqueuepl 104 1856 0 1854 4 3 1 4 0 8 0 pipepl 112 2444 0 2425 9 8 1 2 0 8 0 fdescpl 424 5708 0 5695 2 0 2 2 0 8 0 filepl 120 45823 0 45734 25 21 4 11 0 8 1 lockfpl 104 1621 0 1621 1 0 1 1 0 8 1 lockfspl 48 547 0 547 1 0 1 1 0 8 1 sessionpl 112 47 0 39 1 0 1 1 0 8 0 pgrppl 48 87 0 79 1 0 1 1 0 8 0 ucredpl 96 4788 0 4782 1 0 1 1 0 8 0 zombiepl 144 5704 0 5704 3 2 1 1 0 8 1 processpl 864 5732 0 5704 4 0 4 4 0 8 0 procpl 632 12196 0 12158 4 0 4 4 0 8 0 sosppl 128 52 0 52 15 15 0 1 0 8 0 sockpl 384 9846 0 9830 40 37 3 14 0 8 0 mcl64k 65536 328 0 328 12 11 1 1 0 8 1 mcl16k 16384 48 0 48 17 17 0 1 0 8 0 mcl12k 12288 107 0 107 9 8 1 1 0 8 1 mcl9k 9216 72 0 72 17 17 0 1 0 8 0 mcl8k 8192 236 0 236 7 7 0 1 0 8 0 mcl4k 4096 558 0 558 5 4 1 1 0 8 1 mcl2k2 2112 33 0 33 14 14 0 1 0 8 0 mcl2k 2048 68755 0 68715 30 24 6 13 0 8 0 mtagpl 80 3396 0 3130 37 29 8 9 0 8 0 mbufpl 256 159497 0 158883 205 151 54 55 0 8 3 bufpl 256 27056 0 19850 451 0 451 451 0 8 0 anonpl 16 655158 0 641917 183 114 69 80 0 62 1 amapchunkpl 152 28147 0 28041 77 71 6 18 0 158 0 amappl16 192 35108 0 34205 191 145 46 57 0 8 0 amappl15 184 516 0 516 5 5 0 1 0 8 0 amappl14 176 586 0 584 2 1 1 1 0 8 0 amappl13 168 732 0 730 3 2 1 1 0 8 0 amappl12 160 192 0 189 1 0 1 1 0 8 0 amappl11 152 1382 0 1375 1 0 1 1 0 8 0 amappl10 144 363 0 362 1 0 1 1 0 8 0 amappl9 136 1768 0 1761 1 0 1 1 0 8 0 amappl8 128 1302 0 1271 4 2 2 2 0 8 0 amappl7 120 523 0 517 1 0 1 1 0 8 0 amappl6 112 1368 0 1352 1 0 1 1 0 8 0 amappl5 104 549 0 542 1 0 1 1 0 8 0 amappl4 96 5897 0 5873 1 0 1 1 0 8 0 amappl3 88 860 0 854 1 0 1 1 0 8 0 amappl2 80 44219 0 44146 4 2 2 3 0 8 0 amappl1 72 111006 0 110603 27 18 9 20 0 8 0 amappl 80 12865 0 12829 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 137 0 8 3 0 3 3 0 8 0 uaddrrnd 24 5738 0 5695 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5738 0 5695 1 0 1 1 0 8 0 vmmpekpl 168 36628 0 36601 2 0 2 2 0 8 0 vmmpepl 168 682187 0 680190 374 258 116 122 0 357 27 vmsppl 272 5707 0 5695 4 3 1 2 0 8 0 pdppl 4096 11482 0 11450 6 1 5 6 0 8 0 pvpl 32 1776249 0 1759845 449 286 163 294 0 265 3 pmappl 200 5737 0 5725 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 886 0 259 19 0 19 19 0 8 0