Re: [PATCH 01/20] block: validate pi_offset integrity limit

Christoph Hellwig
2025-12-18T08:53:08Z

On Tue, Dec 16, 2025 at 10:34:35PM -0700, Caleb Sander Mateos wrote:
> The PI tuple must be contained within the metadata value, so validate
> that pi_offset + pi_tuple_size <= metadata_size. This guards against
> block drivers that report invalid pi_offset values.

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>

Please send this to Jens as a fix ASAP.