diff options
| author | 2023-01-10 17:55:20 -0300 | |
|---|---|---|
| committer | 2023-01-10 15:32:03 -0600 | |
| commit | 39e8db3c860e2678ce5a7d74193925876507c9eb (patch) | |
| tree | fb5cbca42dd71bdfd661772ed4195945b3d610d5 /include/uapi/linux/byteorder/ssh:/git:/git.zx2c4.com | |
| parent | cifs: remove redundant assignment to the variable match (diff) | |
cifs: fix double free on failed kerberos auth
If session setup failed with kerberos auth, we ended up freeing
cifs_ses::auth_key.response twice in SMB2_auth_kerberos() and
sesInfoFree().
Fix this by zeroing out cifs_ses::auth_key.response after freeing it
in SMB2_auth_kerberos().
Fixes: a4e430c8c8ba ("cifs: replace kfree() with kfree_sensitive() for sensitive data")
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
