aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/zynq-fpga.c
diff options
context:
space:
mode:
authorPaulo Alcantara <[email protected]>2022-10-14 20:14:54 +0000
committerSteve French <[email protected]>2022-10-15 15:04:38 +0000
commitb854b4ee66437e6e1622fda90529c814978cb4ca (patch)
tree478979757303c662c91b32695d38c8d5be5686cc /drivers/fpga/zynq-fpga.c
parentcifs: fix static checker warning (diff)
downloadkernel-b854b4ee66437e6e1622fda90529c814978cb4ca.tar.gz
kernel-b854b4ee66437e6e1622fda90529c814978cb4ca.zip
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 <[email protected]> Signed-off-by: Paulo Alcantara (SUSE) <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions