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

From: Christoph Hellwig
Date: Thu Dec 18 2025 - 03:56:25 EST


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@xxxxxx>

Please send this to Jens as a fix ASAP.