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 *430313 71156 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(ffff800015918260) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001595e000,fffffd802eb91b68,10,ffff80000005b9b0,ffff8000159184c8) at alltraps_kern_meltdown+0x7b 0(b,ffff800015918428,83,ffff8000159184c8,0,b) at 0 rt_match(fffffd803d8423c8,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803d8423c8,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff8000159185a0,fffffd8036af7020,fffffd803d842348) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803d842348,fffffd8036af7000) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd802e7f5610,4,0,fffffd8036af7000,0,ffff8000ffff8770) at udp_usrreq+0x560 sys_connect(ffff8000ffff8770,ffff800015918728,ffff800015918770) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff8000159187f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,38d6e0ae010) at Xsyscall+0x128 end of kernel end trace frame: 0x390659ec150, 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(ffff800015918260) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001595e000,fffffd802eb91b68,10,ffff80000005b9b0,ffff8000159184c8) at alltraps_kern_meltdown+0x7b 0(b,ffff800015918428,83,ffff8000159184c8,0,b) at 0 rt_match(fffffd803d8423c8,0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803d8423c8,0,1,0) at rt_match+0xbe sys/net/route.c:242 in_pcbselsrc(ffff8000159185a0,fffffd8036af7020,fffffd803d842348) at in_pcbselsrc+0x219 sys/netinet/in_pcb.c:934 in_pcbconnect(fffffd803d842348,fffffd8036af7000) at in_pcbconnect+0x107 sys/netinet/in_pcb.c:492 udp_usrreq(fffffd802e7f5610,4,0,fffffd8036af7000,0,ffff8000ffff8770) at udp_usrreq+0x560 sys_connect(ffff8000ffff8770,ffff800015918728,ffff800015918770) at sys_connect+0x3df sys/kern/uipc_syscalls.c:388 syscall(ffff8000159187f0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,fffffffffffffed2,0,3,38d6e0ae010) at Xsyscall+0x128 end of kernel end trace frame: 0x390659ec150, count: -13 ddb> show registers rdi 0xffffffff812241d7 db_enter+0x17 rsi 0x21c7 __ALIGN_SIZE+0x11c7 rbp 0xffff8000159180d0 rbx 0xffff800015918180 rdx 0x21c8 __ALIGN_SIZE+0x11c8 rcx 0xffff80001595e000 rax 0xffff80001595e000 r8 0xffff800015918090 r9 0x1 r10 0xffff8000000224c0 r11 0x1ab46304c870f498 r12 0x3000000008 r13 0xffff8000159180e0 r14 0x100 r15 0x1 rip 0xffffffff812241d8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000159180c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=430313 stat=onproc flags process=0 proc=4000000 pri=83, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8c60,0xffffffff825686e0 process=0xffff8000ffff6010 user=0xffff800015913000, vmspace=0xfffffd803f013220 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 71156 241147 48424 0 2 0 syz-executor.0 *71156 430313 48424 0 7 0x4000000 syz-executor.0 7021 114151 73268 0 3 0x80 nanosleep syz-executor.1 7021 213592 73268 0 3 0x4000080 netio syz-executor.1 7021 289099 73268 0 3 0x4000080 fsleep syz-executor.1 48424 348786 95470 0 3 0x82 nanosleep syz-executor.0 73268 153290 95470 0 3 0x82 nanosleep syz-executor.1 13108 55479 0 0 3 0x14200 acct acct 26162 42267 1 0 3 0x100083 ttyin getty 68521 216505 0 0 3 0x14200 bored sosplice 95470 437286 70234 0 3 0x82 thrsleep syz-fuzzer 95470 81319 70234 0 3 0x4000082 thrsleep syz-fuzzer 95470 417076 70234 0 3 0x4000082 thrsleep syz-fuzzer 95470 46127 70234 0 3 0x4000082 thrsleep syz-fuzzer 95470 396738 70234 0 3 0x4000082 thrsleep syz-fuzzer 95470 183543 70234 0 3 0x4000082 kqread syz-fuzzer 95470 431675 70234 0 3 0x4000082 thrsleep syz-fuzzer 95470 356911 70234 0 3 0x4000082 thrsleep syz-fuzzer 70234 68178 19944 0 3 0x10008a pause ksh 19944 482065 11440 0 3 0x92 select sshd 11440 107604 1 0 3 0x80 select sshd 68302 323722 47138 73 3 0x100090 kqread syslogd 47138 56666 1 0 3 0x100082 netio syslogd 87597 407676 0 0 2 0x14200 zerothread 59771 337348 0 0 3 0x14200 aiodoned aiodoned 16595 320309 0 0 3 0x14200 syncer update 53106 354413 0 0 3 0x14200 cleaner cleaner 83992 28417 0 0 3 0x14200 reaper reaper 81093 405064 0 0 3 0x14200 pgdaemon pagedaemon 30534 227842 0 0 3 0x14200 bored crynlk 18236 449953 0 0 3 0x14200 bored crypto 48532 469224 0 0 3 0x40014200 acpi0 acpi0 87050 179424 0 0 3 0x14200 bored softnet 63235 414431 0 0 3 0x14200 bored systqmp 265 231854 0 0 3 0x14200 bored systq 66099 316702 0 0 3 0x40014200 bored softclock 38586 445062 0 0 3 0x40014200 idle0 88638 106201 0 0 3 0x14200 bored smr 1 169960 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 9589 6338K 7047K 78643K 15077 0 0 pcb 14 12K 14K 78643K 1713 0 0 rtable 121 12K 13K 78643K 4775 0 0 ifaddr 94 25K 29K 78643K 1453 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 429 0 0 iov 0 0K 32K 78643K 1831 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1189 75K 77K 78643K 6122 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 140 0 0 VM map 2 0K 0K 78643K 34 0 0 sem 11 1K 1K 78643K 13 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 8213 0 0 sigio 0 0K 1K 78643K 2985 0 0 proc 45 30K 63K 78643K 3426 0 0 subproc 32 2K 2K 78643K 952 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 401 0 0 in_multi 27 1K 2K 78643K 957 0 0 ether_multi 1 0K 0K 78643K 30 0 0 mrt 0 0K 0K 78643K 38 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 144 636K 636K 78643K 144 0 0 exec 0 0K 1K 78643K 1837 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 135 23K 32K 78643K 23284 0 0 UVM aobj 130 6K 7K 78643K 224 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 2 0K 1K 78643K 1821 0 0 NDP 21 0K 1K 78643K 480 0 0 temp 233 3537K 4176K 78643K 255048 0 0 kqueue 0 0K 0K 78643K 51 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 161 0 155 1 0 1 1 0 8 0 rtpcb 80 532 0 532 2 1 1 1 0 8 1 rtentry 112 925 0 883 2 0 2 2 0 8 0 unpcb 120 6283 0 6267 9 8 1 2 0 8 0 syncache 264 50 0 50 19 19 0 1 0 8 0 sackhl 24 3 0 3 2 2 0 1 0 8 0 tcpqe 32 5589 0 5589 8 8 0 1 0 8 0 tcpcb 544 4313 0 4309 62 61 1 15 0 8 0 ipq 40 66 0 66 22 21 1 1 0 8 1 ipqe 40 148 0 148 22 21 1 1 0 8 1 inpcb 280 9955 0 9948 79 77 2 13 0 8 1 rttmr 72 14 0 13 5 4 1 1 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 48 138 0 136 7 6 1 1 0 8 0 pkpcb 40 28 0 28 10 10 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 155 0 155 30 29 1 1 0 8 1 art_heap8 4096 9 0 8 9 8 1 3 0 8 0 art_heap4 256 3984 0 3745 75 56 19 19 0 8 3 art_table 32 3993 0 3753 6 3 3 3 0 8 0 art_node 16 907 0 869 1 0 1 1 0 8 0 sysvmsgpl 40 36 0 18 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 9 0 0 1 0 1 1 0 8 0 shmpl 112 222 0 94 6 2 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 16534 0 15140 46 0 46 46 0 8 0 ffsino 240 16534 0 15140 83 0 83 83 0 8 0 nchpl 144 28871 0 27253 63 2 61 61 0 8 0 uvmvnodes 72 8204 0 0 150 0 150 150 0 8 0 vnodes 208 8204 0 0 432 0 432 432 0 8 0 namei 1024 121555 0 121555 11 10 1 1 0 8 1 vmpool 520 32 0 32 16 16 0 1 0 8 0 scsiplug 64 3 0 3 3 3 0 1 0 8 0 scxspl 192 123786 0 123786 50 48 2 7 0 8 2 plimitpl 152 760 0 754 1 0 1 1 0 8 0 sigapl 432 8223 0 8211 2 0 2 2 0 8 0 futexpl 56 222705 0 222704 12 11 1 1 0 8 0 knotepl 112 2097 0 2078 1 0 1 1 0 8 0 kqueuepl 104 2391 0 2389 13 12 1 4 0 8 0 pipepl 112 4470 0 4451 15 14 1 2 0 8 0 fdescpl 424 8224 0 8211 2 0 2 2 0 8 0 filepl 120 84418 0 84331 64 60 4 11 0 8 1 lockfpl 104 28338 0 28338 2 1 1 1 0 8 1 lockfspl 48 5622 0 5622 2 1 1 1 0 8 1 sessionpl 112 72 0 64 1 0 1 1 0 8 0 pgrppl 48 114 0 106 1 0 1 1 0 8 0 ucredpl 96 28821 0 28815 1 0 1 1 0 8 0 zombiepl 144 8215 0 8215 4 3 1 1 0 8 1 processpl 864 8244 0 8215 4 0 4 4 0 8 0 procpl 632 19844 0 19805 10 6 4 5 0 8 0 sosppl 128 114 0 114 34 34 0 1 0 8 0 sockpl 384 16841 0 16818 109 105 4 22 0 8 0 mcl64k 65536 2974 0 2974 247 246 1 33 0 8 1 mcl16k 16384 76 0 76 33 33 0 1 0 8 0 mcl12k 12288 190 0 190 32 31 1 1 0 8 1 mcl9k 9216 112 0 112 36 35 1 1 0 8 1 mcl8k 8192 281 0 281 22 21 1 1 0 8 1 mcl4k 4096 793 0 793 11 10 1 1 0 8 1 mcl2k2 2112 87 0 87 29 29 0 1 0 8 0 mcl2k 2048 68405 0 68366 15 9 6 11 0 8 0 mtagpl 80 27 0 27 5 5 0 1 0 8 0 mbufpl 256 170918 0 170835 143 134 9 24 0 8 0 bufpl 256 40328 0 32124 513 0 513 513 0 8 0 anonpl 16 1039962 0 1026745 292 218 74 95 0 62 2 amapchunkpl 152 51530 0 51425 183 172 11 19 0 158 5 amappl16 192 50426 0 49529 392 345 47 65 0 8 2 amappl15 184 606 0 602 7 6 1 1 0 8 0 amappl14 176 2466 0 2463 2 1 1 1 0 8 0 amappl13 168 489 0 489 8 8 0 1 0 8 0 amappl12 160 403 0 400 1 0 1 1 0 8 0 amappl11 152 1482 0 1478 1 0 1 1 0 8 0 amappl10 144 1066 0 1062 1 0 1 1 0 8 0 amappl9 136 2274 0 2268 1 0 1 1 0 8 0 amappl8 128 1756 0 1700 2 0 2 2 0 8 0 amappl7 120 1316 0 1310 1 0 1 1 0 8 0 amappl6 112 1354 0 1337 1 0 1 1 0 8 0 amappl5 104 972 0 964 1 0 1 1 0 8 0 amappl4 96 7469 0 7439 1 0 1 1 0 8 0 amappl3 88 3215 0 3210 1 0 1 1 0 8 0 amappl2 80 62030 0 61956 4 2 2 3 0 8 0 amappl1 72 170564 0 170170 29 20 9 20 0 8 0 amappl 80 20995 0 20960 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 223 0 94 3 0 3 3 0 8 0 uaddrrnd 24 8256 0 8211 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8256 0 8211 1 0 1 1 0 8 0 vmmpekpl 168 58977 0 58951 2 0 2 2 0 8 0 vmmpepl 168 1010771 0 1008757 636 517 119 128 0 357 26 vmsppl 272 8223 0 8211 12 11 1 2 0 8 0 pdppl 4096 16518 0 16486 7 2 5 6 0 8 0 pvpl 32 3091506 0 3075161 1008 744 264 324 0 265 96 pmappl 200 8255 0 8243 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1248 0 603 23 3 20 20 0 8 0