panic(ffffffff822460e2) at panic+0x15c sys/kern/subr_prf.c:207 m_copydata(fffffd8067a4c700,30,8,fffffd80676ef620) at m_copydata+0x17e m_getptr sys/kern/uipc_mbuf.c:1031 [inline] m_copydata(fffffd8067a4c700,30,8,fffffd80676ef620) at m_copydata+0x17e sys/kern/uipc_mbuf.c:722 ip6_pullexthdr(fffffd8067a4c700,30,0) at ip6_pullexthdr+0x16f sys/netinet6/ip6_input.c:1175 ip6_savecontrol(fffffd806f667af0,fffffd8067a4c700,ffff800021bb6cf0) at ip6_savecontrol+0x373 sys/netinet6/ip6_input.c:1062 rip6_input(ffff800021bb6f38,ffff800021bb6f44,0,18) at rip6_input+0x7e7 sys/netinet6/raw_ip6.c:225 ip_deliver(ffff800021bb6f38,ffff800021bb6f44,0,18) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip6_input_if(ffff800021bb6f38,ffff800021bb6f44,29,0,ffff800000679800) at ip6_input_if+0x1207 ipv6_input(ffff800000679800,fffffd8067a4c700) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 if_input_local(ffff800000679800,fffffd8067a4c700,18) at if_input_local+0x121 sys/net/if.c:781 ip6_output(fffffd80676ee800,ffff800000a1c280,fffffd806f667070,0,0,fffffd806f667000) at ip6_output+0xd26 rip6_output(fffffd80676ee800,fffffd806f668600,ffff800021bb72a0,0) at rip6_output+0x4c0 sys/netinet6/raw_ip6.c:481 rip6_usrreq(fffffd806f668600,9,fffffd80676ee800,0,0,ffff800020ac8780) at rip6_usrreq+0x5e1 sys/netinet6/raw_ip6.c:670 sosend(fffffd806f668600,0,ffff800021bb74f8,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:524 end trace frame: 0xffff800021bb74e0, 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(ffffffff822460e2) at panic+0x15c sys/kern/subr_prf.c:207 m_copydata(fffffd8067a4c700,30,8,fffffd80676ef620) at m_copydata+0x17e m_getptr sys/kern/uipc_mbuf.c:1031 [inline] m_copydata(fffffd8067a4c700,30,8,fffffd80676ef620) at m_copydata+0x17e sys/kern/uipc_mbuf.c:722 ip6_pullexthdr(fffffd8067a4c700,30,0) at ip6_pullexthdr+0x16f sys/netinet6/ip6_input.c:1175 ip6_savecontrol(fffffd806f667af0,fffffd8067a4c700,ffff800021bb6cf0) at ip6_savecontrol+0x373 sys/netinet6/ip6_input.c:1062 rip6_input(ffff800021bb6f38,ffff800021bb6f44,0,18) at rip6_input+0x7e7 sys/netinet6/raw_ip6.c:225 ip_deliver(ffff800021bb6f38,ffff800021bb6f44,0,18) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip6_input_if(ffff800021bb6f38,ffff800021bb6f44,29,0,ffff800000679800) at ip6_input_if+0x1207 ipv6_input(ffff800000679800,fffffd8067a4c700) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 if_input_local(ffff800000679800,fffffd8067a4c700,18) at if_input_local+0x121 sys/net/if.c:781 ip6_output(fffffd80676ee800,ffff800000a1c280,fffffd806f667070,0,0,fffffd806f667000) at ip6_output+0xd26 rip6_output(fffffd80676ee800,fffffd806f668600,ffff800021bb72a0,0) at rip6_output+0x4c0 sys/netinet6/raw_ip6.c:481 rip6_usrreq(fffffd806f668600,9,fffffd80676ee800,0,0,ffff800020ac8780) at rip6_usrreq+0x5e1 sys/netinet6/raw_ip6.c:670 sosend(fffffd806f668600,0,ffff800021bb74f8,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:524 dofilewritev(ffff800020ac8780,3,ffff800021bb74f8,0,ffff800021bb75e0) at dofilewritev+0x1b7 sys/kern/sys_generic.c:364 sys_write(ffff800020ac8780,ffff800021bb7598,ffff800021bb75e0) at sys_write+0x83 sys/kern/sys_generic.c:284 syscall(ffff800021bb7660) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021bb7660) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x31451a6bc70, count: -18 ddb{0}> show registers rdi 0xffffffff817710b7 db_enter+0x17 rsi 0x1773 __ALIGN_SIZE+0x773 rbp 0xffff800021bb6a60 rbx 0xffff800021bb6b10 rdx 0x1774 __ALIGN_SIZE+0x774 rcx 0xffff800020b7c000 rax 0xffff800020b7c000 r8 0xffffffff81617f6f kprintf+0x16f r9 0x1 r10 0x25 r11 0x4e0d269eca876e7a r12 0x3000000008 r13 0xffff800021bb6a70 r14 0x100 r15 0x1 rip 0xffffffff817710b8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021bb6a50 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=234649 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ac8c70,0xffff800020ac8518 process=0xffff800020a63c48 user=0xffff800021bb2000, vmspace=0xfffffd807f000450 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 95066 489689 89511 0 7 0 syz-executor.1 43063 97250 36197 0 2 0 syz-executor.0 *43063 234649 36197 0 7 0x4000000 syz-executor.0 22893 428536 0 0 3 0x14200 bored sosplice 18666 480696 0 0 3 0x14200 acct acct 89511 337141 64670 0 3 0x82 nanosleep syz-executor.1 36197 181660 64670 0 2 0x482 syz-executor.0 64670 21839 11174 0 3 0x82 thrsleep syz-fuzzer 64670 189445 11174 0 2 0x4000482 syz-fuzzer 64670 203014 11174 0 3 0x4000082 thrsleep syz-fuzzer 64670 462307 11174 0 3 0x4000082 kqread syz-fuzzer 64670 150714 11174 0 3 0x4000082 thrsleep syz-fuzzer 64670 480974 11174 0 3 0x4000082 thrsleep syz-fuzzer 64670 112161 11174 0 3 0x4000082 thrsleep syz-fuzzer 64670 162506 11174 0 3 0x4000082 thrsleep syz-fuzzer 64670 193284 11174 0 3 0x4000082 thrsleep syz-fuzzer 64670 318243 11174 0 3 0x4000082 thrsleep syz-fuzzer 11174 393894 45845 0 3 0x10008a pause ksh 45845 409264 17505 0 3 0x92 select sshd 13537 122834 1 0 3 0x100083 ttyin getty 17505 354842 1 0 3 0x80 select sshd 26834 261798 94678 74 3 0x100092 bpf pflogd 94678 316929 1 0 3 0x80 netio pflogd 64677 221103 17590 73 3 0x100090 kqread syslogd 17590 305281 1 0 3 0x100082 netio syslogd 57018 18950 1 77 3 0x100090 poll dhclient 96670 436438 1 0 3 0x80 poll dhclient 90626 458742 0 0 2 0x14200 zerothread 39434 242520 0 0 3 0x14200 aiodoned aiodoned 56694 281456 0 0 3 0x14200 syncer update 24360 233388 0 0 3 0x14200 cleaner cleaner 67914 180526 0 0 3 0x14200 reaper reaper 25998 44281 0 0 3 0x14200 pgdaemon pagedaemon 44293 512740 0 0 3 0x14200 bored crynlk 23097 378246 0 0 3 0x14200 bored crypto 80040 213669 0 0 3 0x40014200 acpi0 acpi0 66625 381550 0 0 3 0x40014200 idle1 47865 132852 0 0 3 0x14200 bored softnet 44249 521112 0 0 3 0x14200 bored systqmp 2692 10799 0 0 3 0x14200 bored systq 66403 508037 0 0 2 0x40014200 softclock 10454 441188 0 0 3 0x40014200 idle0 94025 517811 0 0 3 0x14200 bored smr 1 462275 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 1: exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd80633fbdb0) #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 pmap_enter+0x1bc rcr3 machine/cpufunc.h:141 [inline] #3 pmap_enter+0x1bc pmap_map_ptes sys/arch/amd64/amd64/pmap.c:414 [inline] #3 pmap_enter+0x1bc sys/arch/amd64/amd64/pmap.c:2606 #4 uvm_fault+0x77b sys/uvm/uvm_fault.c:691 #5 pageflttrap+0x20b sys/arch/amd64/amd64/trap.c:199 #6 usertrap+0x21a sys/arch/amd64/amd64/trap.c:369 #7 recall_trap+0x8 Process 95066 (syz-executor.1) thread 0xffff800020ac8508 (489689) shared rwlock vmmaplk r = 0 (0xfffffd807f000748) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1448 #2 uvm_fault+0x7f sys/uvm/uvm_fault.c:524 #3 pageflttrap+0x20b sys/arch/amd64/amd64/trap.c:199 #4 usertrap+0x21a sys/arch/amd64/amd64/trap.c:369 #5 recall_trap+0x8 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82651ab0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 pageflttrap+0x6f sys/arch/amd64/amd64/trap.c:162 #2 usertrap+0x21a sys/arch/amd64/amd64/trap.c:369 #3 recall_trap+0x8 Process 43063 (syz-executor.0) thread 0xffff800020ac8780 (234649) exclusive rwlock netlock r = 0 (0xffffffff824f73e8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sosend+0x559 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 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9527 6794K 7766K 78643K 11033 0 pcb 15 8K 8K 78643K 39 0 rtable 93 4K 4K 78643K 252 0 ifaddr 56 11K 12K 78643K 71 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1473 0 iov 0 0K 2K 78643K 3 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1329 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 35 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 86 0 proc 60 63K 83K 78643K 449 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 11 0 in_multi 31 2K 2K 78643K 46 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 211 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 122 38K 38K 78643K 1223 0 UVM aobj 6 2K 2K 78643K 6 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 2 0K 0K 78643K 16 0 NDP 9 0K 0K 78643K 15 0 temp 92 3015K 3079K 78643K 3709 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 7 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 23 0 21 1 0 1 1 0 8 0 rtentry 112 49 0 14 2 0 2 2 0 8 0 unpcb 120 74 0 64 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 568 0 568 1 0 1 1 0 8 1 tcpcb 544 47 0 42 1 0 1 1 0 8 0 inpcb 280 150 0 141 2 0 2 2 0 8 1 nd6 48 4 0 2 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 ppxss 1128 2 0 2 1 0 1 1 0 8 1 pffrag 232 3 0 3 1 0 1 1 0 482 1 pffrnode 88 3 0 3 1 0 1 1 0 8 1 pffrent 40 135 0 135 1 0 1 1 0 8 1 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 18 0 0 1 0 1 1 0 8 0 pfstkey 112 18 0 0 1 0 1 1 0 8 0 pfstate 328 18 0 0 2 0 2 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 225 0 45 15 0 15 15 0 8 2 art_table 32 227 0 45 2 0 2 2 0 8 0 art_node 16 48 0 16 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 9 1 0 1 1 0 8 0 semupl 112 4 0 4 1 0 1 1 0 8 1 semapl 112 29 0 19 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1506 0 97 46 0 46 46 0 8 0 ffsino 272 1506 0 97 95 0 95 95 0 8 0 nchpl 144 1825 0 207 61 0 61 61 0 8 0 uvmvnodes 72 1649 0 0 30 0 30 30 0 8 0 vnodes 208 1649 0 0 87 0 87 87 0 8 0 namei 1024 4865 0 4865 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 2 0 0 1 0 1 1 0 8 0 scxspl 192 4977 0 4977 8 1 7 7 0 8 7 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 432 285 0 269 3 0 3 3 0 8 1 futexpl 56 1455 0 1455 1 0 1 1 0 8 1 knotepl 112 54 0 35 1 0 1 1 0 8 0 kqueuepl 104 6 0 4 1 0 1 1 0 8 0 pipepl 112 164 0 145 1 0 1 1 0 8 0 fdescpl 488 286 0 269 3 0 3 3 0 8 0 filepl 152 1723 0 1621 6 0 6 6 0 8 2 lockfpl 104 19 0 18 1 0 1 1 0 8 0 lockfspl 48 9 0 8 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 106 0 97 1 0 1 1 0 8 0 zombiepl 144 269 0 269 1 0 1 1 0 8 1 processpl 904 303 0 269 4 0 4 4 0 8 0 procpl 632 451 0 407 5 0 5 5 0 8 1 srpgc 64 2 0 2 1 0 1 1 0 8 1 sosppl 128 3 0 3 1 0 1 1 0 8 1 sockpl 384 251 0 230 4 0 4 4 0 8 1 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 181 0 0 22 0 22 22 0 8 0 mtagpl 80 8 0 0 1 0 1 1 0 8 0 mbufpl 256 269 0 0 16 0 16 16 0 8 0 bufpl 280 6336 0 1340 357 0 357 357 0 8 0 anonpl 16 44937 0 25657 79 1 78 78 0 125 0 amapchunkpl 152 1308 0 1144 7 0 7 7 0 158 0 amappl16 192 1310 0 261 53 0 53 53 0 8 0 amappl15 184 106 0 98 1 0 1 1 0 8 0 amappl14 176 31 0 28 1 0 1 1 0 8 0 amappl12 160 6 0 6 1 1 0 1 0 8 0 amappl11 152 89 0 71 1 0 1 1 0 8 0 amappl10 144 13 0 7 1 0 1 1 0 8 0 amappl9 136 601 0 598 1 0 1 1 0 8 0 amappl8 128 129 0 102 1 0 1 1 0 8 0 amappl7 120 102 0 91 1 0 1 1 0 8 0 amappl6 112 86 0 76 1 0 1 1 0 8 0 amappl5 104 132 0 118 1 0 1 1 0 8 0 amappl4 96 540 0 506 2 1 1 2 0 8 0 amappl3 88 117 0 110 1 0 1 1 0 8 0 amappl2 80 1387 0 1310 3 1 2 3 0 8 0 amappl1 72 16048 0 15599 26 14 12 21 0 8 2 amappl 80 698 0 649 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 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 288 0 269 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 288 0 269 1 0 1 1 0 8 0 vmmpekpl 168 6223 0 6191 2 0 2 2 0 8 0 vmmpepl 168 42918 0 40610 142 7 135 135 0 357 34 vmsppl 368 287 0 269 2 0 2 2 0 8 0 pdppl 4096 583 0 540 6 0 6 6 0 8 0 pvpl 32 149349 0 126860 187 0 187 187 0 265 5 pmappl 232 287 0 269 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 175 0 3 5 0 5 5 0 8 0