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 *411114 60726 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(ffff800015939e30) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001570b000,fffffd803cf99cb8,10,ffff80000005bc90,ffff80001593a098) at alltraps_kern_meltdown+0x7b 0(b,ffff800015939ff8,83,ffff80001593a098,0,b) at 0 rt_match(fffffd803d864c88,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803d864c88,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff80001593a170,fffffd8036b07620,fffffd803d864c08) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803d864c08,fffffd8036b07600) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd802b17c7d8,4,0,fffffd8036b07600,0,ffff800015952508) at udp_usrreq+0x560 sys_connect(ffff800015952508,ffff80001593a2f8,ffff80001593a340) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff80001593a3c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,18fc2ff2010) at Xsyscall+0x128 end of kernel end trace frame: 0x191c4e408d0, 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(ffff800015939e30) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001570b000,fffffd803cf99cb8,10,ffff80000005bc90,ffff80001593a098) at alltraps_kern_meltdown+0x7b 0(b,ffff800015939ff8,83,ffff80001593a098,0,b) at 0 rt_match(fffffd803d864c88,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803d864c88,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff80001593a170,fffffd8036b07620,fffffd803d864c08) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803d864c08,fffffd8036b07600) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd802b17c7d8,4,0,fffffd8036b07600,0,ffff800015952508) at udp_usrreq+0x560 sys_connect(ffff800015952508,ffff80001593a2f8,ffff80001593a340) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff80001593a3c0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,18fc2ff2010) at Xsyscall+0x128 end of kernel end trace frame: 0x191c4e408d0, count: -13 ddb> show registers rdi 0xffffffff81ed85e7 db_enter+0x17 rsi 0x2434 __ALIGN_SIZE+0x1434 rbp 0xffff800015939ca0 rbx 0xffff800015939d50 rdx 0x2435 __ALIGN_SIZE+0x1435 rcx 0xffff80001570b000 rax 0xffff80001570b000 r8 0xffff800015939c60 r9 0x1 r10 0xffff800000aa1b80 r11 0x60008504402127e8 r12 0x3000000008 r13 0xffff800015939cb0 r14 0x100 r15 0x1 rip 0xffffffff81ed85e8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800015939c90 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=411114 stat=onproc flags process=0 proc=4000000 pri=75, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff800015952780,0xffffffff8257fc40 process=0xffff8000ffff7b10 user=0xffff800015935000, vmspace=0xfffffd803f014dd0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 60726 450537 88656 0 2 0 syz-executor.0 *60726 411114 88656 0 7 0x4000000 syz-executor.0 77043 44781 1 0 3 0x100083 ttyin getty 20185 119035 76473 0 3 0x82 nanosleep syz-executor.1 88656 207818 76473 0 3 0x82 nanosleep syz-executor.0 17053 74671 0 0 3 0x14200 acct acct 9431 360218 0 0 3 0x14200 bored sosplice 76473 56949 51072 0 3 0x82 thrsleep syz-fuzzer 76473 460580 51072 0 3 0x4000082 thrsleep syz-fuzzer 76473 193547 51072 0 3 0x4000082 thrsleep syz-fuzzer 76473 328648 51072 0 3 0x4000082 thrsleep syz-fuzzer 76473 7101 51072 0 3 0x4000082 thrsleep syz-fuzzer 76473 269716 51072 0 3 0x4000082 kqread syz-fuzzer 76473 378004 51072 0 3 0x4000082 thrsleep syz-fuzzer 51072 225421 66531 0 3 0x10008a pause ksh 66531 294557 32604 0 3 0x92 select sshd 32604 26373 1 0 3 0x80 select sshd 71167 438764 20840 73 3 0x100090 kqread syslogd 20840 73165 1 0 3 0x100082 netio syslogd 36134 111298 1 77 3 0x100090 poll dhclient 78022 3326 1 0 3 0x80 poll dhclient 63588 515361 0 0 2 0x14200 zerothread 31046 416598 0 0 3 0x14200 aiodoned aiodoned 74575 259339 0 0 3 0x14200 syncer update 98389 480215 0 0 3 0x14200 cleaner cleaner 57596 299805 0 0 3 0x14200 reaper reaper 20955 116150 0 0 3 0x14200 pgdaemon pagedaemon 87740 339322 0 0 3 0x14200 bored crynlk 87578 518231 0 0 3 0x14200 bored crypto 35645 205901 0 0 3 0x40014200 acpi0 acpi0 21262 38500 0 0 3 0x14200 bored softnet 1337 176685 0 0 3 0x14200 bored systqmp 60614 84299 0 0 3 0x14200 bored systq 98652 21283 0 0 3 0x40014200 bored softclock 78416 460315 0 0 3 0x40014200 idle0 39933 309905 0 0 3 0x14200 bored smr 1 243726 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 9612 7045K 7649K 78643K 26232 0 0 pcb 13 12K 14K 78643K 2364 0 0 rtable 126 12K 13K 78643K 5292 0 0 ifaddr 100 25K 28K 78643K 1669 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 489 0 0 iov 0 0K 32K 78643K 2175 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1216 76K 78K 78643K 8352 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 161 0 0 VM map 2 0K 0K 78643K 71 0 0 sem 12 0K 1K 78643K 1300 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 9548 0 0 sigio 0 0K 0K 78643K 190 0 0 proc 50 38K 63K 78643K 3203 0 0 subproc 32 2K 2K 78643K 850 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 2 0K 4K 78643K 18572 0 0 in_multi 34 2K 3K 78643K 2856 0 0 ether_multi 1 0K 0K 78643K 30 0 0 mrt 0 0K 0K 78643K 37 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 120 530K 530K 78643K 120 0 0 exec 0 0K 1K 78643K 2022 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 122 23K 32K 78643K 24853 0 0 UVM aobj 130 4K 4K 78643K 181 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 2357 0 0 NDP 24 0K 1K 78643K 525 0 0 temp 254 3537K 4177K 78643K 203221 0 0 kqueue 0 0K 0K 78643K 78 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 170 0 164 1 0 1 1 0 8 0 rtpcb 80 642 0 640 1 0 1 1 0 8 0 rtentry 112 869 0 824 2 0 2 2 0 8 0 unpcb 120 3412 0 3386 7 6 1 2 0 8 0 syncache 264 45 0 45 20 20 0 1 0 8 0 sackhl 24 9 0 9 6 6 0 1 0 8 0 tcpqe 32 5274 0 5274 7 7 0 1 0 8 0 tcpcb 544 3520 0 3516 24 23 1 15 0 8 0 ipq 40 70 0 70 23 23 0 1 0 8 0 ipqe 40 170 0 170 23 23 0 1 0 8 0 inpcb 280 29695 0 29686 84 79 5 13 0 8 4 rttmr 72 9 0 9 9 8 1 1 0 8 1 ip6q 72 1 0 1 1 1 0 1 0 8 0 nd6 48 121 0 118 6 5 1 1 0 8 0 pkpcb 40 49 0 49 19 18 1 1 0 8 1 swfcl 56 4 0 0 1 0 1 1 0 8 0 ppxss 1128 226 0 226 39 38 1 1 0 8 1 art_heap8 4096 19 0 18 15 14 1 3 0 8 0 art_heap4 256 3592 0 3348 49 33 16 19 0 8 0 art_table 32 3611 0 3366 3 0 3 3 0 8 0 art_node 16 843 0 802 1 0 1 1 0 8 0 sysvmsgpl 40 44 0 27 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 1298 0 1288 1 0 1 1 0 8 0 shmpl 112 179 0 51 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 16509 0 15084 47 0 47 47 0 8 0 ffsino 240 16509 0 15084 86 1 85 85 0 8 0 nchpl 144 29894 0 28277 61 0 61 61 0 8 0 uvmvnodes 72 8587 0 0 157 0 157 157 0 8 0 vnodes 208 8587 0 0 452 0 452 452 0 8 0 namei 1024 103782 0 103782 5 4 1 1 0 8 1 vmpool 520 69 0 69 21 20 1 1 0 8 1 scsiplug 64 4 0 4 3 3 0 1 0 8 0 scxspl 192 126222 0 126222 67 65 2 7 0 8 2 plimitpl 152 739 0 732 1 0 1 1 0 8 0 sigapl 432 9580 0 9567 2 0 2 2 0 8 0 futexpl 56 256138 0 256138 5 4 1 1 0 8 1 knotepl 112 2467 0 2448 5 4 1 3 0 8 0 kqueuepl 104 2391 0 2389 4 3 1 4 0 8 0 pipepl 112 15672 0 15653 31 29 2 2 0 8 1 fdescpl 424 9581 0 9567 2 0 2 2 0 8 0 filepl 120 97574 0 97475 62 57 5 11 0 8 1 lockfpl 104 4803 0 4801 1 0 1 1 0 8 0 lockfspl 48 1750 0 1748 1 0 1 1 0 8 0 sessionpl 112 70 0 60 1 0 1 1 0 8 0 pgrppl 48 136 0 126 1 0 1 1 0 8 0 ucredpl 96 9565 0 9558 1 0 1 1 0 8 0 zombiepl 144 9570 0 9569 3 2 1 1 0 8 0 processpl 864 9600 0 9569 4 0 4 4 0 8 0 procpl 632 21499 0 21461 4 0 4 4 0 8 0 sosppl 128 151 0 151 38 37 1 1 0 8 1 sockpl 384 33869 0 33832 115 106 9 22 0 8 4 mcl64k 65536 4160 0 4160 277 276 1 65 0 8 1 mcl16k 16384 281 0 281 24 23 1 1 0 8 1 mcl12k 12288 209 0 209 30 29 1 1 0 8 1 mcl9k 9216 174 0 174 26 25 1 1 0 8 1 mcl8k 8192 328 0 328 21 20 1 1 0 8 1 mcl4k 4096 844 0 844 10 9 1 1 0 8 1 mcl2k2 2112 83 0 82 37 36 1 1 0 8 0 mcl2k 2048 77059 0 77019 22 16 6 13 0 8 0 mtagpl 80 621 0 621 9 9 0 6 0 8 0 mbufpl 256 211664 0 211539 196 185 11 41 0 8 0 bufpl 256 48763 0 39513 579 0 579 579 0 8 0 anonpl 16 1186113 0 1170634 331 252 79 81 0 62 10 amapchunkpl 152 53108 0 52999 187 181 6 19 0 158 1 amappl16 192 57528 0 56637 464 407 57 58 0 8 10 amappl15 184 4141 0 4140 1 0 1 1 0 8 0 amappl14 176 2777 0 2771 2 1 1 1 0 8 0 amappl13 168 649 0 649 6 6 0 1 0 8 0 amappl12 160 679 0 677 1 0 1 1 0 8 0 amappl11 152 528 0 516 1 0 1 1 0 8 0 amappl10 144 990 0 990 10 10 0 1 0 8 0 amappl9 136 2347 0 2340 1 0 1 1 0 8 0 amappl8 128 1848 0 1807 2 0 2 2 0 8 0 amappl7 120 1221 0 1215 1 0 1 1 0 8 0 amappl6 112 449 0 437 1 0 1 1 0 8 0 amappl5 104 1381 0 1371 1 0 1 1 0 8 0 amappl4 96 9776 0 9748 1 0 1 1 0 8 0 amappl3 88 2860 0 2854 1 0 1 1 0 8 0 amappl2 80 75282 0 75216 4 2 2 3 0 8 0 amappl1 72 183669 0 183261 27 18 9 20 0 8 0 amappl 80 22606 0 22569 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 180 0 51 4 1 3 3 0 8 0 uaddrrnd 24 9650 0 9567 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 9650 0 9567 1 0 1 1 0 8 0 vmmpekpl 168 85655 0 85627 2 0 2 2 0 8 0 vmmpepl 168 1161133 0 1159180 618 509 109 130 0 357 14 vmsppl 272 9580 0 9567 5 4 1 2 0 8 0 pdppl 4096 19306 0 19272 6 1 5 6 0 8 0 pvpl 32 3409991 0 3391347 883 630 253 295 0 265 91 pmappl 200 9649 0 9636 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1324 0 611 23 2 21 22 0 8 0