panic: pool_do_get: mbufpl free list modified: page 0xfffffd8062607000; item addr 0xfffffd8062607c00; offset 0x0=0x0 != 0xb695c7772eeda9f Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *208929 86036 0 0x12 0 0 sshd db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82474430) at panic+0x15c sys/kern/subr_prf.c:207 pool_do_get(ffffffff827ef020,2,ffff80001d6cd248) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff827ef020,2) at pool_get+0xb5 sys/kern/subr_pool.c:581 m_copym(fffffd8062607b00,0,1dc,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8062607b00,0,1dc,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000ac3760) at tcp_output+0x154d sys/netinet/tcp_output.c:673 tcp_usrreq(fffffd805da78008,9,fffffd8062607b00,0,0,ffff80001d71c760) at tcp_usrreq+0xa54 sosend(fffffd805da78008,0,ffff80001d6cd728,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:555 dofilewritev(ffff80001d71c760,4,ffff80001d6cd728,0,ffff80001d6cd810) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d71c760,ffff80001d6cd7c0,ffff80001d6cd810) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d6cd890) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7920, 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 0xfffffd8062607000; item addr 0xfffffd8062607c00; offset 0x0=0x0 != 0xb695c7772eeda9f ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82474430) at panic+0x15c sys/kern/subr_prf.c:207 pool_do_get(ffffffff827ef020,2,ffff80001d6cd248) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff827ef020,2) at pool_get+0xb5 sys/kern/subr_pool.c:581 m_copym(fffffd8062607b00,0,1dc,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8062607b00,0,1dc,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000ac3760) at tcp_output+0x154d sys/netinet/tcp_output.c:673 tcp_usrreq(fffffd805da78008,9,fffffd8062607b00,0,0,ffff80001d71c760) at tcp_usrreq+0xa54 sosend(fffffd805da78008,0,ffff80001d6cd728,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:555 dofilewritev(ffff80001d71c760,4,ffff80001d6cd728,0,ffff80001d6cd810) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d71c760,ffff80001d6cd7c0,ffff80001d6cd810) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d6cd890) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7920, count: -12 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d6cd0b0 rbx 0xffff80001d6cd160 rdx 0x2 rcx 0 rax 0x1 r8 0xffffffff8228533f kprintf+0x15f r9 0x1 r10 0x2 r11 0xf55a232cf85cfb7a r12 0x3000000008 r13 0xffff80001d6cd0c0 r14 0x100 r15 0x1 rip 0xffffffff81cfcf18 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d6cd0a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (sshd) pid=208929 stat=onproc flags process=12 proc=0 pri=24, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d71d600,0xffff80001d71c020 process=0xffff80001d7063b8 user=0xffff80001d6c8000, vmspace=0xfffffd806bc09bb0 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 19689 468213 48904 0 3 0x80 nanosleep syz-executor.1 19689 87462 48904 0 3 0x4000080 kqread syz-executor.1 98946 523338 0 0 3 0x14200 bored sosplice 48904 455088 16413 0 3 0x82 nanosleep syz-executor.1 33268 372696 16413 0 2 0x2 syz-executor.0 16413 338964 10187 0 3 0x82 thrsleep syz-fuzzer 16413 305372 10187 0 2 0x4000002 syz-fuzzer 16413 511580 10187 0 3 0x4000082 thrsleep syz-fuzzer 16413 305366 10187 0 3 0x4000082 thrsleep syz-fuzzer 16413 401100 10187 0 3 0x4000082 thrsleep syz-fuzzer 16413 93981 10187 0 3 0x4000082 thrsleep syz-fuzzer 16413 146698 10187 0 3 0x4000082 thrsleep syz-fuzzer 16413 278930 10187 0 2 0x4000002 syz-fuzzer 10187 357258 86036 0 3 0x10008a pause ksh *86036 208929 11370 0 7 0x12 sshd 21286 93845 1 0 3 0x100083 ttyin getty 11370 131844 1 0 3 0x80 select sshd 3089 251354 85163 73 3 0x100090 kqread syslogd 85163 299508 1 0 3 0x100082 netio syslogd 28092 390072 1 77 3 0x100090 poll dhclient 91404 123978 1 0 3 0x80 poll dhclient 47255 491476 0 0 3 0x14200 bored smr 96950 476277 0 0 3 0x14200 pgzero zerothread 32157 282634 0 0 3 0x14200 aiodoned aiodoned 29817 367806 0 0 3 0x14200 syncer update 10745 210835 0 0 3 0x14200 cleaner cleaner 81480 498746 0 0 3 0x14200 reaper reaper 19709 450911 0 0 3 0x14200 pgdaemon pagedaemon 2831 263037 0 0 3 0x14200 bored crynlk 31593 209107 0 0 3 0x14200 bored crypto 32965 506727 0 0 3 0x40014200 acpi0 acpi0 93467 487709 0 0 3 0x14200 bored softnet 5561 424314 0 0 3 0x14200 bored systqmp 20259 219969 0 0 3 0x14200 bored systq 78940 437426 0 0 3 0x40014200 bored softclock 44412 166913 0 0 3 0x40014200 idle0 1 279843 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 9466 6331K 6713K 78643K 10685 0 pcb 13 8K 8K 78643K 31 0 rtable 95 3K 7K 78643K 299 0 ifaddr 50 11K 11K 78643K 84 0 counters 21 16K 17K 78643K 25 0 ioctlops 0 0K 4K 78643K 23 0 iov 0 0K 2K 78643K 6 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1267 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 6 0K 0K 78643K 6 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 116 0 proc 48 38K 63K 78643K 364 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 11 0 in_multi 28 1K 2K 78643K 44 0 ether_multi 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 181 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 23K 24K 78643K 1116 0 UVM aobj 6 2K 2K 78643K 6 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 9 0K 0K 78643K 17 0 temp 84 3850K 3914K 78643K 2053 0 kqueue 3 4K 10K 78643K 12 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 49 0 12 2 0 2 2 0 8 0 unpcb 120 65 0 57 1 0 1 1 0 8 0 syncache 264 8 0 8 2 1 1 1 0 8 1 tcpqe 32 326 0 326 1 1 0 1 0 8 0 tcpcb 544 40 0 36 1 0 1 1 0 8 0 inpcb 296 121 0 114 3 1 2 2 0 8 1 nd6 48 7 0 3 1 0 1 1 0 8 0 pfrktable 1344 26 0 26 1 0 1 1 0 8 1 pftag 88 4 0 4 1 0 1 1 0 8 1 pfrule 1360 4 0 4 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 230 0 44 12 0 12 12 0 8 0 art_table 32 231 0 44 2 0 2 2 0 8 0 art_node 16 48 0 14 1 0 1 1 0 8 0 semapl 112 4 0 0 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1533 0 135 88 0 88 88 0 8 0 ffsino 240 1533 0 135 83 0 83 83 0 8 0 nchpl 144 1877 0 272 60 0 60 60 0 8 0 uvmvnodes 72 1604 0 0 30 0 30 30 0 8 0 vnodes 208 1604 0 0 85 0 85 85 0 8 0 namei 1024 4827 0 4827 1 0 1 1 0 8 1 pfiaddrpl 120 8 0 8 1 0 1 1 0 8 1 scsiplug 64 1 0 1 1 0 1 1 0 8 1 scxspl 192 5313 0 5313 1 0 1 1 0 8 1 plimitpl 152 21 0 13 1 0 1 1 0 8 0 sigapl 424 303 0 274 4 0 4 4 0 8 0 futexpl 56 1611 0 1611 2 1 1 1 0 8 1 knotepl 112 74 0 55 1 0 1 1 0 8 0 kqueuepl 144 25 0 22 1 0 1 1 0 8 0 pipepl 272 78 0 68 1 0 1 1 0 8 0 fdescpl 432 288 0 274 2 0 2 2 0 8 0 filepl 120 1593 0 1494 5 1 4 4 0 8 0 lockfpl 104 13 0 12 1 0 1 1 0 8 0 lockfspl 48 6 0 5 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 241 0 233 1 0 1 1 0 8 0 zombiepl 144 274 0 274 2 1 1 1 0 8 1 processpl 928 303 0 274 4 0 4 4 0 8 0 procpl 624 402 0 365 4 0 4 4 0 8 0 sosppl 128 4 0 4 1 0 1 1 0 8 1 sockpl 400 209 0 192 4 1 3 3 0 8 1 mcl64k 65536 8 0 8 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 16 0 16 1 0 1 1 0 8 1 mcl4k 4096 12 0 12 3 2 1 1 0 8 1 mcl2k 2048 91842 0 91788 25 17 8 22 0 8 0 mtagpl 96 6 0 4 2 1 1 1 0 8 0 mbufpl 256 145572 0 145482 15 4 11 12 0 8 3 mbufpl: pool(0xffffffff827ef020:mbufpl): free list modified: page 0xfffffd8062607000; item ordinal 0; addr 0xfffffd8062607c00 (p 0xfffffd805e117000); offset 0x0=0x0 pool(mbufpl): free list modified: page 0xfffffd8062607000; item ordinal 0; addr 0xfffffd8062607c00 (p 0xfffffd805e117000); offset 0x0=0x0 mbufpl: pool(0xffffffff827ef020:mbufpl): page inconsistency: page 0xfffffd8062607000; item ordinal 1; addr 0x8b6800e43df49cc2 bufpl 280 3362 0 124 232 0 232 232 0 8 0 anonpl 16 49996 0 33438 78 1 77 77 0 107 10 amapchunkpl 152 1398 0 1268 12 2 10 10 0 158 4 amappl16 192 1591 0 680 53 4 49 53 0 8 3 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 69 0 63 1 0 1 1 0 8 0 amappl13 168 27 0 23 1 0 1 1 0 8 0 amappl12 160 52 0 46 1 0 1 1 0 8 0 amappl11 152 51 0 41 1 0 1 1 0 8 0 amappl10 144 12 0 9 1 0 1 1 0 8 0 amappl9 136 379 0 377 1 0 1 1 0 8 0 amappl8 128 314 0 275 2 0 2 2 0 8 0 amappl7 120 105 0 93 1 0 1 1 0 8 0 amappl6 112 25 0 20 1 0 1 1 0 8 0 amappl5 104 265 0 253 1 0 1 1 0 8 0 amappl4 96 422 0 396 1 0 1 1 0 8 0 amappl3 88 147 0 140 1 0 1 1 0 8 0 amappl2 80 1491 0 1427 2 0 2 2 0 8 0 amappl1 72 15186 0 14765 23 14 9 17 0 8 0 amappl 80 644 0 604 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 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 288 0 274 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 288 0 274 1 0 1 1 0 8 0 vmmpekpl 168 5930 0 5900 2 0 2 2 0 8 0 vmmpepl 168 42714 0 40703 134 34 100 111 0 357 7 vmsppl 272 287 0 274 2 1 1 2 0 8 0 pdppl 4096 582 0 548 6 1 5 6 0 8 0 pvpl 32 153326 0 133784 186 3 183 183 0 265 24 pmappl 200 287 0 274 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 255 0 28 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(ffffffff82474430) at panic+0x15c sys/kern/subr_prf.c:207 pool_do_get(ffffffff827ef020,2,ffff80001d6cd248) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff827ef020,2) at pool_get+0xb5 sys/kern/subr_pool.c:581 m_copym(fffffd8062607b00,0,1dc,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8062607b00,0,1dc,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000ac3760) at tcp_output+0x154d sys/netinet/tcp_output.c:673 tcp_usrreq(fffffd805da78008,9,fffffd8062607b00,0,0,ffff80001d71c760) at tcp_usrreq+0xa54 sosend(fffffd805da78008,0,ffff80001d6cd728,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:555 dofilewritev(ffff80001d71c760,4,ffff80001d6cd728,0,ffff80001d6cd810) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d71c760,ffff80001d6cd7c0,ffff80001d6cd810) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d6cd890) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7920, 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(ffffffff82474430) at panic+0x15c sys/kern/subr_prf.c:207 pool_do_get(ffffffff827ef020,2,ffff80001d6cd248) at pool_do_get+0x42a sys/kern/subr_pool.c:738 pool_get(ffffffff827ef020,2) at pool_get+0xb5 sys/kern/subr_pool.c:581 m_copym(fffffd8062607b00,0,1dc,2) at m_copym+0x174 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copym(fffffd8062607b00,0,1dc,2) at m_copym+0x174 sys/kern/uipc_mbuf.c:667 tcp_output(ffff800000ac3760) at tcp_output+0x154d sys/netinet/tcp_output.c:673 tcp_usrreq(fffffd805da78008,9,fffffd8062607b00,0,0,ffff80001d71c760) at tcp_usrreq+0xa54 sosend(fffffd805da78008,0,ffff80001d6cd728,0,0,80) at sosend+0x669 sys/kern/uipc_socket.c:555 dofilewritev(ffff80001d71c760,4,ffff80001d6cd728,0,ffff80001d6cd810) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80001d71c760,ffff80001d6cd7c0,ffff80001d6cd810) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff80001d6cd890) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7920, count: -12