panic(ffffffff82223a7b) at panic+0x15c sys/kern/subr_prf.c:207 m_copydata(fffffd8063e0c500,198,2,ffff8000206af4d8) at m_copydata+0x17e m_getptr sys/kern/uipc_mbuf.c:1031 [inline] m_copydata(fffffd8063e0c500,198,2,ffff8000206af4d8) at m_copydata+0x17e sys/kern/uipc_mbuf.c:722 ip6_pullexthdr(fffffd8063e0c500,198,0) at ip6_pullexthdr+0xa2 sys/netinet6/ip6_input.c:1152 ip6_savecontrol(fffffd805e4d0578,fffffd8063e0c500,ffff8000206af640) at ip6_savecontrol+0x373 sys/netinet6/ip6_input.c:1062 rip6_input(ffff8000206af898,ffff8000206af8a4,0,18) at rip6_input+0x75b sys/netinet6/raw_ip6.c:225 ip_deliver(ffff8000206af898,ffff8000206af8a4,0,18) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip6_input_if(ffff8000206af898,ffff8000206af8a4,29,0,ffff800000677800) at ip6_input_if+0x1055 ipv6_input(ffff800000677800,fffffd8063e0c500) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 if_input_local(ffff800000677800,fffffd8063e0c500,18) at if_input_local+0x121 sys/net/if.c:781 ip6_output(fffffd8063e0cd00,ffff8000009d7300,fffffd805e4d0d90,0,0,fffffd805e4d0d20) at ip6_output+0xd02 rip6_output(fffffd8063e0c600,fffffd80503e0950,ffff8000206afc00,0) at rip6_output+0x4d7 sys/netinet6/raw_ip6.c:481 rip6_usrreq(fffffd80503e0950,9,fffffd8063e0c600,0,0,ffff80001d40d3d8) at rip6_usrreq+0x5e1 sys/netinet6/raw_ip6.c:670 sosend(fffffd80503e0950,0,ffff8000206afe48,0,0,0) at sosend+0x669 sys/kern/uipc_socket.c:524 end trace frame: 0xffff8000206afe30, 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 m_copydata: null mbuf ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82223a7b) at panic+0x15c sys/kern/subr_prf.c:207 m_copydata(fffffd8063e0c500,198,2,ffff8000206af4d8) at m_copydata+0x17e m_getptr sys/kern/uipc_mbuf.c:1031 [inline] m_copydata(fffffd8063e0c500,198,2,ffff8000206af4d8) at m_copydata+0x17e sys/kern/uipc_mbuf.c:722 ip6_pullexthdr(fffffd8063e0c500,198,0) at ip6_pullexthdr+0xa2 sys/netinet6/ip6_input.c:1152 ip6_savecontrol(fffffd805e4d0578,fffffd8063e0c500,ffff8000206af640) at ip6_savecontrol+0x373 sys/netinet6/ip6_input.c:1062 rip6_input(ffff8000206af898,ffff8000206af8a4,0,18) at rip6_input+0x75b sys/netinet6/raw_ip6.c:225 ip_deliver(ffff8000206af898,ffff8000206af8a4,0,18) at ip_deliver+0x2e3 sys/netinet/ip_input.c:668 ip6_input_if(ffff8000206af898,ffff8000206af8a4,29,0,ffff800000677800) at ip6_input_if+0x1055 ipv6_input(ffff800000677800,fffffd8063e0c500) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 if_input_local(ffff800000677800,fffffd8063e0c500,18) at if_input_local+0x121 sys/net/if.c:781 ip6_output(fffffd8063e0cd00,ffff8000009d7300,fffffd805e4d0d90,0,0,fffffd805e4d0d20) at ip6_output+0xd02 rip6_output(fffffd8063e0c600,fffffd80503e0950,ffff8000206afc00,0) at rip6_output+0x4d7 sys/netinet6/raw_ip6.c:481 rip6_usrreq(fffffd80503e0950,9,fffffd8063e0c600,0,0,ffff80001d40d3d8) at rip6_usrreq+0x5e1 sys/netinet6/raw_ip6.c:670 sosend(fffffd80503e0950,0,ffff8000206afe48,0,0,0) at sosend+0x669 sys/kern/uipc_socket.c:524 dofilewritev(ffff80001d40d3d8,3,ffff8000206afe48,0,ffff8000206aff30) at dofilewritev+0x1ac sys/kern/sys_generic.c:364 sys_write(ffff80001d40d3d8,ffff8000206afee8,ffff8000206aff30) at sys_write+0x83 sys/kern/sys_generic.c:284 syscall(ffff8000206affb0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf12edd744f0, count: -18 ddb> show registers rdi 0xffffffff81c29ac7 db_enter+0x17 rsi 0xb9d7 __ALIGN_SIZE+0xa9d7 rbp 0xffff8000206af3b0 rbx 0xffff8000206af460 rdx 0xb9d8 __ALIGN_SIZE+0xa9d8 rcx 0xffff80001e435000 rax 0xffff80001e435000 r8 0xffff8000206af370 r9 0x1 r10 0xffff8000009f6800 r11 0x8d617fd3a3a2445a r12 0x3000000008 r13 0xffff8000206af3c0 r14 0x100 r15 0x1 rip 0xffffffff81c29ac8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000206af3a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=202671 stat=onproc flags process=0 proc=4000000 pri=78, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff80001d40d650,0xffffffff825498a0 process=0xffff80001d39b488 user=0xffff8000206ab000, vmspace=0xfffffd806397d120 estcpu=36, cpticks=3, pctcpu=0.0 user=0, sys=2, intr=1 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 77879 503827 81604 0 2 0x480 syz-executor.1 *77879 202671 81604 0 7 0x4000000 syz-executor.1 16039 311384 18771 0 2 0 syz-executor.0 16039 25043 18771 0 3 0x4000080 fsleep syz-executor.0 16039 507036 18771 0 3 0x4000080 fsleep syz-executor.0 81604 226936 85528 0 2 0x482 syz-executor.1 18771 102807 85528 0 2 0x482 syz-executor.0 10828 310698 0 0 3 0x14200 acct acct 71674 93831 0 0 3 0x14200 bored sosplice 85528 344692 91202 0 3 0x82 thrsleep syz-fuzzer 85528 118861 91202 0 2 0x4000482 syz-fuzzer 85528 405265 91202 0 3 0x4000082 thrsleep syz-fuzzer 85528 235337 91202 0 3 0x4000082 thrsleep syz-fuzzer 85528 408270 91202 0 3 0x4000082 thrsleep syz-fuzzer 85528 517899 91202 0 3 0x4000082 thrsleep syz-fuzzer 85528 291030 91202 0 3 0x4000082 thrsleep syz-fuzzer 85528 177557 91202 0 3 0x4000082 kqread syz-fuzzer 91202 270978 6095 0 3 0x10008a pause ksh 6095 146519 24245 0 3 0x92 select sshd 47019 308162 1 0 3 0x100083 ttyin getty 24245 33870 1 0 3 0x80 select sshd 35944 101728 58600 73 3 0x100090 kqread syslogd 58600 159009 1 0 3 0x100082 netio syslogd 96536 266616 1 77 3 0x100090 poll dhclient 44401 8475 1 0 3 0x80 poll dhclient 11999 122119 0 0 2 0x14200 zerothread 78111 18324 0 0 3 0x14200 aiodoned aiodoned 42168 176210 0 0 3 0x14200 syncer update 8291 61970 0 0 3 0x14200 cleaner cleaner 58308 149348 0 0 3 0x14200 reaper reaper 39914 123548 0 0 3 0x14200 pgdaemon pagedaemon 90636 182671 0 0 3 0x14200 bored crynlk 68248 341160 0 0 3 0x14200 bored crypto 31607 272446 0 0 3 0x40014200 acpi0 acpi0 43544 409654 0 0 3 0x14200 bored softnet 87770 350482 0 0 3 0x14200 bored systqmp 81030 319040 0 0 3 0x14200 bored systq 70795 93915 0 0 2 0x40014200 softclock 16710 240315 0 0 3 0x40014200 idle0 75145 134746 0 0 3 0x14200 bored smr 1 1155 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 devbuf 9523 6368K 6860K 78643K 12112 0 pcb 18 8K 8K 78643K 154 0 rtable 104 4K 4K 78643K 1416 0 ifaddr 83 15K 17K 78643K 221 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 55 0 iov 0 0K 24K 78643K 157 0 mount 1 1K 1K 78643K 1 0 vnodes 1214 76K 77K 78643K 1766 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 18 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 199 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 648 0 sigio 0 0K 0K 78643K 16 0 proc 48 38K 63K 78643K 615 0 subproc 32 2K 2K 78643K 102 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 1K 78643K 80 0 in_multi 75 3K 3K 78643K 156 0 ether_multi 1 0K 0K 78643K 4 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 287 0 pfkey data 0 0K 0K 78643K 6 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 141 104K 108K 78643K 2460 0 UVM aobj 48 2K 3K 78643K 56 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 4 0K 0K 78643K 117 0 NDP 15 0K 0K 78643K 51 0 temp 144 3019K 3094K 78643K 24593 0 kqueue 0 0K 0K 78643K 8 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 15 0 11 1 0 1 1 0 8 0 rtpcb 80 604 0 602 1 0 1 1 0 8 0 rtentry 112 99 0 60 2 0 2 2 0 8 0 unpcb 120 479 0 471 1 0 1 1 0 8 0 syncache 264 8 0 8 3 3 0 1 0 8 0 sackhl 24 2 0 2 2 1 1 1 0 8 1 tcpqe 32 375 0 375 1 1 0 1 0 8 0 tcpcb 544 235 0 230 3 2 1 2 0 8 0 ipq 40 6 0 6 2 1 1 1 0 8 1 ipqe 40 270 0 270 2 1 1 1 0 8 1 inpcb 280 1054 0 1042 5 3 2 4 0 8 1 nd6 48 15 0 12 1 0 1 1 0 8 0 pkpcb 40 10 0 10 2 1 1 1 0 8 1 ppxss 1128 8 0 8 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 489 0 268 15 0 15 15 0 8 1 art_table 32 491 0 268 2 0 2 2 0 8 0 art_node 16 98 0 62 1 0 1 1 0 8 0 sysvmsgpl 40 64 0 26 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 197 0 187 1 0 1 1 0 8 0 shmpl 112 54 0 8 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2291 0 893 46 0 46 46 0 8 0 ffsino 240 2291 0 893 83 0 83 83 0 8 0 nchpl 144 3376 0 1769 60 0 60 60 0 8 0 uvmvnodes 72 2768 0 0 51 0 51 51 0 8 0 vnodes 208 2768 0 0 146 0 146 146 0 8 0 namei 1024 9897 0 9897 1 0 1 1 0 8 1 vcpupl 1984 8 0 0 1 0 1 1 0 8 0 vmpool 528 14 0 6 1 0 1 1 0 8 0 scxspl 192 11161 0 11161 1 0 1 1 0 8 1 plimitpl 152 66 0 59 1 0 1 1 0 8 0 sigapl 432 807 0 793 2 0 2 2 0 8 0 futexpl 56 17594 0 17591 1 0 1 1 0 8 0 knotepl 112 167 0 148 1 0 1 1 0 8 0 kqueuepl 104 132 0 130 1 0 1 1 0 8 0 pipepl 112 524 0 505 2 0 2 2 0 8 1 fdescpl 424 808 0 793 2 0 2 2 0 8 0 filepl 120 6246 0 6146 7 2 5 6 0 8 1 lockfpl 104 197 0 196 1 0 1 1 0 8 0 lockfspl 48 69 0 68 1 0 1 1 0 8 0 sessionpl 112 21 0 11 1 0 1 1 0 8 0 pgrppl 48 33 0 23 1 0 1 1 0 8 0 ucredpl 96 517 0 510 1 0 1 1 0 8 0 zombiepl 144 793 0 793 1 0 1 1 0 8 1 processpl 872 824 0 793 4 0 4 4 0 8 0 procpl 632 1535 0 1494 4 0 4 4 0 8 0 sosppl 128 4 0 4 2 1 1 1 0 8 1 sockpl 384 2163 0 2141 11 5 6 7 0 8 3 mcl64k 65536 52 0 52 1 0 1 1 0 8 1 mcl16k 16384 9 0 9 3 2 1 1 0 8 1 mcl12k 12288 16 0 16 2 1 1 1 0 8 1 mcl9k 9216 8 0 8 2 1 1 1 0 8 1 mcl8k 8192 52 0 52 1 0 1 1 0 8 1 mcl4k 4096 109 0 109 2 1 1 1 0 8 1 mcl2k2 2112 8 0 8 1 1 0 1 0 8 0 mcl2k 2048 70165 0 70112 16 8 8 14 0 8 1 mtagpl 80 33 0 19 2 1 1 1 0 8 0 mbufpl 256 123145 0 122971 99 74 25 90 0 8 8 bufpl 280 8314 0 2130 442 0 442 442 0 8 0 anonpl 16 111029 0 91856 102 8 94 94 0 107 14 amapchunkpl 152 4472 0 4314 22 6 16 16 0 158 9 amappl16 192 4232 0 3176 73 16 57 65 0 8 3 amappl15 184 407 0 403 1 0 1 1 0 8 0 amappl14 176 49 0 47 1 0 1 1 0 8 0 amappl13 168 8 0 7 1 0 1 1 0 8 0 amappl12 160 13 0 13 2 2 0 1 0 8 0 amappl11 152 219 0 205 1 0 1 1 0 8 0 amappl10 144 40 0 37 1 0 1 1 0 8 0 amappl9 136 764 0 759 1 0 1 1 0 8 0 amappl8 128 296 0 267 1 0 1 1 0 8 0 amappl7 120 146 0 132 1 0 1 1 0 8 0 amappl6 112 209 0 202 1 0 1 1 0 8 0 amappl5 104 177 0 166 1 0 1 1 0 8 0 amappl4 96 1037 0 1007 1 0 1 1 0 8 0 amappl3 88 143 0 134 1 0 1 1 0 8 0 amappl2 80 5660 0 5582 3 1 2 3 0 8 0 amappl1 72 24377 0 23945 27 18 9 20 0 8 0 amappl 80 1830 0 1775 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 18 0 17 1 0 1 1 0 8 0 aobjpl 64 55 0 8 1 0 1 1 0 8 0 uaddrrnd 24 822 0 799 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 822 0 799 1 0 1 1 0 8 0 vmmpekpl 168 9133 0 9107 2 0 2 2 0 8 0 vmmpepl 168 106708 0 104432 144 19 125 135 0 357 26 vmsppl 272 821 0 799 3 1 2 2 0 8 0 pdppl 4096 1650 0 1606 7 1 6 6 0 8 0 pvpl 32 305331 0 283030 225 8 217 217 0 265 34 pmappl 200 821 0 799 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 241 0 91 7 0 7 7 0 8 0