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 *308098 37473 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(ffff80001592e760) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800017b72000,fffffd803e3afd28,10,ffff80000005bec0,ffff80001592e9c8) at alltraps_kern_meltdown+0x7b 0(b,ffff80001592e928,83,ffff80001592e9c8,0,b) at 0 rt_match(fffffd803ea225f8,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803ea225f8,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff80001592eaa0,fffffd80342f7220,fffffd803ea22578) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803ea22578,fffffd80342f7200) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803e621018,4,0,fffffd80342f7200,0,ffff8000ffff2018) at udp_usrreq+0x560 sys_connect(ffff8000ffff2018,ffff80001592ec28,ffff80001592ec70) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff80001592ecf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,8f98856e010) at Xsyscall+0x128 end of kernel end trace frame: 0x8fc3959e150, 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(ffff80001592e760) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800017b72000,fffffd803e3afd28,10,ffff80000005bec0,ffff80001592e9c8) at alltraps_kern_meltdown+0x7b 0(b,ffff80001592e928,83,ffff80001592e9c8,0,b) at 0 rt_match(fffffd803ea225f8,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803ea225f8,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff80001592eaa0,fffffd80342f7220,fffffd803ea22578) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803ea22578,fffffd80342f7200) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803e621018,4,0,fffffd80342f7200,0,ffff8000ffff2018) at udp_usrreq+0x560 sys_connect(ffff8000ffff2018,ffff80001592ec28,ffff80001592ec70) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff80001592ecf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,8f98856e010) at Xsyscall+0x128 end of kernel end trace frame: 0x8fc3959e150, count: -13 ddb> show registers rdi 0xffffffff81b07ef7 db_enter+0x17 rsi 0x21d7 __ALIGN_SIZE+0x11d7 rbp 0xffff80001592e5d0 rbx 0xffff80001592e680 rdx 0x21d8 __ALIGN_SIZE+0x11d8 rcx 0xffff800017b72000 rax 0xffff800017b72000 r8 0xffff80001592e590 r9 0x1 r10 0xffff800000a84180 r11 0x9526d5cb95a57f2b r12 0x3000000008 r13 0xffff80001592e5e0 r14 0x100 r15 0x1 rip 0xffffffff81b07ef8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001592e5c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=308098 stat=onproc flags process=0 proc=4000000 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff38c8,0xffffffff8255bd20 process=0xffff8000ffff7450 user=0xffff800015929000, vmspace=0xfffffd803f013110 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 37473 492735 55749 0 2 0 syz-executor.1 *37473 308098 55749 0 7 0x4000000 syz-executor.1 55749 258132 21808 0 3 0x82 nanosleep syz-executor.1 71278 386560 21808 0 2 0x2 syz-executor.0 28641 132222 1 0 3 0x100083 ttyin getty 65024 225190 0 0 3 0x14200 bored sosplice 21808 482698 45393 0 3 0x82 thrsleep syz-fuzzer 21808 318294 45393 0 3 0x4000082 nanosleep syz-fuzzer 21808 46082 45393 0 3 0x4000082 thrsleep syz-fuzzer 21808 151383 45393 0 3 0x4000082 thrsleep syz-fuzzer 21808 52135 45393 0 3 0x4000082 kqread syz-fuzzer 21808 18933 45393 0 3 0x4000082 thrsleep syz-fuzzer 21808 362106 45393 0 3 0x4000082 thrsleep syz-fuzzer 21808 60543 45393 0 3 0x4000082 thrsleep syz-fuzzer 21808 288847 45393 0 3 0x4000082 thrsleep syz-fuzzer 45393 432116 33565 0 3 0x10008a pause ksh 33565 77811 61846 0 3 0x92 select sshd 61846 333031 1 0 3 0x80 select sshd 392 392520 58430 73 3 0x100090 kqread syslogd 58430 198848 1 0 3 0x100082 netio syslogd 96550 489059 1 77 3 0x100090 poll dhclient 36201 416291 1 0 3 0x80 poll dhclient 6196 105616 0 0 2 0x14200 zerothread 97645 395307 0 0 3 0x14200 aiodoned aiodoned 74632 371917 0 0 3 0x14200 syncer update 59509 351950 0 0 3 0x14200 cleaner cleaner 80781 136840 0 0 3 0x14200 reaper reaper 89954 227714 0 0 3 0x14200 pgdaemon pagedaemon 33819 244095 0 0 3 0x14200 bored crynlk 22542 426961 0 0 3 0x14200 bored crypto 48159 41184 0 0 3 0x40014200 acpi0 acpi0 75688 24419 0 0 3 0x14200 bored softnet 73793 510009 0 0 3 0x14200 bored systqmp 74264 244045 0 0 3 0x14200 bored systq 95943 279347 0 0 3 0x40014200 bored softclock 22782 45000 0 0 3 0x40014200 idle0 67839 35446 0 0 3 0x14200 bored smr 1 523043 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 9540 6998K 7489K 78643K 12845 0 0 pcb 13 8K 9K 78643K 604 0 0 rtable 105 12K 12K 78643K 1361 0 0 ifaddr 70 15K 17K 78643K 409 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 107 0 0 iov 0 0K 32K 78643K 481 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1216 76K 77K 78643K 2481 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 30 0 0 VM map 2 0K 0K 78643K 18 0 0 sem 12 1K 1K 78643K 77 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 2331 0 0 sigio 1 0K 0K 78643K 163 0 0 proc 50 38K 63K 78643K 1018 0 0 subproc 32 2K 2K 78643K 221 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 96 0 0 in_multi 23 1K 2K 78643K 271 0 0 ether_multi 1 0K 0K 78643K 25 0 0 mrt 0 0K 0K 78643K 21 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 78 344K 344K 78643K 78 0 0 exec 0 0K 1K 78643K 600 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 115 22K 32K 78643K 6523 0 0 UVM aobj 83 3K 3K 78643K 106 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 427 0 0 NDP 16 0K 0K 78643K 128 0 0 temp 198 3536K 4170K 78643K 62044 0 0 kqueue 0 0K 0K 78643K 21 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 43 0 37 1 0 1 1 0 8 0 rtpcb 80 185 0 183 1 0 1 1 0 8 0 rtentry 112 246 0 208 2 0 2 2 0 8 0 unpcb 120 1468 0 1459 3 2 1 2 0 8 0 syncache 264 15 0 15 6 6 0 1 0 8 0 tcpqe 32 7210 0 7210 4 4 0 1 0 8 0 tcpcb 544 2788 0 2781 9 7 2 3 0 8 1 ipq 40 17 0 17 6 6 0 1 0 8 0 ipqe 40 36 0 36 6 6 0 1 0 8 0 inpcb 280 4326 0 4314 13 11 2 5 0 8 1 rttmr 72 6 0 6 5 5 0 1 0 8 0 nd6 48 33 0 31 2 1 1 1 0 8 0 pkpcb 40 10 0 10 5 5 0 1 0 8 0 swfcl 56 6 0 0 1 0 1 1 0 8 0 ppxss 1128 42 0 42 8 8 0 1 0 8 0 art_heap8 4096 3 0 2 3 2 1 3 0 8 0 art_heap4 256 1050 0 865 21 9 12 16 0 8 0 art_table 32 1053 0 867 2 0 2 2 0 8 0 art_node 16 237 0 202 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 75 0 65 1 0 1 1 0 8 0 shmpl 112 104 0 23 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 5079 0 3689 46 0 46 46 0 8 0 ffsino 240 5079 0 3689 83 0 83 83 0 8 0 nchpl 144 9125 0 7521 60 0 60 60 0 8 0 uvmvnodes 72 5774 0 0 105 0 105 105 0 8 0 vnodes 208 5774 0 0 304 0 304 304 0 8 0 namei 1024 29294 0 29294 4 3 1 1 0 8 1 vmpool 520 16 0 16 8 7 1 1 0 8 1 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 32507 0 32507 23 22 1 7 0 8 1 plimitpl 152 165 0 158 1 0 1 1 0 8 0 sigapl 432 2471 0 2458 2 0 2 2 0 8 0 futexpl 56 57968 0 57968 3 2 1 1 0 8 1 knotepl 112 681 0 662 4 3 1 2 0 8 0 kqueuepl 104 543 0 541 1 0 1 1 0 8 0 pipepl 112 1328 0 1309 3 1 2 2 0 8 1 fdescpl 424 2472 0 2458 2 0 2 2 0 8 0 filepl 120 20185 0 20086 14 9 5 6 0 8 2 lockfpl 104 796 0 795 1 0 1 1 0 8 0 lockfspl 48 266 0 265 1 0 1 1 0 8 0 sessionpl 112 30 0 20 1 0 1 1 0 8 0 pgrppl 48 48 0 38 1 0 1 1 0 8 0 ucredpl 96 2224 0 2215 1 0 1 1 0 8 0 zombiepl 144 2461 0 2461 2 1 1 1 0 8 1 processpl 864 2490 0 2461 4 0 4 4 0 8 0 procpl 632 5239 0 5201 5 1 4 5 0 8 0 sosppl 128 48 0 48 9 9 0 1 0 8 0 sockpl 384 6010 0 5986 22 18 4 9 0 8 1 mcl64k 65536 1182 0 1182 61 60 1 33 0 8 1 mcl16k 16384 68 0 68 7 6 1 1 0 8 1 mcl12k 12288 73 0 73 9 8 1 1 0 8 1 mcl9k 9216 38 0 38 9 8 1 1 0 8 1 mcl8k 8192 173 0 173 4 3 1 1 0 8 1 mcl4k 4096 200 0 200 5 4 1 1 0 8 1 mcl2k2 2112 9 0 9 7 7 0 1 0 8 0 mcl2k 2048 56064 0 56022 26 20 6 14 0 8 0 mtagpl 80 54 0 54 2 2 0 1 0 8 0 mbufpl 256 124157 0 124059 56 48 8 31 0 8 0 bufpl 256 14818 0 8748 381 1 380 380 0 8 0 anonpl 16 299582 0 285673 141 61 80 80 0 62 14 amapchunkpl 152 12160 0 12056 41 35 6 14 0 158 1 amappl16 192 15764 0 14891 156 104 52 57 0 8 8 amappl15 184 140 0 136 2 1 1 1 0 8 0 amappl14 176 104 0 100 1 0 1 1 0 8 0 amappl13 168 218 0 216 1 0 1 1 0 8 0 amappl12 160 8 0 6 1 0 1 1 0 8 0 amappl11 152 880 0 869 1 0 1 1 0 8 0 amappl10 144 8 0 7 2 1 1 1 0 8 0 amappl9 136 1362 0 1355 1 0 1 1 0 8 0 amappl8 128 916 0 879 3 1 2 2 0 8 0 amappl7 120 85 0 77 1 0 1 1 0 8 0 amappl6 112 857 0 845 1 0 1 1 0 8 0 amappl5 104 522 0 513 1 0 1 1 0 8 0 amappl4 96 2759 0 2730 1 0 1 1 0 8 0 amappl3 88 203 0 198 1 0 1 1 0 8 0 amappl2 80 18033 0 17962 3 1 2 3 0 8 0 amappl1 72 53101 0 52691 32 23 9 20 0 8 0 amappl 80 5652 0 5617 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 105 0 23 2 0 2 2 0 8 0 uaddrrnd 24 2488 0 2458 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2488 0 2458 1 0 1 1 0 8 0 vmmpekpl 168 18791 0 18768 2 0 2 2 0 8 0 vmmpepl 168 306969 0 305033 239 121 118 118 0 357 27 vmsppl 272 2471 0 2458 3 2 1 2 0 8 0 pdppl 4096 4982 0 4948 6 1 5 6 0 8 0 pvpl 32 798677 0 781638 301 112 189 190 0 265 36 pmappl 200 2487 0 2474 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 674 0 168 16 1 15 15 0 8 0