panic(ffffffff821effeb) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff8263ce28) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff8263ce28) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff8263ce28,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd806f2d8300,0,3e4,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd806f2d8300,0,3e4,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000a06540) at tcp_output+0x15ba sys/netinet/tcp_output.c:673 tcp_usrreq(fffffd806eb8aaf8,9,fffffd806f2d8300,0,0,ffff800020ad09d0) at tcp_usrreq+0xa55 sosend(fffffd806eb8aaf8,0,ffff800020a8dae8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:549 dofilewritev(ffff800020ad09d0,4,ffff800020a8dae8,0,ffff800020a8dbd0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020ad09d0,ffff800020a8db80,ffff800020a8dbd0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020a8dc50) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020a8dc50) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdfc70, 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 0xfffffd806d8a5200+16 0x0!=0x631ae8a4383b2c7c ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff821effeb) at panic+0x15c sys/kern/subr_prf.c:207 pool_cache_get(ffffffff8263ce28) at pool_cache_get+0x323 pool_cache_item_magic_check sys/kern/subr_pool.c:1781 [inline] pool_cache_get(ffffffff8263ce28) at pool_cache_get+0x323 sys/kern/subr_pool.c:1884 pool_get(ffffffff8263ce28,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copym(fffffd806f2d8300,0,3e4,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd806f2d8300,0,3e4,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000a06540) at tcp_output+0x15ba sys/netinet/tcp_output.c:673 tcp_usrreq(fffffd806eb8aaf8,9,fffffd806f2d8300,0,0,ffff800020ad09d0) at tcp_usrreq+0xa55 sosend(fffffd806eb8aaf8,0,ffff800020a8dae8,0,0,80) at sosend+0x671 sys/kern/uipc_socket.c:549 dofilewritev(ffff800020ad09d0,4,ffff800020a8dae8,0,ffff800020a8dbd0) at dofilewritev+0x1b6 sys/kern/sys_generic.c:365 sys_write(ffff800020ad09d0,ffff800020a8db80,ffff800020a8dbd0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff800020a8dc50) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020a8dc50) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdfc70, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a8d480 rbx 0xffff800020a8d530 rdx 0xffff800020ad09d0 rcx 0 rax 0 r8 0xffffffff819e607f kprintf+0x16f r9 0x1 r10 0x25 r11 0x8e619765fd0eadea r12 0x3000000008 r13 0xffff800020a8d490 r14 0x100 r15 0x1 rip 0xffffffff81e7b4f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a8d470 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (sshd) pid=371730 stat=onproc flags process=12 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020ad04f0,0xffff800020ad1d60 process=0xffff800020ac8f18 user=0xffff800020a88000, vmspace=0xfffffd806e9bba18 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 67496 277050 78798 0 2 0 syz-executor.0 9 383366 29443 0 2 0x2 syz-executor.1 78798 148768 29443 0 7 0x2 syz-executor.0 29443 305027 50212 0 2 0x2 syz-fuzzer 29443 46904 50212 0 3 0x4000082 nanosleep syz-fuzzer 29443 125841 50212 0 3 0x4000082 thrsleep syz-fuzzer 29443 260333 50212 0 3 0x4000082 thrsleep syz-fuzzer 29443 100999 50212 0 3 0x4000082 thrsleep syz-fuzzer 29443 86830 50212 0 2 0x4000002 syz-fuzzer 29443 349576 50212 0 3 0x4000082 thrsleep syz-fuzzer 29443 318408 50212 0 3 0x4000082 thrsleep syz-fuzzer 29443 328387 50212 0 3 0x4000082 thrsleep syz-fuzzer 29443 115445 50212 0 3 0x4000082 thrsleep syz-fuzzer 50212 503398 43206 0 3 0x10008a pause ksh *43206 371730 97560 0 7 0x12 sshd 21826 168536 1 0 3 0x100083 ttyin getty 97560 418236 1 0 3 0x80 select sshd 7397 28202 14892 74 3 0x100092 bpf pflogd 14892 84944 1 0 3 0x80 netio pflogd 39192 425559 62970 73 3 0x100090 kqread syslogd 62970 227280 1 0 3 0x100082 netio syslogd 12027 288640 1 77 3 0x100090 poll dhclient 29889 396540 1 0 3 0x80 poll dhclient 58138 13694 0 0 3 0x14200 bored smr 66739 502342 0 0 2 0x14200 zerothread 64412 508352 0 0 3 0x14200 aiodoned aiodoned 82507 495647 0 0 3 0x14200 syncer update 47724 366277 0 0 3 0x14200 cleaner cleaner 58993 294419 0 0 3 0x14200 reaper reaper 46050 400990 0 0 3 0x14200 pgdaemon pagedaemon 65513 146795 0 0 3 0x14200 bored crynlk 9797 181295 0 0 3 0x14200 bored crypto 75429 329705 0 0 3 0x40014200 acpi0 acpi0 178 170758 0 0 3 0x40014200 idle1 57207 176863 0 0 3 0x14200 bored softnet 6549 409360 0 0 3 0x14200 bored systqmp 40748 48135 0 0 3 0x14200 bored systq 48100 430561 0 0 3 0x40014200 bored softclock 81198 224865 0 0 3 0x40014200 idle0 1 395237 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 78798 (syz-executor.0) thread 0xffff800020a6c008 (148768) exclusive rwlock kmmaplk r = 0 (0xffffffff82634f58) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:311 #2 vm_map_lock_ln+0x111 sys/uvm/uvm_map.c:5448 #3 uvm_map+0x2d0 sys/uvm/uvm_map.c:1236 #4 uvm_km_kmemalloc_pla+0x11d sys/uvm/uvm_km.c:335 #5 uvm_uarea_alloc+0x51 sys/uvm/uvm_glue.c:274 #6 fork1+0x271 sys/kern/kern_fork.c:364 #7 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #7 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #8 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff826354d8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:93 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:570 #2 Xsyscall+0x128 Process 43206 (sshd) thread 0xffff800020ad09d0 (371730) exclusive rwlock netlock r = 0 (0xffffffff824ed1b8) #0 witness_lock+0x52e 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 9487 6404K 6791K 78643K 10669 0 pcb 13 8K 8K 78643K 37 0 rtable 108 4K 4K 78643K 210 0 ifaddr 55 12K 12K 78643K 65 0 counters 43 33K 34K 78643K 45 0 ioctlops 0 0K 4K 78643K 1471 0 iov 0 0K 16K 78643K 15 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1252 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 7 0K 0K 78643K 8 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 5 13K 25K 78643K 81 0 proc 61 63K 95K 78643K 456 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 47 0 ether_multi 1 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 211 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 21K 78643K 1159 0 UVM aobj 13 2K 2K 78643K 13 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 8 0K 0K 78643K 13 0 temp 78 3016K 3080K 78643K 2313 0 kqueue 3 4K 4K 78643K 3 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 23 0 21 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 47 0 37 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 520 0 520 1 0 1 1 0 8 1 tcpcb 544 38 0 34 1 0 1 1 0 8 0 inpcb 280 136 0 129 2 0 2 2 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 ppxss 1128 1 0 1 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 23 0 0 1 0 1 1 0 8 0 pfstkey 112 23 0 0 1 0 1 1 0 8 0 pfstate 328 23 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 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 0 1 1 0 8 1 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 6 0 1 1 0 1 1 0 8 0 shmpl 112 11 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1501 0 94 46 0 46 46 0 8 0 ffsino 272 1501 0 94 95 0 95 95 0 8 0 nchpl 144 1802 0 186 61 0 61 61 0 8 0 uvmvnodes 72 1565 0 0 29 0 29 29 0 8 0 vnodes 208 1565 0 0 83 0 83 83 0 8 0 namei 1024 4701 0 4701 1 0 1 1 0 8 1 percpumem 16 33 0 1 1 0 1 1 0 8 0 scxspl 192 5282 0 5282 2 1 1 2 0 8 1 plimitpl 152 23 0 15 1 0 1 1 0 8 0 sigapl 424 296 0 265 4 0 4 4 0 8 0 futexpl 56 914 0 914 1 0 1 1 0 8 1 knotepl 112 53 0 34 1 0 1 1 0 8 0 kqueuepl 144 6 0 4 1 0 1 1 0 8 0 pipelkpl 48 92 0 82 1 0 1 1 0 8 0 pipepl 120 184 0 165 1 0 1 1 0 8 0 fdescpl 496 281 0 265 3 0 3 3 0 8 0 filepl 152 1495 0 1395 5 0 5 5 0 8 1 lockfpl 104 54 0 53 1 0 1 1 0 8 0 lockfspl 48 14 0 13 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 118 0 109 1 0 1 1 0 8 0 zombiepl 144 265 0 265 1 0 1 1 0 8 1 processpl 960 296 0 265 5 0 5 5 0 8 0 procpl 624 415 0 375 4 0 4 4 0 8 0 sockpl 400 211 0 192 4 0 4 4 0 8 2 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 171 0 0 21 0 21 21 0 8 0 mtagpl 80 7 0 0 1 0 1 1 0 8 0 mbufpl 256 191 0 0 12 0 12 12 0 8 0 mbufpl: pool(0xffffffff8263ce28:mbufpl): free list modified: page 0xfffffd8068c16000; item ordinal 4; addr 0xfffffd8068c16900 (p 0xfffffd806cc46000); offset 0x0=0x0 pool(mbufpl): free list modified: page 0xfffffd8068c16000; item ordinal 4; addr 0xfffffd8068c16900 (p 0xfffffd806cc46000); offset 0x0=0x0 mbufpl: pool(0xffffffff8263ce28:mbufpl): page inconsistency: page 0xfffffd8068c16000; item ordinal 5; addr 0xfa904652ab4c1cd bufpl 280 4195 0 174 288 0 288 288 0 8 0 anonpl 16 38422 0 25726 52 1 51 51 0 124 0 amapchunkpl 152 1291 0 1158 7 0 7 7 0 158 1 amappl16 192 1015 0 338 34 0 34 34 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 6 0 4 2 1 1 1 0 8 0 amappl13 168 47 0 45 1 0 1 1 0 8 0 amappl12 160 32 0 31 2 1 1 1 0 8 0 amappl11 152 71 0 53 1 0 1 1 0 8 0 amappl10 144 23 0 18 1 0 1 1 0 8 0 amappl9 136 388 0 385 1 0 1 1 0 8 0 amappl8 128 310 0 293 1 0 1 1 0 8 0 amappl7 120 117 0 106 1 0 1 1 0 8 0 amappl6 112 23 0 20 1 0 1 1 0 8 0 amappl5 104 179 0 164 1 0 1 1 0 8 0 amappl4 96 516 0 488 1 0 1 1 0 8 0 amappl3 88 108 0 100 1 0 1 1 0 8 0 amappl2 80 1328 0 1266 3 1 2 3 0 8 0 amappl1 72 16149 0 15727 25 12 13 20 0 8 3 amappl 80 667 0 625 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 12 0 0 1 0 1 1 0 8 0 uaddrrnd 24 281 0 265 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 281 0 265 1 0 1 1 0 8 0 vmmpekpl 168 6145 0 6116 2 0 2 2 0 8 0 vmmpepl 168 40916 0 39150 100 3 97 97 0 357 17 vmsppl 368 280 0 265 2 0 2 2 0 8 0 pdppl 4096 570 0 530 6 0 6 6 0 8 0 pvpl 32 139878 0 124136 128 0 128 128 0 265 1 pmappl 232 280 0 265 2 0 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 168 0 3 5 0 5 5 0 8 0