panic(ffffffff82248cc3) at panic+0x15c sys/kern/subr_prf.c:207 m_copydata(fffffd8068e82e00,6f8,8,fffffd8068e82220) at m_copydata+0x17e m_getptr sys/kern/uipc_mbuf.c:1031 [inline] m_copydata(fffffd8068e82e00,6f8,8,fffffd8068e82220) at m_copydata+0x17e sys/kern/uipc_mbuf.c:722 ip6_pullexthdr(fffffd8068e82e00,6f8,0) at ip6_pullexthdr+0x16f sys/netinet6/ip6_input.c:1175 ip6_savecontrol(fffffd806f658000,fffffd8068e82e00,ffff800020b76e00) at ip6_savecontrol+0x373 sys/netinet6/ip6_input.c:1062 rip6_input(ffff800020b77048,ffff800020b77054,0,18) at rip6_input+0x7e7 sys/netinet6/raw_ip6.c:225 ip_deliver(ffff800020b77048,ffff800020b77054,0,18) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip6_input_if(ffff800020b77048,ffff800020b77054,29,0,ffff800000679800) at ip6_input_if+0x1207 ipv6_input(ffff800000679800,fffffd8068e82e00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 if_input_local(ffff800000679800,fffffd8068e82e00,18) at if_input_local+0x121 sys/net/if.c:781 ip6_output(fffffd806d326000,ffff800000a1ea80,fffffd806f6582a0,0,0,fffffd806f658230) at ip6_output+0xd26 rip6_output(fffffd806d326000,fffffd806f659900,ffff800020b773b0,0) at rip6_output+0x4c0 sys/netinet6/raw_ip6.c:481 rip6_usrreq(fffffd806f659900,9,fffffd806d326000,0,0,ffff800020ae7168) at rip6_usrreq+0x5e1 sys/netinet6/raw_ip6.c:670 sosend(fffffd806f659900,0,ffff800020b77608,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:524 end trace frame: 0xffff800020b775f0, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic m_copydata: null mbuf ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82248cc3) at panic+0x15c sys/kern/subr_prf.c:207 m_copydata(fffffd8068e82e00,6f8,8,fffffd8068e82220) at m_copydata+0x17e m_getptr sys/kern/uipc_mbuf.c:1031 [inline] m_copydata(fffffd8068e82e00,6f8,8,fffffd8068e82220) at m_copydata+0x17e sys/kern/uipc_mbuf.c:722 ip6_pullexthdr(fffffd8068e82e00,6f8,0) at ip6_pullexthdr+0x16f sys/netinet6/ip6_input.c:1175 ip6_savecontrol(fffffd806f658000,fffffd8068e82e00,ffff800020b76e00) at ip6_savecontrol+0x373 sys/netinet6/ip6_input.c:1062 rip6_input(ffff800020b77048,ffff800020b77054,0,18) at rip6_input+0x7e7 sys/netinet6/raw_ip6.c:225 ip_deliver(ffff800020b77048,ffff800020b77054,0,18) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip6_input_if(ffff800020b77048,ffff800020b77054,29,0,ffff800000679800) at ip6_input_if+0x1207 ipv6_input(ffff800000679800,fffffd8068e82e00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 if_input_local(ffff800000679800,fffffd8068e82e00,18) at if_input_local+0x121 sys/net/if.c:781 ip6_output(fffffd806d326000,ffff800000a1ea80,fffffd806f6582a0,0,0,fffffd806f658230) at ip6_output+0xd26 rip6_output(fffffd806d326000,fffffd806f659900,ffff800020b773b0,0) at rip6_output+0x4c0 sys/netinet6/raw_ip6.c:481 rip6_usrreq(fffffd806f659900,9,fffffd806d326000,0,0,ffff800020ae7168) at rip6_usrreq+0x5e1 sys/netinet6/raw_ip6.c:670 sosend(fffffd806f659900,0,ffff800020b77608,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:524 dofilewritev(ffff800020ae7168,3,ffff800020b77608,0,ffff800020b776f0) at dofilewritev+0x1b7 sys/kern/sys_generic.c:364 sys_write(ffff800020ae7168,ffff800020b776a8,ffff800020b776f0) at sys_write+0x83 sys/kern/sys_generic.c:284 syscall(ffff800020b77770) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800020b77770) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfd1122bb660, count: -18 ddb{1}> show registers rdi 0xffffffff81aa27c7 db_enter+0x17 rsi 0x4b2f __ALIGN_SIZE+0x3b2f rbp 0xffff800020b76b70 rbx 0xffff800020b76c20 rdx 0x4b30 __ALIGN_SIZE+0x3b30 rcx 0xffff800020b80000 rax 0xffff800020b80000 r8 0xffffffff8210daff kprintf+0x16f r9 0x1 r10 0x25 r11 0xf6ee4d740aaad72a r12 0x3000000008 r13 0xffff800020b76b80 r14 0x100 r15 0x1 rip 0xffffffff81aa27c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020b76b60 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=386089 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ae6c78,0xffff800020ae6520 process=0xffff800020af4728 user=0xffff800020b72000, vmspace=0xfffffd807efff450 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 93274 421215 47884 0 7 0 syz-executor.1 27453 154128 48618 0 2 0 syz-executor.0 *27453 386089 48618 0 7 0x4000000 syz-executor.0 83366 342401 1 0 3 0x80 nanosleep init 47884 243485 75849 0 3 0x82 nanosleep syz-executor.1 48618 418823 75849 0 3 0x82 nanosleep syz-executor.0 75849 59009 37670 0 3 0x82 thrsleep syz-fuzzer 75849 214524 37670 0 3 0x4000082 thrsleep syz-fuzzer 75849 461828 37670 0 3 0x4000082 kqread syz-fuzzer 75849 63904 37670 0 3 0x4000082 thrsleep syz-fuzzer 75849 303708 37670 0 3 0x4000082 thrsleep syz-fuzzer 75849 216456 37670 0 3 0x4000082 thrsleep syz-fuzzer 75849 253168 37670 0 3 0x4000082 thrsleep syz-fuzzer 75849 411774 37670 0 3 0x4000082 thrsleep syz-fuzzer 75849 29746 37670 0 3 0x4000082 thrsleep syz-fuzzer 75849 134763 37670 0 3 0x4000082 thrsleep syz-fuzzer 37670 223088 99848 0 3 0x10008a pause ksh 99848 402976 69201 0 3 0x92 select sshd 69201 80710 1 0 3 0x80 select sshd 36021 232964 86399 74 3 0x100092 bpf pflogd 86399 30674 1 0 3 0x80 netio pflogd 86269 77615 67351 73 3 0x100090 kqread syslogd 67351 434244 1 0 3 0x100082 netio syslogd 30991 178341 1 77 3 0x100090 poll dhclient 50498 397805 1 0 3 0x80 poll dhclient 98337 158506 0 0 2 0x14200 zerothread 56837 305776 0 0 3 0x14200 aiodoned aiodoned 41589 394043 0 0 3 0x14200 syncer update 87695 113862 0 0 3 0x14200 cleaner cleaner 23557 193834 0 0 3 0x14200 reaper reaper 68736 367594 0 0 3 0x14200 pgdaemon pagedaemon 37149 374885 0 0 3 0x14200 bored crynlk 18825 321592 0 0 3 0x14200 bored crypto 79356 351942 0 0 3 0x40014200 acpi0 acpi0 9746 519561 0 0 3 0x40014200 idle1 20837 185502 0 0 3 0x14200 bored softnet 80737 254450 0 0 3 0x14200 bored systqmp 64170 44643 0 0 3 0x14200 bored systq 21522 136979 0 0 3 0x40014200 bored softclock 14906 127634 0 0 3 0x40014200 idle0 48725 466760 0 0 3 0x14200 bored smr 1 476414 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &uvm.fpageqlock r = 0 (0xffffffff8262c240) #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 uvm_pmr_getpages+0x34e sys/uvm/uvm_pmemrange.c:822 #4 uvm_pagealloc+0x283 sys/uvm/uvm_page.c:923 #5 pmap_get_ptp+0xe8 sys/arch/amd64/amd64/pmap.c:1103 #6 pmap_enter+0x2a8 #7 uvm_fault+0x10f0 sys/uvm/uvm_fault.c:1217 #8 pageflttrap+0x20b sys/arch/amd64/amd64/trap.c:199 #9 usertrap+0x21a sys/arch/amd64/amd64/trap.c:369 #10 recall_trap+0x8 exclusive mutex &pmap->pm_mtx r = 0 (0xfffffd807effeda8) #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+0x10f0 sys/uvm/uvm_fault.c:1217 #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 93274 (syz-executor.1) thread 0xffff800020ae6510 (421215) shared rwlock vmmaplk r = 0 (0xfffffd807efffb98) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1448 #2 uvm_fault+0xd85 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 (0xffffffff82652ea8) #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 27453 (syz-executor.0) thread 0xffff800020ae7168 (386089) exclusive rwlock netlock r = 0 (0xffffffff824e15a8) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9479 6527K 6535K 78643K 10603 0 pcb 15 8K 8K 78643K 23 0 rtable 108 4K 4K 78643K 212 0 ifaddr 44 10K 11K 78643K 50 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1471 0 iov 0 0K 12K 78643K 6 0 mount 1 1K 1K 78643K 1 0 vnodes 1215 76K 76K 78643K 1236 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 10 0K 0K 78643K 10 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 55 0 proc 54 51K 83K 78643K 445 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 33 2K 2K 78643K 33 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 42 185K 185K 78643K 42 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 112 22K 22K 78643K 1091 0 UVM aobj 10 2K 2K 78643K 10 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 2 0K 0K 78643K 2 0 NDP 6 0K 0K 78643K 11 0 temp 74 3025K 3089K 78643K 3529 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 21 0 19 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 29 0 19 1 0 1 1 0 8 0 syncache 264 4 0 4 2 2 0 1 0 8 0 tcpqe 32 38 0 38 1 0 1 1 0 8 1 tcpcb 544 11 0 6 1 0 1 1 0 8 0 inpcb 280 62 0 53 1 0 1 1 0 8 0 nd6 48 4 0 0 1 0 1 1 0 8 0 ppxss 1128 1 0 1 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 12 0 0 1 0 1 1 0 8 0 pfstkey 112 12 0 0 1 0 1 1 0 8 0 pfstate 328 12 0 0 1 0 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 213 0 0 14 0 14 14 0 8 0 art_table 32 214 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1463 0 57 46 0 46 46 0 8 0 ffsino 272 1463 0 57 94 0 94 94 0 8 0 nchpl 144 1720 0 103 61 0 61 61 0 8 0 uvmvnodes 72 1516 0 0 28 0 28 28 0 8 0 vnodes 208 1516 0 0 80 0 80 80 0 8 0 namei 1024 4460 0 4460 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 4611 0 4611 2 1 1 2 0 8 1 plimitpl 152 19 0 11 1 0 1 1 0 8 0 sigapl 432 255 0 239 3 0 3 3 0 8 1 futexpl 56 422 0 422 1 0 1 1 0 8 1 knotepl 112 60 0 41 1 0 1 1 0 8 0 kqueuepl 104 14 0 12 1 0 1 1 0 8 0 pipepl 160 180 0 161 2 0 2 2 0 8 1 fdescpl 488 256 0 239 3 0 3 3 0 8 0 filepl 152 1335 0 1234 5 0 5 5 0 8 1 lockfpl 104 20 0 19 1 0 1 1 0 8 0 lockfspl 48 10 0 9 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 74 0 65 1 0 1 1 0 8 0 zombiepl 144 239 0 238 1 0 1 1 0 8 0 processpl 904 271 0 238 4 0 4 4 0 8 0 procpl 632 327 0 284 5 0 5 5 0 8 0 sockpl 384 114 0 93 3 0 3 3 0 8 0 mcl12k 12288 1 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 mcl2k 2048 158 0 0 19 0 19 19 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 164 0 0 10 0 10 10 0 8 0 bufpl 280 6284 0 1340 354 0 354 354 0 8 0 anonpl 16 41122 0 23849 71 1 70 70 0 125 0 amapchunkpl 152 1125 0 986 8 0 8 8 0 158 2 amappl16 192 1102 0 150 49 1 48 48 0 8 0 amappl15 184 58 0 55 1 0 1 1 0 8 0 amappl14 176 29 0 26 1 0 1 1 0 8 0 amappl13 168 11 0 9 2 1 1 1 0 8 0 amappl12 160 5 0 4 2 1 1 1 0 8 0 amappl11 152 67 0 50 1 0 1 1 0 8 0 amappl10 144 15 0 10 1 0 1 1 0 8 0 amappl9 136 610 0 605 1 0 1 1 0 8 0 amappl8 128 124 0 97 2 0 2 2 0 8 0 amappl7 120 100 0 90 1 0 1 1 0 8 0 amappl6 112 69 0 61 1 0 1 1 0 8 0 amappl5 104 132 0 119 1 0 1 1 0 8 0 amappl4 96 513 0 484 2 0 2 2 0 8 1 amappl3 88 118 0 108 1 0 1 1 0 8 0 amappl2 80 1124 0 1049 3 0 3 3 0 8 0 amappl1 72 15849 0 15421 27 10 17 21 0 8 7 amappl 80 570 0 525 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 256 0 239 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 256 0 239 1 0 1 1 0 8 0 vmmpekpl 168 5962 0 5932 2 0 2 2 0 8 0 vmmpepl 168 39397 0 37210 141 8 133 133 0 357 37 vmsppl 368 255 0 239 2 0 2 2 0 8 0 pdppl 4096 519 0 478 6 0 6 6 0 8 0 pvpl 32 136113 0 115805 170 1 169 169 0 265 3 pmappl 232 255 0 239 2 0 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 162 0 4 5 0 5 5 0 8 0