panic(ffffffff821f6f14) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff8267b158) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff8267b158) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff8267b158,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd806f283a00,2a24,580,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd806f283a00,2a24,580,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000a0b540) at tcp_output+0x15ba sys/netinet/tcp_output.c:673 tcp_usrreq(fffffd806eb3b4b8,9,fffffd806b90ce00,0,0,ffff800020ed1870) at tcp_usrreq+0xa55 sosend(fffffd806eb3b4b8,0,ffff800020ed7248,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:549 dofilewritev(ffff800020ed1870,4,ffff800020ed7248,0,ffff800020ed7330) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020ed1870,ffff800020ed72e0,ffff800020ed7330) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020ed73b0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ed73b0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc5990, count: 3 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 0xfffffd806d880700+16 0x0!=0x79cc32b738600762 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821f6f14) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff8267b158) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff8267b158) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff8267b158,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd806f283a00,2a24,580,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd806f283a00,2a24,580,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000a0b540) at tcp_output+0x15ba sys/netinet/tcp_output.c:673 tcp_usrreq(fffffd806eb3b4b8,9,fffffd806b90ce00,0,0,ffff800020ed1870) at tcp_usrreq+0xa55 sosend(fffffd806eb3b4b8,0,ffff800020ed7248,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:549 dofilewritev(ffff800020ed1870,4,ffff800020ed7248,0,ffff800020ed7330) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020ed1870,ffff800020ed72e0,ffff800020ed7330) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020ed73b0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ed73b0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc5990, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020ed6be0 rbx 0xffff800020ed6c90 rdx 0xffff800020ed1870 rcx 0 rax 0 r8 0xffffffff813592ff kprintf+0x16f r9 0x1 r10 0x25 r11 0xf33cf6554f013407 r12 0x3000000008 r13 0xffff800020ed6bf0 r14 0x100 r15 0x1 rip 0xffffffff81992a18 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020ed6bd0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (sshd) pid=73267 stat=onproc flags process=12 proc=0 pri=32, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020ed1600,0xffff800020ed0290 process=0xffff800020ec8f78 user=0xffff800020ed2000, vmspace=0xfffffd806e94e5c8 estcpu=1, cpticks=4, pctcpu=0.1 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 59798 303838 1 0 3 0x100083 ttyin getty 90302 266694 30985 0 3 0x2 biowait syz-executor.1 78925 194582 30985 0 3 0x2 biowait syz-executor.0 30985 225655 12345 0 3 0x82 thrsleep syz-fuzzer 30985 508352 12345 0 3 0x4000082 nanosleep syz-fuzzer 30985 314724 12345 0 3 0x4000082 thrsleep syz-fuzzer 30985 499491 12345 0 3 0x4000082 nanosleep syz-fuzzer 30985 519663 12345 0 3 0x4000082 thrsleep syz-fuzzer 30985 523141 12345 0 3 0x4000082 thrsleep syz-fuzzer 30985 204692 12345 0 3 0x4000082 thrsleep syz-fuzzer 30985 509468 12345 0 3 0x4000082 thrsleep syz-fuzzer 30985 377026 12345 0 3 0x4000082 kqread syz-fuzzer 30985 45701 12345 0 3 0x4000082 thrsleep syz-fuzzer 12345 469608 33413 0 3 0x10008a pause ksh *33413 73267 62058 0 7 0x12 sshd 62058 370971 1 0 3 0x80 select sshd 69039 290350 90365 74 3 0x100092 bpf pflogd 90365 409196 1 0 3 0x80 netio pflogd 89629 373129 66793 73 3 0x100090 kqread syslogd 66793 416306 1 0 3 0x100082 netio syslogd 85029 71154 1 77 3 0x100090 poll dhclient 14703 244732 1 0 3 0x80 poll dhclient 74368 242880 0 0 3 0x14200 bored smr 95593 385572 0 0 3 0x14200 pgzero zerothread 71677 139573 0 0 3 0x14200 aiodoned aiodoned 58637 308710 0 0 3 0x14200 syncer update 88639 388235 0 0 3 0x14200 cleaner cleaner 63898 299873 0 0 3 0x14200 reaper reaper 64405 412641 0 0 3 0x14200 pgdaemon pagedaemon 95322 103178 0 0 3 0x14200 bored crynlk 77236 308356 0 0 3 0x14200 bored crypto 27050 63728 0 0 3 0x40014200 acpi0 acpi0 48685 510517 0 0 3 0x40014200 idle1 32497 102805 0 0 7 0x14200 softnet 8052 11797 0 0 3 0x14200 bored systqmp 44640 211784 0 0 3 0x14200 bored systq 32405 63404 0 0 3 0x40014200 bored softclock 70393 283702 0 0 3 0x40014200 idle0 1 101128 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 90302 (syz-executor.1) thread 0xffff800020e6d868 (266694) exclusive rrwlock inode r = 0 (0xfffffd806fa4b2c8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 #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:1853 #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 (0xfffffd806b3663c8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 #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:1853 #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 78925 (syz-executor.0) thread 0xffff800020e6cc38 (194582) exclusive rrwlock inode r = 0 (0xfffffd806da93818) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 #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:1853 #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 (0xfffffd806b366098) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:462 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:603 #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:1853 #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 33413 (sshd) thread 0xffff800020ed1870 (73267) exclusive rwlock netlock r = 0 (0xffffffff82513458) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sosend+0x559 sys/kern/uipc_socket.c:537 #3 dofilewritev+0x1b6 sys/kern/sys_generic.c:365 #4 sys_write+0x83 sys/kern/sys_generic.c:285 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #6 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9520 6416K 7324K 78643K 11093 0 pcb 13 8K 8K 78643K 73 0 rtable 83 2K 3K 78643K 252 0 ifaddr 70 13K 14K 78643K 105 0 counters 41 33K 34K 78643K 47 0 ioctlops 0 0K 4K 78643K 1472 0 iov 0 0K 24K 78643K 34 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1373 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 39 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 4 9K 25K 78643K 226 0 sigio 0 0K 0K 78643K 2 0 proc 61 63K 95K 78643K 494 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 267 0 in_multi 44 2K 2K 78643K 168 0 ether_multi 1 0K 0K 78643K 10 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 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 238 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 93 21K 37K 78643K 1676 0 UVM aobj 6 2K 2K 78643K 8 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 32 0 NDP 12 0K 0K 78643K 20 0 temp 95 3041K 3105K 78643K 2634 0 kqueue 3 4K 10K 78643K 18 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 31 0 29 1 0 1 1 0 8 0 rtentry 112 53 0 20 2 0 2 2 0 8 0 unpcb 120 127 0 117 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 53 0 53 1 1 0 1 0 8 0 tcpcb 544 80 0 76 1 0 1 1 0 8 0 inpcb 280 488 0 481 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 7 0 4 1 0 1 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 3 0 3 1 1 0 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 26 0 3 1 0 1 1 0 8 0 pfstkey 112 26 0 3 1 0 1 1 0 8 0 pfstate 328 26 0 3 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 217 0 72 13 0 13 13 0 8 2 art_table 32 218 0 72 2 0 2 2 0 8 0 art_node 16 52 0 22 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 37 0 27 1 0 1 1 0 8 0 shmpl 112 6 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1728 0 324 89 0 89 89 0 8 0 ffsino 272 1728 0 324 94 0 94 94 0 8 0 nchpl 144 2232 0 614 61 0 61 61 0 8 0 uvmvnodes 72 1880 0 0 35 0 35 35 0 8 0 vnodes 208 1880 0 0 99 0 99 99 0 8 0 namei 1024 6032 0 6032 1 0 1 1 0 8 1 percpumem 16 34 0 3 1 0 1 1 0 8 0 scxspl 192 7083 0 7081 8 7 1 7 0 8 0 plimitpl 152 36 0 28 1 0 1 1 0 8 0 sigapl 424 442 0 412 4 0 4 4 0 8 0 futexpl 56 3542 0 3542 1 0 1 1 0 8 1 knotepl 112 74 0 55 1 0 1 1 0 8 0 kqueuepl 144 60 0 58 1 0 1 1 0 8 0 pipelkpl 48 110 0 100 1 0 1 1 0 8 0 pipepl 120 220 0 201 1 0 1 1 0 8 0 fdescpl 496 427 0 412 3 0 3 3 0 8 0 filepl 152 2522 0 2422 5 0 5 5 0 8 1 lockfpl 104 38 0 37 1 0 1 1 0 8 0 lockfspl 48 17 0 16 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 19 0 8 1 0 1 1 0 8 0 ucredpl 96 199 0 190 1 0 1 1 0 8 0 zombiepl 144 412 0 412 1 0 1 1 0 8 1 processpl 984 442 0 412 5 0 5 5 0 8 0 procpl 624 912 0 873 4 0 4 4 0 8 0 sockpl 400 648 0 629 3 0 3 3 0 8 1 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 195 0 0 24 0 24 24 0 8 0 mtagpl 80 43 0 0 1 0 1 1 0 8 0 mbufpl 256 191 0 0 11 0 11 11 0 8 0 bufpl 280 4659 0 194 319 0 319 319 0 8 0 anonpl 16 65109 0 51308 76 1 75 75 0 124 13 amapchunkpl 152 2817 0 2680 20 1 19 20 0 158 12 amappl16 192 2290 0 1490 56 7 49 52 0 8 8 amappl15 184 11 0 8 1 0 1 1 0 8 0 amappl14 176 22 0 19 1 0 1 1 0 8 0 amappl13 168 26 0 24 1 0 1 1 0 8 0 amappl12 160 9 0 4 2 1 1 1 0 8 0 amappl11 152 59 0 44 1 0 1 1 0 8 0 amappl10 144 123 0 117 1 0 1 1 0 8 0 amappl9 136 479 0 477 1 0 1 1 0 8 0 amappl8 128 392 0 378 1 0 1 1 0 8 0 amappl7 120 223 0 211 1 0 1 1 0 8 0 amappl6 112 24 0 21 1 0 1 1 0 8 0 amappl5 104 326 0 310 1 0 1 1 0 8 0 amappl4 96 497 0 464 1 0 1 1 0 8 0 amappl3 88 111 0 105 1 0 1 1 0 8 0 amappl2 80 2493 0 2432 3 1 2 3 0 8 0 amappl1 72 19560 0 19132 25 15 10 20 0 8 0 amappl 80 1168 0 1127 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 7 0 2 1 0 1 1 0 8 0 uaddrrnd 24 427 0 412 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 427 0 412 1 0 1 1 0 8 0 vmmpekpl 168 7227 0 7194 2 0 2 2 0 8 0 vmmpepl 168 59661 0 57836 109 10 99 102 0 357 12 vmsppl 368 426 0 412 2 0 2 2 0 8 0 pdppl 4096 862 0 824 6 0 6 6 0 8 0 pvpl 32 194911 0 178036 180 4 176 180 0 265 27 pmappl 232 426 0 412 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 259 0 3 8 0 8 8 0 8 0