Re: [PATCH AUTOSEL 6.18-5.10] sctp: auth: propagate HMAC calculation errors to callers

From
Sasha Levin <sashal@kernel.org>
Date
2026-10-20 15:00:55
Also in
linux-patches, linux-sctp, lkml, stable
Reply to
Xin Long, 2026-10-20
On Tue, Oct 20, 2026 at 09:52:16AM -0400, Xin Long wrote:
On Mon, Oct 19, 2026 at 1:28 PM Eric Biggers [off-list ref] wrote:
quoted
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
Thread (34 messages) 34 messages, 3 authors, last reply 23d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help