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 *456457 85760 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(ffff800016b28350) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001591d000,fffffd802b1f5bd8,10,ffff80000005bf30,ffff800016b285b8) at alltraps_kern_meltdown+0x7b 0(b,ffff800016b28518,83,ffff800016b285b8,0,b) at 0 rt_match(fffffd803c0212b0,fffffd802d0bacf0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803c0212b0,fffffd802d0bacf0,1,0) at rt_match+0xbe sys/net/route.c:242 ip_output(fffffd802d0bac00,0,fffffd803c0212a0,20,0,fffffd803c021230) at ip_output+0x4d2 sys/netinet/ip_output.c:204 rip_output(fffffd802d0bac00,fffffd803c022c00,ffff800016b287c8,ffff80001591d000) at rip_output+0x22b sys/netinet/raw_ip.c:289 rip_usrreq(fffffd803c022c00,9,fffffd802d0bac00,0,0,ffff8000ffff2508) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 gre_usrreq(fffffd803c022c00,9,fffffd802d0bac00,0,0,ffff8000ffff2508) at gre_usrreq+0x185 sys/netinet/ip_gre.c:94 sosend(fffffd803c022c00,0,ffff800016b289e0,0,0,80) at sosend+0x63d sys/kern/uipc_socket.c:524 sendit(ffff8000ffff2508,3,ffff800016b28ac0,0,ffff800016b28ba0) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendto(ffff8000ffff2508,ffff800016b28b58,ffff800016b28ba0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 end trace frame: 0xffff800016b28c10, 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(ffff800016b28350) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown(6,ffff80001591d000,fffffd802b1f5bd8,10,ffff80000005bf30,ffff800016b285b8) at alltraps_kern_meltdown+0x7b 0(b,ffff800016b28518,83,ffff800016b285b8,0,b) at 0 rt_match(fffffd803c0212b0,fffffd802d0bacf0,1,0) at rt_match+0xbe rt_clone sys/net/route.c:266 [inline] rt_match(fffffd803c0212b0,fffffd802d0bacf0,1,0) at rt_match+0xbe sys/net/route.c:242 ip_output(fffffd802d0bac00,0,fffffd803c0212a0,20,0,fffffd803c021230) at ip_output+0x4d2 sys/netinet/ip_output.c:204 rip_output(fffffd802d0bac00,fffffd803c022c00,ffff800016b287c8,ffff80001591d000) at rip_output+0x22b sys/netinet/raw_ip.c:289 rip_usrreq(fffffd803c022c00,9,fffffd802d0bac00,0,0,ffff8000ffff2508) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 gre_usrreq(fffffd803c022c00,9,fffffd802d0bac00,0,0,ffff8000ffff2508) at gre_usrreq+0x185 sys/netinet/ip_gre.c:94 sosend(fffffd803c022c00,0,ffff800016b289e0,0,0,80) at sosend+0x63d sys/kern/uipc_socket.c:524 sendit(ffff8000ffff2508,3,ffff800016b28ac0,0,ffff800016b28ba0) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendto(ffff8000ffff2508,ffff800016b28b58,ffff800016b28ba0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 syscall(ffff800016b28c20) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffffd8,0,6,d0b04d54010) at Xsyscall+0x128 end of kernel end trace frame: 0xd0da06ba710, count: -16 ddb> show registers rdi 0xffffffff81b07ef7 db_enter+0x17 rsi 0x243f __ALIGN_SIZE+0x143f rbp 0xffff800016b281c0 rbx 0xffff800016b28270 rdx 0x2440 __ALIGN_SIZE+0x1440 rcx 0xffff80001591d000 rax 0xffff80001591d000 r8 0xffff800016b28180 r9 0x1 r10 0xffff800000a99580 r11 0x5258793295675d43 r12 0x3000000008 r13 0xffff800016b281d0 r14 0x100 r15 0x1 rip 0xffffffff81b07ef8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800016b281b0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.0) pid=456457 stat=onproc flags process=0 proc=4000000 pri=82, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff29f8,0xffffffff8255bd20 process=0xffff8000148a2018 user=0xffff800016b23000, vmspace=0xfffffd803f013dd0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 85760 3988 48935 0 2 0 syz-executor.0 *85760 456457 48935 0 7 0x4000000 syz-executor.0 18210 107058 93514 0 3 0x80 nanosleep syz-executor.1 18210 508719 93514 0 3 0x4000080 nanosleep syz-executor.1 18210 385670 93514 0 3 0x4000080 fsleep syz-executor.1 93514 378831 76227 0 3 0x82 nanosleep syz-executor.1 26605 209285 0 0 3 0x14200 acct acct 78070 238194 1 0 3 0x100083 ttyin getty 48935 467134 76227 0 3 0x82 nanosleep syz-executor.0 21449 325128 0 0 3 0x14200 bored sosplice 76227 419553 16667 0 3 0x82 thrsleep syz-fuzzer 76227 58233 16667 0 3 0x4000082 thrsleep syz-fuzzer 76227 329706 16667 0 3 0x4000082 thrsleep syz-fuzzer 76227 518141 16667 0 3 0x4000082 thrsleep syz-fuzzer 76227 184083 16667 0 3 0x4000082 kqread syz-fuzzer 76227 56561 16667 0 3 0x4000082 thrsleep syz-fuzzer 76227 161190 16667 0 3 0x4000082 thrsleep syz-fuzzer 16667 315273 97853 0 3 0x10008a pause ksh 97853 345191 34833 0 3 0x92 select sshd 34833 289187 1 0 3 0x80 select sshd 53582 94448 98176 73 3 0x100090 kqread syslogd 98176 457518 1 0 3 0x100082 netio syslogd 79965 41632 1 77 3 0x100090 poll dhclient 85578 217332 1 0 3 0x80 poll dhclient 15802 220160 0 0 2 0x14200 zerothread 86846 273999 0 0 3 0x14200 aiodoned aiodoned 52408 427982 0 0 3 0x14200 syncer update 21662 320968 0 0 3 0x14200 cleaner cleaner 58583 214007 0 0 3 0x14200 reaper reaper 66968 118819 0 0 3 0x14200 pgdaemon pagedaemon 50440 262915 0 0 3 0x14200 bored crynlk 65182 64432 0 0 3 0x14200 bored crypto 59965 229379 0 0 3 0x40014200 acpi0 acpi0 22810 415926 0 0 3 0x14200 bored softnet 76957 190473 0 0 3 0x14200 bored systqmp 12636 72429 0 0 3 0x14200 bored systq 52632 83553 0 0 3 0x40014200 bored softclock 82759 109249 0 0 3 0x40014200 idle0 78729 14462 0 0 3 0x14200 bored smr 1 187311 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 9570 7006K 7028K 78643K 11374 0 0 pcb 13 8K 9K 78643K 366 0 0 rtable 110 8K 8K 78643K 1244 0 0 ifaddr 83 17K 17K 78643K 377 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 87 0 0 iov 0 0K 32K 78643K 394 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1220 77K 77K 78643K 1897 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 33 0 0 VM map 2 0K 0K 78643K 4 0 0 sem 12 0K 1K 78643K 138 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 1629 0 0 sigio 0 0K 0K 78643K 41 0 0 proc 48 38K 63K 78643K 744 0 0 subproc 32 2K 2K 78643K 136 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 1950 0 0 in_multi 25 1K 2K 78643K 201 0 0 ether_multi 1 0K 0K 78643K 15 0 0 mrt 0 0K 0K 78643K 28 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 467 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 113 22K 26K 78643K 4909 0 0 UVM aobj 102 3K 3K 78643K 118 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 388 0 0 NDP 19 0K 0K 78643K 116 0 0 temp 228 3537K 4176K 78643K 86271 0 0 kqueue 0 0K 0K 78643K 8 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 48 0 42 1 0 1 1 0 8 0 rtpcb 80 189 0 187 1 0 1 1 0 8 0 rtentry 112 229 0 187 2 0 2 2 0 8 0 unpcb 120 636 0 628 1 0 1 1 0 8 0 syncache 264 18 0 18 6 5 1 1 0 8 1 tcpqe 32 7004 0 7004 1 1 0 1 0 8 0 tcpcb 544 2537 0 2532 10 8 2 3 0 8 1 ipq 40 6 0 6 3 3 0 1 0 8 0 ipqe 40 12 0 12 3 3 0 1 0 8 0 inpcb 280 3628 0 3619 12 9 3 5 0 8 2 rttmr 72 10 0 10 5 5 0 1 0 8 0 nd6 48 26 0 24 1 0 1 1 0 8 0 pkpcb 40 12 0 12 5 4 1 1 0 8 1 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 50 0 50 4 4 0 1 0 8 0 art_heap8 4096 3 0 1 3 1 2 3 0 8 0 art_heap4 256 946 0 751 20 7 13 17 0 8 0 art_table 32 949 0 752 3 0 3 3 0 8 0 art_node 16 227 0 189 1 0 1 1 0 8 0 sysvmsgpl 40 38 0 27 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 134 0 124 1 0 1 1 0 8 0 shmpl 112 116 0 16 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4050 0 2647 46 0 46 46 0 8 0 ffsino 240 4050 0 2647 83 0 83 83 0 8 0 nchpl 144 6766 0 5166 61 1 60 61 0 8 0 uvmvnodes 72 4280 0 0 78 0 78 78 0 8 0 vnodes 208 4280 0 0 226 0 226 226 0 8 0 namei 1024 22109 0 22109 3 2 1 1 0 8 1 vmpool 520 2 0 2 1 1 0 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 27295 0 27295 16 15 1 7 0 8 1 plimitpl 152 160 0 153 1 0 1 1 0 8 0 sigapl 432 1783 0 1769 2 0 2 2 0 8 0 futexpl 56 44319 0 44318 2 1 1 1 0 8 0 knotepl 112 467 0 448 3 2 1 3 0 8 0 kqueuepl 104 451 0 449 1 0 1 1 0 8 0 pipepl 112 876 0 857 2 1 1 2 0 8 0 fdescpl 424 1784 0 1769 2 0 2 2 0 8 0 filepl 120 15245 0 15148 7 3 4 5 0 8 0 lockfpl 104 650 0 649 1 0 1 1 0 8 0 lockfspl 48 209 0 208 1 0 1 1 0 8 0 sessionpl 112 24 0 14 1 0 1 1 0 8 0 pgrppl 48 52 0 42 1 0 1 1 0 8 0 ucredpl 96 2280 0 2273 1 0 1 1 0 8 0 zombiepl 144 1771 0 1771 2 1 1 1 0 8 1 processpl 864 1802 0 1771 4 0 4 4 0 8 0 procpl 632 3879 0 3839 4 0 4 4 0 8 0 sosppl 128 16 0 16 6 5 1 1 0 8 1 sockpl 384 4483 0 4464 19 14 5 7 0 8 3 mcl64k 65536 680 0 680 65 64 1 33 0 8 1 mcl16k 16384 22 0 22 8 7 1 1 0 8 1 mcl12k 12288 38 0 38 5 4 1 1 0 8 1 mcl9k 9216 30 0 30 5 4 1 1 0 8 1 mcl8k 8192 61 0 61 4 3 1 1 0 8 1 mcl4k 4096 172 0 172 3 2 1 1 0 8 1 mcl2k2 2112 17 0 17 5 5 0 1 0 8 0 mcl2k 2048 57807 0 57766 22 15 7 18 0 8 1 mtagpl 80 4 0 4 2 2 0 1 0 8 0 mbufpl 256 115428 0 115355 292 283 9 258 0 8 2 bufpl 256 14009 0 7697 395 0 395 395 0 8 0 anonpl 16 255813 0 239594 124 41 83 93 0 62 13 amapchunkpl 152 9851 0 9716 48 34 14 16 0 158 8 amappl16 192 11942 0 11055 139 87 52 64 0 8 7 amappl15 184 409 0 409 2 2 0 1 0 8 0 amappl14 176 299 0 293 1 0 1 1 0 8 0 amappl13 168 307 0 306 1 0 1 1 0 8 0 amappl12 160 750 0 746 2 1 1 1 0 8 0 amappl11 152 63 0 52 1 0 1 1 0 8 0 amappl10 144 17 0 14 1 0 1 1 0 8 0 amappl9 136 661 0 654 1 0 1 1 0 8 0 amappl8 128 230 0 198 2 0 2 2 0 8 0 amappl7 120 61 0 55 1 0 1 1 0 8 0 amappl6 112 73 0 65 1 0 1 1 0 8 0 amappl5 104 939 0 925 1 0 1 1 0 8 0 amappl4 96 1802 0 1773 1 0 1 1 0 8 0 amappl3 88 799 0 793 1 0 1 1 0 8 0 amappl2 80 13458 0 13384 3 1 2 3 0 8 0 amappl1 72 42334 0 41901 27 18 9 20 0 8 0 amappl 80 4221 0 4177 3 1 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 117 0 16 2 0 2 2 0 8 0 uaddrrnd 24 1786 0 1769 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1786 0 1769 1 0 1 1 0 8 0 vmmpekpl 168 14584 0 14558 2 0 2 2 0 8 0 vmmpepl 168 224178 0 222116 218 105 113 120 0 357 23 vmsppl 272 1783 0 1769 3 2 1 2 0 8 0 pdppl 4096 3578 0 3542 6 1 5 6 0 8 0 pvpl 32 838115 0 818704 401 110 291 293 0 265 132 pmappl 200 1785 0 1771 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 922 0 397 23 6 17 23 0 8 0