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 *518487 56779 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(ffff8000159277c0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001596a000,fffffd803eba52a8,10,ffff80000005b5c0,ffff800015927a28) at alltraps_kern_meltdown+0x7b 0(b,ffff800015927988,83,ffff800015927a28,0,b) at 0 rt_match(fffffd803700eda0,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803700eda0,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff800015927b00,fffffd802a9de720,fffffd803700ed20) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803700ed20,fffffd802a9de700) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803700fc00,4,0,fffffd802a9de700,0,ffff8000ffff2c70) at udp_usrreq+0x560 sys_connect(ffff8000ffff2c70,ffff800015927c88,ffff800015927cd0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800015927d50) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,81f86916010) at Xsyscall+0x128 end of kernel end trace frame: 0x82204e7d5d0, 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(ffff8000159277c0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001596a000,fffffd803eba52a8,10,ffff80000005b5c0,ffff800015927a28) at alltraps_kern_meltdown+0x7b 0(b,ffff800015927988,83,ffff800015927a28,0,b) at 0 rt_match(fffffd803700eda0,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803700eda0,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff800015927b00,fffffd802a9de720,fffffd803700ed20) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803700ed20,fffffd802a9de700) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd803700fc00,4,0,fffffd802a9de700,0,ffff8000ffff2c70) at udp_usrreq+0x560 sys_connect(ffff8000ffff2c70,ffff800015927c88,ffff800015927cd0) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800015927d50) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,81f86916010) at Xsyscall+0x128 end of kernel end trace frame: 0x82204e7d5d0, count: -13 ddb> show registers rdi 0xffffffff81b07ef7 db_enter+0x17 rsi 0x2227 __ALIGN_SIZE+0x1227 rbp 0xffff800015927630 rbx 0xffff8000159276e0 rdx 0x2228 __ALIGN_SIZE+0x1228 rcx 0xffff80001596a000 rax 0xffff80001596a000 r8 0xffff8000159275f0 r9 0x1 r10 0xffff800000b23500 r11 0x4174ba26c35c69de r12 0x3000000008 r13 0xffff800015927640 r14 0x100 r15 0x1 rip 0xffffffff81b07ef8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800015927620 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=518487 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff38c8,0xffffffff8255bd20 process=0xffff8000148a3458 user=0xffff800015922000, vmspace=0xfffffd803f013440 estcpu=31, cpticks=0, pctcpu=0.1 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 56779 269072 76960 0 2 0 syz-executor.1 *56779 518487 76960 0 7 0x4000000 syz-executor.1 76960 105309 840 0 3 0x82 nanosleep syz-executor.1 87883 439385 840 0 2 0x2 syz-executor.0 61382 53221 0 0 3 0x14200 acct acct 23909 303380 1 0 3 0x100083 ttyin getty 83599 1755 0 0 3 0x14200 bored sosplice 840 102198 10177 0 3 0x82 thrsleep syz-fuzzer 840 455298 10177 0 3 0x4000082 nanosleep syz-fuzzer 840 246772 10177 0 3 0x4000082 thrsleep syz-fuzzer 840 159127 10177 0 3 0x4000082 thrsleep syz-fuzzer 840 153043 10177 0 3 0x4000082 thrsleep syz-fuzzer 840 508862 10177 0 3 0x4000082 kqread syz-fuzzer 840 110025 10177 0 3 0x4000082 thrsleep syz-fuzzer 840 357796 10177 0 3 0x4000082 thrsleep syz-fuzzer 10177 182010 63430 0 3 0x10008a pause ksh 63430 240956 38194 0 3 0x92 select sshd 38194 23912 1 0 3 0x80 select sshd 56705 192269 13129 73 3 0x100090 kqread syslogd 13129 180416 1 0 3 0x100082 netio syslogd 49087 145641 0 0 2 0x14200 zerothread 51955 504213 0 0 3 0x14200 aiodoned aiodoned 12666 161373 0 0 2 0x14200 update 55232 393923 0 0 3 0x14200 cleaner cleaner 89831 229616 0 0 3 0x14200 reaper reaper 43207 410493 0 0 3 0x14200 pgdaemon pagedaemon 75670 60271 0 0 3 0x14200 bored crynlk 73344 53807 0 0 3 0x14200 bored crypto 43823 33660 0 0 3 0x40014200 acpi0 acpi0 54516 37001 0 0 3 0x14200 bored softnet 34523 360946 0 0 3 0x14200 bored systqmp 73552 245501 0 0 3 0x14200 bored systq 49066 165418 0 0 3 0x40014200 bored softclock 78807 183210 0 0 3 0x40014200 idle0 26237 21887 0 0 3 0x14200 bored smr 1 125160 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 9571 6954K 7209K 78643K 16096 0 0 pcb 13 10K 12K 78643K 1048 0 0 rtable 133 8K 9K 78643K 1942 0 0 ifaddr 92 21K 22K 78643K 884 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 233 0 0 iov 0 0K 32K 78643K 1162 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1208 76K 77K 78643K 4479 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 74 0 0 VM map 2 0K 0K 78643K 30 0 0 sem 12 1K 1K 78643K 175 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 5016 0 0 sigio 0 0K 0K 78643K 56 0 0 proc 45 30K 63K 78643K 1898 0 0 subproc 32 2K 2K 78643K 493 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 1815 0 0 in_multi 36 2K 2K 78643K 539 0 0 ether_multi 1 0K 0K 78643K 24 0 0 mrt 0 0K 0K 78643K 43 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 132 583K 583K 78643K 132 0 0 exec 0 0K 1K 78643K 1123 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 120 22K 32K 78643K 14047 0 0 UVM aobj 130 4K 4K 78643K 152 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 1130 0 0 NDP 20 0K 1K 78643K 284 0 0 temp 226 3536K 4176K 78643K 195543 0 0 kqueue 0 0K 0K 78643K 30 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 135 0 127 1 0 1 1 0 8 0 rtpcb 80 372 0 372 10 9 1 1 0 8 1 rtentry 112 601 0 551 2 0 2 2 0 8 0 unpcb 120 1860 0 1850 1 0 1 1 0 8 0 syncache 264 30 0 30 12 11 1 1 0 8 1 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 7379 0 7379 6 5 1 1 0 8 1 tcpcb 544 3427 0 3423 17 16 1 15 0 8 0 ipq 40 35 0 35 13 13 0 1 0 8 0 ipqe 40 69 0 69 13 13 0 1 0 8 0 inpcb 280 6910 0 6903 30 28 2 9 0 8 1 rttmr 72 14 0 14 8 7 1 1 0 8 1 nd6 48 73 0 69 3 2 1 1 0 8 0 pkpcb 40 12 0 12 6 6 0 1 0 8 0 swfcl 56 7 0 0 1 0 1 1 0 8 0 ppxss 1128 113 0 113 20 20 0 1 0 8 0 art_heap8 4096 15 0 13 7 5 2 4 0 8 0 art_heap4 256 2492 0 2253 38 21 17 18 0 8 2 art_table 32 2507 0 2266 3 0 3 3 0 8 0 art_node 16 589 0 544 1 0 1 1 0 8 0 sysvmsgpl 40 34 0 24 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 171 0 161 1 0 1 1 0 8 0 shmpl 112 150 0 22 5 1 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 9552 0 8149 46 0 46 46 0 8 0 ffsino 240 9552 0 8149 83 0 83 83 0 8 0 nchpl 144 17310 0 15701 61 0 61 61 0 8 0 uvmvnodes 72 8723 0 0 159 0 159 159 0 8 0 vnodes 208 8723 0 0 460 0 460 460 0 8 0 namei 1024 73787 0 73786 6 5 1 1 0 8 0 vmpool 520 28 0 28 10 10 0 1 0 8 0 scsiplug 64 6 0 6 4 4 0 1 0 8 0 scxspl 192 66685 0 66685 28 24 4 7 0 8 4 plimitpl 152 465 0 459 1 0 1 1 0 8 0 sigapl 432 5107 0 5096 2 0 2 2 0 8 0 futexpl 56 133272 0 133272 4 3 1 1 0 8 1 knotepl 112 1410 0 1391 4 3 1 2 0 8 0 kqueuepl 104 1251 0 1249 4 3 1 4 0 8 0 pipepl 112 2686 0 2667 7 6 1 2 0 8 0 fdescpl 424 5108 0 5096 2 0 2 2 0 8 0 filepl 120 50505 0 50420 17 13 4 10 0 8 1 lockfpl 104 1737 0 1737 3 2 1 1 0 8 1 lockfspl 48 565 0 565 3 2 1 1 0 8 1 sessionpl 112 45 0 37 1 0 1 1 0 8 0 pgrppl 48 69 0 61 1 0 1 1 0 8 0 ucredpl 96 17165 0 17156 1 0 1 1 0 8 0 zombiepl 144 5104 0 5104 3 2 1 1 0 8 1 processpl 864 5132 0 5104 4 0 4 4 0 8 0 procpl 632 11946 0 11910 4 0 4 4 0 8 0 sosppl 128 72 0 72 17 16 1 1 0 8 1 sockpl 384 9187 0 9172 21 17 4 13 0 8 1 mcl64k 65536 1621 0 1365 137 104 33 64 0 8 1 mcl16k 16384 44 0 44 21 20 1 1 0 8 1 mcl12k 12288 125 0 125 12 11 1 1 0 8 1 mcl9k 9216 86 0 86 14 13 1 1 0 8 1 mcl8k 8192 165 0 165 12 11 1 1 0 8 1 mcl4k 4096 491 0 491 5 4 1 1 0 8 1 mcl2k2 2112 45 0 45 20 20 0 1 0 8 0 mcl2k 2048 60156 0 60113 29 22 7 13 0 8 1 mtagpl 80 79 0 79 3 3 0 1 0 8 0 mbufpl 256 131199 0 130847 84 57 27 38 0 8 1 bufpl 256 27976 0 19254 546 0 546 546 0 8 0 anonpl 16 647751 0 634736 213 143 70 81 0 62 2 amapchunkpl 152 30254 0 30130 101 95 6 16 0 158 0 amappl16 192 31930 0 31057 257 205 52 57 0 8 8 amappl15 184 1126 0 1126 4 3 1 1 0 8 1 amappl14 176 1532 0 1528 2 1 1 1 0 8 0 amappl13 168 230 0 230 5 5 0 1 0 8 0 amappl12 160 437 0 434 1 0 1 1 0 8 0 amappl11 152 380 0 376 1 0 1 1 0 8 0 amappl10 144 440 0 436 1 0 1 1 0 8 0 amappl9 136 1489 0 1482 1 0 1 1 0 8 0 amappl8 128 1040 0 1001 2 0 2 2 0 8 0 amappl7 120 581 0 573 1 0 1 1 0 8 0 amappl6 112 354 0 340 1 0 1 1 0 8 0 amappl5 104 779 0 772 1 0 1 1 0 8 0 amappl4 96 4746 0 4720 1 0 1 1 0 8 0 amappl3 88 1871 0 1866 1 0 1 1 0 8 0 amappl2 80 39287 0 39225 4 2 2 3 0 8 0 amappl1 72 106023 0 105647 28 19 9 20 0 8 0 amappl 80 12645 0 12607 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 151 0 22 4 1 3 3 0 8 0 uaddrrnd 24 5136 0 5096 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5136 0 5096 1 0 1 1 0 8 0 vmmpekpl 168 36642 0 36617 2 0 2 2 0 8 0 vmmpepl 168 628634 0 626772 401 286 115 130 0 357 27 vmsppl 272 5107 0 5096 2 1 1 2 0 8 0 pdppl 4096 10278 0 10248 6 1 5 6 0 8 1 pvpl 32 1821821 0 1805777 524 355 169 293 0 265 12 pmappl 200 5135 0 5124 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 998 0 269 23 2 21 21 0 8 0