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 *213855 26288 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(ffff800017930480) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001550b000,fffffd802ebe6698,10,ffff80000005bca0,ffff8000179306e8) at alltraps_kern_meltdown+0x7b 0(b,ffff800017930648,83,ffff8000179306e8,0,b) at 0 rt_match(fffffd8037044c88,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8037044c88,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff8000179307c0,fffffd802604b420,fffffd8037044c08) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd8037044c08,fffffd802604b400) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd80281baab8,4,0,fffffd802604b400,0,ffff8000ffff3650) at udp_usrreq+0x560 sys_connect(ffff8000ffff3650,ffff800017930948,ffff800017930990) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800017930a10) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,fedca9a9010) at Xsyscall+0x128 end of kernel end trace frame: 0xff0431963c0, 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(ffff800017930480) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001550b000,fffffd802ebe6698,10,ffff80000005bca0,ffff8000179306e8) at alltraps_kern_meltdown+0x7b 0(b,ffff800017930648,83,ffff8000179306e8,0,b) at 0 rt_match(fffffd8037044c88,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8037044c88,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff8000179307c0,fffffd802604b420,fffffd8037044c08) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd8037044c08,fffffd802604b400) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd80281baab8,4,0,fffffd802604b400,0,ffff8000ffff3650) at udp_usrreq+0x560 sys_connect(ffff8000ffff3650,ffff800017930948,ffff800017930990) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff800017930a10) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,fedca9a9010) at Xsyscall+0x128 end of kernel end trace frame: 0xff0431963c0, count: -13 ddb> show registers rdi 0xffffffff811edc87 db_enter+0x17 rsi 0x2137 __ALIGN_SIZE+0x1137 rbp 0xffff8000179302f0 rbx 0xffff8000179303a0 rdx 0x2138 __ALIGN_SIZE+0x1138 rcx 0xffff80001550b000 rax 0xffff80001550b000 r8 0xffff8000179302b0 r9 0x1 r10 0xffff800000ae2f40 r11 0x76b5bbbffdba9cf3 r12 0x3000000008 r13 0xffff800017930300 r14 0x100 r15 0x1 rip 0xffffffff811edc88 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000179302e0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=213855 stat=onproc flags process=0 proc=4000000 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2290,0xffffffff82558bf8 process=0xffff8000ffff77b0 user=0xffff80001792b000, vmspace=0xfffffd803f013440 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 26288 177777 5142 0 2 0 syz-executor.0 *26288 213855 5142 0 7 0x4000000 syz-executor.0 5142 309327 93436 0 3 0x82 nanosleep syz-executor.0 89741 521869 0 0 3 0x14200 acct acct 15877 409678 93436 0 2 0x2 syz-executor.1 59738 291879 1 0 3 0x100083 ttyin getty 32501 196003 0 0 3 0x14200 bored sosplice 93436 42998 77221 0 3 0x82 thrsleep syz-fuzzer 93436 385874 77221 0 3 0x4000082 thrsleep syz-fuzzer 93436 288080 77221 0 3 0x4000082 kqread syz-fuzzer 93436 421884 77221 0 3 0x4000082 thrsleep syz-fuzzer 93436 493387 77221 0 3 0x4000082 thrsleep syz-fuzzer 93436 415959 77221 0 3 0x4000082 thrsleep syz-fuzzer 93436 41624 77221 0 3 0x4000082 thrsleep syz-fuzzer 93436 495302 77221 0 3 0x4000082 thrsleep syz-fuzzer 77221 374699 45792 0 3 0x10008a pause ksh 45792 239607 66707 0 3 0x92 select sshd 66707 363370 1 0 3 0x80 select sshd 49851 337575 68680 73 3 0x100090 kqread syslogd 68680 230209 1 0 3 0x100082 netio syslogd 95644 203836 0 0 2 0x14200 zerothread 48652 101461 0 0 3 0x14200 aiodoned aiodoned 19140 81157 0 0 3 0x14200 syncer update 71991 338790 0 0 3 0x14200 cleaner cleaner 20451 258607 0 0 3 0x14200 reaper reaper 25226 118035 0 0 3 0x14200 pgdaemon pagedaemon 50536 2734 0 0 3 0x14200 bored crynlk 2896 269241 0 0 3 0x14200 bored crypto 29487 301656 0 0 3 0x40014200 acpi0 acpi0 84699 521703 0 0 3 0x14200 bored softnet 54279 459796 0 0 3 0x14200 bored systqmp 60917 492560 0 0 3 0x14200 bored systq 32910 451482 0 0 3 0x40014200 bored softclock 36662 167435 0 0 3 0x40014200 idle0 85033 336198 0 0 3 0x14200 bored smr 1 61022 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 9590 6333K 8259K 78643K 40334 0 0 pcb 13 13K 15K 78643K 1944 0 0 rtable 118 8K 9K 78643K 4932 0 0 ifaddr 94 24K 28K 78643K 1652 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 360 0 0 iov 0 0K 32K 78643K 2217 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1211 76K 78K 78643K 12923 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 239 0 0 VM map 2 0K 0K 78643K 68 0 0 sem 12 0K 1K 78643K 1476 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 10849 0 0 sigio 0 0K 0K 78643K 103 0 0 proc 45 30K 63K 78643K 3572 0 0 subproc 32 2K 2K 78643K 1011 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 575 0 0 in_multi 25 1K 2K 78643K 950 0 0 ether_multi 1 0K 0K 78643K 56 0 0 mrt 0 0K 0K 78643K 75 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 96 424K 424K 78643K 96 0 0 exec 0 0K 1K 78643K 1994 0 0 pfkey data 0 0K 4K 78643K 6 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 126 23K 33K 78643K 27296 0 0 UVM aobj 130 4K 4K 78643K 137 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 1951 0 0 NDP 23 0K 1K 78643K 540 0 0 temp 248 3537K 4177K 78643K 231090 0 0 kqueue 0 0K 0K 78643K 55 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 211 0 205 1 0 1 1 0 8 0 rtpcb 80 823 0 823 7 6 1 1 0 8 1 rtentry 112 955 0 914 2 0 2 2 0 8 0 unpcb 120 3615 0 3599 5 4 1 2 0 8 0 syncache 264 44 0 44 17 17 0 1 0 8 0 tcpqe 32 5516 0 5516 8 8 0 1 0 8 0 tcpcb 544 3765 0 3759 38 37 1 15 0 8 0 ipq 40 59 0 59 17 17 0 1 0 8 0 ipqe 40 127 0 127 17 17 0 1 0 8 0 inpcb 280 15006 0 14998 79 78 1 13 0 8 0 rttmr 72 25 0 24 6 5 1 1 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 nd6 48 131 0 129 5 4 1 1 0 8 0 pkpcb 40 46 0 46 15 15 0 1 0 8 0 swfcl 56 4 0 0 1 0 1 1 0 8 0 ppxss 1128 203 0 203 35 34 1 1 0 8 1 art_heap8 4096 11 0 10 8 7 1 3 0 8 0 art_heap4 256 4011 0 3772 64 47 17 19 0 8 1 art_table 32 4022 0 3782 5 2 3 3 0 8 0 art_node 16 946 0 908 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 6 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 1474 0 1464 1 0 1 1 0 8 0 shmpl 112 135 0 7 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 18940 0 17524 46 0 46 46 0 8 0 ffsino 240 18940 0 17524 84 0 84 84 0 8 0 nchpl 144 34998 0 33359 61 0 61 61 0 8 0 uvmvnodes 72 9112 0 0 166 0 166 166 0 8 0 vnodes 208 9112 0 0 480 0 480 480 0 8 0 namei 1024 152541 0 152541 6 5 1 1 0 8 1 vmpool 520 66 0 66 22 22 0 1 0 8 0 scsiplug 64 11 0 11 6 6 0 1 0 8 0 scxspl 192 128459 0 128459 60 58 2 7 0 8 2 plimitpl 152 1039 0 1033 1 0 1 1 0 8 0 sigapl 432 10854 0 10843 2 0 2 2 0 8 0 futexpl 56 260360 0 260360 4 3 1 1 0 8 1 knotepl 112 2675 0 2656 7 6 1 3 0 8 0 kqueuepl 104 2781 0 2778 10 9 1 4 0 8 0 pipepl 112 5250 0 5229 19 18 1 2 0 8 0 fdescpl 424 10855 0 10843 2 0 2 2 0 8 0 filepl 120 107694 0 107603 57 53 4 11 0 8 1 lockfpl 104 4264 0 4264 3 2 1 1 0 8 1 lockfspl 48 1550 0 1550 3 2 1 1 0 8 1 sessionpl 112 79 0 71 1 0 1 1 0 8 0 pgrppl 48 141 0 133 1 0 1 1 0 8 0 ucredpl 96 35564 0 35558 1 0 1 1 0 8 0 zombiepl 144 10846 0 10846 3 2 1 1 0 8 1 processpl 864 10874 0 10846 4 0 4 4 0 8 0 procpl 632 23610 0 23574 4 0 4 4 0 8 0 sosppl 128 134 0 134 31 31 0 1 0 8 0 sockpl 384 19689 0 19665 103 98 5 22 0 8 1 mcl64k 65536 3196 0 3196 281 280 1 33 0 8 1 mcl16k 16384 135 0 135 39 38 1 1 0 8 1 mcl12k 12288 203 0 203 36 35 1 1 0 8 1 mcl9k 9216 173 0 173 36 35 1 1 0 8 1 mcl8k 8192 691 0 691 13 12 1 1 0 8 1 mcl4k 4096 1645 0 1645 7 6 1 1 0 8 1 mcl2k2 2112 102 0 102 32 32 0 1 0 8 0 mcl2k 2048 67068 0 67022 26 19 7 14 0 8 0 mtagpl 80 1834 0 1824 23 19 4 5 0 8 3 mbufpl 256 211145 0 211052 253 230 23 50 0 8 8 bufpl 256 50132 0 41023 570 0 570 570 0 8 0 anonpl 16 1189672 0 1174746 364 293 71 87 0 62 2 amapchunkpl 152 55436 0 55332 188 173 15 19 0 158 10 amappl16 192 60166 0 59285 409 362 47 63 0 8 1 amappl15 184 2666 0 2665 12 11 1 1 0 8 0 amappl14 176 1241 0 1238 2 1 1 1 0 8 0 amappl13 168 1813 0 1812 5 4 1 1 0 8 0 amappl12 160 696 0 694 1 0 1 1 0 8 0 amappl11 152 978 0 974 1 0 1 1 0 8 0 amappl10 144 1429 0 1427 11 10 1 1 0 8 0 amappl9 136 3370 0 3364 1 0 1 1 0 8 0 amappl8 128 2832 0 2783 3 1 2 2 0 8 0 amappl7 120 1688 0 1679 1 0 1 1 0 8 0 amappl6 112 840 0 830 1 0 1 1 0 8 0 amappl5 104 1312 0 1306 1 0 1 1 0 8 0 amappl4 96 11308 0 11280 1 0 1 1 0 8 0 amappl3 88 1018 0 1012 1 0 1 1 0 8 0 amappl2 80 85573 0 85512 4 2 2 3 0 8 0 amappl1 72 205989 0 205607 26 16 10 20 0 8 0 amappl 80 24791 0 24758 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 136 0 7 3 0 3 3 0 8 0 uaddrrnd 24 10921 0 10843 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 10921 0 10843 1 0 1 1 0 8 0 vmmpekpl 168 63424 0 63398 2 0 2 2 0 8 0 vmmpepl 168 1298107 0 1296229 554 438 116 121 0 357 22 vmsppl 272 10854 0 10843 6 5 1 2 0 8 0 pdppl 4096 21848 0 21818 6 1 5 6 0 8 0 pvpl 32 3435733 0 3417751 887 717 170 291 0 265 9 pmappl 200 10920 0 10909 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1406 0 689 24 2 22 23 0 8 0