linux/fs/smb/server
Thorsten Blum 441336115d ksmbd: Don't log keys in SMB3 signing and encryption key generation
When KSMBD_DEBUG_AUTH logging is enabled, generate_smb3signingkey() and
generate_smb3encryptionkey() log the session, signing, encryption, and
decryption key bytes. Remove the logs to avoid exposing credentials.

Fixes: e2f34481b2 ("cifsd: add server-side procedures for SMB3")
Cc: stable@vger.kernel.org
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2026-03-08 21:28:39 -05:00
..
mgmt treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
Kconfig ksmbd: Compare MACs in constant time 2026-02-22 21:27:28 -06:00
Makefile ksmbd: add procfs interface for runtime monitoring and statistics 2026-02-08 20:25:16 -06:00
asn1.c
asn1.h
auth.c ksmbd: Don't log keys in SMB3 signing and encryption key generation 2026-03-08 21:28:39 -05:00
auth.h ksmbd: Use HMAC-SHA256 library for message signing and key generation 2025-11-30 21:11:43 -06:00
connection.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
connection.h ksmbd: add procfs interface for runtime monitoring and statistics 2026-02-08 20:25:16 -06:00
crypto_ctx.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
crypto_ctx.h ksmbd: Use HMAC-MD5 library for NTLMv2 2025-11-30 21:11:43 -06:00
glob.h
ksmbd_netlink.h ksmbd: add max ip connections parameter 2025-09-30 21:37:54 -05:00
ksmbd_spnego_negtokeninit.asn1
ksmbd_spnego_negtokentarg.asn1
ksmbd_work.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
ksmbd_work.h
misc.c ksmbd: Replace strcpy + strcat to improve convert_to_nt_pathname 2025-11-30 21:11:45 -06:00
misc.h ksmbd: add procfs interface for runtime monitoring and statistics 2026-02-08 20:25:16 -06:00
ndr.c
ndr.h
ntlmssp.h
oplock.c ksmbd: fix use-after-free in smb_lazy_parent_lease_break_close() 2026-03-08 21:28:39 -05:00
oplock.h ksmbd: fix use-after-free by using call_rcu() for oplock_info 2026-03-08 21:28:39 -05:00
proc.c ksmbd: add procfs interface for runtime monitoring and statistics 2026-02-08 20:25:16 -06:00
server.c kmalloc_obj treewide refactoring for v7.0-rc1 2026-02-21 11:02:58 -08:00
server.h ksmbd: add max ip connections parameter 2025-09-30 21:37:54 -05:00
smb2misc.c smb/server: remove unused nterr.h 2025-12-09 21:01:16 -06:00
smb2ops.c ksmbd: add procfs interface for runtime monitoring and statistics 2026-02-08 20:25:16 -06:00
smb2pdu.c smb: server: fix use-after-free in smb2_open() 2026-03-08 21:28:39 -05:00
smb2pdu.h smb: update some doc references 2026-03-01 17:59:52 -06:00
smb_common.c ksmbd: add procfs interface for runtime monitoring and statistics 2026-02-08 20:25:16 -06:00
smb_common.h ksmbd: add procfs interface for runtime monitoring and statistics 2026-02-08 20:25:16 -06:00
smbacl.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
smbacl.h
smbfsctl.h
stats.h ksmbd: add procfs interface for runtime monitoring and statistics 2026-02-08 20:25:16 -06:00
transport_ipc.c ksmbd: ipc: fix use-after-free in ipc_msg_send_request 2025-11-30 21:11:45 -06:00
transport_ipc.h
transport_rdma.c ksmbd: fix signededness bug in smb_direct_prepare_negotiation() 2026-02-22 21:27:33 -06:00
transport_rdma.h smb: server: pass ksmbd_transport to get_smbd_max_read_write_size() 2025-09-28 18:29:52 -05:00
transport_tcp.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
transport_tcp.h ksmbd: fix use-after-free in __smb2_lease_break_noti() 2025-04-14 22:21:26 -05:00
unicode.c
unicode.h
vfs.c vfs-7.0-rc1.misc.2 2026-02-16 13:00:36 -08:00
vfs.h smb/server: use end_removing_noperm for for target of smb2_create_link() 2025-11-14 13:15:56 +01:00
vfs_cache.c ksmbd: fix use-after-free in proc_show_files due to early rcu_read_unlock 2026-03-08 21:28:39 -05:00
vfs_cache.h ksmbd: allow a filename to contain colons on SMB3.1.1 posix extensions 2025-08-31 17:48:38 -05:00
xattr.h