panic(ffffffff8224bad0) at panic+0x15c sys/kern/subr_prf.c:207 pool_do_get(ffffffff8259d838,2,ffff80001d759f18) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff8259d838,2) at pool_get+0xb5 sys/kern/subr_pool.c:581 m_gethdr(2,2) at m_gethdr+0x4c sys/kern/uipc_mbuf.c:283 tcp_output(ffff8000009f6320) at tcp_output+0x147a tcp_usrreq(fffffd805dac2198,9,fffffd8052f5c400,0,0,ffff80001d7a7eb0) at tcp_usrreq+0xa54 sosend(fffffd805dac2198,0,ffff80001d75a398,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:549 dofilewritev(ffff80001d7a7eb0,4,ffff80001d75a398,0,ffff80001d75a480) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d7a7eb0,ffff80001d75a430,ffff80001d75a480) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d75a500) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3390, 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 0xfffffd8052f5c000; item addr 0xfffffd8052f5c500; offset 0x0=0x0 != 0x1e4c00916b33b090 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8224bad0) at panic+0x15c sys/kern/subr_prf.c:207 pool_do_get(ffffffff8259d838,2,ffff80001d759f18) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff8259d838,2) at pool_get+0xb5 sys/kern/subr_pool.c:581 m_gethdr(2,2) at m_gethdr+0x4c sys/kern/uipc_mbuf.c:283 tcp_output(ffff8000009f6320) at tcp_output+0x147a tcp_usrreq(fffffd805dac2198,9,fffffd8052f5c400,0,0,ffff80001d7a7eb0) at tcp_usrreq+0xa54 sosend(fffffd805dac2198,0,ffff80001d75a398,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:549 dofilewritev(ffff80001d7a7eb0,4,ffff80001d75a398,0,ffff80001d75a480) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d7a7eb0,ffff80001d75a430,ffff80001d75a480) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d75a500) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3390, count: -12 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d759d80 rbx 0xffff80001d759e30 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d759d40 r9 0x1 r10 0 r11 0x8a27bd95b31fb67c r12 0x3000000008 r13 0xffff80001d759d90 r14 0x100 r15 0x1 rip 0xffffffff8218f818 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d759d70 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (sshd) pid=162721 stat=onproc flags process=12 proc=0 pri=24, usrpri=52, nice=20 forw=0xffffffffffffffff, list=0xffff80001d7a79d0,0xffff80001d7a7290 process=0xffff8000ffff83b0 user=0xffff80001d755000, vmspace=0xfffffd806bc09550 estcpu=2, cpticks=9, pctcpu=0.0 user=0, sys=9, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 66642 86433 4729 0 2 0 syz-executor.0 66642 451547 4729 0 2 0x4000080 syz-executor.0 24344 506575 1 0 3 0x100083 ttyin getty 99014 333150 0 0 3 0x14200 bored sosplice 38177 492895 74471 0 2 0x2 syz-executor.1 4729 299500 74471 0 3 0x82 nanosleep syz-executor.0 74471 223176 64418 0 3 0x82 thrsleep syz-fuzzer 74471 288573 64418 0 2 0x4000002 syz-fuzzer 74471 521647 64418 0 2 0x4000002 syz-fuzzer 74471 183447 64418 0 3 0x4000082 thrsleep syz-fuzzer 74471 181446 64418 0 3 0x4000082 kqread syz-fuzzer 74471 86107 64418 0 3 0x4000082 thrsleep syz-fuzzer 74471 444910 64418 0 3 0x4000082 thrsleep syz-fuzzer 74471 465297 64418 0 2 0x4000002 syz-fuzzer 64418 60176 14799 0 3 0x10008a pause ksh *14799 162721 92813 0 7 0x12 sshd 92813 157641 1 0 3 0x80 select sshd 22982 80502 2446 73 3 0x100090 kqread syslogd 2446 82403 1 0 3 0x100082 netio syslogd 69012 121059 1 77 3 0x100090 poll dhclient 79376 149690 1 0 3 0x80 poll dhclient 48607 513985 0 0 3 0x14200 bored smr 28709 8892 0 0 2 0x14200 zerothread 48926 207656 0 0 3 0x14200 aiodoned aiodoned 19674 490879 0 0 3 0x14200 syncer update 6068 369781 0 0 3 0x14200 cleaner cleaner 85154 214453 0 0 3 0x14200 reaper reaper 77779 371102 0 0 3 0x14200 pgdaemon pagedaemon 42225 417039 0 0 3 0x14200 bored crynlk 58421 109445 0 0 3 0x14200 bored crypto 98651 341067 0 0 3 0x40014200 acpi0 acpi0 74034 16004 0 0 2 0x14200 softnet 86106 411505 0 0 3 0x14200 bored systqmp 21524 16085 0 0 3 0x14200 bored systq 82039 225306 0 0 3 0x40014200 bored softclock 75230 251843 0 0 3 0x40014200 idle0 1 16090 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 9486 6338K 7044K 78643K 11133 0 pcb 13 8K 8K 78643K 68 0 rtable 92 3K 4K 78643K 224 0 ifaddr 68 14K 14K 78643K 79 0 counters 21 16K 16K 78643K 22 0 ioctlops 0 0K 2K 78643K 27 0 iov 0 0K 12K 78643K 73 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1376 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 44 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 5 13K 25K 78643K 199 0 proc 51 38K 63K 78643K 407 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 25 0 in_multi 56 3K 3K 78643K 82 0 ether_multi 1 0K 0K 78643K 9 0 mrt 0 0K 0K 78643K 6 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 202 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 122 55K 55K 78643K 1314 0 UVM aobj 9 2K 2K 78643K 11 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 35 0 NDP 10 0K 0K 78643K 15 0 temp 89 3037K 3105K 78643K 26408 0 kqueue 3 4K 9K 78643K 14 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 6 0 0 1 0 1 1 0 8 0 rtpcb 80 27 0 25 1 0 1 1 0 8 0 rtentry 112 49 0 13 2 0 2 2 0 8 0 unpcb 120 441 0 433 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 75 0 75 1 1 0 1 0 8 0 tcpcb 544 59 0 54 1 0 1 1 0 8 0 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 4 0 4 1 0 1 1 0 8 1 inpcb 280 213 0 205 2 0 2 2 0 8 1 rttmr 72 3 0 3 1 0 1 1 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 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 195 0 41 13 0 13 13 0 8 1 art_table 32 197 0 41 2 0 2 2 0 8 0 art_node 16 48 0 18 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 42 0 32 1 0 1 1 0 8 0 shmpl 112 9 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1684 0 285 88 0 88 88 0 8 0 ffsino 240 1684 0 285 83 0 83 83 0 8 0 nchpl 144 2165 0 554 60 0 60 60 0 8 0 uvmvnodes 72 1848 0 0 34 0 34 34 0 8 0 vnodes 208 1848 0 0 98 0 98 98 0 8 0 namei 1024 5694 0 5694 1 0 1 1 0 8 1 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 528 3 0 0 1 0 1 1 0 8 0 scxspl 192 6683 0 6683 1 0 1 1 0 8 1 plimitpl 152 32 0 25 1 0 1 1 0 8 0 sigapl 424 387 0 358 4 0 4 4 0 8 0 futexpl 56 3808 0 3808 1 0 1 1 0 8 1 knotepl 112 62 0 43 1 0 1 1 0 8 0 kqueuepl 144 26 0 24 1 0 1 1 0 8 0 pipelkpl 16 86 0 76 1 0 1 1 0 8 0 pipepl 120 172 0 153 1 0 1 1 0 8 0 fdescpl 432 372 0 358 2 0 2 2 0 8 0 filepl 120 2464 0 2365 4 0 4 4 0 8 0 lockfpl 104 117 0 115 1 0 1 1 0 8 0 lockfspl 48 35 0 33 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 18 0 8 1 0 1 1 0 8 0 ucredpl 96 256 0 249 1 0 1 1 0 8 0 zombiepl 144 358 0 358 1 0 1 1 0 8 1 processpl 920 387 0 358 4 0 4 4 0 8 0 procpl 624 606 0 569 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 400 683 0 665 5 0 5 5 0 8 3 mcl64k 65536 22 0 22 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 1 0 1 0 8 0 mcl12k 12288 4 0 4 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 23 0 23 2 1 1 1 0 8 1 mcl2k 2048 62199 0 62141 18 10 8 15 0 8 0 mtagpl 80 34 0 2 2 1 1 1 0 8 0 mbufpl 256 99726 0 99523 17 3 14 14 0 8 0 mbufpl: pool(0xffffffff8259d838:mbufpl): free list modified: page 0xfffffd8052f5c000; item ordinal 0; addr 0xfffffd8052f5c500 (p 0xfffffd8058ff2000); offset 0x0=0x0 mbufpl: pool(0xffffffff8259d838:mbufpl): page inconsistency: page 0xfffffd8052f5c000; item ordinal 1; addr 0x53f1307f715622c8 bufpl 280 4716 0 183 324 0 324 324 0 8 0 anonpl 16 48838 0 32234 70 2 68 68 0 107 0 amapchunkpl 152 1963 0 1814 21 1 20 20 0 158 13 amappl16 192 1704 0 778 47 0 47 47 0 8 0 amappl15 184 82 0 80 1 0 1 1 0 8 0 amappl14 176 25 0 20 1 0 1 1 0 8 0 amappl13 168 33 0 30 1 0 1 1 0 8 0 amappl12 160 90 0 85 2 1 1 1 0 8 0 amappl11 152 44 0 35 1 0 1 1 0 8 0 amappl10 144 96 0 91 1 0 1 1 0 8 0 amappl9 136 374 0 373 1 0 1 1 0 8 0 amappl8 128 308 0 274 2 0 2 2 0 8 0 amappl7 120 189 0 178 1 0 1 1 0 8 0 amappl6 112 23 0 19 1 0 1 1 0 8 0 amappl5 104 312 0 298 1 0 1 1 0 8 0 amappl4 96 436 0 403 1 0 1 1 0 8 0 amappl3 88 108 0 103 1 0 1 1 0 8 0 amappl2 80 2248 0 2182 3 1 2 3 0 8 0 amappl1 72 16535 0 16119 24 15 9 20 0 8 0 amappl 80 834 0 787 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 10 0 2 1 0 1 1 0 8 0 uaddrrnd 24 375 0 358 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 375 0 358 1 0 1 1 0 8 0 vmmpekpl 168 6449 0 6419 2 0 2 2 0 8 0 vmmpepl 168 51146 0 49124 109 11 98 105 0 357 8 vmsppl 272 374 0 358 2 0 2 2 0 8 0 pdppl 4096 756 0 719 6 1 5 6 0 8 0 pvpl 32 159355 0 139783 161 0 161 161 0 265 1 pmappl 200 374 0 358 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 250 0 18 7 0 7 7 0 8 0