panic(ffffffff821c6753) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82654e00) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1789 [inline] pool_cache_get(ffffffff82654e00) at pool_cache_get+0x323 sys/kern/subr_pool.c:1892 pool_get(ffffffff82654e00,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(ffff8000009fb760) at tcp_output+0x14e6 tcp_usrreq(fffffd806e96b908,9,fffffd807a8f5700,0,0,ffff800020ad1b38) at tcp_usrreq+0xa55 sosend(fffffd806e96b908,0,ffff800020afae68,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:524 dofilewritev(ffff800020ad1b38,4,ffff800020afae68,0,ffff800020afaf50) at dofilewritev+0x1b7 sys/kern/sys_generic.c:364 sys_write(ffff800020ad1b38,ffff800020afaf00,ffff800020afaf50) at sys_write+0x83 sys/kern/sys_generic.c:284 syscall(ffff800020afafd0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800020afafd0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff23e0, 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 0xfffffd806e644400+16 0x0!=0xe51303bcb567bc43 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821c6753) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff82654e00) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1789 [inline] pool_cache_get(ffffffff82654e00) at pool_cache_get+0x323 sys/kern/subr_pool.c:1892 pool_get(ffffffff82654e00,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(ffff8000009fb760) at tcp_output+0x14e6 tcp_usrreq(fffffd806e96b908,9,fffffd807a8f5700,0,0,ffff800020ad1b38) at tcp_usrreq+0xa55 sosend(fffffd806e96b908,0,ffff800020afae68,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:524 dofilewritev(ffff800020ad1b38,4,ffff800020afae68,0,ffff800020afaf50) at dofilewritev+0x1b7 sys/kern/sys_generic.c:364 sys_write(ffff800020ad1b38,ffff800020afaf00,ffff800020afaf50) at sys_write+0x83 sys/kern/sys_generic.c:284 syscall(ffff800020afafd0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800020afafd0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff23e0, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020afa860 rbx 0xffff800020afa910 rdx 0xffff800020ad1b38 rcx 0 rax 0 r8 0xffffffff81962f3f kprintf+0x16f r9 0x1 r10 0x25 r11 0x13183553676ddcff r12 0x3000000008 r13 0xffff800020afa870 r14 0x100 r15 0x1 rip 0xffffffff816ef798 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020afa850 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (sshd) pid=167913 stat=onproc flags process=12 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020ad0288,0xffff800020ad0788 process=0xffff800020a9b8c8 user=0xffff800020af6000, vmspace=0xfffffd806e7bd008 estcpu=0, cpticks=3, pctcpu=0.1 user=0, sys=3, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 91683 159770 33298 0 7 0 syz-executor.1 77006 5583 86418 0 2 0 syz-executor.0 77006 216657 86418 0 3 0x4000080 netio syz-executor.0 89337 256410 0 0 3 0x14200 bored sosplice 33298 23373 99984 0 2 0x482 syz-executor.1 86418 66016 99984 0 2 0x482 syz-executor.0 99984 276964 54589 0 3 0x82 thrsleep syz-fuzzer 99984 116957 54589 0 2 0x4000482 syz-fuzzer 99984 172884 54589 0 3 0x4000082 thrsleep syz-fuzzer 99984 153676 54589 0 3 0x4000082 kqread syz-fuzzer 99984 417367 54589 0 3 0x4000082 thrsleep syz-fuzzer 99984 98148 54589 0 3 0x4000082 thrsleep syz-fuzzer 99984 356610 54589 0 3 0x4000082 thrsleep syz-fuzzer 99984 417301 54589 0 3 0x4000082 thrsleep syz-fuzzer 99984 368021 54589 0 3 0x4000082 thrsleep syz-fuzzer 99984 285584 54589 0 3 0x4000082 thrsleep syz-fuzzer 99984 459156 54589 0 3 0x4000082 thrsleep syz-fuzzer 54589 202439 81090 0 3 0x10008a pause ksh *81090 167913 8049 0 7 0x12 sshd 1454 194808 1 0 3 0x100083 ttyin getty 8049 439143 1 0 3 0x80 select sshd 15470 336733 45103 74 3 0x100092 bpf pflogd 45103 56045 1 0 3 0x80 netio pflogd 68847 235101 89165 73 3 0x100090 kqread syslogd 89165 458870 1 0 3 0x100082 netio syslogd 37796 164455 1 77 3 0x100090 poll dhclient 55219 369263 1 0 3 0x80 poll dhclient 89495 321130 0 0 3 0x14200 pgzero zerothread 2289 57047 0 0 3 0x14200 aiodoned aiodoned 41999 289289 0 0 3 0x14200 syncer update 68282 177032 0 0 3 0x14200 cleaner cleaner 25635 226296 0 0 3 0x14200 reaper reaper 79558 524282 0 0 3 0x14200 pgdaemon pagedaemon 3797 97387 0 0 3 0x14200 bored crynlk 77140 508899 0 0 3 0x14200 bored crypto 58123 37892 0 0 3 0x40014200 acpi0 acpi0 9783 372190 0 0 3 0x40014200 idle1 62610 225903 0 0 2 0x14200 softnet 18276 396548 0 0 3 0x14200 bored systqmp 35903 400996 0 0 3 0x14200 bored systq 41936 334838 0 0 3 0x40014200 bored softclock 10053 201482 0 0 3 0x40014200 idle0 40023 474144 0 0 3 0x14200 bored smr 1 79159 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 (0xffffffff82623a00) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 sleep_setup+0xe9 sys/kern/kern_synch.c:366 #2 tsleep+0xe6 sleep_setup_timeout sys/kern/kern_synch.c:405 [inline] #2 tsleep+0xe6 sys/kern/kern_synch.c:149 #3 sys_nanosleep+0x1b8 sys/kern/kern_time.c:296 #4 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #4 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #5 Xsyscall+0x128 Process 33298 (syz-executor.1) thread 0xffff800020ac09f8 (23373) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82614e30) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 Process 81090 (sshd) thread 0xffff800020ad1b38 (167913) exclusive rwlock netlock r = 0 (0xffffffff824e4248) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 solock+0x5a sys/kern/uipc_socket2.c:282 #2 sosend+0x559 sys/kern/uipc_socket.c:512 #3 dofilewritev+0x1b7 sys/kern/sys_generic.c:364 #4 sys_write+0x83 sys/kern/sys_generic.c:284 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #6 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9487 6412K 6808K 78643K 10725 0 pcb 13 8K 8K 78643K 28 0 rtable 105 3K 3K 78643K 211 0 ifaddr 55 12K 12K 78643K 59 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1471 0 iov 0 0K 12K 78643K 23 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1264 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 10 1K 1K 78643K 10 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 79 0 sigio 0 0K 0K 78643K 4 0 proc 60 63K 83K 78643K 439 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 6 0 in_multi 40 2K 2K 78643K 44 0 ether_multi 1 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 30 132K 132K 78643K 30 0 exec 0 0K 1K 78643K 209 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 119 22K 22K 78643K 1185 0 UVM aobj 4 2K 2K 78643K 4 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 14 0 NDP 8 0K 0K 78643K 12 0 temp 88 3026K 3092K 78643K 3603 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 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 27 0 25 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 41 0 29 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 124 0 124 1 1 0 1 0 8 0 tcpcb 544 28 0 24 1 0 1 1 0 8 0 inpcb 280 102 0 95 2 0 2 2 0 8 1 nd6 48 4 0 0 1 0 1 1 0 8 0 pffrag 232 2 0 2 1 0 1 1 0 482 1 pffrnode 88 2 0 2 1 0 1 1 0 8 1 pffrent 40 4 0 4 1 0 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 16 0 1 1 0 1 1 0 8 0 pfstkey 112 16 0 1 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 212 0 0 14 0 14 14 0 8 0 art_table 32 213 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 15 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1491 0 83 46 0 46 46 0 8 0 ffsino 272 1491 0 83 95 0 95 95 0 8 0 nchpl 144 1797 0 178 61 0 61 61 0 8 0 uvmvnodes 72 1572 0 0 29 0 29 29 0 8 0 vnodes 208 1572 0 0 83 0 83 83 0 8 0 namei 1024 4727 0 4727 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 5050 0 5050 7 1 6 6 0 8 6 plimitpl 152 17 0 9 1 0 1 1 0 8 0 sigapl 432 278 0 262 3 0 3 3 0 8 1 futexpl 56 1109 0 1109 1 0 1 1 0 8 1 knotepl 112 60 0 41 1 0 1 1 0 8 0 kqueuepl 104 14 0 12 1 0 1 1 0 8 0 pipepl 160 160 0 141 1 0 1 1 0 8 0 fdescpl 488 279 0 262 3 0 3 3 0 8 0 filepl 152 1567 0 1464 5 0 5 5 0 8 1 lockfpl 104 17 0 16 1 0 1 1 0 8 0 lockfspl 48 7 0 6 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 22 0 11 1 0 1 1 0 8 0 ucredpl 96 91 0 82 1 0 1 1 0 8 0 zombiepl 144 262 0 262 1 0 1 1 0 8 1 processpl 904 295 0 262 4 0 4 4 0 8 0 procpl 632 413 0 369 5 0 5 5 0 8 0 sockpl 384 170 0 149 4 0 4 4 0 8 1 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 135 0 0 16 0 16 16 0 8 0 mtagpl 80 4 0 0 1 0 1 1 0 8 0 mbufpl 256 168 0 0 10 0 10 10 0 8 0 bufpl 280 6388 0 1340 361 0 361 361 0 8 0 anonpl 16 44401 0 25554 77 1 76 76 0 125 0 amapchunkpl 152 1167 0 1012 7 0 7 7 0 158 0 amappl16 192 1273 0 247 52 0 52 52 0 8 0 amappl15 184 104 0 98 1 0 1 1 0 8 0 amappl14 176 35 0 30 1 0 1 1 0 8 0 amappl13 168 9 0 7 1 0 1 1 0 8 0 amappl12 160 9 0 8 2 1 1 1 0 8 0 amappl11 152 56 0 41 1 0 1 1 0 8 0 amappl10 144 13 0 8 1 0 1 1 0 8 0 amappl9 136 625 0 620 1 0 1 1 0 8 0 amappl8 128 150 0 122 2 0 2 2 0 8 0 amappl7 120 104 0 92 1 0 1 1 0 8 0 amappl6 112 55 0 50 1 0 1 1 0 8 0 amappl5 104 125 0 112 1 0 1 1 0 8 0 amappl4 96 544 0 511 1 0 1 1 0 8 0 amappl3 88 118 0 109 1 0 1 1 0 8 0 amappl2 80 1334 0 1260 3 1 2 3 0 8 0 amappl1 72 15927 0 15477 27 14 13 21 0 8 3 amappl 80 659 0 613 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 279 0 262 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 279 0 262 1 0 1 1 0 8 0 vmmpekpl 168 6099 0 6068 2 0 2 2 0 8 0 vmmpepl 168 42017 0 39733 140 6 134 134 0 357 34 vmsppl 368 278 0 262 2 0 2 2 0 8 0 pdppl 4096 565 0 524 6 0 6 6 0 8 0 pvpl 32 146885 0 124876 179 0 179 179 0 265 0 pmappl 232 278 0 262 2 0 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 161 0 3 5 0 5 5 0 8 0