panic() at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82687d80) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1789 [inline] pool_cache_get(ffffffff82687d80) at pool_cache_get+0x323 sys/kern/subr_pool.c:1892 pool_get() 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(ffff800000a7d540) at tcp_output+0x1466 sys/netinet/tcp_output.c:655 tcp_input(ffff800020a37a18,ffff800020a37a24,6,2) at tcp_input+0x4724 sys/netinet/tcp_input.c:2021 ip_deliver(ffff800020a37a18,ffff800020a37a24,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:665 ip_ours(ffff800020a37a18,ffff800020a37a24,ffff800020a10000,0) at ip_ours+0x412 ip_input_if(ffff800020a37a18,ffff800020a37a24,4,0,ffff8000001732a8) at ip_input_if+0x6b9 ipv4_input(ffff8000001732a8,fffffd8061baa600) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff8000001732a8,fffffd8061baa600,0) at ether_input+0x345 sys/net/if_ethersubr.c:458 if_input_process(ffff8000001732a8,ffff800020a37b48) at if_input_process+0xfb if_ih_input sys/net/if.c:910 [inline] if_input_process(ffff8000001732a8,ffff800020a37b48) at if_input_process+0xfb sys/net/if.c:944 ifiq_process(ffff8000001736a0) at ifiq_process+0x80 sys/net/ifq.c:607 end trace frame: 0xffff800020a37c00, 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 0xfffffd806f243900+16 0x0!=0x92132d88445c9d50 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82687d80) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1789 [inline] pool_cache_get(ffffffff82687d80) at pool_cache_get+0x323 sys/kern/subr_pool.c:1892 pool_get() 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(ffff800000a7d540) at tcp_output+0x1466 sys/netinet/tcp_output.c:655 tcp_input(ffff800020a37a18,ffff800020a37a24,6,2) at tcp_input+0x4724 sys/netinet/tcp_input.c:2021 ip_deliver(ffff800020a37a18,ffff800020a37a24,6,2) at ip_deliver+0x353 sys/netinet/ip_input.c:665 ip_ours(ffff800020a37a18,ffff800020a37a24,ffff800020a10000,0) at ip_ours+0x412 ip_input_if(ffff800020a37a18,ffff800020a37a24,4,0,ffff8000001732a8) at ip_input_if+0x6b9 ipv4_input(ffff8000001732a8,fffffd8061baa600) at ipv4_input+0x48 sys/netinet/ip_input.c:215 ether_input(ffff8000001732a8,fffffd8061baa600,0) at ether_input+0x345 sys/net/if_ethersubr.c:458 if_input_process(ffff8000001732a8,ffff800020a37b48) at if_input_process+0xfb if_ih_input sys/net/if.c:910 [inline] if_input_process(ffff8000001732a8,ffff800020a37b48) at if_input_process+0xfb sys/net/if.c:944 ifiq_process(ffff8000001736a0) at ifiq_process+0x80 sys/net/ifq.c:607 taskq_thread(ffff800000023080) at taskq_thread+0x9c sys/kern/kern_task.c:368 end trace frame: 0x0, count: -15 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a37310 rbx 0xffff800020a373c0 rdx 0xffff800020a10000 rcx 0 rax 0 r8 0xffffffff81d02e3f kprintf+0x16f r9 0x1 r10 0x25 r11 0x2632d4a4bbc4bf4d r12 0x3000000008 r13 0xffff800020a37320 r14 0x100 r15 0x1 rip 0xffffffff81bb37b8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a37300 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (softnet) pid=245937 stat=onproc flags process=14000 proc=200 pri=32, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020a10278,0xffff800020a10c68 process=0xffff800020a12000 user=0xffff800020a32000, vmspace=0xffffffff82643448 estcpu=1, cpticks=2, pctcpu=0.25 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 46774 426102 46830 0 7 0 syz-executor.0 20391 330635 65913 0 2 0x2 syz-executor.1 48037 393935 0 0 3 0x14200 bored sosplice 46830 443353 65913 0 2 0x2 syz-executor.0 65913 64997 80908 0 2 0x482 syz-fuzzer 65913 123758 80908 0 2 0x4000482 syz-fuzzer 65913 375465 80908 0 3 0x4000082 thrsleep syz-fuzzer 65913 228657 80908 0 3 0x4000082 thrsleep syz-fuzzer 65913 319193 80908 0 3 0x4000082 thrsleep syz-fuzzer 65913 389958 80908 0 3 0x4000082 thrsleep syz-fuzzer 65913 372058 80908 0 3 0x4000082 thrsleep syz-fuzzer 65913 221949 80908 0 3 0x4000082 kqread syz-fuzzer 65913 352178 80908 0 3 0x4000082 thrsleep syz-fuzzer 65913 444213 80908 0 3 0x4000082 thrsleep syz-fuzzer 80908 264118 35615 0 3 0x10008a pause ksh 35615 302031 32733 0 3 0x52 netlock sshd 57577 278401 1 0 3 0x100083 ttyin getty 32733 271287 1 0 3 0x80 select sshd 88248 283859 74126 74 2 0x100492 pflogd 74126 401257 1 0 3 0x80 netio pflogd 80185 364126 23637 73 3 0x100090 kqread syslogd 23637 337733 1 0 3 0x100082 netio syslogd 93049 356996 1 77 3 0x100090 poll dhclient 7481 194591 1 0 3 0x80 poll dhclient 10050 10935 0 0 2 0x14200 zerothread 69059 288267 0 0 3 0x14200 aiodoned aiodoned 74710 519850 0 0 3 0x14200 syncer update 17141 314777 0 0 3 0x14200 cleaner cleaner 67415 173702 0 0 3 0x14200 reaper reaper 8819 383059 0 0 3 0x14200 pgdaemon pagedaemon 13257 312312 0 0 3 0x14200 bored crynlk 89693 254361 0 0 3 0x14200 bored crypto 50224 137820 0 0 3 0x40014200 acpi0 acpi0 1750 399325 0 0 3 0x40014200 idle1 *68284 245937 0 0 7 0x14200 softnet 38425 201640 0 0 3 0x14200 bored systqmp 28190 479841 0 0 3 0x14200 bored systq 3360 483686 0 0 2 0x40014200 softclock 48219 31656 0 0 3 0x40014200 idle0 42425 226762 0 0 3 0x14200 bored smr 1 181838 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 = 0 (0xffffffff82664ee0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 sleep_setup+0xba sys/kern/kern_synch.c:352 #2 rw_enter+0x319 sys/kern/kern_rwlock.c:276 #3 solock+0x5a sys/kern/uipc_socket2.c:282 #4 soo_poll+0x3d sys/kern/sys_socket.c:159 #5 selscan+0x17a sys/kern/sys_generic.c:742 #6 dopselect+0x360 sys/kern/sys_generic.c:664 #7 sys_select+0x8b sys/kern/sys_generic.c:565 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #9 Xsyscall+0x128 Process 20391 (syz-executor.1) thread 0xffff800020ab0018 (330635) exclusive rrwlock inode r = 0 (0xfffffd806d888b48) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x447 sys/kern/kern_rwlock.c:306 #2 rrw_enter+0x4f sys/kern/kern_rwlock.c:451 #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:450 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:2983 #9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806e40ed60) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x447 sys/kern/kern_rwlock.c:306 #2 rrw_enter+0x4f sys/kern/kern_rwlock.c:451 #3 VOP_LOCK+0xf0 sys/kern/vfs_vops.c:615 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:571 #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:2968 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #9 Xsyscall+0x128 Process 68284 (softnet) thread 0xffff800020a10000 (245937) shared rwlock netlock r = 0 (0xffffffff824d99b8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 if_input_process+0x84 sys/net/if.c:942 #2 ifiq_process+0x80 sys/net/ifq.c:607 #3 taskq_thread+0x9c sys/kern/kern_task.c:368 #4 proc_trampoline+0x1c shared rwlock softnet r = 0 (0xffff8000000230e0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 taskq_thread+0x8f sys/kern/kern_task.c:367 #2 proc_trampoline+0x1c ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9532 6421K 7045K 78643K 11522 0 0 pcb 13 8K 8K 78643K 73 0 0 rtable 109 4K 5K 78643K 486 0 0 ifaddr 83 16K 17K 78643K 198 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1495 0 0 iov 0 0K 16K 78643K 65 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1222 77K 77K 78643K 1606 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 8 0 0 VM map 15 7K 7K 78643K 19 0 0 sem 12 0K 1K 78643K 140 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1809 196K 290K 78643K 12766 0 0 file desc 5 13K 25K 78643K 395 0 0 sigio 0 0K 0K 78643K 17 0 0 proc 60 63K 83K 78643K 588 0 0 subproc 32 2K 2K 78643K 85 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 31 0 0 in_multi 61 3K 3K 78643K 115 0 0 ether_multi 1 0K 0K 78643K 3 0 0 mrt 0 0K 0K 78643K 1 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 48 212K 212K 78643K 48 0 0 exec 0 0K 1K 78643K 271 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 127 136K 136K 78643K 2340 0 0 UVM aobj 26 6K 7K 78643K 32 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 59 0 0 NDP 14 0K 0K 78643K 46 0 0 temp 143 3555K 3623K 78643K 8283 0 0 kqueue 0 0K 0K 78643K 2 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 12 0 6 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 45 0 43 1 0 1 1 0 8 0 rtentry 112 84 0 41 2 0 2 2 0 8 0 unpcb 120 221 0 211 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 18 0 18 2 2 0 1 0 8 0 tcpcb 544 131 0 127 1 0 1 1 0 8 0 inpcb 280 575 0 568 5 3 2 3 0 8 1 nd6 48 12 0 9 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 ppxss 1128 13 0 13 2 1 1 1 0 8 1 pffrag 232 12 0 12 2 1 1 1 0 482 1 pffrnode 88 12 0 12 2 1 1 1 0 8 1 pffrent 40 455 0 455 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 37 0 7 1 0 1 1 0 8 0 pfstkey 112 37 0 7 1 0 1 1 0 8 0 pfstate 328 37 0 7 3 0 3 3 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 404 0 198 15 0 15 15 0 8 2 art_table 32 406 0 198 2 0 2 2 0 8 0 art_node 16 83 0 43 1 0 1 1 0 8 0 sysvmsgpl 40 42 0 29 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 134 0 124 1 0 1 1 0 8 0 shmpl 112 30 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1974 0 573 46 0 46 46 0 8 0 ffsino 272 1974 0 573 94 0 94 94 0 8 0 nchpl 144 2872 0 1273 60 0 60 60 0 8 0 uvmvnodes 72 2282 0 0 42 0 42 42 0 8 0 vnodes 208 2282 0 0 121 0 121 121 0 8 0 namei 1024 8710 0 8709 3 2 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 13 0 0 2 0 2 2 0 8 0 vmpool 552 17 0 4 2 1 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 7772 0 7772 9 7 2 6 0 8 2 plimitpl 152 40 0 32 1 0 1 1 0 8 0 sigapl 432 584 0 569 3 1 2 3 0 8 0 futexpl 56 7557 0 7557 2 1 1 1 0 8 1 knotepl 112 125 0 106 1 0 1 1 0 8 0 kqueuepl 104 88 0 86 1 0 1 1 0 8 0 pipepl 160 330 0 311 4 3 1 2 0 8 0 fdescpl 488 585 0 569 3 0 3 3 0 8 0 filepl 152 4591 0 4491 7 2 5 6 0 8 1 lockfpl 104 97 0 96 1 0 1 1 0 8 0 lockfspl 48 39 0 38 1 0 1 1 0 8 0 sessionpl 112 21 0 10 1 0 1 1 0 8 0 pgrppl 48 21 0 10 1 0 1 1 0 8 0 ucredpl 96 649 0 640 1 0 1 1 0 8 0 zombiepl 144 569 0 569 1 0 1 1 0 8 1 processpl 896 601 0 569 4 0 4 4 0 8 0 procpl 632 1388 0 1347 7 2 5 5 0 8 1 srpgc 64 4 0 4 2 2 0 1 0 8 0 sosppl 128 29 0 29 2 1 1 1 0 8 1 sockpl 384 855 0 836 7 3 4 5 0 8 2 mcl64k 65536 265 0 0 34 0 34 34 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 8 0 0 1 0 1 1 0 8 0 mcl4k 4096 10 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 169 0 0 20 0 20 20 0 8 0 mtagpl 80 23 0 0 1 0 1 1 0 8 0 mbufpl 256 414 0 0 25 0 25 25 0 8 0 bufpl 256 7053 0 1314 359 0 359 359 0 8 0 anonpl 16 89966 0 72032 99 13 86 98 0 124 2 amapchunkpl 152 3888 0 3723 12 0 12 12 0 158 3 amappl16 192 3451 0 2315 74 16 58 69 0 8 0 amappl15 184 9 0 8 1 0 1 1 0 8 0 amappl14 176 132 0 127 1 0 1 1 0 8 0 amappl12 160 112 0 110 1 0 1 1 0 8 0 amappl11 152 66 0 50 1 0 1 1 0 8 0 amappl10 144 53 0 46 1 0 1 1 0 8 0 amappl9 136 633 0 630 1 0 1 1 0 8 0 amappl8 128 206 0 179 2 0 2 2 0 8 0 amappl7 120 81 0 73 1 0 1 1 0 8 0 amappl6 112 68 0 56 1 0 1 1 0 8 0 amappl5 104 267 0 252 1 0 1 1 0 8 0 amappl4 96 849 0 816 1 0 1 1 0 8 0 amappl3 88 126 0 121 1 0 1 1 0 8 0 amappl2 80 3568 0 3506 3 1 2 3 0 8 0 amappl1 72 23196 0 22768 26 16 10 20 0 8 0 amappl 80 1718 0 1665 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 31 0 6 1 0 1 1 0 8 0 uaddrrnd 24 602 0 569 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 602 0 569 1 0 1 1 0 8 0 vmmpekpl 168 8590 0 8552 2 0 2 2 0 8 0 vmmpepl 168 81888 0 79617 169 23 146 146 0 357 40 vmsppl 368 584 0 569 2 0 2 2 0 8 0 pdppl 4096 1211 0 1159 8 1 7 7 0 8 0 pvpl 32 257410 0 236583 226 13 213 226 0 265 21 pmappl 232 601 0 573 3 1 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 574 0 6 17 0 17 17 0 8 0