panic(ffffffff822468dd) at panic+0x15c sys/kern/subr_prf.c:207 m_copydata(fffffd8067ba9d00,c8,8,fffffd8067ba9620) at m_copydata+0x17e m_getptr sys/kern/uipc_mbuf.c:1031 [inline] m_copydata(fffffd8067ba9d00,c8,8,fffffd8067ba9620) at m_copydata+0x17e sys/kern/uipc_mbuf.c:722 ip6_pullexthdr(fffffd8067ba9d00,c8,0) at ip6_pullexthdr+0x16f sys/netinet6/ip6_input.c:1174 ip6_savecontrol(fffffd806f66a690,fffffd8067ba9d00,ffff800023d99560) at ip6_savecontrol+0x373 sys/netinet6/ip6_input.c:1061 rip6_input(ffff800023d997a8,ffff800023d997b4,0,18) at rip6_input+0x7e7 sys/netinet6/raw_ip6.c:225 ip_deliver(ffff800023d997a8,ffff800023d997b4,0,18) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip6_input_if(ffff800023d997a8,ffff800023d997b4,29,0,ffff800000671800) at ip6_input_if+0x1203 ipv6_input(ffff800000671800,fffffd8067ba9d00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 if_input_local(ffff800000671800,fffffd8067ba9d00,18) at if_input_local+0x121 sys/net/if.c:781 ip6_output(fffffd806f220200,ffff800000a87c00,fffffd806f66aa48,0,0,fffffd806f66a9d8) at ip6_output+0xd26 rip6_output(fffffd806d777400,fffffd8065c13a80,ffff800023d99b10,0) at rip6_output+0x4c0 sys/netinet6/raw_ip6.c:481 rip6_usrreq(fffffd8065c13a80,9,fffffd806d777400,0,0,ffff800020ac1650) at rip6_usrreq+0x5e1 sys/netinet6/raw_ip6.c:670 sosend(fffffd8065c13a80,0,ffff800023d99d68,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:524 end trace frame: 0xffff800023d99d50, 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(ffffffff822468dd) at panic+0x15c sys/kern/subr_prf.c:207 m_copydata(fffffd8067ba9d00,c8,8,fffffd8067ba9620) at m_copydata+0x17e m_getptr sys/kern/uipc_mbuf.c:1031 [inline] m_copydata(fffffd8067ba9d00,c8,8,fffffd8067ba9620) at m_copydata+0x17e sys/kern/uipc_mbuf.c:722 ip6_pullexthdr(fffffd8067ba9d00,c8,0) at ip6_pullexthdr+0x16f sys/netinet6/ip6_input.c:1174 ip6_savecontrol(fffffd806f66a690,fffffd8067ba9d00,ffff800023d99560) at ip6_savecontrol+0x373 sys/netinet6/ip6_input.c:1061 rip6_input(ffff800023d997a8,ffff800023d997b4,0,18) at rip6_input+0x7e7 sys/netinet6/raw_ip6.c:225 ip_deliver(ffff800023d997a8,ffff800023d997b4,0,18) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip6_input_if(ffff800023d997a8,ffff800023d997b4,29,0,ffff800000671800) at ip6_input_if+0x1203 ipv6_input(ffff800000671800,fffffd8067ba9d00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 if_input_local(ffff800000671800,fffffd8067ba9d00,18) at if_input_local+0x121 sys/net/if.c:781 ip6_output(fffffd806f220200,ffff800000a87c00,fffffd806f66aa48,0,0,fffffd806f66a9d8) at ip6_output+0xd26 rip6_output(fffffd806d777400,fffffd8065c13a80,ffff800023d99b10,0) at rip6_output+0x4c0 sys/netinet6/raw_ip6.c:481 rip6_usrreq(fffffd8065c13a80,9,fffffd806d777400,0,0,ffff800020ac1650) at rip6_usrreq+0x5e1 sys/netinet6/raw_ip6.c:670 sosend(fffffd8065c13a80,0,ffff800023d99d68,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:524 dofilewritev(ffff800020ac1650,3,ffff800023d99d68,0,ffff800023d99e50) at dofilewritev+0x1b7 sys/kern/sys_generic.c:364 sys_write(ffff800020ac1650,ffff800023d99e08,ffff800023d99e50) at sys_write+0x83 sys/kern/sys_generic.c:284 syscall(ffff800023d99ed0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023d99ed0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe5ff4199580, count: -18 ddb{0}> show registers rdi 0xffffffff82061477 db_enter+0x17 rsi 0x1c21 __ALIGN_SIZE+0xc21 rbp 0xffff800023d992d0 rbx 0xffff800023d99380 rdx 0x1c22 __ALIGN_SIZE+0xc22 rcx 0xffff800021b94000 rax 0xffff800021b94000 r8 0xffffffff8147edbf kprintf+0x16f r9 0x1 r10 0x25 r11 0xbe4dfd45dd1ae2e1 r12 0x3000000008 r13 0xffff800023d992e0 r14 0x100 r15 0x1 rip 0xffffffff82061478 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800023d992c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=338776 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ac0018,0xffff800020ac0518 process=0xffff800020a5b8c0 user=0xffff800023d94000, vmspace=0xfffffd807f008730 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 53912 409111 45066 0 7 0 syz-executor.0 63080 28270 43371 0 2 0 syz-executor.1 *63080 338776 43371 0 7 0x4000000 syz-executor.1 59535 364900 1 0 3 0x100083 ttyin getty 43371 136454 96709 0 3 0x82 nanosleep syz-executor.1 45066 26509 96709 0 3 0x82 nanosleep syz-executor.0 6754 340468 0 0 3 0x14200 bored sosplice 96709 499200 96720 0 3 0x82 thrsleep syz-fuzzer 96709 145981 96720 0 3 0x4000082 nanosleep syz-fuzzer 96709 193380 96720 0 3 0x4000082 thrsleep syz-fuzzer 96709 61408 96720 0 3 0x4000082 thrsleep syz-fuzzer 96709 122464 96720 0 3 0x4000082 thrsleep syz-fuzzer 96709 391346 96720 0 3 0x4000082 thrsleep syz-fuzzer 96709 258315 96720 0 3 0x4000082 thrsleep syz-fuzzer 96709 332241 96720 0 3 0x4000082 kqread syz-fuzzer 96709 115153 96720 0 3 0x4000082 thrsleep syz-fuzzer 96709 511846 96720 0 3 0x4000082 thrsleep syz-fuzzer 96720 99836 67774 0 3 0x10008a pause ksh 67774 335719 72563 0 3 0x92 select sshd 72563 192525 1 0 3 0x80 select sshd 61779 192864 24243 74 3 0x100092 bpf pflogd 24243 143557 1 0 3 0x80 netio pflogd 39666 331891 54268 73 3 0x100090 kqread syslogd 54268 464337 1 0 3 0x100082 netio syslogd 59225 47999 1 77 3 0x100090 poll dhclient 70115 241113 1 0 3 0x80 poll dhclient 96463 523670 0 0 2 0x14200 zerothread 78464 923 0 0 3 0x14200 aiodoned aiodoned 13960 504808 0 0 3 0x14200 syncer update 56650 352603 0 0 3 0x14200 cleaner cleaner 78978 234101 0 0 3 0x14200 reaper reaper 65656 262279 0 0 3 0x14200 pgdaemon pagedaemon 22020 167115 0 0 3 0x14200 bored crynlk 53048 95278 0 0 3 0x14200 bored crypto 76859 63578 0 0 3 0x40014200 acpi0 acpi0 41763 518 0 0 3 0x40014200 idle1 6223 67020 0 0 3 0x14200 bored softnet 48953 402259 0 0 3 0x14200 bored systqmp 78838 118495 0 0 3 0x14200 bored systq 38905 154065 0 0 3 0x40014200 bored softclock 27336 500992 0 0 3 0x40014200 idle0 78498 431965 0 0 3 0x14200 bored smr 1 46672 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 (0xfffffd807f007a08) #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+0xad6 sys/uvm/uvm_fault.c:803 #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 53912 (syz-executor.0) thread 0xffff800020ac0508 (409111) shared rwlock vmmaplk r = 0 (0xfffffd807f008188) #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 (0xffffffff826313f0) #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 63080 (syz-executor.1) thread 0xffff800020ac1650 (338776) exclusive rwlock netlock r = 0 (0xffffffff82449f78) #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 9541 6551K 6936K 78643K 12347 0 pcb 15 11K 12K 78643K 1110 0 rtable 95 3K 4K 78643K 585 0 ifaddr 80 15K 17K 78643K 217 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1497 0 iov 0 0K 16K 78643K 125 0 mount 1 1K 1K 78643K 1 0 vnodes 1212 76K 77K 78643K 2123 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 7 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 341 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 1023 0 sigio 0 0K 0K 78643K 222 0 proc 60 63K 95K 78643K 628 0 subproc 32 2K 2K 78643K 85 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 81 0 in_multi 71 4K 4K 78643K 131 0 ether_multi 1 0K 0K 78643K 2 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 90 397K 397K 78643K 90 0 exec 0 0K 1K 78643K 294 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 129 23K 27K 78643K 4255 0 UVM aobj 25 2K 3K 78643K 29 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 2 0K 1K 78643K 913 0 NDP 14 0K 0K 78643K 48 0 temp 143 3035K 3675K 78643K 10442 0 kqueue 0 0K 0K 78643K 2 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 20 0 15 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 67 0 65 1 0 1 1 0 8 0 rtentry 112 108 0 72 2 0 2 2 0 8 0 unpcb 120 911 0 901 1 0 1 1 0 8 0 syncache 264 9 0 9 4 4 0 1 0 8 0 sackhl 24 2 0 2 2 1 1 1 0 8 1 tcpqe 32 53 0 53 2 2 0 1 0 8 0 tcpcb 544 1439 0 1433 18 16 2 14 0 8 1 inpcb 280 3269 0 3258 13 11 2 9 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 3 0 3 1 1 0 1 0 8 0 nd6 48 11 0 9 1 0 1 1 0 8 0 pkpcb 40 3 0 3 1 1 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 18 0 18 3 3 0 1 0 8 0 pffrag 232 3 0 3 2 2 0 1 0 482 0 pffrnode 88 3 0 3 2 2 0 1 0 8 0 pffrent 40 92 0 92 2 2 0 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 39 0 17 1 0 1 1 0 8 0 pfstkey 112 39 0 17 1 0 1 1 0 8 0 pfstate 328 39 0 16 3 0 3 3 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 436 0 252 16 1 15 16 0 8 0 art_table 32 438 0 252 3 0 3 3 0 8 0 art_node 16 107 0 74 1 0 1 1 0 8 0 sysvmsgpl 40 29 0 12 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 337 0 327 1 0 1 1 0 8 0 shmpl 112 27 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3058 0 1654 46 0 46 46 0 8 0 ffsino 272 3058 0 1654 96 1 95 95 0 8 0 nchpl 144 5260 0 4813 61 33 28 61 0 8 8 uvmvnodes 72 3732 0 0 68 0 68 68 0 8 0 vnodes 208 3732 0 0 197 0 197 197 0 8 0 namei 1024 14817 0 14817 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vmpool 560 3 0 3 2 2 0 1 0 8 0 scxspl 192 12852 0 12852 13 10 3 7 0 8 3 plimitpl 152 64 0 56 1 0 1 1 0 8 0 sigapl 432 1214 0 1198 3 1 2 3 0 8 0 futexpl 56 24638 0 24638 1 0 1 1 0 8 1 knotepl 112 166 0 147 1 0 1 1 0 8 0 kqueuepl 104 378 0 376 4 3 1 4 0 8 0 pipepl 160 1048 0 1029 3 1 2 2 0 8 1 fdescpl 488 1215 0 1198 3 0 3 3 0 8 0 filepl 152 11364 0 11262 21 15 6 14 0 8 1 lockfpl 104 250 0 249 1 0 1 1 0 8 0 lockfspl 48 91 0 90 1 0 1 1 0 8 0 sessionpl 112 22 0 11 1 0 1 1 0 8 0 pgrppl 48 24 0 13 1 0 1 1 0 8 0 ucredpl 96 858 0 849 2 1 1 2 0 8 0 zombiepl 144 1198 0 1198 2 1 1 1 0 8 1 processpl 904 1231 0 1198 4 0 4 4 0 8 0 procpl 632 3307 0 3264 6 1 5 5 0 8 1 srpgc 64 7 0 7 4 3 1 1 0 8 1 sosppl 128 22 0 22 3 2 1 1 0 8 1 sockpl 384 4297 0 4274 26 22 4 14 0 8 1 mcl64k 65536 259 0 0 33 5 28 33 0 8 0 mcl16k 16384 7 0 0 1 0 1 1 0 8 0 mcl12k 12288 14 0 0 2 0 2 2 0 8 0 mcl9k 9216 7 0 0 1 0 1 1 0 8 0 mcl8k 8192 10 0 0 2 0 2 2 0 8 0 mcl4k 4096 14 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 285 0 0 35 0 35 35 0 8 0 mtagpl 80 34 0 0 1 0 1 1 0 8 0 mbufpl 256 362 0 0 23 0 23 23 0 8 0 bufpl 280 9957 0 2887 506 0 506 506 0 8 0 anonpl 16 132602 0 112476 113 31 82 97 0 125 0 amapchunkpl 152 7286 0 7126 12 3 9 12 0 158 0 amappl16 192 5778 0 4686 77 21 56 67 0 8 1 amappl15 184 65 0 61 1 0 1 1 0 8 0 amappl14 176 53 0 51 1 0 1 1 0 8 0 amappl13 168 254 0 252 3 2 1 1 0 8 0 amappl12 160 116 0 112 1 0 1 1 0 8 0 amappl11 152 65 0 50 1 0 1 1 0 8 0 amappl10 144 222 0 218 1 0 1 1 0 8 0 amappl9 136 1050 0 1044 1 0 1 1 0 8 0 amappl8 128 579 0 538 2 0 2 2 0 8 0 amappl7 120 323 0 309 1 0 1 1 0 8 0 amappl6 112 59 0 49 1 0 1 1 0 8 0 amappl5 104 269 0 251 1 0 1 1 0 8 0 amappl4 96 1733 0 1700 1 0 1 1 0 8 0 amappl3 88 160 0 152 1 0 1 1 0 8 0 amappl2 80 8670 0 8595 3 1 2 3 0 8 0 amappl1 72 35014 0 34569 25 15 10 21 0 8 0 amappl 80 3627 0 3578 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 28 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1218 0 1201 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1218 0 1201 1 0 1 1 0 8 0 vmmpekpl 168 12110 0 12073 2 0 2 2 0 8 0 vmmpepl 168 155594 0 153230 169 36 133 144 0 357 27 vmsppl 368 1217 0 1201 2 0 2 2 0 8 0 pdppl 4096 2443 0 2402 6 0 6 6 0 8 0 pvpl 32 377888 0 354483 242 39 203 225 0 265 14 pmappl 232 1217 0 1201 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 248 0 26 7 0 7 7 0 8 0