panic(ffffffff821eae8c) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff8265edd8) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff8265edd8) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff8265edd8,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd806f25dd00,0,3b9aca00,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd806f25dd00,0,3b9aca00,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 ether_resolve(ffff80000017b2a8,fffffd806f25dd00,fffffd806f6ed828,fffffd806f529070,ffff800021b7d1f8) at ether_resolve+0x49f sys/net/if_ethersubr.c:227 ether_output(ffff80000017b2a8,fffffd806f25dd00,fffffd806f6ed828,fffffd806f529070) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:310 [inline] ether_output(ffff80000017b2a8,fffffd806f25dd00,fffffd806f6ed828,fffffd806f529070) at ether_output+0x47 sys/net/if_ethersubr.c:339 ip_output(fffffd806f280600,0,fffffd806f6ed818,20,0,fffffd806f6ed7a8) at ip_output+0x125d sys/netinet/ip_output.c:511 rip_output(fffffd806f280600,fffffd806f6eee10,ffff800021b7d408,ffff800022f88000) at rip_output+0x252 sys/netinet/raw_ip.c:289 rip_usrreq(fffffd806f6eee10,9,fffffd806f280600,0,0,ffff8000225809d8) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd806f6eee10,0,ffff800021b7d580,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:549 sendit(ffff8000225809d8,8,ffff800021b7d660,0,ffff800021b7d740) at sendit+0x52b sys/kern/uipc_syscalls.c:657 sys_sendto(ffff8000225809d8,ffff800021b7d6f8,ffff800021b7d740) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:522 syscall(ffff800021b7d7c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021b7d7c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 end trace frame: 0xffff800021b7d840, 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 pool_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd8069f12e00+24 0x52fc2913bc2add31!=0xad03d493d4fad831 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821eae8c) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff8265edd8) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff8265edd8) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff8265edd8,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd806f25dd00,0,3b9aca00,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd806f25dd00,0,3b9aca00,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 ether_resolve(ffff80000017b2a8,fffffd806f25dd00,fffffd806f6ed828,fffffd806f529070,ffff800021b7d1f8) at ether_resolve+0x49f sys/net/if_ethersubr.c:227 ether_output(ffff80000017b2a8,fffffd806f25dd00,fffffd806f6ed828,fffffd806f529070) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:310 [inline] ether_output(ffff80000017b2a8,fffffd806f25dd00,fffffd806f6ed828,fffffd806f529070) at ether_output+0x47 sys/net/if_ethersubr.c:339 ip_output(fffffd806f280600,0,fffffd806f6ed818,20,0,fffffd806f6ed7a8) at ip_output+0x125d sys/netinet/ip_output.c:511 rip_output(fffffd806f280600,fffffd806f6eee10,ffff800021b7d408,ffff800022f88000) at rip_output+0x252 sys/netinet/raw_ip.c:289 rip_usrreq(fffffd806f6eee10,9,fffffd806f280600,0,0,ffff8000225809d8) at rip_usrreq+0x46a sys/netinet/raw_ip.c:538 sosend(fffffd806f6eee10,0,ffff800021b7d580,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:549 sendit(ffff8000225809d8,8,ffff800021b7d660,0,ffff800021b7d740) at sendit+0x52b sys/kern/uipc_syscalls.c:657 sys_sendto(ffff8000225809d8,ffff800021b7d6f8,ffff800021b7d740) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:522 syscall(ffff800021b7d7c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021b7d7c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xaaa1fca2900, count: -15 ddb{1}> show registers rdi 0xffffffff81844357 db_enter+0x17 rsi 0x1077d __ALIGN_SIZE+0xf77d rbp 0xffff800021b7ced0 rbx 0xffff800021b7cf80 rdx 0x1077e __ALIGN_SIZE+0xf77e rcx 0xffff800022f88000 rax 0xffff800022f88000 r8 0xffffffff8162977f kprintf+0x16f r9 0x1 r10 0x25 r11 0xae227620bcceee2 r12 0x3000000008 r13 0xffff800021b7cee0 r14 0x100 r15 0x1 rip 0xffffffff81844358 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021b7cec0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=299879 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800022581878,0xffff800022581138 process=0xffff800020a81690 user=0xffff800021b78000, vmspace=0xfffffd807f000000 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 39685 10415 90985 0 2 0 syz-executor.0 39685 85777 90985 0 3 0x4000080 fsleep syz-executor.0 39685 289483 90985 0 7 0x4000000 syz-executor.0 76839 491247 7121 0 2 0 syz-executor.1 76839 342099 7121 0 3 0x4000000 netlock syz-executor.1 *76839 299879 7121 0 7 0x4000000 syz-executor.1 7121 309761 9766 0 2 0x482 syz-executor.1 90985 110400 9766 0 2 0x482 syz-executor.0 9766 205889 77706 0 3 0x82 kqread syz-fuzzer 9766 234766 77706 0 3 0x4000082 thrsleep syz-fuzzer 9766 166690 77706 0 3 0x4000082 thrsleep syz-fuzzer 9766 424372 77706 0 3 0x4000082 thrsleep syz-fuzzer 9766 430627 77706 0 3 0x4000082 thrsleep syz-fuzzer 9766 168440 77706 0 3 0x4000082 thrsleep syz-fuzzer 9766 212272 77706 0 3 0x4000082 thrsleep syz-fuzzer 9766 41624 77706 0 3 0x4000082 thrsleep syz-fuzzer 9766 475554 77706 0 2 0x4000482 syz-fuzzer 9766 467199 77706 0 3 0x4000082 thrsleep syz-fuzzer 77706 125269 3234 0 3 0x10008a pause ksh 3234 213504 61252 0 3 0x92 select sshd 62026 73313 1 0 3 0x100083 ttyin getty 61252 218353 1 0 3 0x80 select sshd 10781 390288 35046 74 3 0x100092 bpf pflogd 35046 321605 1 0 3 0x80 netio pflogd 73516 216687 12282 73 3 0x100090 kqread syslogd 12282 46282 1 0 3 0x100082 netio syslogd 7360 446402 0 0 2 0x14200 zerothread 99778 270675 0 0 3 0x14200 aiodoned aiodoned 26145 67301 0 0 3 0x14200 syncer update 92131 39226 0 0 3 0x14200 cleaner cleaner 77938 204777 0 0 3 0x14200 reaper reaper 52600 281544 0 0 3 0x14200 pgdaemon pagedaemon 86990 291630 0 0 3 0x14200 bored crynlk 69679 41725 0 0 3 0x14200 bored crypto 55837 242714 0 0 3 0x40014200 acpi0 acpi0 76149 395781 0 0 3 0x40014200 idle1 88700 286028 0 0 2 0x14200 softnet 2765 359094 0 0 3 0x14200 bored systqmp 71916 136647 0 0 3 0x14200 bored systq 88225 408022 0 0 3 0x40014200 bored softclock 63518 137344 0 0 3 0x40014200 idle0 87324 10487 0 0 3 0x14200 bored smr 1 408411 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 76839 (syz-executor.1) thread 0xffff8000225809d8 (299879) exclusive rwlock netlock r = 0 (0xffffffff824b82e8) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9464 6333K 6861K 78643K 10620 0 pcb 13 8K 8K 78643K 35 0 rtable 105 3K 3K 78643K 204 0 ifaddr 44 10K 11K 78643K 52 0 counters 43 33K 34K 78643K 45 0 ioctlops 0 0K 4K 78643K 1471 0 iov 0 0K 2K 78643K 2 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1240 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 3 0K 0K 78643K 6 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 68 0 sigio 0 0K 0K 78643K 2 0 proc 54 50K 95K 78643K 438 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 2 0 in_multi 33 2K 2K 78643K 36 0 ether_multi 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 207 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 98 21K 25K 78643K 1129 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 6 0K 0K 78643K 11 0 temp 67 3019K 3084K 78643K 2143 0 kqueue 3 4K 4K 78643K 3 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 25 0 25 1 0 1 1 0 8 1 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 126 0 116 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 148 0 148 1 0 1 1 0 8 1 tcpcb 544 14 0 10 1 0 1 1 0 8 0 ipq 40 12 0 12 1 0 1 1 0 8 1 ipqe 40 24 0 24 1 0 1 1 0 8 1 inpcb 280 116 0 109 2 0 2 2 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 pffrag 232 4 0 3 1 0 1 1 0 482 0 pffrnode 88 4 0 3 1 0 1 1 0 8 0 pffrent 40 175 0 135 1 0 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 16 0 0 1 0 1 1 0 8 0 pfstkey 112 16 0 0 1 0 1 1 0 8 0 pfstate 328 16 0 0 2 0 2 2 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 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semapl 112 4 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1472 0 66 46 0 46 46 0 8 0 ffsino 272 1472 0 66 94 0 94 94 0 8 0 nchpl 144 1747 0 131 61 0 61 61 0 8 1 uvmvnodes 72 1530 0 0 28 0 28 28 0 8 0 vnodes 208 1530 0 0 81 0 81 81 0 8 0 namei 1024 4450 0 4450 1 0 1 1 0 8 1 percpumem 16 33 0 1 1 0 1 1 0 8 0 scxspl 192 5071 0 5071 2 1 1 2 0 8 1 plimitpl 152 15 0 8 1 0 1 1 0 8 0 sigapl 432 267 0 253 3 0 3 3 0 8 1 futexpl 56 631 0 630 1 0 1 1 0 8 0 knotepl 112 53 0 34 1 0 1 1 0 8 0 kqueuepl 144 12 0 10 1 0 1 1 0 8 0 pipelkpl 48 76 0 66 1 0 1 1 0 8 0 pipepl 120 152 0 133 1 0 1 1 0 8 0 fdescpl 496 268 0 253 3 0 3 3 0 8 0 filepl 152 1435 0 1341 6 0 6 6 0 8 2 lockfpl 104 10 0 10 1 0 1 1 0 8 1 lockfspl 48 4 0 4 1 0 1 1 0 8 1 sessionpl 112 18 0 9 1 0 1 1 0 8 0 pgrppl 48 20 0 11 1 0 1 1 0 8 0 ucredpl 96 52 0 44 1 0 1 1 0 8 0 zombiepl 144 253 0 253 1 0 1 1 0 8 1 processpl 960 283 0 253 5 0 5 5 0 8 1 procpl 624 375 0 332 4 0 4 4 0 8 0 sockpl 400 268 0 250 4 0 4 4 0 8 2 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 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 172 0 0 21 0 21 21 0 8 0 mtagpl 80 3 0 0 1 0 1 1 0 8 0 mbufpl 256 348 0 0 23 1 22 22 0 8 0 bufpl 280 4099 0 174 281 0 281 281 0 8 0 anonpl 16 40007 0 24744 63 1 62 62 0 124 0 amapchunkpl 152 1359 0 1229 8 0 8 8 0 158 1 amappl16 192 1108 0 266 43 0 43 43 0 8 0 amappl15 184 1 0 1 1 0 1 1 0 8 1 amappl14 176 6 0 2 2 1 1 1 0 8 0 amappl13 168 40 0 37 1 0 1 1 0 8 0 amappl12 160 28 0 25 2 1 1 1 0 8 0 amappl11 152 76 0 63 1 0 1 1 0 8 0 amappl10 144 31 0 26 1 0 1 1 0 8 0 amappl9 136 389 0 386 1 0 1 1 0 8 0 amappl8 128 310 0 292 1 0 1 1 0 8 0 amappl7 120 121 0 108 1 0 1 1 0 8 0 amappl6 112 24 0 21 1 0 1 1 0 8 0 amappl5 104 164 0 150 1 0 1 1 0 8 0 amappl4 96 514 0 485 1 0 1 1 0 8 0 amappl3 88 109 0 101 1 0 1 1 0 8 0 amappl2 80 1239 0 1167 3 0 3 3 0 8 1 amappl1 72 15937 0 15496 25 8 17 20 0 8 7 amappl 80 624 0 583 1 0 1 1 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 268 0 253 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 268 0 253 1 0 1 1 0 8 0 vmmpekpl 168 6001 0 5969 2 0 2 2 0 8 0 vmmpepl 168 40041 0 38018 117 2 115 115 0 357 27 vmsppl 368 267 0 253 2 0 2 2 0 8 0 pdppl 4096 544 0 506 6 0 6 6 0 8 0 pvpl 32 136493 0 118138 151 0 151 151 0 265 2 pmappl 232 267 0 253 2 0 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 178 0 4 5 0 5 5 0 8 0