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 *286199 60206 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(ffff800015977470) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800017b55000,fffffd8037ce8938,10,ffff8000000253c0,ffff8000159776d8) at alltraps_kern_meltdown+0x7b 0(b,ffff800015977638,83,ffff8000159776d8,0,b) at 0 rt_match(fffffd8038429eb8,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8038429eb8,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff8000159777b0,fffffd8028916c20,fffffd8038429e38) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd8038429e38,fffffd8028916c00) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803842ad80,4,0,fffffd8028916c00,0,ffff8000ffff84f8) at udp_usrreq+0x560 sys_connect(ffff8000ffff84f8,ffff800015977938,ffff800015977980) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800015977a00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,9a61c864010) at Xsyscall+0x128 end of kernel end trace frame: 0x9a89aa253f0, 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(ffff800015977470) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff800017b55000,fffffd8037ce8938,10,ffff8000000253c0,ffff8000159776d8) at alltraps_kern_meltdown+0x7b 0(b,ffff800015977638,83,ffff8000159776d8,0,b) at 0 rt_match(fffffd8038429eb8,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8038429eb8,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff8000159777b0,fffffd8028916c20,fffffd8038429e38) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd8038429e38,fffffd8028916c00) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803842ad80,4,0,fffffd8028916c00,0,ffff8000ffff84f8) at udp_usrreq+0x560 sys_connect(ffff8000ffff84f8,ffff800015977938,ffff800015977980) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800015977a00) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,9a61c864010) at Xsyscall+0x128 end of kernel end trace frame: 0x9a89aa253f0, count: -13 ddb> show registers rdi 0xffffffff812241d7 db_enter+0x17 rsi 0x2437 __ALIGN_SIZE+0x1437 rbp 0xffff8000159772e0 rbx 0xffff800015977390 rdx 0x2438 __ALIGN_SIZE+0x1438 rcx 0xffff800017b55000 rax 0xffff800017b55000 r8 0xffff8000159772a0 r9 0x1 r10 0xffff800000ad8f80 r11 0xe68a3f5bdb10cffc r12 0x3000000008 r13 0xffff8000159772f0 r14 0x100 r15 0x1 rip 0xffffffff812241d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000159772d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=286199 stat=onproc flags process=0 proc=4000000 pri=77, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8280,0xffffffff825686e0 process=0xffff8000ffff77b0 user=0xffff800015972000, vmspace=0xfffffd803f013aa0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 60206 96691 86424 0 2 0 syz-executor.0 *60206 286199 86424 0 7 0x4000000 syz-executor.0 62238 408511 96913 0 2 0x2 syz-executor.1 86424 473332 96913 0 3 0x82 nanosleep syz-executor.0 60941 223408 0 0 3 0x14200 acct acct 95157 36982 0 0 3 0x14200 bored sosplice 96913 138638 23158 0 3 0x82 thrsleep syz-fuzzer 96913 121483 23158 0 3 0x4000082 nanosleep syz-fuzzer 96913 54426 23158 0 3 0x4000082 thrsleep syz-fuzzer 96913 373358 23158 0 3 0x4000082 thrsleep syz-fuzzer 96913 86778 23158 0 3 0x4000082 kqread syz-fuzzer 96913 511047 23158 0 3 0x4000082 thrsleep syz-fuzzer 96913 242047 23158 0 3 0x4000082 thrsleep syz-fuzzer 96913 204195 23158 0 3 0x4000082 thrsleep syz-fuzzer 23158 478088 11490 0 3 0x10008a pause ksh 11490 29386 97565 0 3 0x92 select sshd 33152 401968 1 0 3 0x100083 ttyin getty 97565 91499 1 0 3 0x80 select sshd 14999 330452 1829 73 3 0x100090 kqread syslogd 1829 258134 1 0 3 0x100082 netio syslogd 29482 497443 0 0 2 0x14200 zerothread 44237 518678 0 0 3 0x14200 aiodoned aiodoned 48866 429439 0 0 3 0x14200 syncer update 89935 198708 0 0 3 0x14200 cleaner cleaner 57370 72562 0 0 3 0x14200 reaper reaper 10133 429879 0 0 3 0x14200 pgdaemon pagedaemon 2440 308838 0 0 3 0x14200 bored crynlk 63717 411703 0 0 3 0x14200 bored crypto 45240 199342 0 0 3 0x40014200 acpi0 acpi0 54445 270279 0 0 3 0x14200 bored softnet 8193 48002 0 0 3 0x14200 bored systqmp 42209 477166 0 0 3 0x14200 bored systq 43876 329499 0 0 3 0x40014200 bored softclock 75569 3824 0 0 3 0x40014200 idle0 60167 468300 0 0 3 0x14200 bored smr 1 69486 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 9586 6315K 14579K 78643K 18422 0 0 pcb 13 12K 14K 78643K 2624 0 0 rtable 120 12K 14K 78643K 4815 0 0 ifaddr 97 29K 37K 78643K 2248 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 553 0 0 iov 0 0K 32K 78643K 2779 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1198 75K 77K 78643K 7190 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 210 0 0 VM map 2 0K 0K 78643K 68 0 0 sem 12 0K 1K 78643K 1770 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 13097 0 0 sigio 0 0K 0K 78643K 161 0 0 proc 45 30K 63K 78643K 4764 0 0 subproc 32 2K 2K 78643K 1310 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 721 0 0 in_multi 26 1K 3K 78643K 1421 0 0 ether_multi 1 0K 0K 78643K 68 0 0 mrt 0 0K 0K 78643K 88 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 108 477K 477K 78643K 108 0 0 exec 0 0K 1K 78643K 2696 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 133 23K 33K 78643K 45895 0 0 UVM aobj 130 4K 4K 78643K 146 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 2711 0 0 NDP 22 0K 1K 78643K 742 0 0 temp 240 3537K 4183K 78643K 330291 0 0 kqueue 0 0K 0K 78643K 163 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 249 0 242 1 0 1 1 0 8 0 rtpcb 80 1686 0 1686 61 61 0 1 0 8 0 rtentry 112 1386 0 1344 2 0 2 2 0 8 0 unpcb 120 4619 0 4606 2 1 1 2 0 8 0 syncache 264 52 0 52 30 30 0 1 0 8 0 tcpqe 32 6270 0 6270 13 13 0 1 0 8 0 tcpcb 544 4212 0 4208 25 24 1 15 0 8 0 ipq 40 120 0 120 58 58 0 1 0 8 0 ipqe 40 289 0 289 58 58 0 1 0 8 0 inpcb 280 13166 0 13159 92 91 1 13 0 8 0 rttmr 72 25 0 25 22 22 0 1 0 8 0 nd6 48 204 0 203 16 15 1 1 0 8 0 pkpcb 40 39 0 39 17 17 0 1 0 8 0 swfcl 56 11 0 0 1 0 1 1 0 8 0 ppxss 1128 272 0 272 105 105 0 1 0 8 0 art_heap8 4096 19 0 17 15 13 2 4 0 8 0 art_heap4 256 6021 0 5779 85 68 17 20 0 8 0 art_table 32 6040 0 5796 5 2 3 3 0 8 0 art_node 16 1366 0 1328 1 0 1 1 0 8 0 sysvmsgpl 40 77 0 54 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 1768 0 1758 1 0 1 1 0 8 0 shmpl 112 144 0 16 5 1 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 22221 0 20821 46 0 46 46 0 8 0 ffsino 240 22221 0 20821 83 0 83 83 0 8 0 nchpl 144 40774 0 39140 62 1 61 61 0 8 0 uvmvnodes 72 8327 0 0 152 0 152 152 0 8 0 vnodes 208 8327 0 0 439 0 439 439 0 8 0 namei 1024 138278 0 138277 13 12 1 1 0 8 0 vmpool 520 66 0 66 29 29 0 1 0 8 0 scsiplug 64 13 0 13 9 9 0 1 0 8 0 scxspl 192 179926 0 179926 98 97 1 7 0 8 1 plimitpl 152 1087 0 1081 1 0 1 1 0 8 0 sigapl 432 13046 0 13035 2 0 2 2 0 8 0 futexpl 56 348765 0 348765 14 13 1 1 0 8 1 knotepl 112 11408 0 11389 13 12 1 3 0 8 0 kqueuepl 104 16785 0 16783 4 3 1 4 0 8 0 pipepl 112 54270 0 54251 77 76 1 3 0 8 0 fdescpl 424 13047 0 13035 2 0 2 2 0 8 0 filepl 120 147927 0 147841 122 118 4 11 0 8 0 lockfpl 104 5030 0 5030 23 22 1 1 0 8 1 lockfspl 48 1656 0 1656 23 22 1 1 0 8 1 sessionpl 112 91 0 83 1 0 1 1 0 8 0 pgrppl 48 189 0 181 1 0 1 1 0 8 0 ucredpl 96 13242 0 13235 1 0 1 1 0 8 0 zombiepl 144 13039 0 13039 3 2 1 1 0 8 1 processpl 864 13067 0 13039 4 0 4 4 0 8 0 procpl 632 41396 0 41360 106 102 4 5 0 8 0 sosppl 128 160 0 160 57 57 0 1 0 8 0 sockpl 384 19594 0 19576 90 87 3 22 0 8 0 mcl64k 65536 3701 0 3701 413 412 1 64 0 8 1 mcl16k 16384 120 0 120 79 79 0 1 0 8 0 mcl12k 12288 299 0 299 116 115 1 1 0 8 1 mcl9k 9216 231 0 231 112 112 0 1 0 8 0 mcl8k 8192 569 0 569 108 107 1 1 0 8 1 mcl4k 4096 1369 0 1369 38 37 1 1 0 8 1 mcl2k2 2112 172 0 172 96 95 1 1 0 8 1 mcl2k 2048 72753 0 72709 31 25 6 17 0 8 0 mtagpl 80 48 0 48 4 4 0 1 0 8 0 mbufpl 256 204372 0 204249 217 208 9 40 0 8 0 bufpl 256 58352 0 49115 578 0 578 578 0 8 0 anonpl 16 1597376 0 1582265 453 375 78 94 0 62 1 amapchunkpl 152 97773 0 97672 332 326 6 19 0 158 0 amappl16 192 80862 0 79958 840 782 58 69 0 8 12 amappl15 184 3007 0 3007 9 9 0 1 0 8 0 amappl14 176 1390 0 1387 2 1 1 1 0 8 0 amappl13 168 653 0 652 7 6 1 1 0 8 0 amappl12 160 1717 0 1711 1 0 1 1 0 8 0 amappl11 152 1282 0 1278 1 0 1 1 0 8 0 amappl10 144 2258 0 2257 18 17 1 1 0 8 0 amappl9 136 4203 0 4196 1 0 1 1 0 8 0 amappl8 128 3652 0 3591 4 1 3 3 0 8 0 amappl7 120 2540 0 2533 1 0 1 1 0 8 0 amappl6 112 1125 0 1106 1 0 1 1 0 8 0 amappl5 104 2455 0 2446 1 0 1 1 0 8 0 amappl4 96 12772 0 12749 1 0 1 1 0 8 0 amappl3 88 2004 0 1999 1 0 1 1 0 8 0 amappl2 80 101121 0 101059 4 2 2 3 0 8 0 amappl1 72 279896 0 279515 28 19 9 20 0 8 0 amappl 80 42868 0 42835 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 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 145 0 16 3 0 3 3 0 8 0 uaddrrnd 24 13113 0 13035 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 13113 0 13035 1 0 1 1 0 8 0 vmmpekpl 168 217130 0 217105 2 0 2 2 0 8 0 vmmpepl 168 1632592 0 1630665 1358 1257 101 132 0 357 2 vmsppl 272 13046 0 13035 12 11 1 2 0 8 0 pdppl 4096 26232 0 26202 7 2 5 6 0 8 1 pvpl 32 4736024 0 4717861 2071 1885 186 298 0 265 21 pmappl 200 13112 0 13101 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1709 0 1000 22 1 21 21 0 8 0