diff options
author | 2025-07-21 14:28:55 +0900 | |
---|---|---|
committer | 2025-07-24 22:55:29 -0500 | |
commit | 9b493ab6f35178afd8d619800df9071992f715de (patch) | |
tree | a98a202744827ffae53145d18bfaf13556b0cfce /tools/perf/scripts/python | |
parent | smb/server: add ksmbd_vfs_kern_path() (diff) | |
download | wireguard-linux-9b493ab6f35178afd8d619800df9071992f715de.tar.xz wireguard-linux-9b493ab6f35178afd8d619800df9071992f715de.zip |
ksmbd: fix null pointer dereference error in generate_encryptionkey
If client send two session setups with krb5 authenticate to ksmbd,
null pointer dereference error in generate_encryptionkey could happen.
sess->Preauth_HashValue is set to NULL if session is valid.
So this patch skip generate encryption key if session is valid.
Cc: stable@vger.kernel.org
Reported-by: zdi-disclosures@trendmicro.com # ZDI-CAN-27654
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions