Re: [PATCH AUTOSEL 6.18-5.10] sctp: auth: propagate HMAC calculation errors to callers
From: Sasha Levin
Date: Tue Oct 20 2026 - 11:22:23 EST
On Tue, Oct 20, 2026 at 09:52:16AM -0400, Xin Long wrote:
>On Mon, Oct 19, 2026 at 1:28 PM Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
>> I don't think this backport can be considered complete without handling
>> that case.
>
>Agreed. We should return the error from crypto_shash_setkey() when
>it fails in sctp_auth_calculate_hmac().
I've dropped it from all trees. If you'd like it in stable, I'm happy to
take backports that also return the crypto_shash_setkey() error.
--
Thanks,
Sasha