panic(ffffffff821d1d12) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff8263b560) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff8263b560) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff8263b560,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd8077c3a200,0,3b9aca00,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8077c3a200,0,3b9aca00,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 ether_resolve(ffff80000017b2a8,fffffd8077c3a200,fffffd806f6e0a58,fffffd806f520070,ffff800022bc7588) at ether_resolve+0x49f sys/net/if_ethersubr.c:227 ether_output(ffff80000017b2a8,fffffd8077c3a200,fffffd806f6e0a58,fffffd806f520070) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:310 [inline] ether_output(ffff80000017b2a8,fffffd8077c3a200,fffffd806f6e0a58,fffffd806f520070) at ether_output+0x47 sys/net/if_ethersubr.c:339 ip_output(fffffd8062ee0500,0,fffffd806f6e0a48,20,0,fffffd806f6e09d8) at ip_output+0x125d sys/netinet/ip_output.c:511 rip_output(fffffd8062ee0500,fffffd806ca02b00,ffff800022bc7798,ffff800020b6e000) at rip_output+0x252 sys/netinet/raw_ip.c:289 rip_usrreq(fffffd806ca02b00,9,fffffd8062ee0500,0,0,ffff800020ac2768) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd806ca02b00,0,ffff800022bc7910,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:549 sendit(ffff800020ac2768,8,ffff800022bc79f0,0,ffff800022bc7ad0) at sendit+0x52b sys/kern/uipc_syscalls.c:657 sys_sendto(ffff800020ac2768,ffff800022bc7a88,ffff800022bc7ad0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:522 syscall(ffff800022bc7b50) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022bc7b50) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 end trace frame: 0xffff800022bc7bd0, 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 pool_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd8077c3a100+16 0x0!=0xfbbd49001c6ec234 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821d1d12) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff8263b560) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff8263b560) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff8263b560,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd8077c3a200,0,3b9aca00,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8077c3a200,0,3b9aca00,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 ether_resolve(ffff80000017b2a8,fffffd8077c3a200,fffffd806f6e0a58,fffffd806f520070,ffff800022bc7588) at ether_resolve+0x49f sys/net/if_ethersubr.c:227 ether_output(ffff80000017b2a8,fffffd8077c3a200,fffffd806f6e0a58,fffffd806f520070) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:310 [inline] ether_output(ffff80000017b2a8,fffffd8077c3a200,fffffd806f6e0a58,fffffd806f520070) at ether_output+0x47 sys/net/if_ethersubr.c:339 ip_output(fffffd8062ee0500,0,fffffd806f6e0a48,20,0,fffffd806f6e09d8) at ip_output+0x125d sys/netinet/ip_output.c:511 rip_output(fffffd8062ee0500,fffffd806ca02b00,ffff800022bc7798,ffff800020b6e000) at rip_output+0x252 sys/netinet/raw_ip.c:289 rip_usrreq(fffffd806ca02b00,9,fffffd8062ee0500,0,0,ffff800020ac2768) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd806ca02b00,0,ffff800022bc7910,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:549 sendit(ffff800020ac2768,8,ffff800022bc79f0,0,ffff800022bc7ad0) at sendit+0x52b sys/kern/uipc_syscalls.c:657 sys_sendto(ffff800020ac2768,ffff800022bc7a88,ffff800022bc7ad0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:522 syscall(ffff800022bc7b50) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800022bc7b50) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd0f8bbce2b0, count: -15 ddb{0}> show registers rdi 0xffffffff81e05b47 db_enter+0x17 rsi 0x25618 acpi_pdirpa+0x11480 rbp 0xffff800022bc7260 rbx 0xffff800022bc7310 rdx 0x25619 acpi_pdirpa+0x11481 rcx 0xffff800020b6e000 rax 0xffff800020b6e000 r8 0xffffffff81f53faf kprintf+0x16f r9 0x1 r10 0x25 r11 0x498fcdd4a2d62f08 r12 0x3000000008 r13 0xffff800022bc7270 r14 0x100 r15 0x1 rip 0xffffffff81e05b48 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800022bc7250 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.0) pid=46011 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ac2288,0xffff800020ac2ec8 process=0xffff800020aa83e0 user=0xffff800022bc2000, vmspace=0xfffffd8078dd28b0 estcpu=36, cpticks=13, pctcpu=0.0 user=0, sys=10, intr=3 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 1924 254912 21074 0 2 0 syz-executor.0 * 1924 46011 21074 0 7 0x4000000 syz-executor.0 43729 141911 32912 0 7 0 syz-executor.1 43729 510113 32912 0 3 0x4000080 fsleep syz-executor.1 43729 13313 32912 0 3 0x4000080 fsleep syz-executor.1 43729 83636 32912 0 3 0x4000080 fsleep syz-executor.1 21074 45745 8088 0 3 0x82 nanosleep syz-executor.0 87416 386383 0 0 3 0x14200 bored sosplice 50954 408131 1 0 3 0x100083 ttyin getty 32912 433992 8088 0 3 0x82 nanosleep syz-executor.1 8088 160607 27 0 3 0x82 thrsleep syz-fuzzer 8088 303737 27 0 3 0x4000082 nanosleep syz-fuzzer 8088 404100 27 0 3 0x4000082 thrsleep syz-fuzzer 8088 463482 27 0 3 0x4000082 thrsleep syz-fuzzer 8088 50256 27 0 3 0x4000082 thrsleep syz-fuzzer 8088 348825 27 0 3 0x4000082 thrsleep syz-fuzzer 8088 91214 27 0 3 0x4000082 thrsleep syz-fuzzer 8088 19685 27 0 3 0x4000082 kqread syz-fuzzer 8088 510392 27 0 3 0x4000082 thrsleep syz-fuzzer 8088 449217 27 0 3 0x4000082 thrsleep syz-fuzzer 27 487121 13659 0 3 0x10008a pause ksh 13659 189386 46008 0 3 0x92 select sshd 46008 96012 1 0 3 0x80 select sshd 8730 283104 95673 74 3 0x100092 bpf pflogd 95673 81324 1 0 3 0x80 netio pflogd 59943 508555 92419 73 3 0x100090 kqread syslogd 92419 71093 1 0 3 0x100082 netio syslogd 1270 162424 1 77 3 0x100090 poll dhclient 31986 113460 1 0 3 0x80 poll dhclient 36873 56309 0 0 2 0x14200 zerothread 10217 252620 0 0 3 0x14200 aiodoned aiodoned 21579 213028 0 0 3 0x14200 syncer update 19483 153032 0 0 3 0x14200 cleaner cleaner 95634 198581 0 0 3 0x14200 reaper reaper 42102 295660 0 0 3 0x14200 pgdaemon pagedaemon 57499 86721 0 0 3 0x14200 bored crynlk 35857 209835 0 0 3 0x14200 bored crypto 97055 265102 0 0 3 0x40014200 acpi0 acpi0 4280 159382 0 0 3 0x40014200 idle1 53540 497459 0 0 2 0x14200 softnet 50702 186839 0 0 3 0x14200 bored systqmp 67547 257478 0 0 3 0x14200 bored systq 52829 309658 0 0 3 0x40014200 bored softclock 52127 236365 0 0 3 0x40014200 idle0 93440 135855 0 0 3 0x14200 bored smr 1 132021 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 1924 (syz-executor.0) thread 0xffff800020ac2768 (46011) exclusive rwlock netlock r = 0 (0xffffffff824742a8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sosend+0x559 sys/kern/uipc_socket.c:537 #3 sendit+0x52b sys/kern/uipc_syscalls.c:657 #4 sys_sendto+0x80 sys/kern/uipc_syscalls.c:522 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #6 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9548 6429K 7147K 78643K 12026 0 pcb 13 8K 9K 78643K 184 0 rtable 105 4K 4K 78643K 434 0 ifaddr 95 18K 18K 78643K 189 0 counters 43 33K 34K 78643K 73 0 ioctlops 0 0K 4K 78643K 1521 0 iov 0 0K 16K 78643K 94 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1705 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 250 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 585 0 sigio 0 0K 0K 78643K 12 0 proc 63 63K 95K 78643K 538 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 89 0 in_multi 75 3K 3K 78643K 174 0 ether_multi 1 0K 0K 78643K 20 0 mrt 0 0K 0K 78643K 10 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 103 466K 466K 78643K 103 0 exec 0 0K 1K 78643K 273 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 139 120K 120K 78643K 3009 0 UVM aobj 48 4K 4K 78643K 53 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 113 0 NDP 15 0K 0K 78643K 40 0 temp 144 3023K 3098K 78643K 14601 0 kqueue 3 4K 10K 78643K 29 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 11 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 78 0 75 1 0 1 1 0 8 0 rtentry 112 79 0 38 2 0 2 2 0 8 0 unpcb 120 1572 0 1558 5 3 2 2 0 8 1 syncache 264 10 0 10 4 4 0 1 0 8 0 tcpqe 32 195 0 195 3 3 0 1 0 8 0 tcpcb 544 249 0 242 1 0 1 1 0 8 0 inpcb 280 1027 0 1015 3 1 2 3 0 8 1 rttmr 72 4 0 4 2 2 0 1 0 8 0 nd6 48 11 0 9 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 1 1 1 0 8 1 ppxss 1128 4 0 4 3 2 1 1 0 8 1 pffrag 232 4 0 3 3 2 1 1 0 482 0 pffrnode 88 4 0 3 3 2 1 1 0 8 0 pffrent 40 109 0 93 3 2 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 81 0 15 1 0 1 1 0 8 0 pfstkey 112 81 0 15 2 0 2 2 0 8 0 pfstate 328 81 0 15 6 0 6 6 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 361 0 175 15 1 14 14 0 8 1 art_table 32 362 0 175 2 0 2 2 0 8 0 art_node 16 76 0 37 1 0 1 1 0 8 0 sysvmsgpl 40 25 0 9 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 246 0 236 1 0 1 1 0 8 0 shmpl 112 51 0 5 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2395 0 987 46 0 46 46 0 8 0 ffsino 272 2395 0 987 95 0 95 95 0 8 0 nchpl 144 3496 0 1889 61 0 61 61 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 11333 0 11333 1 0 1 1 0 8 1 percpumem 16 47 0 15 1 0 1 1 0 8 0 vcpupl 1984 11 0 0 2 0 2 2 0 8 0 vmpool 560 12 0 1 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 10442 0 10442 8 7 1 7 0 8 1 plimitpl 152 76 0 68 1 0 1 1 0 8 0 sigapl 432 782 0 766 3 1 2 3 0 8 0 futexpl 56 12870 0 12867 1 0 1 1 0 8 0 knotepl 112 100 0 81 1 0 1 1 0 8 0 kqueuepl 104 161 0 157 1 0 1 1 0 8 0 pipelkpl 48 221 0 211 1 0 1 1 0 8 0 pipepl 120 442 0 423 1 0 1 1 0 8 0 fdescpl 496 783 0 766 3 0 3 3 0 8 0 filepl 152 7397 0 7289 13 7 6 8 0 8 1 lockfpl 104 195 0 194 1 0 1 1 0 8 0 lockfspl 48 71 0 70 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 30 0 19 1 0 1 1 0 8 0 ucredpl 96 1123 0 1114 1 0 1 1 0 8 0 zombiepl 144 767 0 767 1 0 1 1 0 8 1 processpl 960 800 0 767 5 0 5 5 0 8 0 procpl 624 2141 0 2095 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 17 0 17 3 2 1 1 0 8 1 sockpl 400 2741 0 2712 13 6 7 8 0 8 4 mcl64k 65536 13 0 0 2 0 2 2 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 9 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 13 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 160 0 0 19 0 19 19 0 8 0 mtagpl 80 45 0 0 1 0 1 1 0 8 0 mbufpl 256 403 0 0 24 0 24 24 0 8 0 bufpl 280 5486 0 196 378 0 378 378 0 8 0 anonpl 16 104226 0 84024 99 13 86 86 0 125 4 amapchunkpl 152 5324 0 5178 24 8 16 20 0 158 8 amappl16 192 4424 0 3293 72 15 57 60 0 8 0 amappl15 184 61 0 57 1 0 1 1 0 8 0 amappl14 176 200 0 195 1 0 1 1 0 8 0 amappl13 168 11 0 10 1 0 1 1 0 8 0 amappl12 160 275 0 269 1 0 1 1 0 8 0 amappl11 152 60 0 45 1 0 1 1 0 8 0 amappl10 144 14 0 10 1 0 1 1 0 8 0 amappl9 136 722 0 719 1 0 1 1 0 8 0 amappl8 128 244 0 219 1 0 1 1 0 8 0 amappl7 120 110 0 99 1 0 1 1 0 8 0 amappl6 112 58 0 49 1 0 1 1 0 8 0 amappl5 104 426 0 409 1 0 1 1 0 8 0 amappl4 96 789 0 755 1 0 1 1 0 8 0 amappl3 88 408 0 399 1 0 1 1 0 8 0 amappl2 80 5352 0 5271 3 1 2 3 0 8 0 amappl1 72 27917 0 27438 26 16 10 21 0 8 0 amappl 80 2423 0 2368 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 52 0 5 1 0 1 1 0 8 0 uaddrrnd 24 795 0 767 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 795 0 767 1 0 1 1 0 8 0 vmmpekpl 168 10332 0 10292 2 0 2 2 0 8 0 vmmpepl 168 104750 0 102304 145 36 109 128 0 357 2 vmsppl 368 794 0 767 3 0 3 3 0 8 0 pdppl 4096 1597 0 1545 7 0 7 7 0 8 0 pvpl 32 291180 0 267434 223 17 206 206 0 265 14 pmappl 232 794 0 767 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 196 0 10 6 0 6 6 0 8 0