panic(ffffffff821c547b) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82621c18) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1789 [inline] pool_cache_get(ffffffff82621c18) at pool_cache_get+0x323 sys/kern/subr_pool.c:1892 pool_get(ffffffff82621c18,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd8062146500,0,3b9aca00,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8062146500,0,3b9aca00,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 ether_resolve(ffff8000001712a8,fffffd8062146500,fffffd806f669198,fffffd806f330150,ffff800023bb4b28) at ether_resolve+0x49f sys/net/if_ethersubr.c:227 ether_output(ffff8000001712a8,fffffd8062146500,fffffd806f669198,fffffd806f330150) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:310 [inline] ether_output(ffff8000001712a8,fffffd8062146500,fffffd806f669198,fffffd806f330150) at ether_output+0x47 sys/net/if_ethersubr.c:339 ip_output(fffffd8062199500,0,fffffd806f669188,0,0,fffffd806f669118) at ip_output+0x125d sys/netinet/ip_output.c:511 udp_output(fffffd806f669118,fffffd8062199500,0,0) at udp_output+0x5af sys/netinet/udp_usrreq.c:1008 sosend(fffffd8076227190,0,ffff800023bb4e60,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:524 sendit(ffff800020a99160,19,ffff800023bb4f40,0,ffff800023bb5020) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020a99160,ffff800023bb4fd8,ffff800023bb5020) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 syscall(ffff800023bb50a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023bb50a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b625803cd0, 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 0xfffffd8062145800+16 0x0!=0xc368e207d008ec09 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821c547b) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82621c18) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1789 [inline] pool_cache_get(ffffffff82621c18) at pool_cache_get+0x323 sys/kern/subr_pool.c:1892 pool_get(ffffffff82621c18,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd8062146500,0,3b9aca00,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8062146500,0,3b9aca00,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 ether_resolve(ffff8000001712a8,fffffd8062146500,fffffd806f669198,fffffd806f330150,ffff800023bb4b28) at ether_resolve+0x49f sys/net/if_ethersubr.c:227 ether_output(ffff8000001712a8,fffffd8062146500,fffffd806f669198,fffffd806f330150) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:310 [inline] ether_output(ffff8000001712a8,fffffd8062146500,fffffd806f669198,fffffd806f330150) at ether_output+0x47 sys/net/if_ethersubr.c:339 ip_output(fffffd8062199500,0,fffffd806f669188,0,0,fffffd806f669118) at ip_output+0x125d sys/netinet/ip_output.c:511 udp_output(fffffd806f669118,fffffd8062199500,0,0) at udp_output+0x5af sys/netinet/udp_usrreq.c:1008 sosend(fffffd8076227190,0,ffff800023bb4e60,0,0,0) at sosend+0x671 sys/kern/uipc_socket.c:524 sendit(ffff800020a99160,19,ffff800023bb4f40,0,ffff800023bb5020) at sendit+0x52b sys/kern/uipc_syscalls.c:662 sys_sendto(ffff800020a99160,ffff800023bb4fd8,ffff800023bb5020) at sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 syscall(ffff800023bb50a0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023bb50a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b625803cd0, count: -14 ddb{1}> show registers rdi 0xffffffff815de967 db_enter+0x17 rsi 0xecae __ALIGN_SIZE+0xdcae rbp 0xffff800023bb4800 rbx 0xffff800023bb48b0 rdx 0xecaf __ALIGN_SIZE+0xdcaf rcx 0xffff800020b9e000 rax 0xffff800020b9e000 r8 0xffffffff81400edf kprintf+0x16f r9 0x1 r10 0x25 r11 0xd7f3ddd6567a9f35 r12 0x3000000008 r13 0xffff800023bb4810 r14 0x100 r15 0x1 rip 0xffffffff815de968 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800023bb47f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.1) pid=228350 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020a98ee8,0xffffffff82644068 process=0xffff800020aa38d0 user=0xffff800023bb0000, vmspace=0xfffffd807f0058a0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 14086 32490 97836 0 2 0 syz-executor.1 *14086 228350 97836 0 7 0x4000000 syz-executor.1 77498 322282 74949 0 2 0 syz-executor.0 77498 172718 74949 0 7 0x4000000 syz-executor.0 93494 230230 0 0 3 0x14200 bored sosplice 74949 51873 72159 0 3 0x82 nanosleep syz-executor.0 97836 484336 72159 0 3 0x82 nanosleep syz-executor.1 72159 322771 99936 0 3 0x82 kqread syz-fuzzer 72159 379022 99936 0 3 0x4000082 thrsleep syz-fuzzer 72159 210430 99936 0 3 0x4000082 thrsleep syz-fuzzer 72159 457745 99936 0 3 0x4000082 thrsleep syz-fuzzer 72159 85620 99936 0 3 0x4000082 thrsleep syz-fuzzer 72159 49845 99936 0 3 0x4000082 thrsleep syz-fuzzer 72159 190263 99936 0 3 0x4000082 thrsleep syz-fuzzer 72159 356759 99936 0 3 0x4000082 thrsleep syz-fuzzer 72159 522541 99936 0 3 0x4000082 thrsleep syz-fuzzer 72159 137767 99936 0 3 0x4000082 thrsleep syz-fuzzer 99936 398032 24278 0 3 0x10008a pause ksh 24278 335930 55319 0 3 0x92 select sshd 89872 296207 1 0 3 0x100083 ttyin getty 55319 421110 1 0 3 0x80 select sshd 27255 242754 2957 74 3 0x100092 bpf pflogd 2957 86334 1 0 3 0x80 netio pflogd 26387 356226 93679 73 3 0x100090 kqread syslogd 93679 77359 1 0 3 0x100082 netio syslogd 59472 56479 1 77 3 0x100090 poll dhclient 95393 359210 1 0 3 0x80 poll dhclient 93290 383269 0 0 2 0x14200 zerothread 51067 292232 0 0 3 0x14200 aiodoned aiodoned 9294 92969 0 0 3 0x14200 syncer update 33685 268479 0 0 3 0x14200 cleaner cleaner 73408 60946 0 0 3 0x14200 reaper reaper 15810 236127 0 0 3 0x14200 pgdaemon pagedaemon 352 343356 0 0 3 0x14200 bored crynlk 20277 466104 0 0 3 0x14200 bored crypto 95471 213745 0 0 3 0x14200 bored viomb 52919 393540 0 0 3 0x40014200 acpi0 acpi0 63809 436319 0 0 3 0x40014200 idle1 98623 126052 0 0 2 0x14200 softnet 13100 156751 0 0 3 0x14200 bored systqmp 64161 156796 0 0 3 0x14200 bored systq 82194 187903 0 0 3 0x40014200 bored softclock 34395 171959 0 0 3 0x40014200 idle0 73862 56945 0 0 3 0x14200 bored smr 1 305244 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 14086 (syz-executor.1) thread 0xffff800020a99160 (228350) exclusive rwlock netlock r = 0 (0xffffffff82478d78) #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 sendit+0x52b sys/kern/uipc_syscalls.c:662 #4 sys_sendto+0x80 sys/kern/uipc_syscalls.c:527 #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 9537 6492K 6939K 78643K 11168 0 pcb 13 9K 9K 78643K 78 0 rtable 99 12K 12K 78643K 294 0 ifaddr 75 14K 14K 78643K 112 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1694 0 iov 0 0K 16K 78643K 32 0 mount 1 1K 1K 78643K 1 0 vnodes 1215 76K 77K 78643K 1394 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 78 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1810 197K 290K 78643K 12817 0 file desc 6 17K 25K 78643K 221 0 sigio 0 0K 0K 78643K 10 0 proc 60 63K 95K 78643K 458 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 11 0 in_multi 41 2K 2K 78643K 54 0 ether_multi 1 0K 0K 78643K 5 0 mrt 0 0K 0K 78643K 13 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 60 265K 265K 78643K 60 0 exec 0 0K 1K 78643K 232 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 116 22K 22K 78643K 1727 0 UVM aobj 12 4K 4K 78643K 12 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 56 0 NDP 13 0K 0K 78643K 22 0 temp 139 3031K 3099K 78643K 16830 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 7 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 32 0 30 1 0 1 1 0 8 0 rtentry 112 57 0 19 2 0 2 2 0 8 0 unpcb 120 148 0 133 1 0 1 1 0 8 0 syncache 264 4 0 4 2 2 0 1 0 8 0 tcpqe 32 103 0 103 1 1 0 1 0 8 0 tcpcb 544 108 0 104 2 0 2 2 0 8 1 inpcb 280 698 0 684 3 1 2 3 0 8 1 rttmr 72 5 0 5 1 0 1 1 0 8 1 nd6 48 5 0 2 1 0 1 1 0 8 0 ppxss 1128 4 0 4 1 0 1 1 0 8 1 pffrag 232 8 0 7 1 0 1 1 0 482 0 pffrnode 88 8 0 7 1 0 1 1 0 8 0 pffrent 40 274 0 231 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 35 0 4 1 0 1 1 0 8 0 pfstkey 112 35 0 4 1 0 1 1 0 8 0 pfstate 328 35 0 3 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 323 0 112 16 0 16 16 0 8 2 art_table 32 324 0 112 2 0 2 2 0 8 0 art_node 16 56 0 21 1 0 1 1 0 8 0 sysvmsgpl 40 55 0 26 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 76 0 66 1 0 1 1 0 8 0 shmpl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1734 0 331 46 0 46 46 0 8 0 ffsino 272 1734 0 331 96 2 94 95 0 8 0 nchpl 144 2266 0 647 61 0 61 61 0 8 0 uvmvnodes 72 1910 0 0 35 0 35 35 0 8 0 vnodes 208 1910 0 0 101 0 101 101 0 8 0 namei 1024 6502 0 6502 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 6771 0 6771 10 7 3 7 0 8 3 plimitpl 152 29 0 21 1 0 1 1 0 8 0 sigapl 432 420 0 404 3 1 2 3 0 8 0 futexpl 56 5385 0 5385 1 0 1 1 0 8 1 knotepl 112 77 0 58 1 0 1 1 0 8 0 kqueuepl 104 48 0 46 1 0 1 1 0 8 0 pipepl 160 288 0 269 4 2 2 2 0 8 1 fdescpl 488 421 0 404 3 0 3 3 0 8 0 filepl 152 3234 0 3120 7 1 6 6 0 8 1 lockfpl 104 57 0 55 1 0 1 1 0 8 0 lockfspl 48 22 0 20 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 28 0 17 1 0 1 1 0 8 0 ucredpl 96 279 0 270 1 0 1 1 0 8 0 zombiepl 144 404 0 404 2 1 1 1 0 8 1 processpl 904 438 0 404 4 0 4 4 0 8 0 procpl 632 942 0 897 5 0 5 5 0 8 1 srpgc 64 2 0 2 1 0 1 1 0 8 1 sosppl 128 7 0 7 2 1 1 1 0 8 1 sockpl 384 888 0 857 6 1 5 5 0 8 1 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 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 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 167 0 0 19 0 19 19 0 8 0 mtagpl 80 11 0 0 1 0 1 1 0 8 0 mbufpl 256 355 0 0 22 0 22 22 0 8 0 bufpl 280 7068 0 1342 409 0 409 409 0 8 0 anonpl 16 55619 0 36066 83 2 81 81 0 125 1 amapchunkpl 152 2267 0 2108 8 1 7 8 0 158 0 amappl16 192 2040 0 976 55 0 55 55 0 8 1 amappl15 184 59 0 55 1 0 1 1 0 8 0 amappl14 176 127 0 121 2 1 1 1 0 8 0 amappl13 168 1 0 0 1 0 1 1 0 8 0 amappl12 160 100 0 96 2 1 1 1 0 8 0 amappl11 152 54 0 39 1 0 1 1 0 8 0 amappl10 144 22 0 16 1 0 1 1 0 8 0 amappl9 136 602 0 599 1 0 1 1 0 8 0 amappl8 128 131 0 105 1 0 1 1 0 8 0 amappl7 120 108 0 95 1 0 1 1 0 8 0 amappl6 112 54 0 48 1 0 1 1 0 8 0 amappl5 104 225 0 210 1 0 1 1 0 8 0 amappl4 96 494 0 462 1 0 1 1 0 8 0 amappl3 88 411 0 399 1 0 1 1 0 8 0 amappl2 80 2473 0 2390 3 1 2 3 0 8 0 amappl1 72 19339 0 18870 26 16 10 20 0 8 0 amappl 80 1202 0 1153 2 0 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 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 11 0 0 1 0 1 1 0 8 0 uaddrrnd 24 421 0 404 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 421 0 404 1 0 1 1 0 8 0 vmmpekpl 168 7459 0 7430 2 0 2 2 0 8 0 vmmpepl 168 59602 0 57243 139 22 117 131 0 357 14 vmsppl 368 420 0 404 2 0 2 2 0 8 0 pdppl 4096 849 0 808 6 0 6 6 0 8 0 pvpl 32 182050 0 159240 193 0 193 193 0 265 7 pmappl 232 420 0 404 2 1 1 2 0 8 0 extentpl 40 50 0 32 1 0 1 1 0 8 0 phpool 112 184 0 6 6 0 6 6 0 8 0