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

From: Sasha Levin

Date: Mon Oct 05 2026 - 09:56:47 EST


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

Queued for 6.18, thanks.

--
Thanks,
Sasha