Re: [PATCH 6.12.y] tpm: fix off-by-four bounds check in tpm2_get_random()

From: Sasha Levin

Date: Mon Oct 05 2026 - 09:55:41 EST


> Fix this by checking the response length against 'offset', which
> already includes the skipped parameter size field.

Queued for 6.12, thanks.

--
Thanks,
Sasha