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 *184889 43179 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(ffff80001491a650) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001595c000,fffffd802dd9db68,10,ffff80000005be10,ffff80001491a8b8) at alltraps_kern_meltdown+0x7b 0(b,ffff80001491a818,83,ffff80001491a8b8,0,b) at 0 rt_match(fffffd8037012080,fffffd8038fac074,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8037012080,fffffd8038fac074,1,0) at rt_match+0xbe sys/net/route.c:242 ip_output(fffffd802b40e700,0,fffffd8037012070,20,0,fffffd8037012000) at ip_output+0x4d2 sys/netinet/ip_output.c:204 rip_output(fffffd802b40e700,fffffd802e749ae0,ffff80001491aac8,ffff80001595c000) at rip_output+0x22b sys/netinet/raw_ip.c:289 rip_usrreq(fffffd802e749ae0,9,fffffd802b40e700,0,0,ffff80001491d160) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd802e749ae0,0,ffff80001491ac30,0,0,0) at sosend+0x63d sys/kern/uipc_socket.c:524 sendit(ffff80001491d160,7,ffff80001491ad10,0,ffff80001491adf0) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendto(ffff80001491d160,ffff80001491ada8,ffff80001491adf0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 syscall(ffff80001491ae70) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 end trace frame: 0xffff80001491aef0, count: 0 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(ffff80001491a650) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001595c000,fffffd802dd9db68,10,ffff80000005be10,ffff80001491a8b8) at alltraps_kern_meltdown+0x7b 0(b,ffff80001491a818,83,ffff80001491a8b8,0,b) at 0 rt_match(fffffd8037012080,fffffd8038fac074,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd8037012080,fffffd8038fac074,1,0) at rt_match+0xbe sys/net/route.c:242 ip_output(fffffd802b40e700,0,fffffd8037012070,20,0,fffffd8037012000) at ip_output+0x4d2 sys/netinet/ip_output.c:204 rip_output(fffffd802b40e700,fffffd802e749ae0,ffff80001491aac8,ffff80001595c000) at rip_output+0x22b sys/netinet/raw_ip.c:289 rip_usrreq(fffffd802e749ae0,9,fffffd802b40e700,0,0,ffff80001491d160) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd802e749ae0,0,ffff80001491ac30,0,0,0) at sosend+0x63d sys/kern/uipc_socket.c:524 sendit(ffff80001491d160,7,ffff80001491ad10,0,ffff80001491adf0) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendto(ffff80001491d160,ffff80001491ada8,ffff80001491adf0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 syscall(ffff80001491ae70) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffffd7,0,6,77d6226f010) at Xsyscall+0x128 end of kernel end trace frame: 0x77fb03e0b40, count: -15 ddb> show registers rdi 0xffffffff81b439f7 db_enter+0x17 rsi 0x3372 __ALIGN_SIZE+0x2372 rbp 0xffff80001491a4c0 rbx 0xffff80001491a570 rdx 0x3373 __ALIGN_SIZE+0x2373 rcx 0xffff80001595c000 rax 0xffff80001595c000 r8 0xffff80001491a480 r9 0x1 r10 0xffff800000a9e480 r11 0xce1b46f888e33e67 r12 0x3000000008 r13 0xffff80001491a4d0 r14 0x100 r15 0x1 rip 0xffffffff81b439f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001491a4b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=184889 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff80001491db40,0xffffffff825a0a68 process=0xffff8000148a37b8 user=0xffff800014915000, vmspace=0xfffffd803f014aa0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 43179 121744 35645 0 2 0 syz-executor.0 *43179 184889 35645 0 7 0x4000000 syz-executor.0 10661 396391 71733 0 3 0x80 nanosleep syz-executor.1 10661 503225 71733 0 3 0x4000080 netcon syz-executor.1 10661 266401 71733 0 3 0x4000080 fsleep syz-executor.1 35645 184497 15069 0 3 0x82 nanosleep syz-executor.0 71733 57057 15069 0 3 0x82 nanosleep syz-executor.1 12298 281879 1 0 3 0x100083 ttyin getty 44382 81509 0 0 3 0x14200 bored sosplice 15069 290111 81439 0 3 0x82 thrsleep syz-fuzzer 15069 28303 81439 0 3 0x4000082 thrsleep syz-fuzzer 15069 107910 81439 0 3 0x4000082 thrsleep syz-fuzzer 15069 15290 81439 0 3 0x4000082 thrsleep syz-fuzzer 15069 325099 81439 0 3 0x4000082 thrsleep syz-fuzzer 15069 339071 81439 0 3 0x4000082 kqread syz-fuzzer 15069 275184 81439 0 3 0x4000082 thrsleep syz-fuzzer 15069 274781 81439 0 3 0x4000082 thrsleep syz-fuzzer 81439 511768 28262 0 3 0x10008a pause ksh 28262 399976 51368 0 3 0x92 select sshd 51368 34328 1 0 3 0x80 select sshd 30334 415136 41079 73 3 0x100090 kqread syslogd 41079 174698 1 0 3 0x100082 netio syslogd 2914 131223 1 77 3 0x100090 poll dhclient 13645 226096 1 0 3 0x80 poll dhclient 58203 467825 0 0 2 0x14200 zerothread 33778 310300 0 0 3 0x14200 aiodoned aiodoned 32487 434482 0 0 3 0x14200 syncer update 92443 106310 0 0 3 0x14200 cleaner cleaner 20880 202730 0 0 3 0x14200 reaper reaper 75249 517119 0 0 3 0x14200 pgdaemon pagedaemon 21812 239230 0 0 3 0x14200 bored crynlk 86629 427622 0 0 3 0x14200 bored crypto 15894 230244 0 0 3 0x40014200 acpi0 acpi0 34978 442404 0 0 3 0x14200 bored softnet 21008 292022 0 0 3 0x14200 bored systqmp 9364 342022 0 0 3 0x14200 bored systq 72067 165568 0 0 3 0x40014200 bored softclock 85114 423205 0 0 3 0x40014200 idle0 88262 426474 0 0 3 0x14200 bored smr 1 502326 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 9614 6398K 7661K 78643K 31850 0 0 pcb 13 10K 12K 78643K 1233 0 0 rtable 160 14K 15K 78643K 3599 0 0 ifaddr 113 29K 31K 78643K 1117 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 288 0 0 iov 0 0K 32K 78643K 3355 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1240 78K 78K 78643K 10605 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 73 0 0 VM map 43 10K 10K 78643K 67 0 0 sem 12 0K 1K 78643K 1414 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 5722 0 0 sigio 0 0K 0K 78643K 83 0 0 proc 50 38K 55K 78643K 2072 0 0 subproc 32 2K 2K 78643K 509 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 604 0 0 in_multi 42 2K 2K 78643K 551 0 0 ether_multi 1 0K 0K 78643K 46 0 0 mrt 1 0K 0K 78643K 45 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 1200 0 0 pfkey data 0 0K 4K 78643K 4 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 212 383K 392K 78643K 15258 0 0 UVM aobj 130 4K 4K 78643K 142 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 1463 0 0 NDP 26 1K 1K 78643K 346 0 0 temp 255 3545K 4185K 78643K 209081 0 0 kqueue 0 0K 0K 78643K 106 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 96 0 90 1 0 1 1 0 8 0 rtpcb 80 721 0 719 1 0 1 1 0 8 0 rtentry 112 546 0 484 2 0 2 2 0 8 0 unpcb 120 3309 0 3293 4 3 1 2 0 8 0 syncache 264 44 0 44 15 15 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 128 0 128 10 10 0 1 0 8 0 tcpcb 544 3784 0 3778 36 35 1 15 0 8 0 ipq 40 74 0 74 20 20 0 1 0 8 0 ipqe 40 2168 0 2168 20 20 0 1 0 8 0 inpcb 280 9576 0 9566 46 44 2 9 0 8 1 rttmr 72 15 0 15 10 10 0 1 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 nd6 48 74 0 70 7 6 1 1 0 8 0 pkpcb 40 49 0 49 13 13 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 144 0 144 21 20 1 1 0 8 1 art_heap8 4096 12 0 8 10 6 4 4 0 8 0 art_heap4 256 2252 0 1959 40 21 19 19 0 8 0 art_table 32 2264 0 1967 5 2 3 3 0 8 0 art_node 16 543 0 491 1 0 1 1 0 8 0 sysvmsgpl 40 49 0 41 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 1412 0 1402 1 0 1 1 0 8 0 shmpl 112 140 0 12 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 10544 0 9135 46 0 46 46 0 8 0 ffsino 240 10544 0 9135 84 1 83 84 0 8 0 nchpl 144 20283 0 19838 60 40 20 60 0 8 0 uvmvnodes 72 8905 0 0 162 0 162 162 0 8 0 vnodes 208 8905 0 0 469 0 469 469 0 8 0 namei 1024 74040 0 74040 6 5 1 1 0 8 1 vcpupl 1984 41 0 0 6 0 6 6 0 8 0 vmpool 520 65 0 24 3 0 3 3 0 8 0 scsiplug 64 7 0 7 4 4 0 1 0 8 0 scxspl 192 70621 0 70621 37 36 1 7 0 8 1 plimitpl 152 563 0 556 1 0 1 1 0 8 0 sigapl 432 5814 0 5800 2 0 2 2 0 8 0 futexpl 56 196826 0 196825 7 6 1 1 0 8 0 knotepl 112 1416 0 1397 5 4 1 2 0 8 0 kqueuepl 104 1954 0 1952 4 3 1 4 0 8 0 pipepl 112 7504 0 7481 16 14 2 2 0 8 1 fdescpl 424 5815 0 5800 2 0 2 2 0 8 0 filepl 120 60303 0 60198 48 44 4 11 0 8 0 lockfpl 104 3531 0 3529 1 0 1 1 0 8 0 lockfspl 48 999 0 997 1 0 1 1 0 8 0 sessionpl 112 47 0 37 1 0 1 1 0 8 0 pgrppl 48 194 0 184 1 0 1 1 0 8 0 ucredpl 96 7434 0 7427 1 0 1 1 0 8 0 zombiepl 144 5804 0 5804 1 0 1 1 0 8 1 processpl 864 5834 0 5804 4 0 4 4 0 8 0 procpl 632 12910 0 12870 6 2 4 5 0 8 0 sosppl 128 126 0 126 22 21 1 1 0 8 1 sockpl 384 13736 0 13707 70 65 5 15 0 8 1 mcl64k 65536 1750 0 1749 136 135 1 64 0 8 0 mcl16k 16384 86 0 86 23 23 0 1 0 8 0 mcl12k 12288 216 0 216 16 15 1 1 0 8 1 mcl9k 9216 105 0 105 23 22 1 1 0 8 1 mcl8k 8192 347 0 347 10 9 1 1 0 8 1 mcl4k 4096 772 0 772 10 9 1 1 0 8 1 mcl2k2 2112 87 0 87 25 24 1 1 0 8 1 mcl2k 2048 80793 0 80747 23 16 7 13 0 8 1 mtagpl 80 224 0 213 5 4 1 1 0 8 0 mbufpl 256 189035 0 188871 303 267 36 58 0 8 13 bufpl 256 31352 0 22435 558 0 558 558 0 8 0 anonpl 16 760124 0 742205 252 153 99 100 0 62 12 amapchunkpl 152 35664 0 35519 133 123 10 20 0 158 2 amappl16 192 35998 0 34829 267 199 68 71 0 8 8 amappl15 184 1267 0 1267 2 2 0 1 0 8 0 amappl14 176 1487 0 1478 1 0 1 1 0 8 0 amappl13 168 1158 0 1158 5 4 1 1 0 8 1 amappl12 160 659 0 658 1 0 1 1 0 8 0 amappl11 152 413 0 401 1 0 1 1 0 8 0 amappl10 144 279 0 277 1 0 1 1 0 8 0 amappl9 136 1789 0 1786 1 0 1 1 0 8 0 amappl8 128 1424 0 1360 4 1 3 3 0 8 0 amappl7 120 394 0 387 1 0 1 1 0 8 0 amappl6 112 365 0 346 1 0 1 1 0 8 0 amappl5 104 1053 0 1042 1 0 1 1 0 8 0 amappl4 96 6147 0 6116 1 0 1 1 0 8 0 amappl3 88 1803 0 1790 1 0 1 1 0 8 0 amappl2 80 45503 0 45423 3 1 2 3 0 8 0 amappl1 72 115007 0 114585 25 16 9 20 0 8 0 amappl 80 13681 0 13611 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 141 0 12 3 0 3 3 0 8 0 uaddrrnd 24 5880 0 5800 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5880 0 5800 1 0 1 1 0 8 0 vmmpekpl 168 46246 0 46207 2 0 2 2 0 8 0 vmmpepl 168 714526 0 712008 466 316 150 153 0 357 31 vmsppl 272 5814 0 5800 4 3 1 2 0 8 0 pdppl 4096 11766 0 11689 12 2 10 10 0 8 0 pvpl 32 2123136 0 2102909 628 404 224 335 0 265 32 pmappl 200 5879 0 5824 3 0 3 3 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1260 0 534 21 0 21 21 0 8 0