panic(ffffffff821cde1f) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82636fa8) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff82636fa8) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff82636fa8,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_gethdr(2,2) at m_gethdr+0x4c sys/kern/uipc_mbuf.c:283 tcp_output(ffff800000a03660) at tcp_output+0x14e6 tcp_input(ffff800020a4f188,ffff800020a4f194,6,2) at tcp_input+0x2353 ip_deliver(ffff800020a4f188,ffff800020a4f194,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020a4f188,ffff800020a4f194,ffff800020a28270,0) at ip_ours+0x412 ip_input_if(ffff800020a4f188,ffff800020a4f194,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd8063a0b700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017b2a8,fffffd8063a0b700,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017b2a8,ffff800020a4f2b8) at if_input_process+0xfb if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017b2a8,ffff800020a4f2b8) at if_input_process+0xfb sys/net/if.c:943 ifiq_process(ffff80000017b6a0) at ifiq_process+0x80 sys/net/ifq.c:607 end trace frame: 0xffff800020a4f370, 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 0xfffffd8066c42400+16 0x0!=0xa11d989c1d093ad0 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821cde1f) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82636fa8) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff82636fa8) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff82636fa8,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_gethdr(2,2) at m_gethdr+0x4c sys/kern/uipc_mbuf.c:283 tcp_output(ffff800000a03660) at tcp_output+0x14e6 tcp_input(ffff800020a4f188,ffff800020a4f194,6,2) at tcp_input+0x2353 ip_deliver(ffff800020a4f188,ffff800020a4f194,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:668 ip_ours(ffff800020a4f188,ffff800020a4f194,ffff800020a28270,0) at ip_ours+0x412 ip_input_if(ffff800020a4f188,ffff800020a4f194,4,0,ffff80000017b2a8) at ip_input_if+0x6ce ipv4_input(ffff80000017b2a8,fffffd8063a0b700) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff80000017b2a8,fffffd8063a0b700,0) at ether_input+0x345 sys/net/if_ethersubr.c:461 if_input_process(ffff80000017b2a8,ffff800020a4f2b8) at if_input_process+0xfb if_ih_input sys/net/if.c:909 [inline] if_input_process(ffff80000017b2a8,ffff800020a4f2b8) at if_input_process+0xfb sys/net/if.c:943 ifiq_process(ffff80000017b6a0) at ifiq_process+0x80 sys/net/ifq.c:607 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 0xffff800020a4ea80 rbx 0xffff800020a4eb30 rdx 0xffff800020a28270 rcx 0 rax 0 r8 0xffffffff810e6cdf kprintf+0x16f r9 0x1 r10 0x25 r11 0x71020334c7456114 r12 0x3000000008 r13 0xffff800020a4ea90 r14 0x100 r15 0x1 rip 0xffffffff81959548 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a4ea70 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (softnet) pid=229305 stat=onproc flags process=14000 proc=200 pri=32, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020a284e0,0xffff800020a28010 process=0xffff800020a2a780 user=0xffff800020a4a000, vmspace=0xffffffff82663838 estcpu=1, cpticks=2, pctcpu=0.33 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 81493 348745 44485 0 2 0x2 syz-executor.0 24251 181797 0 0 3 0x14200 bored sosplice 39696 409522 44485 0 2 0x482 syz-executor.1 44485 324372 1745 0 2 0x482 syz-fuzzer 44485 514919 1745 0 2 0x4000482 syz-fuzzer 44485 246752 1745 0 3 0x4000082 thrsleep syz-fuzzer 44485 395994 1745 0 3 0x4000082 thrsleep syz-fuzzer 44485 206425 1745 0 3 0x4000082 kqread syz-fuzzer 44485 200586 1745 0 3 0x4000082 thrsleep syz-fuzzer 44485 276359 1745 0 3 0x4000082 thrsleep syz-fuzzer 44485 55009 1745 0 2 0x4000482 syz-fuzzer 44485 373413 1745 0 3 0x4000082 thrsleep syz-fuzzer 44485 162574 1745 0 3 0x4000082 thrsleep syz-fuzzer 1745 450474 62893 0 3 0x10008a pause ksh 62893 234487 65802 0 3 0x92 select sshd 93911 40501 1 0 3 0x100083 ttyin getty 65802 113073 1 0 3 0x80 select sshd 36528 378577 31869 74 3 0x100092 bpf pflogd 31869 438059 1 0 3 0x80 netio pflogd 7082 304045 69022 73 3 0x100090 kqread syslogd 69022 262807 1 0 3 0x100082 netio syslogd 16874 100403 1 77 3 0x100090 poll dhclient 15502 80831 1 0 3 0x80 poll dhclient 6084 268713 0 0 2 0x14200 zerothread 72664 41544 0 0 3 0x14200 aiodoned aiodoned 9906 205167 0 0 3 0x14200 syncer update 4636 330028 0 0 3 0x14200 cleaner cleaner 55241 381337 0 0 7 0x14200 reaper 72587 401796 0 0 3 0x14200 pgdaemon pagedaemon 2372 481695 0 0 3 0x14200 bored crynlk 89485 408761 0 0 3 0x14200 bored crypto 14462 465289 0 0 3 0x40014200 acpi0 acpi0 49301 183264 0 0 3 0x40014200 idle1 *63566 229305 0 0 7 0x14200 softnet 74323 401545 0 0 3 0x14200 bored systqmp 76423 165862 0 0 3 0x14200 bored systq 34173 154829 0 0 3 0x40014200 bored softclock 38877 96865 0 0 3 0x40014200 idle0 48260 218511 0 0 3 0x14200 bored smr 1 24638 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 81493 (syz-executor.0) thread 0xffff800020ad69d8 (348745) exclusive rrwlock inode r = 0 (0xfffffd806ea9b700) #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+0xf9 sys/kern/vfs_vops.c:615 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:571 #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:1323 #8 ufs_lookup+0x14b7 sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:91 #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:1776 #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 (0xfffffd806f73d5f0) #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+0xf9 sys/kern/vfs_vops.c:615 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:571 #5 vget+0x1c8 sys/kern/vfs_subr.c:671 #6 cache_lookup+0x2bb sys/kern/vfs_cache.c:224 #7 ufs_lookup+0x1bc sys/ufs/ufs/ufs_lookup.c:162 #8 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:91 #9 vfs_lookup+0x7a6 sys/kern/vfs_lookup.c:568 #10 namei+0x63c sys/kern/vfs_lookup.c:249 #11 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1776 #12 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #12 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #13 Xsyscall+0x128 Process 55241 (reaper) thread 0xffff800020a29ad0 (381337) exclusive rwlock kmmaplk r = 0 (0xffffffff8251ab18) #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 = 0 (0xffffffff82630fe8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 reaper+0x14e sys/kern/kern_exit.c:431 #2 proc_trampoline+0x1c Process 63566 (softnet) thread 0xffff800020a28270 (229305) shared rwlock netlock r = 0 (0xffffffff8246c218) #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:607 #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 9545 6804K 8480K 78643K 12198 0 pcb 13 10K 12K 78643K 86 0 rtable 106 3K 4K 78643K 352 0 ifaddr 71 14K 14K 78643K 129 0 counters 43 33K 34K 78643K 57 0 ioctlops 0 0K 4K 78643K 1490 0 iov 0 0K 16K 78643K 67 0 mount 1 1K 1K 78643K 1 0 vnodes 1242 78K 78K 78643K 1643 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 46 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 4 9K 25K 78643K 302 0 sigio 0 0K 0K 78643K 16 0 proc 61 63K 95K 78643K 509 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 235 0 in_multi 39 2K 2K 78643K 137 0 ether_multi 1 0K 0K 78643K 17 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 260 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 117 38K 38K 78643K 2001 0 UVM aobj 35 3K 3K 78643K 41 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 71 0 NDP 14 0K 0K 78643K 30 0 temp 131 3018K 3086K 78643K 6699 0 kqueue 3 4K 12K 78643K 22 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 8 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 46 0 44 1 0 1 1 0 8 0 rtentry 112 78 0 35 2 0 2 2 0 8 0 unpcb 120 251 0 241 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpcb 544 528 0 524 12 11 1 12 0 8 0 inpcb 280 912 0 905 9 7 2 9 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 12 0 9 1 0 1 1 0 8 0 ppxss 1128 2 0 2 1 0 1 1 0 8 1 pffrag 232 8 0 8 2 1 1 1 0 482 1 pffrnode 88 8 0 8 2 1 1 1 0 8 1 pffrent 40 274 0 274 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 51 0 8 1 0 1 1 0 8 0 pfstkey 112 51 0 8 2 0 2 2 0 8 0 pfstate 328 51 0 5 4 0 4 4 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 385 0 179 15 0 15 15 0 8 1 art_table 32 387 0 179 2 0 2 2 0 8 0 art_node 16 77 0 37 1 0 1 1 0 8 0 sysvmsgpl 40 53 0 24 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 40 0 30 1 0 1 1 0 8 0 shmpl 112 39 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1815 0 410 46 0 46 46 0 8 0 ffsino 272 1815 0 410 94 0 94 94 0 8 0 nchpl 144 2442 0 841 61 0 61 61 0 8 0 uvmvnodes 72 2233 0 0 41 0 41 41 0 8 0 vnodes 208 2233 0 0 118 0 118 118 0 8 0 namei 1024 7101 0 7101 1 0 1 1 0 8 1 percpumem 16 39 0 7 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 0 1 0 1 1 0 8 0 scxspl 192 7735 0 7735 8 5 3 7 0 8 3 plimitpl 152 44 0 36 1 0 1 1 0 8 0 sigapl 432 498 0 484 3 1 2 3 0 8 0 futexpl 56 6740 0 6740 1 0 1 1 0 8 1 knotepl 112 98 0 79 1 0 1 1 0 8 0 kqueuepl 104 315 0 313 4 3 1 4 0 8 0 pipelkpl 48 163 0 153 1 0 1 1 0 8 0 pipepl 120 326 0 307 2 0 2 2 0 8 1 fdescpl 496 499 0 484 3 0 3 3 0 8 0 filepl 152 4018 0 3917 13 7 6 13 0 8 2 lockfpl 104 95 0 94 1 0 1 1 0 8 0 lockfspl 48 34 0 33 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 23 0 12 1 0 1 1 0 8 0 ucredpl 96 318 0 309 1 0 1 1 0 8 0 zombiepl 144 484 0 483 1 0 1 1 0 8 0 processpl 960 515 0 483 5 0 5 5 0 8 0 procpl 624 1169 0 1128 4 0 4 4 0 8 0 srpgc 64 2 0 2 1 0 1 1 0 8 1 sosppl 128 6 0 6 1 0 1 1 0 8 1 sockpl 400 1210 0 1191 14 10 4 14 0 8 2 mcl64k 65536 15 0 0 2 0 2 2 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 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 156 0 0 19 0 19 19 0 8 0 mtagpl 80 21 0 0 1 0 1 1 0 8 0 mbufpl 256 363 0 0 22 0 22 22 0 8 0 bufpl 280 7100 0 810 450 0 450 450 0 8 0 anonpl 16 62909 0 49567 85 1 84 84 0 125 16 amapchunkpl 152 2808 0 2674 8 0 8 8 0 158 0 amappl16 192 2398 0 1496 58 4 54 58 0 8 8 amappl15 184 171 0 168 1 0 1 1 0 8 0 amappl14 176 171 0 167 1 0 1 1 0 8 0 amappl13 168 8 0 7 1 0 1 1 0 8 0 amappl12 160 4 0 4 1 1 0 1 0 8 0 amappl11 152 58 0 43 1 0 1 1 0 8 0 amappl10 144 15 0 11 1 0 1 1 0 8 0 amappl9 136 625 0 620 1 0 1 1 0 8 0 amappl8 128 150 0 123 1 0 1 1 0 8 0 amappl7 120 118 0 106 1 0 1 1 0 8 0 amappl6 112 60 0 53 1 0 1 1 0 8 0 amappl5 104 141 0 127 1 0 1 1 0 8 0 amappl4 96 759 0 726 1 0 1 1 0 8 0 amappl3 88 260 0 252 1 0 1 1 0 8 0 amappl2 80 3132 0 3058 3 1 2 3 0 8 0 amappl1 72 20814 0 20355 25 14 11 21 0 8 0 amappl 80 1440 0 1396 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 40 0 6 1 0 1 1 0 8 0 uaddrrnd 24 503 0 483 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 503 0 483 1 0 1 1 0 8 0 vmmpekpl 168 8201 0 8169 2 0 2 2 0 8 0 vmmpepl 168 69099 0 66996 144 18 126 126 0 357 29 vmsppl 368 502 0 483 2 0 2 2 0 8 0 pdppl 4096 1013 0 970 6 0 6 6 0 8 0 pvpl 32 206460 0 189950 203 0 203 203 0 265 42 pmappl 232 502 0 483 3 1 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 204 0 24 6 0 6 6 0 8 0