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

From: Sasha Levin

Date: Mon Oct 05 2026 - 09:54:24 EST


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

Queued for 7.2, thanks.

--
Thanks,
Sasha