panic(ffffffff8246c82d) at panic+0x15c sys/kern/subr_prf.c:207 pool_do_get(ffffffff82842350,2,ffff80001d7231b8) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff82842350,2) at pool_get+0xb5 sys/kern/subr_pool.c:581 m_copym(fffffd8068fe7900,580,580,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8068fe7900,580,580,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000ac1880) at tcp_output+0x154d sys/netinet/tcp_output.c:673 tcp_usrreq(fffffd805da5f328,9,fffffd8068fe7900,0,0,ffff80001d71c9d0) at tcp_usrreq+0xa54 sosend(fffffd805da5f328,0,ffff80001d723698,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:555 dofilewritev(ffff80001d71c9d0,4,ffff80001d723698,0,ffff80001d723780) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d71c9d0,ffff80001d723730,ffff80001d723780) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d723800) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf4f0, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic pool_do_get: mbufpl free list modified: page 0xfffffd8068fe7000; item addr 0xfffffd8068fe7a00; offset 0x0=0x0 != 0xf27df25e453b0530 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8246c82d) at panic+0x15c sys/kern/subr_prf.c:207 pool_do_get(ffffffff82842350,2,ffff80001d7231b8) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff82842350,2) at pool_get+0xb5 sys/kern/subr_pool.c:581 m_copym(fffffd8068fe7900,580,580,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8068fe7900,580,580,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000ac1880) at tcp_output+0x154d sys/netinet/tcp_output.c:673 tcp_usrreq(fffffd805da5f328,9,fffffd8068fe7900,0,0,ffff80001d71c9d0) at tcp_usrreq+0xa54 sosend(fffffd805da5f328,0,ffff80001d723698,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:555 dofilewritev(ffff80001d71c9d0,4,ffff80001d723698,0,ffff80001d723780) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d71c9d0,ffff80001d723730,ffff80001d723780) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d723800) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf4f0, count: -12 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d723020 rbx 0xffff80001d7230d0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff815e8b5f kprintf+0x15f r9 0x1 r10 0x2 r11 0x3fc7b1839e65d33 r12 0x3000000008 r13 0xffff80001d723030 r14 0x100 r15 0x1 rip 0xffffffff81327368 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d723010 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (sshd) pid=332637 stat=onproc flags process=12 proc=0 pri=24, usrpri=56, nice=20 forw=0xffffffffffffffff, list=0xffff80001d71d600,0xffff80001d71c020 process=0xffff80001d700758 user=0xffff80001d71e000, vmspace=0xfffffd806bc0acc0 estcpu=6, cpticks=23, pctcpu=0.0 user=0, sys=22, intr=1 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 65376 65532 23855 0 2 0 syz-executor.1 65376 484098 23855 0 2 0x4000000 syz-executor.1 46783 304614 0 0 3 0x14200 bored sosplice 23855 494593 99791 0 3 0x82 nanosleep syz-executor.1 55535 176899 99791 0 2 0x2 syz-executor.0 99791 156324 59636 0 3 0x82 thrsleep syz-fuzzer 99791 301622 59636 0 3 0x4000082 nanosleep syz-fuzzer 99791 145738 59636 0 2 0x4000002 syz-fuzzer 99791 366546 59636 0 3 0x4000082 thrsleep syz-fuzzer 99791 37536 59636 0 3 0x4000082 thrsleep syz-fuzzer 99791 34055 59636 0 3 0x4000082 thrsleep syz-fuzzer 99791 314300 59636 0 3 0x4000082 thrsleep syz-fuzzer 99791 309152 59636 0 3 0x4000082 thrsleep syz-fuzzer 59636 190514 7377 0 3 0x10008a pause ksh * 7377 332637 81205 0 7 0x12 sshd 87011 174050 1 0 3 0x100083 ttyin getty 81205 186859 1 0 3 0x80 select sshd 36959 418983 95728 73 3 0x100090 kqread syslogd 95728 436941 1 0 3 0x100082 netio syslogd 15116 437471 1 77 3 0x100090 poll dhclient 10219 313011 1 0 3 0x80 poll dhclient 65973 395462 0 0 3 0x14200 bored smr 92873 209443 0 0 2 0x14200 zerothread 39522 344697 0 0 3 0x14200 aiodoned aiodoned 39654 130009 0 0 3 0x14200 syncer update 73113 151191 0 0 3 0x14200 cleaner cleaner 24262 474964 0 0 3 0x14200 reaper reaper 37629 299200 0 0 3 0x14200 pgdaemon pagedaemon 63368 144799 0 0 3 0x14200 bored crynlk 68486 15604 0 0 3 0x14200 bored crypto 10895 8950 0 0 3 0x40014200 acpi0 acpi0 28415 176084 0 0 2 0x14200 softnet 3289 60467 0 0 3 0x14200 bored systqmp 24886 124559 0 0 3 0x14200 bored systq 45065 415184 0 0 3 0x40014200 bored softclock 13144 274115 0 0 3 0x40014200 idle0 1 194578 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9492 6466K 7363K 78643K 11381 0 pcb 13 8K 8K 78643K 57 0 rtable 106 3K 7K 78643K 343 0 ifaddr 60 12K 14K 78643K 115 0 counters 21 16K 16K 78643K 21 0 ioctlops 0 0K 4K 78643K 53 0 iov 0 0K 16K 78643K 42 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1459 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 17 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 216 0 sigio 0 0K 0K 78643K 2 0 proc 50 38K 63K 78643K 375 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 13 0 in_multi 47 2K 3K 78643K 83 0 ether_multi 1 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 1K 78643K 195 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 136 72K 72K 78643K 1372 0 UVM aobj 17 2K 2K 78643K 18 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 42 0 NDP 9 0K 0K 78643K 15 0 temp 82 3849K 3913K 78643K 3735 0 kqueue 3 4K 8K 78643K 31 0 SYN cache 2 16K 16K 78643K 2 0 ddb> 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 rtpcb 80 31 0 29 1 0 1 1 0 8 0 rtentry 112 55 0 11 2 0 2 2 0 8 0 unpcb 120 190 0 181 1 0 1 1 0 8 0 syncache 264 5 0 5 2 1 1 1 0 8 1 tcpqe 32 329 0 329 2 2 0 1 0 8 0 tcpcb 544 68 0 63 1 0 1 1 0 8 0 inpcb 296 348 0 340 3 1 2 2 0 8 1 nd6 48 10 0 4 1 0 1 1 0 8 0 pfrktable 1344 56 0 56 2 1 1 1 0 8 1 pftag 88 10 0 10 2 1 1 1 0 8 1 pfrule 1360 8 0 8 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 203 0 9 13 0 13 13 0 8 0 art_table 32 204 0 9 2 0 2 2 0 8 0 art_node 16 54 0 14 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 11 0 1 1 0 1 1 0 8 0 shmpl 112 15 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1685 0 292 88 0 88 88 0 8 0 ffsino 240 1685 0 292 83 0 83 83 0 8 0 nchpl 144 2177 0 574 60 0 60 60 0 8 0 uvmvnodes 72 1933 0 0 36 0 36 36 0 8 0 vnodes 208 1933 0 0 102 0 102 102 0 8 0 namei 1024 5873 0 5873 2 1 1 1 0 8 1 vcpupl 1984 6 0 0 1 0 1 1 0 8 0 vmpool 528 6 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 16 0 16 2 1 1 1 0 8 1 scxspl 192 6738 0 6738 1 0 1 1 0 8 1 plimitpl 152 26 0 19 1 0 1 1 0 8 0 sigapl 424 403 0 374 4 0 4 4 0 8 0 futexpl 56 4448 0 4448 2 1 1 1 0 8 1 knotepl 112 92 0 73 1 0 1 1 0 8 0 kqueuepl 144 76 0 74 1 0 1 1 0 8 0 pipepl 272 114 0 104 2 0 2 2 0 8 1 fdescpl 432 388 0 374 2 0 2 2 0 8 0 filepl 120 2560 0 2465 6 1 5 5 0 8 2 lockfpl 104 58 0 57 1 0 1 1 0 8 0 lockfspl 48 22 0 21 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 236 0 229 1 0 1 1 0 8 0 zombiepl 144 374 0 374 2 1 1 1 0 8 1 processpl 928 403 0 374 4 0 4 4 0 8 0 procpl 624 647 0 610 5 1 4 4 0 8 1 sosppl 128 2 0 2 1 0 1 1 0 8 1 sockpl 400 573 0 554 5 1 4 4 0 8 1 mcl64k 65536 25 0 25 2 1 1 1 0 8 1 mcl16k 16384 2 0 2 2 1 1 1 0 8 1 mcl12k 12288 8 0 7 2 1 1 1 0 8 0 mcl9k 9216 9 0 9 2 1 1 1 0 8 1 mcl8k 8192 14 0 14 2 1 1 1 0 8 1 mcl4k 4096 27 0 27 3 2 1 1 0 8 1 mcl2k2 2112 4 0 4 2 1 1 1 0 8 1 mcl2k 2048 77359 0 77300 21 13 8 19 0 8 0 mtagpl 96 106 0 3 4 1 3 3 0 8 0 mbufpl 256 123885 0 123570 21 0 21 21 0 8 0 mbufpl: pool(0xffffffff82842350:mbufpl): free list modified: page 0xfffffd8068fe7000; item ordinal 0; addr 0xfffffd8068fe7a00 (p 0xfffffd805a82f000); offset 0x0=0x0 mbufpl: pool(0xffffffff82842350:mbufpl): page inconsistency: page 0xfffffd8068fe7000; item ordinal 1; addr 0x99ba2cae4e78afbd bufpl 280 3881 0 127 269 0 269 269 0 8 0 anonpl 16 55044 0 38463 84 17 67 80 0 107 0 amapchunkpl 152 1638 0 1510 7 1 6 7 0 158 0 amappl16 192 1994 0 1083 58 12 46 56 0 8 0 amappl15 184 87 0 85 1 0 1 1 0 8 0 amappl14 176 28 0 22 1 0 1 1 0 8 0 amappl13 168 27 0 23 1 0 1 1 0 8 0 amappl12 160 106 0 99 1 0 1 1 0 8 0 amappl11 152 50 0 40 1 0 1 1 0 8 0 amappl10 144 100 0 92 1 0 1 1 0 8 0 amappl9 136 368 0 367 1 0 1 1 0 8 0 amappl8 128 328 0 283 2 0 2 2 0 8 0 amappl7 120 105 0 93 1 0 1 1 0 8 0 amappl6 112 25 0 17 2 1 1 1 0 8 0 amappl5 104 430 0 416 1 0 1 1 0 8 0 amappl4 96 421 0 395 1 0 1 1 0 8 0 amappl3 88 109 0 104 1 0 1 1 0 8 0 amappl2 80 2356 0 2286 2 0 2 2 0 8 0 amappl1 72 16626 0 16217 24 15 9 17 0 8 0 amappl 80 886 0 844 1 0 1 1 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 17 0 1 1 0 1 1 0 8 0 uaddrrnd 24 394 0 374 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 394 0 374 1 0 1 1 0 8 0 vmmpekpl 168 6497 0 6468 2 0 2 2 0 8 0 vmmpepl 168 53946 0 51878 126 29 97 109 0 357 6 vmsppl 272 393 0 374 3 1 2 2 0 8 0 pdppl 4096 794 0 754 7 1 6 6 0 8 0 pvpl 32 168995 0 149944 202 38 164 188 0 265 9 pmappl 200 393 0 374 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 268 0 26 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8246c82d) at panic+0x15c sys/kern/subr_prf.c:207 pool_do_get(ffffffff82842350,2,ffff80001d7231b8) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff82842350,2) at pool_get+0xb5 sys/kern/subr_pool.c:581 m_copym(fffffd8068fe7900,580,580,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8068fe7900,580,580,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000ac1880) at tcp_output+0x154d sys/netinet/tcp_output.c:673 tcp_usrreq(fffffd805da5f328,9,fffffd8068fe7900,0,0,ffff80001d71c9d0) at tcp_usrreq+0xa54 sosend(fffffd805da5f328,0,ffff80001d723698,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:555 dofilewritev(ffff80001d71c9d0,4,ffff80001d723698,0,ffff80001d723780) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d71c9d0,ffff80001d723730,ffff80001d723780) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d723800) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf4f0, count: -12 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8246c82d) at panic+0x15c sys/kern/subr_prf.c:207 pool_do_get(ffffffff82842350,2,ffff80001d7231b8) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff82842350,2) at pool_get+0xb5 sys/kern/subr_pool.c:581 m_copym(fffffd8068fe7900,580,580,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8068fe7900,580,580,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000ac1880) at tcp_output+0x154d sys/netinet/tcp_output.c:673 tcp_usrreq(fffffd805da5f328,9,fffffd8068fe7900,0,0,ffff80001d71c9d0) at tcp_usrreq+0xa54 sosend(fffffd805da5f328,0,ffff80001d723698,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:555 dofilewritev(ffff80001d71c9d0,4,ffff80001d723698,0,ffff80001d723780) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d71c9d0,ffff80001d723730,ffff80001d723780) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d723800) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbf4f0, count: -12