diff options
| author | Thomas Huth <thuth@redhat.com> | 2026-08-12 21:38:04 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 22:38:22 +0900 |
| commit | 0cb81ed8b55b91f5358cb5dad7dd63dfa19178eb (patch) | |
| tree | 89b01c747c93eab6c6ae57a1acc7188e57a18c05 /scripts/stackusage | |
| parent | 9a4bd6507c21f66e84dc021705a4b9d84773111e (diff) | |
| download | linux-0cb81ed8b55b91f5358cb5dad7dd63dfa19178eb.tar.gz linux-0cb81ed8b55b91f5358cb5dad7dd63dfa19178eb.zip | |
smb: server: Free sensitive data in connection.c with kfree_sensitive()
struct ksmbd_conn contains an embedded struct ntlmssp_auth with the
ciphertext[] and cryptkey[] arrays, so to avoid leaking this information
via the heap, it should be freed with kfree_sensitive().
While we're at it, also use kfree_sensitive() for freeing preauth_info
in ksmbd_conn_free() to avoid that the Preauth_HashValue[] could leak
via the heap here, too.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
