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 *245388 94780 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(ffff80001591f820) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001595b000,fffffd802ee55858,10,ffff80000005b2d0,ffff80001591fa88) at alltraps_kern_meltdown+0x7b 0(b,ffff80001591f9e8,83,ffff80001591fa88,0,b) at 0 rt_match(fffffd803bc145f8,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803bc145f8,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff80001591fb60,fffffd80388cb020,fffffd803bc14578) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803bc14578,fffffd80388cb000) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd802ac15af0,4,0,fffffd80388cb000,0,ffff8000ffff2c70) at udp_usrreq+0x560 sys_connect(ffff8000ffff2c70,ffff80001591fce8,ffff80001591fd30) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff80001591fdb0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,407278a8010) at Xsyscall+0x128 end of kernel end trace frame: 0x409962b69c0, 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(ffff80001591f820) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001595b000,fffffd802ee55858,10,ffff80000005b2d0,ffff80001591fa88) at alltraps_kern_meltdown+0x7b 0(b,ffff80001591f9e8,83,ffff80001591fa88,0,b) at 0 rt_match(fffffd803bc145f8,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803bc145f8,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff80001591fb60,fffffd80388cb020,fffffd803bc14578) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803bc14578,fffffd80388cb000) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd802ac15af0,4,0,fffffd80388cb000,0,ffff8000ffff2c70) at udp_usrreq+0x560 sys_connect(ffff8000ffff2c70,ffff80001591fce8,ffff80001591fd30) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff80001591fdb0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,407278a8010) at Xsyscall+0x128 end of kernel end trace frame: 0x409962b69c0, count: -13 ddb> show registers rdi 0xffffffff812241d7 db_enter+0x17 rsi 0x2443 __ALIGN_SIZE+0x1443 rbp 0xffff80001591f690 rbx 0xffff80001591f740 rdx 0x2444 __ALIGN_SIZE+0x1444 rcx 0xffff80001595b000 rax 0xffff80001595b000 r8 0xffff80001591f650 r9 0x1 r10 0xffff800000adb740 r11 0x3c6a88745b3c77ed r12 0x3000000008 r13 0xffff80001591f6a0 r14 0x100 r15 0x1 rip 0xffffffff812241d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001591f680 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=245388 stat=onproc flags process=0 proc=4000000 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff3b40,0xffff8000ffff2a08 process=0xffff8000ffff6370 user=0xffff80001591a000, vmspace=0xfffffd803f013dd0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 89355 217991 7035 0 2 0 syz-executor.1 89355 507580 7035 0 2 0x4000000 syz-executor.1 89355 398100 7035 0 3 0x4000080 lockf syz-executor.1 89355 140841 7035 0 3 0x4000080 fsleep syz-executor.1 94780 488627 24649 0 2 0 syz-executor.0 *94780 245388 24649 0 7 0x4000000 syz-executor.0 24649 357213 73073 0 3 0x82 nanosleep syz-executor.0 7035 187570 73073 0 3 0x82 nanosleep syz-executor.1 3530 204115 1 0 3 0x100083 ttyopn getty 55038 496562 0 0 3 0x14200 bored sosplice 73073 156419 5666 0 3 0x82 thrsleep syz-fuzzer 73073 367296 5666 0 3 0x4000082 thrsleep syz-fuzzer 73073 437068 5666 0 3 0x4000082 kqread syz-fuzzer 73073 305555 5666 0 3 0x4000082 thrsleep syz-fuzzer 73073 210635 5666 0 3 0x4000082 thrsleep syz-fuzzer 73073 414736 5666 0 3 0x4000082 thrsleep syz-fuzzer 73073 402061 5666 0 3 0x4000082 thrsleep syz-fuzzer 5666 441365 85002 0 3 0x10008a pause ksh 85002 290262 7559 0 3 0x92 select sshd 7559 308650 1 0 3 0x80 select sshd 29010 279059 34182 73 3 0x100090 kqread syslogd 34182 148335 1 0 3 0x100082 netio syslogd 97350 93549 1 77 3 0x100090 poll dhclient 35529 305038 1 0 3 0x80 poll dhclient 98235 161759 0 0 2 0x14200 zerothread 27509 217711 0 0 3 0x14200 aiodoned aiodoned 75676 479184 0 0 3 0x14200 syncer update 29562 302365 0 0 3 0x14200 cleaner cleaner 71655 22849 0 0 3 0x14200 reaper reaper 85868 111762 0 0 3 0x14200 pgdaemon pagedaemon 12636 18707 0 0 3 0x14200 bored crynlk 90896 237370 0 0 3 0x14200 bored crypto 60485 249465 0 0 3 0x40014200 acpi0 acpi0 83647 331119 0 0 3 0x14200 bored softnet 93759 294147 0 0 3 0x14200 bored systqmp 13638 245797 0 0 3 0x14200 bored systq 32504 66490 0 0 3 0x40014200 bored softclock 96111 171796 0 0 3 0x40014200 idle0 46762 400352 0 0 3 0x14200 bored smr 1 423194 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 9594 6403K 7225K 78643K 19347 0 0 pcb 13 8K 9K 78643K 678 0 0 rtable 112 8K 9K 78643K 2166 0 0 ifaddr 89 19K 23K 78643K 614 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 168 0 0 iov 0 0K 32K 78643K 666 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1208 76K 77K 78643K 4469 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 45 0 0 VM map 2 0K 0K 78643K 16 0 0 sem 12 0K 0K 78643K 396 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 3787 0 0 sigio 0 0K 0K 78643K 317 0 0 proc 49 38K 63K 78643K 1509 0 0 subproc 32 2K 2K 78643K 357 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 1627 0 0 in_multi 20 1K 2K 78643K 471 0 0 ether_multi 1 0K 0K 78643K 7 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 114 503K 503K 78643K 114 0 0 exec 0 0K 1K 78643K 842 0 0 pfkey data 0 0K 4K 78643K 2 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 132 23K 32K 78643K 10079 0 0 UVM aobj 130 4K 4K 78643K 148 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 1514 0 0 NDP 22 0K 1K 78643K 208 0 0 temp 240 3537K 3643K 78643K 73447 0 0 kqueue 0 0K 0K 78643K 28 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 72 0 66 1 0 1 1 0 8 0 rtpcb 80 211 0 209 1 0 1 1 0 8 0 rtentry 112 450 0 410 2 0 2 2 0 8 0 unpcb 120 1333 0 1323 2 1 1 2 0 8 0 syncache 264 16 0 16 6 5 1 1 0 8 1 sackhl 24 6 0 6 2 2 0 1 0 8 0 tcpqe 32 7619 0 7619 5 4 1 1 0 8 1 tcpcb 544 3098 0 3093 19 17 2 3 0 8 1 ipq 40 38 0 37 13 12 1 1 0 8 0 ipqe 40 90 0 89 13 12 1 1 0 8 0 inpcb 280 6055 0 6045 21 19 2 4 0 8 1 rttmr 72 7 0 5 1 0 1 1 0 8 0 nd6 48 70 0 69 3 2 1 1 0 8 0 pkpcb 40 10 0 10 5 5 0 1 0 8 0 ppxss 1128 54 0 54 18 17 1 1 0 8 1 art_heap8 4096 3 0 2 3 2 1 3 0 8 0 art_heap4 256 2049 0 1849 25 9 16 17 0 8 0 art_table 32 2052 0 1851 5 2 3 3 0 8 0 art_node 16 436 0 399 1 0 1 1 0 8 0 sysvmsgpl 40 42 0 32 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 394 0 384 1 0 1 1 0 8 0 shmpl 112 146 0 18 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 7475 0 6079 46 0 46 46 0 8 0 ffsino 240 7475 0 6079 83 0 83 83 0 8 0 nchpl 144 13412 0 11786 61 0 61 61 0 8 0 uvmvnodes 72 7453 0 0 136 0 136 136 0 8 0 vnodes 208 7453 0 0 393 0 393 393 0 8 0 namei 1024 49514 0 49513 5 4 1 1 0 8 0 vmpool 520 14 0 14 7 7 0 1 0 8 0 scxspl 192 51343 0 51343 26 24 2 7 0 8 2 plimitpl 152 340 0 333 1 0 1 1 0 8 0 sigapl 432 3904 0 3890 2 0 2 2 0 8 0 futexpl 56 99597 0 99596 6 5 1 1 0 8 0 knotepl 112 752 0 733 1 0 1 1 0 8 0 kqueuepl 104 3455 0 3453 1 0 1 1 0 8 0 pipepl 112 5010 0 4985 13 12 1 2 0 8 0 fdescpl 424 3905 0 3890 2 0 2 2 0 8 0 filepl 120 38564 0 38453 20 16 4 6 0 8 0 lockfpl 104 1233 0 1230 1 0 1 1 0 8 0 lockfspl 48 418 0 416 1 0 1 1 0 8 0 sessionpl 112 39 0 29 1 0 1 1 0 8 0 pgrppl 48 69 0 59 1 0 1 1 0 8 0 ucredpl 96 4872 0 4865 1 0 1 1 0 8 0 zombiepl 144 3892 0 3892 3 2 1 1 0 8 1 processpl 864 3922 0 3892 4 0 4 4 0 8 0 procpl 632 8377 0 8337 5 1 4 5 0 8 0 sosppl 128 33 0 33 12 12 0 1 0 8 0 sockpl 384 7636 0 7614 34 31 3 7 0 8 0 mcl64k 65536 723 0 723 67 42 25 33 0 8 25 mcl16k 16384 79 0 79 13 12 1 1 0 8 1 mcl12k 12288 98 0 98 13 12 1 1 0 8 1 mcl9k 9216 46 0 46 11 10 1 1 0 8 1 mcl8k 8192 158 0 158 5 4 1 1 0 8 1 mcl4k 4096 373 0 373 5 4 1 1 0 8 1 mcl2k2 2112 32 0 32 13 12 1 1 0 8 1 mcl2k 2048 58361 0 58318 31 24 7 21 0 8 0 mtagpl 80 601 0 585 8 7 1 3 0 8 0 mbufpl 256 127013 0 126894 75 54 21 27 0 8 8 bufpl 256 21067 0 12786 519 0 519 519 0 8 0 anonpl 16 485941 0 470009 160 88 72 82 0 62 3 amapchunkpl 152 21786 0 21673 92 84 8 19 0 158 3 amappl16 192 23299 0 22408 186 134 52 57 0 8 7 amappl15 184 439 0 439 2 2 0 1 0 8 0 amappl14 176 1081 0 1077 2 1 1 1 0 8 0 amappl13 168 748 0 746 3 2 1 1 0 8 0 amappl12 160 462 0 458 1 0 1 1 0 8 0 amappl11 152 539 0 528 1 0 1 1 0 8 0 amappl10 144 253 0 252 1 0 1 1 0 8 0 amappl9 136 1084 0 1075 1 0 1 1 0 8 0 amappl8 128 661 0 611 2 0 2 2 0 8 0 amappl7 120 356 0 348 1 0 1 1 0 8 0 amappl6 112 511 0 501 1 0 1 1 0 8 0 amappl5 104 757 0 747 1 0 1 1 0 8 0 amappl4 96 4590 0 4556 1 0 1 1 0 8 0 amappl3 88 1181 0 1175 1 0 1 1 0 8 0 amappl2 80 29585 0 29510 4 2 2 3 0 8 0 amappl1 72 82660 0 82231 29 20 9 20 0 8 0 amappl 80 8940 0 8900 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 147 0 18 3 0 3 3 0 8 0 uaddrrnd 24 3919 0 3890 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3919 0 3890 1 0 1 1 0 8 0 vmmpekpl 168 33498 0 33473 2 0 2 2 0 8 0 vmmpepl 168 475705 0 473621 320 203 117 120 0 357 25 vmsppl 272 3904 0 3890 4 3 1 2 0 8 0 pdppl 4096 7844 0 7808 7 2 5 6 0 8 0 pvpl 32 1365375 0 1346215 480 285 195 296 0 265 36 pmappl 200 3918 0 3904 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 866 0 179 21 1 20 20 0 8 0