From: Herbert Xu <herbert@gondor.apana.org.au>
To: "Jan Sebastian Götte" <linux@jaseg.de>
Cc: "David S. Miller" <davem@davemloft.net>,
David Howells <dhowells@redhat.com>,
Jakub Kicinski <kuba@kernel.org>,
Michael Bommarito <michael.bommarito@gmail.com>,
Jeffrey Altman <jaltman@auristor.com>,
linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-hardening@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] crypto/krb5: use kfree_sensitive() for derived key buffers
Date: Sat, 15 Aug 2026 11:26:04 +1000 [thread overview]
Message-ID: <an_ALPtrIGVPoGhh@gondor.apana.org.au> (raw)
In-Reply-To: <20260803192621.329577-1-linux@jaseg.de>
On Mon, Aug 03, 2026 at 09:26:21PM +0200, Jan Sebastian Götte wrote:
> crypto_krb5_prepare_encryption() and crypto_krb5_prepare_checksum()
> free the buffer holding the freshly derived keys with plain kfree(),
> leaving the key material behind in the freed slab object.
>
> Fixes: 3936f02bf2d3 ("crypto/krb5: Implement Kerberos crypto core")
> Cc: stable@vger.kernel.org
> Signed-off-by: Jan Sebastian Götte <linux@jaseg.de>
> ---
> crypto/krb5/krb5_api.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
prev parent reply other threads:[~2026-08-15 1:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-03 19:26 [PATCH] crypto/krb5: use kfree_sensitive() for derived key buffers Jan Sebastian Götte
2026-08-15 1:26 ` Herbert Xu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=an_ALPtrIGVPoGhh@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=davem@davemloft.net \
--cc=dhowells@redhat.com \
--cc=jaltman@auristor.com \
--cc=kuba@kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@jaseg.de \
--cc=michael.bommarito@gmail.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.