panic(ffffffff821ea7e3) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82662290) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff82662290) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff82662290,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd8063527c00,1b80,580,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8063527c00,1b80,580,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000a05980) at tcp_output+0x15ba sys/netinet/tcp_output.c:673 tcp_input(ffff800020a4f198,ffff800020a4f1a4,6,2) at tcp_input+0x2353 ip_deliver(ffff800020a4f198,ffff800020a4f1a4,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020a4f198,ffff800020a4f1a4,ffff800020a28000,0) at ip_ours+0x412 ip_input_if(ffff800020a4f198,ffff800020a4f1a4,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd8067351e00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017b2a8,fffffd8067351e00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017b2a8,ffff800020a4f2c8) at if_input_process+0xfb if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017b2a8,ffff800020a4f2c8) at if_input_process+0xfb sys/net/if.c:943 ifiq_process(ffff80000017b6a0) at ifiq_process+0x80 sys/net/ifq.c:646 end trace frame: 0xffff800020a4f380, 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 0xfffffd8064573500+16 0x0!=0x7953359dfa312c08 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821ea7e3) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82662290) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff82662290) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff82662290,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd8063527c00,1b80,580,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8063527c00,1b80,580,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000a05980) at tcp_output+0x15ba sys/netinet/tcp_output.c:673 tcp_input(ffff800020a4f198,ffff800020a4f1a4,6,2) at tcp_input+0x2353 ip_deliver(ffff800020a4f198,ffff800020a4f1a4,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020a4f198,ffff800020a4f1a4,ffff800020a28000,0) at ip_ours+0x412 ip_input_if(ffff800020a4f198,ffff800020a4f1a4,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd8067351e00) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017b2a8,fffffd8067351e00,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017b2a8,ffff800020a4f2c8) at if_input_process+0xfb if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017b2a8,ffff800020a4f2c8) at if_input_process+0xfb sys/net/if.c:943 ifiq_process(ffff80000017b6a0) at ifiq_process+0x80 sys/net/ifq.c:646 taskq_thread(ffff80000002b080) at taskq_thread+0x9c sys/kern/kern_task.c:369 end trace frame: 0x0, count: -15 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a4ea30 rbx 0xffff800020a4eae0 rdx 0xffff800020a28000 rcx 0 rax 0 r8 0xffffffff816f3ccf kprintf+0x16f r9 0x1 r10 0x25 r11 0x83bcfe3e272e27a5 r12 0x3000000008 r13 0xffff800020a4ea40 r14 0x100 r15 0x1 rip 0xffffffff81945118 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a4ea20 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (softnet) pid=500129 stat=onproc flags process=14000 proc=200 pri=32, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020a284e0,0xffff800020a28280 process=0xffff800020a2b680 user=0xffff800020a4a000, vmspace=0xffffffff8262f268 estcpu=1, cpticks=2, pctcpu=0.11 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 64502 54211 13355 0 2 0 syz-executor.0 64502 238247 13355 0 7 0x4000000 syz-executor.0 24337 338009 0 0 3 0x14200 bored sosplice 51702 408752 54614 0 2 0x2 syz-executor.1 13355 125181 54614 0 2 0x482 syz-executor.0 54614 154197 65218 0 3 0x82 thrsleep syz-fuzzer 54614 503226 65218 0 2 0x4000482 syz-fuzzer 54614 165901 65218 0 3 0x4000082 thrsleep syz-fuzzer 54614 443675 65218 0 3 0x4000082 thrsleep syz-fuzzer 54614 305923 65218 0 2 0x4000082 syz-fuzzer 54614 299361 65218 0 3 0x4000082 thrsleep syz-fuzzer 54614 95800 65218 0 3 0x4000082 thrsleep syz-fuzzer 54614 121656 65218 0 3 0x4000082 thrsleep syz-fuzzer 54614 403606 65218 0 2 0x4000082 syz-fuzzer 54614 15909 65218 0 3 0x4000082 thrsleep syz-fuzzer 65218 160545 16083 0 3 0x10008a pause ksh 16083 417395 58270 0 3 0x92 select sshd 28194 75532 1 0 3 0x100083 ttyin getty 58270 261682 1 0 3 0x80 select sshd 95358 218854 36047 74 2 0x100492 pflogd 36047 291301 1 0 3 0x80 netio pflogd 28001 476299 43602 73 3 0x100090 kqread syslogd 43602 266677 1 0 3 0x100082 netio syslogd 83539 362393 1 77 3 0x100090 poll dhclient 63530 510636 1 0 3 0x80 poll dhclient 39636 260946 0 0 2 0x14200 zerothread 94774 191758 0 0 3 0x14200 aiodoned aiodoned 35549 183481 0 0 2 0x14200 update 73628 192819 0 0 3 0x14200 cleaner cleaner 30512 347975 0 0 3 0x14200 reaper reaper 86628 393750 0 0 3 0x14200 pgdaemon pagedaemon 64329 34075 0 0 3 0x14200 bored crynlk 9061 164817 0 0 3 0x14200 bored crypto 33145 497008 0 0 3 0x40014200 acpi0 acpi0 80820 261320 0 0 3 0x40014200 idle1 *61447 500129 0 0 7 0x14200 softnet 43343 344056 0 0 3 0x14200 bored systqmp 24819 386766 0 0 3 0x14200 bored systq 79717 247045 0 0 2 0x40014200 softclock 42263 400110 0 0 3 0x40014200 idle0 60066 426921 0 0 3 0x14200 bored smr 1 133255 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 51702 (syz-executor.1) thread 0xffff800020ae7ae8 (408752) exclusive rrwlock inode r = 0 (0xfffffd806e39e3d0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:453 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:602 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:575 #5 vget+0x1c8 sys/kern/vfs_subr.c:671 #6 ufs_ihashget+0x141 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x74 sys/ufs/ffs/ffs_vfsops.c:1329 #8 ufs_lookup+0x14b7 sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:90 #10 vfs_lookup+0x7a6 sys/kern/vfs_lookup.c:568 #11 namei+0x63c sys/kern/vfs_lookup.c:249 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1860 #13 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b45a098) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:453 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:602 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:575 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x63c sys/kern/vfs_lookup.c:249 #7 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1860 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #9 Xsyscall+0x128 Process 54614 (syz-fuzzer) thread 0xffff800020a7c278 (15909) shared rwlock vmmaplk r = 0 (0xfffffd806e9a8ba0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1448 #2 uvm_fault+0x7f sys/uvm/uvm_fault.c:524 #3 pageflttrap+0x1b8 sys/arch/amd64/amd64/trap.c:221 #4 usertrap+0x21a sys/arch/amd64/amd64/trap.c:384 #5 recall_trap+0x8 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8262e460) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 pageflttrap+0x7f sys/arch/amd64/amd64/trap.c:180 #2 usertrap+0x21a sys/arch/amd64/amd64/trap.c:384 #3 recall_trap+0x8 Process 61447 (softnet) thread 0xffff800020a28000 (500129) shared rwlock netlock r = 0 (0xffffffff82518a78) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 if_input_process+0x84 sys/net/if.c:941 #2 ifiq_process+0x80 sys/net/ifq.c:646 #3 taskq_thread+0x9c sys/kern/kern_task.c:369 #4 proc_trampoline+0x1c shared rwlock softnet r = 0 (0xffff80000002b0e0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 taskq_thread+0x8f sys/kern/kern_task.c:368 #2 proc_trampoline+0x1c ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9620 7026K 7593K 78643K 13788 0 pcb 13 8K 8K 78643K 182 0 rtable 110 3K 4K 78643K 478 0 ifaddr 118 21K 21K 78643K 219 0 counters 43 33K 34K 78643K 77 0 ioctlops 0 0K 4K 78643K 1497 0 iov 0 0K 32K 78643K 271 0 mount 1 1K 1K 78643K 1 0 vnodes 1229 77K 78K 78643K 2049 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 7 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 150 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 5 13K 25K 78643K 619 0 sigio 0 0K 0K 78643K 6 0 proc 61 63K 95K 78643K 505 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 74 0 in_multi 90 3K 4K 78643K 207 0 ether_multi 1 0K 0K 78643K 33 0 mrt 0 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 97 440K 440K 78643K 97 0 exec 0 0K 1K 78643K 270 0 pfkey data 0 0K 0K 78643K 2 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 123 39K 51K 78643K 3146 0 UVM aobj 40 2K 2K 78643K 62 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 226 0 NDP 19 0K 0K 78643K 43 0 temp 160 3023K 3102K 78643K 20191 0 kqueue 3 4K 16K 78643K 54 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 13 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 102 0 100 1 0 1 1 0 8 0 rtentry 112 82 0 37 2 0 2 2 0 8 0 unpcb 120 670 0 660 3 1 2 2 0 8 1 syncache 264 12 0 12 4 4 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 628 0 628 1 1 0 1 0 8 0 tcpcb 544 491 0 486 3 2 1 2 0 8 0 inpcb 280 1324 0 1316 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 12 0 10 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 pffrag 232 7 0 7 2 1 1 1 0 482 1 pffrnode 88 7 0 7 2 1 1 1 0 8 1 pffrent 40 188 0 188 2 1 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 80 0 9 1 0 1 1 0 8 0 pfstkey 112 80 0 9 3 0 3 3 0 8 0 pfstate 328 80 0 9 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 323 0 136 15 1 14 14 0 8 0 art_table 32 324 0 136 2 0 2 2 0 8 0 art_node 16 79 0 36 1 0 1 1 0 8 0 sysvmsgpl 40 65 0 38 1 0 1 1 0 8 0 semupl 112 4 0 4 2 2 0 1 0 8 0 semapl 112 148 0 138 1 0 1 1 0 8 0 shmpl 112 60 0 22 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2380 0 977 46 0 46 46 0 8 0 ffsino 272 2380 0 977 94 0 94 94 0 8 0 nchpl 144 3530 0 1921 61 0 61 61 0 8 0 uvmvnodes 72 3107 0 0 57 0 57 57 0 8 0 vnodes 208 3107 0 0 164 0 164 164 0 8 0 namei 1024 11141 0 11141 2 1 1 1 0 8 1 percpumem 16 49 0 17 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 2 0 1 1 0 1 1 0 8 0 scxspl 192 10352 0 10352 9 8 1 6 0 8 1 plimitpl 152 71 0 63 1 0 1 1 0 8 0 sigapl 424 835 0 803 4 0 4 4 0 8 0 futexpl 56 14605 0 14605 1 0 1 1 0 8 1 knotepl 112 119 0 100 1 0 1 1 0 8 0 kqueuepl 144 174 0 172 1 0 1 1 0 8 0 pipelkpl 48 249 0 239 2 1 1 1 0 8 0 pipepl 120 498 0 479 2 1 1 1 0 8 0 fdescpl 496 819 0 803 3 0 3 3 0 8 0 filepl 152 7371 0 7271 11 3 8 8 0 8 4 lockfpl 104 330 0 329 1 0 1 1 0 8 0 lockfspl 48 111 0 110 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 98 0 87 1 0 1 1 0 8 0 ucredpl 96 1046 0 1036 1 0 1 1 0 8 0 zombiepl 144 803 0 803 2 1 1 1 0 8 1 processpl 960 835 0 803 5 0 5 5 0 8 0 procpl 624 2286 0 2244 4 0 4 4 0 8 0 sosppl 128 28 0 28 3 2 1 1 0 8 1 sockpl 400 2104 0 2084 9 2 7 7 0 8 4 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 165 0 0 20 0 20 20 0 8 0 mtagpl 80 71 0 0 2 0 2 2 0 8 0 mbufpl 256 576 0 0 35 0 35 35 0 8 0 bufpl 280 5337 0 175 369 0 369 369 0 8 0 anonpl 16 90705 0 73398 89 2 87 87 0 124 15 amapchunkpl 152 6068 0 5934 22 13 9 20 0 158 2 amappl16 192 4248 0 3298 64 8 56 60 0 8 8 amappl15 184 5 0 3 1 0 1 1 0 8 0 amappl14 176 5 0 4 2 1 1 1 0 8 0 amappl13 168 330 0 327 2 1 1 1 0 8 0 amappl12 160 288 0 284 2 1 1 1 0 8 0 amappl11 152 79 0 60 1 0 1 1 0 8 0 amappl10 144 35 0 27 1 0 1 1 0 8 0 amappl9 136 394 0 390 1 0 1 1 0 8 0 amappl8 128 339 0 308 3 1 2 2 0 8 0 amappl7 120 118 0 107 1 0 1 1 0 8 0 amappl6 112 25 0 22 2 1 1 1 0 8 0 amappl5 104 1011 0 993 1 0 1 1 0 8 0 amappl4 96 827 0 793 2 1 1 2 0 8 0 amappl3 88 222 0 217 1 0 1 1 0 8 0 amappl2 80 5653 0 5580 4 2 2 3 0 8 0 amappl1 72 27429 0 26981 25 15 10 20 0 8 0 amappl 80 2551 0 2508 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 61 0 22 1 0 1 1 0 8 0 uaddrrnd 24 821 0 804 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 821 0 804 1 0 1 1 0 8 0 vmmpekpl 168 10595 0 10559 2 0 2 2 0 8 0 vmmpepl 168 107884 0 105768 136 27 109 120 0 357 12 vmsppl 368 820 0 804 2 0 2 2 0 8 0 pdppl 4096 1649 0 1609 6 0 6 6 0 8 0 pvpl 32 277346 0 256888 211 3 208 208 0 265 40 pmappl 232 820 0 804 3 1 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 204 0 9 6 0 6 6 0 8 0