aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-add.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2025-07-21 05:28:55 +0000
committerSteve French <[email protected]>2025-07-25 03:55:29 +0000
commit9b493ab6f35178afd8d619800df9071992f715de (patch)
treea98a202744827ffae53145d18bfaf13556b0cfce /lib/crypto/mpi/mpi-add.c
parentsmb/server: add ksmbd_vfs_kern_path() (diff)
downloadkernel-9b493ab6f35178afd8d619800df9071992f715de.tar.gz
kernel-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: [email protected] Reported-by: [email protected] # ZDI-CAN-27654 Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions