Re: [PATCH v2 0/3] block: zero non-PI portion of auto integrity buffer
From: Martin K. Petersen
Date: Thu Jan 08 2026 - 16:37:39 EST
Caleb,
> For block devices capable of storing "opaque" metadata in addition to
> protection information, ensure the opaque bytes are initialized by the
> block layer's auto integrity generation. Otherwise, the contents of
> kernel memory can be leaked via the storage device. Two follow-on
> patches simplify the bio_integrity_prep() code a bit.
LGTM.
Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
--
Martin K. Petersen