panic() at panic+0x15c sys/kern/subr_prf.c:207 m_copydata(fffffd8068b03c00,6f8,8,fffffd8068b06c20) at m_copydata+0x17e m_getptr sys/kern/uipc_mbuf.c:1031 [inline] m_copydata(fffffd8068b03c00,6f8,8,fffffd8068b06c20) at m_copydata+0x17e sys/kern/uipc_mbuf.c:722 ip6_pullexthdr(fffffd8068b03c00,6f8,0) at ip6_pullexthdr+0x16f sys/netinet6/ip6_input.c:1149 ip6_savecontrol(fffffd806f6d5460,fffffd8068b03c00,ffff800022d60ba0) at ip6_savecontrol+0x373 sys/netinet6/ip6_input.c:1036 rip6_input(ffff800022d60df8,ffff800022d60e04,0,18) at rip6_input+0x7e7 sys/netinet6/raw_ip6.c:225 ip_deliver(ffff800022d60df8,ffff800022d60e04,0,18) at ip_deliver+0x353 sys/netinet/ip_input.c:665 ip6_input_if(ffff800022d60df8,ffff800022d60e04,29,0,ffff80000066d000) at ip6_input_if+0x17cb ip6_ours sys/netinet6/ip6_input.c:518 [inline] ip6_input_if(ffff800022d60df8,ffff800022d60e04,29,0,ffff80000066d000) at ip6_input_if+0x17cb sys/netinet6/ip6_input.c:340 ipv6_input(ffff80000066d000,fffffd8068b03c00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 if_input_local(ffff80000066d000,fffffd8068b03c00,18) at if_input_local+0x121 sys/net/if.c:781 ip6_output(fffffd80735ab700,ffff800000a98780,fffffd806f6d5070,0,0,fffffd806f6d5000) at ip6_output+0xd26 rip6_output(fffffd80735ab700,fffffd8070c93928,ffff800022d61160,0) at rip6_output+0x4c0 sys/netinet6/raw_ip6.c:481 rip6_usrreq(fffffd8070c93928,9,fffffd80735ab700,0,0,ffff800020abe780) at rip6_usrreq+0x5e1 sys/netinet6/raw_ip6.c:670 sosend(fffffd8070c93928,0,ffff800022d613a8,0,0,0) at sosend+0x645 sys/kern/uipc_socket.c:524 end trace frame: 0xffff800022d61390, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic m_copydata: null mbuf ddb{0}> 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 m_copydata(fffffd8068b03c00,6f8,8,fffffd8068b06c20) at m_copydata+0x17e m_getptr sys/kern/uipc_mbuf.c:1031 [inline] m_copydata(fffffd8068b03c00,6f8,8,fffffd8068b06c20) at m_copydata+0x17e sys/kern/uipc_mbuf.c:722 ip6_pullexthdr(fffffd8068b03c00,6f8,0) at ip6_pullexthdr+0x16f sys/netinet6/ip6_input.c:1149 ip6_savecontrol(fffffd806f6d5460,fffffd8068b03c00,ffff800022d60ba0) at ip6_savecontrol+0x373 sys/netinet6/ip6_input.c:1036 rip6_input(ffff800022d60df8,ffff800022d60e04,0,18) at rip6_input+0x7e7 sys/netinet6/raw_ip6.c:225 ip_deliver(ffff800022d60df8,ffff800022d60e04,0,18) at ip_deliver+0x353 sys/netinet/ip_input.c:665 ip6_input_if(ffff800022d60df8,ffff800022d60e04,29,0,ffff80000066d000) at ip6_input_if+0x17cb ip6_ours sys/netinet6/ip6_input.c:518 [inline] ip6_input_if(ffff800022d60df8,ffff800022d60e04,29,0,ffff80000066d000) at ip6_input_if+0x17cb sys/netinet6/ip6_input.c:340 ipv6_input(ffff80000066d000,fffffd8068b03c00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 if_input_local(ffff80000066d000,fffffd8068b03c00,18) at if_input_local+0x121 sys/net/if.c:781 ip6_output(fffffd80735ab700,ffff800000a98780,fffffd806f6d5070,0,0,fffffd806f6d5000) at ip6_output+0xd26 rip6_output(fffffd80735ab700,fffffd8070c93928,ffff800022d61160,0) at rip6_output+0x4c0 sys/netinet6/raw_ip6.c:481 rip6_usrreq(fffffd8070c93928,9,fffffd80735ab700,0,0,ffff800020abe780) at rip6_usrreq+0x5e1 sys/netinet6/raw_ip6.c:670 sosend(fffffd8070c93928,0,ffff800022d613a8,0,0,0) at sosend+0x645 sys/kern/uipc_socket.c:524 dofilewritev(ffff800020abe780,3,ffff800022d613a8,0,ffff800022d61490) at dofilewritev+0x1b7 sys/kern/sys_generic.c:364 sys_write(ffff800020abe780,ffff800022d61448,ffff800022d61490) at sys_write+0x83 sys/kern/sys_generic.c:284 syscall(ffff800022d61510) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800022d61510) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,c,0,3,7cb58ffb010) at Xsyscall+0x128 end of kernel end trace frame: 0x7cdac5bd390, count: -18 ddb{0}> show registers rdi 0xffffffff811a5757 db_enter+0x17 rsi 0x5541 __ALIGN_SIZE+0x4541 rbp 0xffff800022d60910 rbx 0xffff800022d609c0 rdx 0x5542 __ALIGN_SIZE+0x4542 rcx 0xffff80002357c000 rax 0xffff80002357c000 r8 0xffffffff816ebd8f kprintf+0x16f r9 0x1 r10 0x25 r11 0x34280912587b0b9a r12 0x3000000008 r13 0xffff800022d60920 r14 0x100 r15 0x1 rip 0xffffffff811a5758 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800022d60900 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=444422 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020abe508,0xffff800020abec80 process=0xffff800020a8b510 user=0xffff800022d5c000, vmspace=0xfffffd807f00b5c0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 45234 155200 45362 0 2 0 syz-executor.0 50991 453260 17218 0 2 0 syz-executor.1 *50991 444422 17218 0 7 0x4000000 syz-executor.1 17218 28147 90769 0 3 0x82 nanosleep syz-executor.1 45362 492531 90769 0 7 0x2 syz-executor.0 26927 465073 1 0 3 0x100083 ttyin getty 53874 162714 0 0 3 0x14200 acct acct 94147 262656 0 0 3 0x14200 bored sosplice 90769 324475 68405 0 3 0x82 thrsleep syz-fuzzer 90769 154871 68405 0 2 0x4000482 syz-fuzzer 90769 118217 68405 0 3 0x4000082 thrsleep syz-fuzzer 90769 406548 68405 0 3 0x4000082 thrsleep syz-fuzzer 90769 310798 68405 0 3 0x4000082 thrsleep syz-fuzzer 90769 297348 68405 0 3 0x4000082 thrsleep syz-fuzzer 90769 49477 68405 0 3 0x4000082 thrsleep syz-fuzzer 90769 63838 68405 0 3 0x4000082 thrsleep syz-fuzzer 90769 442403 68405 0 3 0x4000082 thrsleep syz-fuzzer 90769 371919 68405 0 3 0x4000082 kqread syz-fuzzer 68405 165326 13054 0 3 0x10008a pause ksh 13054 143109 38548 0 3 0x92 select sshd 38548 229235 1 0 3 0x80 select sshd 91387 247519 82767 74 3 0x100092 bpf pflogd 82767 25664 1 0 3 0x80 netio pflogd 77963 450349 31763 73 3 0x100090 kqread syslogd 31763 85266 1 0 3 0x100082 netio syslogd 52542 29587 1 77 3 0x100090 poll dhclient 12318 426259 1 0 3 0x80 poll dhclient 84583 71874 0 0 2 0x14200 zerothread 5562 295240 0 0 3 0x14200 aiodoned aiodoned 48778 232827 0 0 3 0x14200 syncer update 24559 292452 0 0 3 0x14200 cleaner cleaner 5169 245977 0 0 3 0x14200 reaper reaper 10644 317217 0 0 3 0x14200 pgdaemon pagedaemon 77946 201703 0 0 3 0x14200 bored crynlk 30343 186175 0 0 3 0x14200 bored crypto 99824 112898 0 0 3 0x40014200 acpi0 acpi0 48621 273017 0 0 3 0x40014200 idle1 29443 416662 0 0 3 0x14200 bored softnet 4468 141041 0 0 3 0x14200 bored systqmp 9952 469559 0 0 3 0x14200 bored systq 80887 115103 0 0 2 0x40014200 softclock 51845 215630 0 0 3 0x40014200 idle0 36080 152093 0 0 3 0x14200 bored smr 1 233116 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 1: exclusive mutex vmmpepl r = 0 (0xffffffff8267a938) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pool_get+0xbf sys/kern/subr_pool.c:578 #4 uvm_mapent_alloc+0x2d2 sys/uvm/uvm_map.c:1739 #5 uvm_map_mkentry+0x75 sys/uvm/uvm_map.c:1644 #6 uvm_mapent_clone+0x9e sys/uvm/uvm_map.c:3711 #7 uvmspace_fork+0x2a2 uvm_mapent_share sys/uvm/uvm_map.c:3767 [inline] #7 uvmspace_fork+0x2a2 uvm_mapent_forkshared sys/uvm/uvm_map.c:3782 [inline] #7 uvmspace_fork+0x2a2 sys/uvm/uvm_map.c:4026 #8 process_new+0x19a sys/kern/kern_fork.c:269 #9 fork1+0x35b sys/kern/kern_fork.c:391 #10 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #10 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #11 Xsyscall+0x128 Process 50991 (syz-executor.1) thread 0xffff800020abe780 (444422) exclusive rwlock netlock r = 0 (0xffffffff8249bcd8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sosend+0x51b sys/kern/uipc_socket.c:512 #3 dofilewritev+0x1b7 sys/kern/sys_generic.c:364 #4 sys_write+0x83 sys/kern/sys_generic.c:284 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #6 Xsyscall+0x128 Process 45362 (syz-executor.0) thread 0xffff800020abe290 (492531) exclusive rwlock vmmaplk r = 0 (0xfffffd807f00ba28) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x447 sys/kern/kern_rwlock.c:306 #2 vm_map_lock_ln+0x10d sys/uvm/uvm_map.c:5343 #3 uvmspace_fork+0x112 sys/uvm/uvm_map.c:4006 #4 process_new+0x19a sys/kern/kern_fork.c:269 #5 fork1+0x35b sys/kern/kern_fork.c:391 #6 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #6 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #7 Xsyscall+0x128 exclusive rwlock vmmaplk r = 0 (0xfffffd807f00b748) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x447 sys/kern/kern_rwlock.c:306 #2 vm_map_lock_ln+0x10d sys/uvm/uvm_map.c:5343 #3 uvmspace_fork+0x37 sys/uvm/uvm_map.c:3997 #4 process_new+0x19a sys/kern/kern_fork.c:269 #5 fork1+0x35b sys/kern/kern_fork.c:391 #6 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #6 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #7 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82667590) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9565 6436K 7667K 78643K 16655 0 0 pcb 15 8K 9K 78643K 428 0 0 rtable 102 13K 16K 78643K 1422 0 0 ifaddr 166 22K 23K 78643K 445 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1576 0 0 iov 0 0K 24K 78643K 391 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1222 77K 77K 78643K 3385 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 20 0 0 VM map 12 6K 6K 78643K 23 0 0 sem 12 0K 1K 78643K 574 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 6 17K 25K 78643K 1950 0 0 sigio 0 0K 1K 78643K 375 0 0 proc 62 63K 95K 78643K 1172 0 0 subproc 32 2K 2K 78643K 242 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 1K 78643K 254 0 0 in_multi 22 1K 2K 78643K 247 0 0 ether_multi 1 0K 0K 78643K 19 0 0 mrt 0 0K 0K 78643K 13 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 72 318K 318K 78643K 72 0 0 exec 0 0K 1K 78643K 532 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 147 121K 122K 78643K 7961 0 0 UVM aobj 130 4K 4K 78643K 133 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 2 0K 2K 78643K 461 0 0 NDP 22 0K 0K 78643K 112 0 0 temp 167 3552K 4192K 78643K 59671 0 0 kqueue 0 0K 0K 78643K 17 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 62 0 58 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 203 0 201 1 0 1 1 0 8 0 rtentry 112 260 0 225 2 0 2 2 0 8 0 unpcb 120 2311 0 2300 6 5 1 2 0 8 0 syncache 264 9 0 9 4 4 0 1 0 8 0 tcpqe 32 156 0 156 3 3 0 1 0 8 0 tcpcb 544 1237 0 1232 10 8 2 2 0 8 1 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 4 0 4 1 1 0 1 0 8 0 inpcb 280 3834 0 3825 13 10 3 5 0 8 2 rttmr 72 5 0 4 4 3 1 1 0 8 0 nd6 48 28 0 26 2 1 1 1 0 8 0 pkpcb 40 22 0 22 4 3 1 1 0 8 1 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 36 0 36 6 5 1 1 0 8 1 pffrag 232 78 0 77 6 5 1 1 0 482 0 pffrnode 88 73 0 72 6 5 1 1 0 8 0 pffrent 40 2328 0 2327 6 5 1 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 183 0 131 1 0 1 1 0 8 0 pfstkey 112 183 0 131 3 0 3 3 0 8 0 pfstate 328 183 0 131 6 0 6 6 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 11 0 10 8 7 1 3 0 8 0 art_heap4 256 1021 0 825 27 13 14 16 0 8 1 art_table 32 1032 0 835 3 0 3 3 0 8 1 art_node 16 259 0 227 1 0 1 1 0 8 0 sysvmsgpl 40 51 0 42 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 572 0 562 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4363 0 2950 46 0 46 46 0 8 0 ffsino 272 4363 0 2950 95 0 95 95 0 8 0 nchpl 144 8401 0 7925 61 42 19 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 31930 0 31930 3 2 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 10 0 0 2 0 2 2 0 8 0 vmpool 552 21 0 11 2 1 1 1 0 8 0 scsiplug 64 6 0 6 4 4 0 1 0 8 0 scxspl 192 22121 0 22121 21 17 4 6 0 8 4 plimitpl 152 188 0 180 1 0 1 1 0 8 0 sigapl 432 2113 0 2097 3 1 2 3 0 8 0 futexpl 56 52403 0 52403 3 2 1 1 0 8 1 knotepl 112 468 0 449 2 1 1 2 0 8 0 kqueuepl 104 537 0 535 1 0 1 1 0 8 0 pipepl 160 2282 0 2263 6 4 2 3 0 8 1 fdescpl 488 2114 0 2097 3 0 3 3 0 8 0 filepl 152 22622 0 22520 26 20 6 10 0 8 2 lockfpl 104 788 0 787 1 0 1 1 0 8 0 lockfspl 48 256 0 255 1 0 1 1 0 8 0 sessionpl 112 31 0 20 1 0 1 1 0 8 0 pgrppl 48 59 0 48 1 0 1 1 0 8 0 ucredpl 96 1922 0 1912 1 0 1 1 0 8 0 zombiepl 144 2097 0 2097 3 2 1 1 0 8 1 processpl 896 2131 0 2097 4 0 4 4 0 8 0 procpl 632 6523 0 6479 5 0 5 5 0 8 0 srpgc 64 26 0 26 9 8 1 1 0 8 1 sosppl 128 80 0 80 8 8 0 1 0 8 0 sockpl 384 6388 0 6366 35 29 6 10 0 8 3 mcl64k 65536 23 0 0 3 0 3 3 0 8 0 mcl16k 16384 18 0 0 3 1 2 3 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 10 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 1 2 3 0 8 0 mcl4k 4096 11 0 0 2 0 2 2 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 192 0 0 23 4 19 23 0 8 0 mtagpl 80 60 0 0 1 0 1 1 0 8 0 mbufpl 256 927 0 0 51 0 51 51 0 8 0 bufpl 256 10998 0 3940 442 0 442 442 0 8 0 anonpl 16 263023 0 245858 159 68 91 104 0 124 2 amapchunkpl 152 15555 0 15421 31 24 7 14 0 158 0 amappl16 192 11188 0 9984 125 64 61 73 0 8 0 amappl15 184 37 0 37 1 1 0 1 0 8 0 amappl14 176 199 0 194 1 0 1 1 0 8 0 amappl13 168 237 0 236 1 0 1 1 0 8 0 amappl12 160 270 0 268 3 2 1 1 0 8 0 amappl11 152 609 0 593 1 0 1 1 0 8 0 amappl10 144 103 0 98 1 0 1 1 0 8 0 amappl9 136 1066 0 1063 1 0 1 1 0 8 0 amappl8 128 660 0 616 2 0 2 2 0 8 0 amappl7 120 186 0 176 1 0 1 1 0 8 0 amappl6 112 577 0 562 1 0 1 1 0 8 0 amappl5 104 519 0 503 1 0 1 1 0 8 0 amappl4 96 2584 0 2548 2 1 1 2 0 8 0 amappl3 88 390 0 381 1 0 1 1 0 8 0 amappl2 80 15329 0 15259 3 1 2 3 0 8 0 amappl1 72 57491 0 57052 25 15 10 20 0 8 0 amappl 80 7022 0 6971 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 132 0 3 3 0 3 3 0 8 0 uaddrrnd 24 2135 0 2097 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2135 0 2097 1 0 1 1 0 8 0 vmmpekpl 168 22644 0 22604 4 1 3 3 0 8 0 vmmpepl 168 276471 0 274009 271 119 152 152 0 357 41 vmsppl 368 2113 0 2097 2 0 2 2 0 8 0 pdppl 4096 4277 0 4226 7 0 7 7 0 8 0 pvpl 32 708298 0 688121 328 106 222 237 0 265 24 pmappl 232 2134 0 2108 3 1 2 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 686 0 39 19 0 19 19 0 8 0