panic(ffffffff821e7115) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82655380) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff82655380) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff82655380,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd806f198900,1b80,580,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd806f198900,1b80,580,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000a05540) at tcp_output+0x15ba sys/netinet/tcp_output.c:673 tcp_input(ffff800020a4fa98,ffff800020a4faa4,6,2) at tcp_input+0x2353 ip_deliver(ffff800020a4fa98,ffff800020a4faa4,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020a4fa98,ffff800020a4faa4,ffff800020a284e0,0) at ip_ours+0x412 ip_input_if(ffff800020a4fa98,ffff800020a4faa4,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd806f50f300) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017b2a8,fffffd806f50f300,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017b2a8,ffff800020a4fbc8) at if_input_process+0xfb if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017b2a8,ffff800020a4fbc8) 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: 0xffff800020a4fc80, 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 0xfffffd807021fa00+16 0x0!=0xb1d31ed042106fd6 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821e7115) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82655380) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff82655380) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff82655380,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd806f198900,1b80,580,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd806f198900,1b80,580,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000a05540) at tcp_output+0x15ba sys/netinet/tcp_output.c:673 tcp_input(ffff800020a4fa98,ffff800020a4faa4,6,2) at tcp_input+0x2353 ip_deliver(ffff800020a4fa98,ffff800020a4faa4,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020a4fa98,ffff800020a4faa4,ffff800020a284e0,0) at ip_ours+0x412 ip_input_if(ffff800020a4fa98,ffff800020a4faa4,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd806f50f300) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017b2a8,fffffd806f50f300,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017b2a8,ffff800020a4fbc8) at if_input_process+0xfb if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017b2a8,ffff800020a4fbc8) 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 0xffff800020a4f330 rbx 0xffff800020a4f3e0 rdx 0xffff800020a284e0 rcx 0 rax 0 r8 0xffffffff821a0dcf kprintf+0x16f r9 0x1 r10 0x25 r11 0x1ca346a435769bbd r12 0x3000000008 r13 0xffff800020a4f340 r14 0x100 r15 0x1 rip 0xffffffff819c9588 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a4f320 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (softnet) pid=7161 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a28750,0xffff800020a28010 process=0xffff800020a2ab40 user=0xffff800020a4a000, vmspace=0xffffffff8263dba0 estcpu=0, cpticks=2, pctcpu=1.23 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 99179 321882 65938 0 2 0x2 syz-executor.1 35324 462872 65938 0 2 0x482 syz-executor.0 65938 192029 29160 0 3 0x82 kqread syz-fuzzer 65938 224644 29160 0 2 0x4000482 syz-fuzzer 65938 322741 29160 0 3 0x4000082 thrsleep syz-fuzzer 65938 237771 29160 0 2 0x4000482 syz-fuzzer 65938 288783 29160 0 3 0x4000082 thrsleep syz-fuzzer 65938 193859 29160 0 3 0x4000082 thrsleep syz-fuzzer 65938 27107 29160 0 3 0x4000082 thrsleep syz-fuzzer 65938 466981 29160 0 3 0x4000082 thrsleep syz-fuzzer 65938 121656 29160 0 3 0x4000082 thrsleep syz-fuzzer 65938 490246 29160 0 3 0x4000082 thrsleep syz-fuzzer 29160 359161 59935 0 3 0x10008a pause ksh 59935 386236 7284 0 3 0x92 select sshd 63565 405030 1 0 3 0x100083 ttyin getty 7284 314643 1 0 3 0x80 select sshd 30827 29370 77488 74 3 0x100092 bpf pflogd 77488 418003 1 0 3 0x80 netio pflogd 9536 27291 48658 73 3 0x100090 kqread syslogd 48658 339694 1 0 3 0x100082 netio syslogd 9648 385756 1 77 3 0x100090 poll dhclient 71746 502212 1 0 3 0x80 poll dhclient 58395 885 0 0 3 0x14200 pgzero zerothread 32876 197818 0 0 3 0x14200 aiodoned aiodoned 59652 107576 0 0 3 0x14200 syncer update 70471 242133 0 0 3 0x14200 cleaner cleaner 92372 270336 0 0 7 0x14200 reaper 75200 60750 0 0 3 0x14200 pgdaemon pagedaemon 79139 435921 0 0 3 0x14200 bored crynlk 95004 244664 0 0 3 0x14200 bored crypto 56170 104482 0 0 3 0x40014200 acpi0 acpi0 40563 35743 0 0 3 0x40014200 idle1 *23592 7161 0 0 7 0x14200 softnet 18083 189620 0 0 3 0x14200 bored systqmp 65579 226837 0 0 3 0x14200 bored systq 99357 23968 0 0 3 0x40014200 bored softclock 48489 388822 0 0 3 0x40014200 idle0 55492 340907 0 0 3 0x14200 bored smr 1 494455 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive sched_lock &sched_lock r = 1 (0xffffffff82659900) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 wakeup_n+0x37 sys/kern/kern_synch.c:580 #2 sd_buf_done+0x1eb sys/scsi/sd.c:797 #3 scsi_done+0x2a sys/scsi/scsi_base.c:1453 #4 vioscsi_vq_done+0xb1 sys/dev/pv/vioscsi.c:353 #5 virtio_check_vqs+0x150 sys/dev/pv/virtio.c:228 #6 intr_handler+0x8f sys/arch/amd64/amd64/intr.c:529 #7 Xintr_ioapic_edge17_untramp+0x19f #8 Xspllower+0x19 #9 uvm_km_pgremove+0xb4 sys/uvm/uvm_km.c:263 #10 uvm_unmap_kill_entry+0x1a1 sys/uvm/uvm_map.c:2162 #11 uvm_unmap_remove+0x398 sys/uvm/uvm_map.c:2230 #12 uvm_unmap+0x85 vm_map_unlock_ln sys/uvm/uvm_map.c:5445 [inline] #12 uvm_unmap+0x85 sys/uvm/uvm_map.c:2040 #13 uvm_uarea_free+0x36 sys/uvm/uvm_glue.c:287 #14 reaper+0x156 sys/kern/kern_exit.c:432 #15 proc_trampoline+0x1c exclusive mutex &uvm.pageqlock r = 0 (0xffffffff82682310) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 mtx_enter_try+0x102 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 uvm_km_pgremove+0xac sys/uvm/uvm_km.c:262 #4 uvm_unmap_kill_entry+0x1a1 sys/uvm/uvm_map.c:2162 #5 uvm_unmap_remove+0x398 sys/uvm/uvm_map.c:2230 #6 uvm_unmap+0x85 vm_map_unlock_ln sys/uvm/uvm_map.c:5445 [inline] #6 uvm_unmap+0x85 sys/uvm/uvm_map.c:2040 #7 uvm_uarea_free+0x36 sys/uvm/uvm_glue.c:287 #8 reaper+0x156 sys/kern/kern_exit.c:432 #9 proc_trampoline+0x1c Process 99179 (syz-executor.1) thread 0xffff800020ae7398 (321882) exclusive rrwlock inode r = 0 (0xfffffd806b470a28) #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 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x13e sys/ufs/ffs/ffs_vfsops.c:1352 #5 ffs_inode_alloc+0x1cf sys/ufs/ffs/ffs_alloc.c:392 #6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1164 #7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:449 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:3058 #9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b4704d8) #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:573 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x63c sys/kern/vfs_lookup.c:249 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3043 #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 92372 (reaper) thread 0xffff800020a29d40 (270336) exclusive rwlock kmmaplk r = 0 (0xffffffff8254ea58) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:309 #2 vm_map_lock_ln+0x111 sys/uvm/uvm_map.c:5409 #3 uvm_unmap+0x6b sys/uvm/uvm_map.c:2039 #4 uvm_uarea_free+0x36 sys/uvm/uvm_glue.c:287 #5 reaper+0x156 sys/kern/kern_exit.c:432 #6 proc_trampoline+0x1c exclusive kernel_lock &kernel_lock r = 2 (0xffffffff826463f0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 reaper+0x14e sys/kern/kern_exit.c:431 #2 proc_trampoline+0x1c Process 23592 (softnet) thread 0xffff800020a284e0 (7161) shared rwlock netlock r = 0 (0xffffffff82529728) #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 9483 6403K 7179K 78643K 10788 0 pcb 13 8K 8K 78643K 39 0 rtable 94 7K 7K 78643K 231 0 ifaddr 53 11K 12K 78643K 61 0 counters 43 33K 33K 78643K 43 0 ioctlops 0 0K 4K 78643K 1473 0 iov 0 0K 12K 78643K 5 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1277 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 6 0K 0K 78643K 6 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 4 9K 25K 78643K 73 0 sigio 0 0K 0K 78643K 4 0 proc 60 63K 83K 78643K 443 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 4 0 in_multi 35 2K 2K 78643K 52 0 ether_multi 1 0K 0K 78643K 3 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 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 213 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 108 21K 22K 78643K 1160 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 11 0 NDP 9 0K 0K 78643K 13 0 temp 83 3014K 3078K 78643K 2201 0 kqueue 3 4K 8K 78643K 5 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 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 29 0 27 1 0 1 1 0 8 0 rtentry 112 50 0 13 2 0 2 2 0 8 0 unpcb 120 63 0 53 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 209 0 209 1 1 0 1 0 8 0 tcpcb 544 24 0 20 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 2 0 2 1 0 1 1 0 8 1 inpcb 280 109 0 102 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 7 0 3 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 230 0 44 13 1 12 12 0 8 0 art_table 32 231 0 44 2 0 2 2 0 8 0 art_node 16 49 0 15 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 9 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1484 0 78 46 0 46 46 0 8 0 ffsino 272 1484 0 78 94 0 94 94 0 8 0 nchpl 144 1773 0 158 61 0 61 61 0 8 0 uvmvnodes 72 1576 0 0 29 0 29 29 0 8 0 vnodes 208 1576 0 0 83 0 83 83 0 8 0 namei 1024 4637 0 4636 2 1 1 1 0 8 0 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 192 5375 0 5375 8 2 6 7 0 8 6 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 432 272 0 258 3 1 2 3 0 8 0 futexpl 56 1018 0 1018 1 0 1 1 0 8 1 knotepl 112 55 0 36 1 0 1 1 0 8 0 kqueuepl 144 12 0 10 1 0 1 1 0 8 0 pipelkpl 48 95 0 85 1 0 1 1 0 8 0 pipepl 120 190 0 171 1 0 1 1 0 8 0 fdescpl 496 273 0 258 3 0 3 3 0 8 0 filepl 152 1522 0 1422 5 0 5 5 0 8 1 lockfpl 104 17 0 16 1 0 1 1 0 8 0 lockfspl 48 9 0 8 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 79 0 70 1 0 1 1 0 8 0 zombiepl 144 258 0 257 1 0 1 1 0 8 0 processpl 960 288 0 257 5 0 5 5 0 8 0 procpl 624 398 0 358 5 1 4 5 0 8 0 srpgc 64 2 0 2 1 1 0 1 0 8 0 sockpl 400 205 0 186 4 1 3 3 0 8 1 mcl64k 65536 514 0 0 65 0 65 65 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 162 0 0 20 0 20 20 0 8 0 mtagpl 80 8 0 0 1 0 1 1 0 8 0 mbufpl 256 605 0 0 37 0 37 37 0 8 0 bufpl 280 4167 0 174 286 0 286 286 0 8 0 anonpl 16 46306 0 29531 81 1 80 80 0 124 12 amapchunkpl 152 1381 0 1239 8 1 7 8 0 158 0 amappl16 192 1474 0 558 55 0 55 55 0 8 9 amappl15 184 9 0 7 1 0 1 1 0 8 0 amappl14 176 2 0 2 2 2 0 1 0 8 0 amappl13 168 26 0 25 1 0 1 1 0 8 0 amappl12 160 8 0 6 2 1 1 1 0 8 0 amappl11 152 70 0 52 1 0 1 1 0 8 0 amappl10 144 42 0 34 1 0 1 1 0 8 0 amappl9 136 404 0 400 1 0 1 1 0 8 0 amappl8 128 342 0 321 1 0 1 1 0 8 0 amappl7 120 141 0 127 1 0 1 1 0 8 0 amappl6 112 27 0 24 1 0 1 1 0 8 0 amappl5 104 187 0 171 1 0 1 1 0 8 0 amappl4 96 504 0 471 2 1 1 2 0 8 0 amappl3 88 110 0 103 1 0 1 1 0 8 0 amappl2 80 1256 0 1187 3 1 2 3 0 8 0 amappl1 72 16024 0 15598 26 12 14 20 0 8 4 amappl 80 655 0 610 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 273 0 257 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 273 0 257 1 0 1 1 0 8 0 vmmpekpl 168 6218 0 6185 2 0 2 2 0 8 0 vmmpepl 168 41095 0 39049 130 11 119 120 0 357 29 vmsppl 368 272 0 257 2 0 2 2 0 8 0 pdppl 4096 553 0 514 6 0 6 6 0 8 0 pvpl 32 148063 0 128175 189 0 189 189 0 265 28 pmappl 232 272 0 257 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 260 0 7 8 0 8 8 0 8 0