git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 11/11] reftable/table: fix OOB read on truncated table

From
Patrick Steinhardt <ps@pks.im>
Date
Jun 24, 2026, 09:46 UTC
Message-ID
<ajuncy95aopgDt-b@pks.im>
In-Reply-To
<20260624181426.NJDNpVd1RE-qJjBVh5jtQg@awo.kakao.com>
On Wed, Jun 24, 2026 at 06:14:26PM +0900, oxsignal wrote:
Show 17 quoted lines
> Hi Patrick,
> 
> Thanks for the patch series, for adding the dedicated reftable fuzzer, and for
> the credit.
> 
> I reviewed the cover letter and the reftable hardening patches. Patch 05/11
> matches the OOB write case I reported:
> the new minimum block-size validation before handling the log block prevents
> the bogus inflated-size underflow from reaching the inflate/copy path.
> 
> The rest of the series also looks like a good cleanup of the corrupted reftable
> parser surface, especially the restart-count/restart-offset and truncated-table
> checks.
> If I find any remaining malformed-table case that is not covered by this
> series, I will follow up with the reproducer.
> 
> Thanks again for handling this so quickly.
Perfect, thanks for the report and reading through the patches!
Patrick
Message 1 of 1 in “Re: [PATCH 11/11] reftable/table: fix OOB read on truncated table”
  1. Patrick SteinhardtJun 24, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.