panic(ffffffff821f0987) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff8264d7c8) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff8264d7c8) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff8264d7c8,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd806f2d9500,0,3b9aca00,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd806f2d9500,0,3b9aca00,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 ether_resolve(ffff80000017b2a8,fffffd806f2d9500,fffffd806f6f24e0,fffffd806f3e80e0,ffff80002178f9b8) at ether_resolve+0x49f sys/net/if_ethersubr.c:227 ether_output(ffff80000017b2a8,fffffd806f2d9500,fffffd806f6f24e0,fffffd806f3e80e0) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:310 [inline] ether_output(ffff80000017b2a8,fffffd806f2d9500,fffffd806f6f24e0,fffffd806f3e80e0) at ether_output+0x47 sys/net/if_ethersubr.c:339 ip_output(fffffd8078ab3b00,0,fffffd806f6f24d0,0,0,fffffd806f6f2460) at ip_output+0x12a2 sys/netinet/ip_output.c:509 udp_output(fffffd806f6f2460,fffffd8078ab3b00,0,0) at udp_output+0x5af sys/netinet/udp_usrreq.c:1008 sosend(fffffd8067aacca8,0,ffff80002178fce0,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:549 sendit(ffff800020ac64f8,8,ffff80002178fdc0,0,ffff80002178fea0) at sendit+0x52b sys/kern/uipc_syscalls.c:657 sys_sendto(ffff800020ac64f8,ffff80002178fe58,ffff80002178fea0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:522 syscall(ffff80002178ff20) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002178ff20) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3540395bdc0, count: 1 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 0xfffffd806f2d9e00+24 0xe953d05a2018b415!=0xe953d0da58b2c215 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821f0987) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff8264d7c8) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff8264d7c8) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff8264d7c8,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd806f2d9500,0,3b9aca00,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd806f2d9500,0,3b9aca00,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 ether_resolve(ffff80000017b2a8,fffffd806f2d9500,fffffd806f6f24e0,fffffd806f3e80e0,ffff80002178f9b8) at ether_resolve+0x49f sys/net/if_ethersubr.c:227 ether_output(ffff80000017b2a8,fffffd806f2d9500,fffffd806f6f24e0,fffffd806f3e80e0) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:310 [inline] ether_output(ffff80000017b2a8,fffffd806f2d9500,fffffd806f6f24e0,fffffd806f3e80e0) at ether_output+0x47 sys/net/if_ethersubr.c:339 ip_output(fffffd8078ab3b00,0,fffffd806f6f24d0,0,0,fffffd806f6f2460) at ip_output+0x12a2 sys/netinet/ip_output.c:509 udp_output(fffffd806f6f2460,fffffd8078ab3b00,0,0) at udp_output+0x5af sys/netinet/udp_usrreq.c:1008 sosend(fffffd8067aacca8,0,ffff80002178fce0,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:549 sendit(ffff800020ac64f8,8,ffff80002178fdc0,0,ffff80002178fea0) at sendit+0x52b sys/kern/uipc_syscalls.c:657 sys_sendto(ffff800020ac64f8,ffff80002178fe58,ffff80002178fea0) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:522 syscall(ffff80002178ff20) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff80002178ff20) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x3540395bdc0, count: -14 ddb{1}> show registers rdi 0xffffffff81e4ab67 db_enter+0x17 rsi 0x10bf2 __ALIGN_SIZE+0xfbf2 rbp 0xffff80002178f690 rbx 0xffff80002178f740 rdx 0x10bf3 __ALIGN_SIZE+0xfbf3 rcx 0xffff800023d90000 rax 0xffff800023d90000 r8 0xffffffff81affa8f kprintf+0x16f r9 0x1 r10 0x25 r11 0xd2b4bf81a6b68915 r12 0x3000000008 r13 0xffff80002178f6a0 r14 0x100 r15 0x1 rip 0xffffffff81e4ab68 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002178f680 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=350159 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ac7ae8,0xffff800020ac6ec8 process=0xffff800020a932e0 user=0xffff80002178a000, vmspace=0xfffffd807f0002e0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 60203 240600 5649 0 2 0 syz-executor.1 60203 326792 5649 0 3 0x4000080 fsleep syz-executor.1 99769 53022 50104 0 2 0 syz-executor.0 *99769 350159 50104 0 7 0x4000000 syz-executor.0 50104 45109 50071 0 2 0x482 syz-executor.0 37201 258290 0 0 3 0x14200 bored sosplice 5649 295011 50071 0 2 0x482 syz-executor.1 50071 425710 69513 0 3 0x82 thrsleep syz-fuzzer 50071 422109 69513 0 3 0x4000082 thrsleep syz-fuzzer 50071 229580 69513 0 3 0x4000082 thrsleep syz-fuzzer 50071 95818 69513 0 3 0x4000082 thrsleep syz-fuzzer 50071 52541 69513 0 3 0x4000082 thrsleep syz-fuzzer 50071 174103 69513 0 3 0x4000082 thrsleep syz-fuzzer 50071 523700 69513 0 3 0x4000082 thrsleep syz-fuzzer 50071 317414 69513 0 3 0x4000082 kqread syz-fuzzer 50071 305827 69513 0 3 0x4000082 thrsleep syz-fuzzer 50071 137871 69513 0 3 0x4000082 thrsleep syz-fuzzer 69513 372584 58511 0 3 0x10008a pause ksh 58511 282384 80611 0 3 0x92 select sshd 43322 188911 1 0 3 0x100083 ttyin getty 80611 474979 1 0 3 0x80 select sshd 33325 363706 39044 74 3 0x100092 bpf pflogd 39044 148167 1 0 3 0x80 netio pflogd 49471 411134 97123 73 3 0x100090 kqread syslogd 97123 441594 1 0 3 0x100082 netio syslogd 26357 321159 1 77 3 0x100090 poll dhclient 59914 160631 1 0 3 0x80 poll dhclient 78290 148606 0 0 3 0x14200 bored smr 78977 338725 0 0 2 0x14200 zerothread 81169 439349 0 0 3 0x14200 aiodoned aiodoned 72923 124752 0 0 3 0x14200 syncer update 18898 4458 0 0 3 0x14200 cleaner cleaner 89921 180047 0 0 3 0x14200 reaper reaper 61941 200631 0 0 3 0x14200 pgdaemon pagedaemon 29929 121519 0 0 3 0x14200 bored crynlk 767 494402 0 0 3 0x14200 bored crypto 23102 318311 0 0 3 0x40014200 acpi0 acpi0 65331 364793 0 0 3 0x40014200 idle1 62381 346656 0 0 2 0x14200 softnet 68253 94718 0 0 3 0x14200 bored systqmp 40923 441816 0 0 3 0x14200 bored systq 63525 436930 0 0 7 0x40014200 softclock 63502 468358 0 0 3 0x40014200 idle0 1 499534 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 99769 (syz-executor.0) thread 0xffff800020ac64f8 (350159) exclusive rwlock netlock r = 0 (0xffffffff824734b8) #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 9513 6421K 7177K 78643K 11490 0 pcb 13 8K 8K 78643K 74 0 rtable 102 3K 4K 78643K 339 0 ifaddr 71 14K 14K 78643K 107 0 counters 43 33K 34K 78643K 55 0 ioctlops 0 0K 4K 78643K 1488 0 iov 0 0K 16K 78643K 45 0 mount 1 1K 1K 78643K 1 0 vnodes 1227 77K 77K 78643K 1476 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 3 5K 5K 78643K 6 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 28 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 229 0 sigio 0 0K 0K 78643K 2 0 proc 62 63K 95K 78643K 498 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 41 0 in_multi 52 2K 3K 78643K 100 0 ether_multi 1 0K 0K 78643K 12 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 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 238 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 119 38K 39K 78643K 1670 0 UVM aobj 14 6K 6K 78643K 16 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 51 0 NDP 11 0K 0K 78643K 24 0 temp 119 3024K 3088K 78643K 8216 0 kqueue 3 4K 17K 78643K 21 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 11 0 5 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 50 0 48 1 0 1 1 0 8 0 rtentry 112 70 0 29 2 0 2 2 0 8 0 unpcb 120 115 0 104 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 sackhl 24 2 0 2 1 0 1 1 0 8 1 tcpqe 32 36 0 36 1 1 0 1 0 8 0 tcpcb 544 123 0 117 1 0 1 1 0 8 0 inpcb 280 365 0 356 3 1 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 10 0 6 1 0 1 1 0 8 0 pkpcb 40 5 0 5 1 1 0 1 0 8 0 pffrag 232 3 0 2 2 1 1 1 0 482 0 pffrnode 88 3 0 2 2 1 1 1 0 8 0 pffrent 40 44 0 6 2 1 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 35 0 11 1 0 1 1 0 8 0 pfstkey 112 35 0 11 1 0 1 1 0 8 0 pfstate 328 35 0 11 3 0 3 3 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 283 0 100 13 1 12 13 0 8 0 art_table 32 284 0 100 2 0 2 2 0 8 0 art_node 16 69 0 31 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 3 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 24 0 14 1 0 1 1 0 8 0 shmpl 112 14 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1701 0 297 46 0 46 46 0 8 0 ffsino 272 1701 0 297 95 0 95 95 0 8 0 nchpl 144 2221 0 615 61 0 61 61 0 8 0 uvmvnodes 72 1960 0 0 36 0 36 36 0 8 0 vnodes 208 1960 0 0 104 0 104 104 0 8 0 namei 1024 6244 0 6244 2 1 1 1 0 8 1 percpumem 16 38 0 6 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 2 1 0 1 1 0 8 0 scxspl 192 6466 0 6466 8 7 1 7 0 8 1 plimitpl 152 37 0 29 1 0 1 1 0 8 0 sigapl 424 442 0 409 4 0 4 4 0 8 0 futexpl 56 3949 0 3948 2 1 1 1 0 8 0 knotepl 112 86 0 67 1 0 1 1 0 8 0 kqueuepl 144 70 0 68 1 0 1 1 0 8 0 pipelkpl 48 137 0 127 1 0 1 1 0 8 0 pipepl 120 274 0 255 1 0 1 1 0 8 0 fdescpl 496 426 0 409 3 0 3 3 0 8 0 filepl 152 2782 0 2677 7 2 5 6 0 8 0 lockfpl 104 66 0 65 1 0 1 1 0 8 0 lockfspl 48 25 0 24 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 25 0 14 1 0 1 1 0 8 0 ucredpl 96 225 0 216 1 0 1 1 0 8 0 zombiepl 144 409 0 409 1 0 1 1 0 8 1 processpl 960 442 0 409 5 0 5 5 0 8 0 procpl 624 862 0 818 4 0 4 4 0 8 0 sosppl 128 11 0 11 2 1 1 1 0 8 1 sockpl 400 539 0 517 6 2 4 4 0 8 1 mcl64k 65536 260 0 0 33 0 33 33 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 152 0 0 18 0 18 18 0 8 0 mtagpl 80 20 0 0 1 0 1 1 0 8 0 mbufpl 256 383 0 0 23 0 23 23 0 8 0 bufpl 280 4379 0 174 301 0 301 301 0 8 0 anonpl 16 69505 0 52658 89 4 85 85 0 124 16 amapchunkpl 152 2387 0 2243 11 1 10 10 0 158 4 amappl16 192 2566 0 1637 67 8 59 59 0 8 12 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 2 0 2 2 2 0 1 0 8 0 amappl13 168 31 0 30 1 0 1 1 0 8 0 amappl12 160 131 0 128 2 1 1 1 0 8 0 amappl11 152 127 0 106 1 0 1 1 0 8 0 amappl10 144 15 0 12 1 0 1 1 0 8 0 amappl9 136 392 0 388 1 0 1 1 0 8 0 amappl8 128 339 0 315 1 0 1 1 0 8 0 amappl7 120 128 0 114 1 0 1 1 0 8 0 amappl6 112 88 0 79 1 0 1 1 0 8 0 amappl5 104 266 0 249 1 0 1 1 0 8 0 amappl4 96 573 0 538 2 1 1 2 0 8 0 amappl3 88 113 0 108 1 0 1 1 0 8 0 amappl2 80 2504 0 2427 3 1 2 3 0 8 0 amappl1 72 19534 0 19073 26 16 10 20 0 8 0 amappl 80 1133 0 1083 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 15 0 2 1 0 1 1 0 8 0 uaddrrnd 24 430 0 411 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 430 0 411 1 0 1 1 0 8 0 vmmpekpl 168 7152 0 7115 2 0 2 2 0 8 0 vmmpepl 168 60862 0 58679 133 13 120 126 0 357 25 vmsppl 368 429 0 411 2 0 2 2 0 8 0 pdppl 4096 868 0 824 6 0 6 6 0 8 0 pvpl 32 197349 0 177287 204 4 200 200 0 265 37 pmappl 232 429 0 411 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 213 0 7 6 0 6 6 0 8 0