smb: server: Clear Preauth_HashValue in smb2pdu.c with kfree_sensitive()

struct preauth_session contains the Preauth_HashValue[] array that
might contain sensitive data. Use kfree_sensitive() to clear it
before returning the memory to the heap.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
This commit is contained in:
Thomas Huth 2026-08-11 17:46:20 +02:00 • committed by Namjae Jeon
commit 5b90f78dc2