diff options
author | Paulo Alcantara <pc@cjr.nz> | 2022-10-14 17:14:54 -0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-10-15 10:04:38 -0500 |
commit | b854b4ee66437e6e1622fda90529c814978cb4ca (patch) | |
tree | 478979757303c662c91b32695d38c8d5be5686cc /fs/dlm/recoverd.c | |
parent | a9e17d3d74d14e5fd10d54f0a07e0fce4e5f80dd (diff) |
cifs: fix double-fault crash during ntlmssp
The crash occurred because we were calling memzero_explicit() on an
already freed sess_data::iov[1] (ntlmsspblob) in sess_free_buffer().
Fix this by not calling memzero_explicit() on sess_data::iov[1] as
it's already by handled by callers.
Fixes: a4e430c8c8ba ("cifs: replace kfree() with kfree_sensitive() for sensitive data")
Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/dlm/recoverd.c')
0 files changed, 0 insertions, 0 deletions