panic: pool_do_get: mbufpl free list modified: page 0xfffffd805758a000; item addr 0xfffffd805758a600; offset 0x0=0x0 != 0x84ba40f8284af5e Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *275952 37549 0 0x12 0 0 sshd db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff824724b2) at panic+0x164 sys/kern/subr_prf.c:218 pool_do_get(ffffffff827f4398,2,ffff80001d722fa8) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff827f4398,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(ffff800000ac2cc0) at tcp_output+0x147a tcp_usrreq(fffffd8067438198,9,fffffd805758a500,0,0,ffff80001d71cc40) at tcp_usrreq+0xa54 sosend(fffffd8067438198,0,ffff80001d723428,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:555 dofilewritev(ffff80001d71cc40,4,ffff80001d723428,0,ffff80001d723510) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d71cc40,ffff80001d7234c0,ffff80001d723510) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d723590) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe83d0, 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 0xfffffd805758a000; item addr 0xfffffd805758a600; offset 0x0=0x0 != 0x84ba40f8284af5e ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff824724b2) at panic+0x164 sys/kern/subr_prf.c:218 pool_do_get(ffffffff827f4398,2,ffff80001d722fa8) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff827f4398,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(ffff800000ac2cc0) at tcp_output+0x147a tcp_usrreq(fffffd8067438198,9,fffffd805758a500,0,0,ffff80001d71cc40) at tcp_usrreq+0xa54 sosend(fffffd8067438198,0,ffff80001d723428,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:555 dofilewritev(ffff80001d71cc40,4,ffff80001d723428,0,ffff80001d723510) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d71cc40,ffff80001d7234c0,ffff80001d723510) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d723590) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe83d0, count: -12 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d722e10 rbx 0xffff80001d722ec0 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff816eac3f kprintf+0x15f r9 0x1 r10 0x2 r11 0x381f7f856a971463 r12 0x3000000008 r13 0xffff80001d722e20 r14 0x100 r15 0x1 rip 0xffffffff8121b298 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d722e00 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (sshd) pid=275952 stat=onproc flags process=12 proc=0 pri=24, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d71dae0,0xffff80001d71c290 process=0xffff80001d706018 user=0xffff80001d71e000, vmspace=0xfffffd806bc09660 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 55227 313592 0 0 3 0x14200 bored sosplice 75599 20932 74845 0 3 0x82 piperd syz-executor.0 66518 154517 74845 0 3 0x82 piperd syz-executor.1 74845 116853 46211 0 2 0x2 syz-fuzzer 74845 362091 46211 0 3 0x4000082 nanosleep syz-fuzzer 74845 120321 46211 0 3 0x4000082 thrsleep syz-fuzzer 74845 318863 46211 0 3 0x4000082 thrsleep syz-fuzzer 74845 66676 46211 0 3 0x4000082 thrsleep syz-fuzzer 74845 332401 46211 0 3 0x4000082 thrsleep syz-fuzzer 74845 330626 46211 0 3 0x4000082 thrsleep syz-fuzzer 74845 368980 46211 0 3 0x4000082 thrsleep syz-fuzzer 74845 403698 46211 0 3 0x4000082 thrsleep syz-fuzzer 46211 48957 37549 0 3 0x10008a pause ksh *37549 275952 38300 0 7 0x12 sshd 64609 245223 1 0 3 0x100083 ttyin getty 38300 312705 1 0 3 0x80 select sshd 11421 207362 91440 73 3 0x100090 kqread syslogd 91440 120658 1 0 3 0x100082 netio syslogd 99185 337331 1 77 3 0x100090 poll dhclient 79179 27369 1 0 3 0x80 poll dhclient 85075 202689 0 0 3 0x14200 bored smr 66740 349735 0 0 2 0x14200 zerothread 53386 167349 0 0 3 0x14200 aiodoned aiodoned 7135 165160 0 0 3 0x14200 syncer update 6782 322976 0 0 3 0x14200 cleaner cleaner 89633 267256 0 0 3 0x14200 reaper reaper 82844 41758 0 0 3 0x14200 pgdaemon pagedaemon 60449 518591 0 0 3 0x14200 bored crynlk 72513 130352 0 0 3 0x14200 bored crypto 24658 177747 0 0 3 0x40014200 acpi0 acpi0 32320 505941 0 0 3 0x14200 bored softnet 2609 384810 0 0 3 0x14200 bored systqmp 84290 252147 0 0 3 0x14200 bored systq 61940 405812 0 0 3 0x40014200 bored softclock 57864 460819 0 0 3 0x40014200 idle0 1 35925 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 9467 6331K 6587K 78643K 10753 0 pcb 13 8K 8K 78643K 47 0 rtable 107 5K 5K 78643K 278 0 ifaddr 56 12K 12K 78643K 90 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 17K 78643K 26 0 ioctlops 0 0K 4K 78643K 48 0 iov 0 0K 16K 78643K 11 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1282 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 1K 1K 78643K 21 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 4 9K 25K 78643K 184 0 sigio 0 0K 0K 78643K 2 0 proc 49 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 10 0 in_multi 45 2K 2K 78643K 78 0 ether_multi 1 0K 0K 78643K 5 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 197 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 130 39K 40K 78643K 1259 0 UVM aobj 11 2K 2K 78643K 12 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 22 0 NDP 8 0K 0K 78643K 20 0 temp 80 3855K 3919K 78643K 8084 0 kqueue 3 4K 12K 78643K 11 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 2 1 0 1 1 0 8 0 rtpcb 80 23 0 21 1 0 1 1 0 8 0 rtentry 112 55 0 16 2 0 2 2 0 8 0 unpcb 120 153 0 145 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 41 0 41 1 1 0 1 0 8 0 tcpcb 544 52 0 48 1 0 1 1 0 8 0 inpcb 296 187 0 180 3 1 2 2 0 8 1 nd6 48 11 0 6 1 0 1 1 0 8 0 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 8 0 4 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfstkey 112 4 0 4 1 0 1 1 0 8 1 pfstate 328 2 0 2 1 0 1 1 0 8 1 pfrule 1360 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 292 0 75 16 2 14 14 0 8 0 art_table 32 293 0 75 2 0 2 2 0 8 0 art_node 16 54 0 18 1 0 1 1 0 8 0 semupl 112 4 0 4 3 3 0 1 0 8 0 semapl 112 15 0 5 1 0 1 1 0 8 0 shmpl 112 9 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1619 0 221 88 0 88 88 0 8 0 ffsino 240 1619 0 221 83 0 83 83 0 8 0 nchpl 144 2045 0 444 60 0 60 60 0 8 0 uvmvnodes 72 1704 0 0 31 0 31 31 0 8 0 vnodes 208 1704 0 0 90 0 90 90 0 8 0 namei 1024 5324 0 5324 1 0 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 2 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 6 0 0 1 0 1 1 0 8 0 scxspl 192 5996 0 5996 1 0 1 1 0 8 1 plimitpl 152 18 0 11 1 0 1 1 0 8 0 sigapl 424 371 0 343 4 0 4 4 0 8 0 futexpl 56 3356 0 3356 1 0 1 1 0 8 1 knotepl 112 69 0 50 1 0 1 1 0 8 0 kqueuepl 144 22 0 19 1 0 1 1 0 8 0 pipepl 272 110 0 100 2 1 1 2 0 8 0 fdescpl 432 356 0 343 2 0 2 2 0 8 0 filepl 120 2011 0 1916 5 1 4 5 0 8 1 lockfpl 104 39 0 38 1 0 1 1 0 8 0 lockfspl 48 16 0 15 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 162 0 155 1 0 1 1 0 8 0 zombiepl 144 343 0 343 1 0 1 1 0 8 1 processpl 928 371 0 343 4 0 4 4 0 8 0 procpl 624 559 0 523 4 0 4 4 0 8 1 sosppl 128 1 0 1 1 1 0 1 0 8 0 sockpl 400 364 0 347 4 1 3 4 0 8 1 mcl64k 65536 11 0 11 2 2 0 1 0 8 0 mcl12k 12288 5 0 5 3 3 0 1 0 8 0 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 3 2 1 1 0 8 1 mcl4k 4096 19 0 19 4 3 1 1 0 8 1 mcl2k 2048 96110 0 96067 15 9 6 13 0 8 0 mtagpl 96 13 0 13 2 2 0 1 0 8 0 mbufpl 256 152671 0 152593 14 6 8 11 0 8 0 mbufpl: pool(0xffffffff827f4398:mbufpl): free list modified: page 0xfffffd805758a000; item ordinal 0; addr 0xfffffd805758a600 (p 0xfffffd805bb37000); offset 0x0=0x0 bufpl 280 3580 0 127 247 0 247 247 0 8 0 anonpl 16 51048 0 33613 81 2 79 79 0 107 8 amapchunkpl 152 1603 0 1476 12 2 10 10 0 158 4 amappl16 192 1678 0 719 49 0 49 49 0 8 1 amappl15 184 147 0 145 1 0 1 1 0 8 0 amappl14 176 24 0 18 1 0 1 1 0 8 0 amappl13 168 32 0 28 1 0 1 1 0 8 0 amappl12 160 19 0 15 1 0 1 1 0 8 0 amappl11 152 44 0 35 1 0 1 1 0 8 0 amappl10 144 12 0 8 1 0 1 1 0 8 0 amappl9 136 358 0 357 1 0 1 1 0 8 0 amappl8 128 337 0 292 2 0 2 2 0 8 0 amappl7 120 107 0 95 1 0 1 1 0 8 0 amappl6 112 22 0 20 2 1 1 1 0 8 0 amappl5 104 319 0 308 1 0 1 1 0 8 0 amappl4 96 425 0 397 1 0 1 1 0 8 0 amappl3 88 116 0 110 1 0 1 1 0 8 0 amappl2 80 2166 0 2108 2 0 2 2 0 8 0 amappl1 72 16791 0 16390 24 14 10 17 0 8 0 amappl 80 776 0 736 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 11 0 1 1 0 1 1 0 8 0 uaddrrnd 24 358 0 343 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 358 0 343 1 0 1 1 0 8 0 vmmpekpl 168 6298 0 6271 2 0 2 2 0 8 0 vmmpepl 168 50552 0 48572 126 33 93 115 0 357 1 vmsppl 272 357 0 343 3 1 2 2 0 8 1 pdppl 4096 722 0 688 6 1 5 6 0 8 0 pvpl 32 161435 0 141348 187 3 184 184 0 265 21 pmappl 200 357 0 343 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 253 0 30 8 1 7 8 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(ffffffff824724b2) at panic+0x164 sys/kern/subr_prf.c:218 pool_do_get(ffffffff827f4398,2,ffff80001d722fa8) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff827f4398,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(ffff800000ac2cc0) at tcp_output+0x147a tcp_usrreq(fffffd8067438198,9,fffffd805758a500,0,0,ffff80001d71cc40) at tcp_usrreq+0xa54 sosend(fffffd8067438198,0,ffff80001d723428,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:555 dofilewritev(ffff80001d71cc40,4,ffff80001d723428,0,ffff80001d723510) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d71cc40,ffff80001d7234c0,ffff80001d723510) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d723590) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe83d0, 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(ffffffff824724b2) at panic+0x164 sys/kern/subr_prf.c:218 pool_do_get(ffffffff827f4398,2,ffff80001d722fa8) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff827f4398,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(ffff800000ac2cc0) at tcp_output+0x147a tcp_usrreq(fffffd8067438198,9,fffffd805758a500,0,0,ffff80001d71cc40) at tcp_usrreq+0xa54 sosend(fffffd8067438198,0,ffff80001d723428,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:555 dofilewritev(ffff80001d71cc40,4,ffff80001d723428,0,ffff80001d723510) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d71cc40,ffff80001d7234c0,ffff80001d723510) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d723590) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe83d0, count: -12