aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/Kconfig
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2019-07-16 10:41:46 +1000
committerSteve French <stfrench@microsoft.com>2019-07-15 21:20:09 -0500
commit88a92c913cef09e70b1744a8877d177aa6cb2189 (patch)
tree963990acacc7764fd1d094cba922547489d866b1 /fs/cifs/Kconfig
parentcifs: fix crash in cifs_dfs_do_automount (diff)
downloadlinux-dev-88a92c913cef09e70b1744a8877d177aa6cb2189.tar.xz
linux-dev-88a92c913cef09e70b1744a8877d177aa6cb2189.zip
cifs: fix crash in smb2_compound_op()/smb2_set_next_command()
RHBZ: 1722704 In low memory situations the various SMB2_*_init() functions can fail to allocate a request PDU and thus leave the request iovector as NULL. If we don't check the return code for failure we end up calling smb2_set_next_command() with a NULL iovector causing a crash when it tries to dereference it. CC: Stable <stable@vger.kernel.org> Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/Kconfig')
0 files changed, 0 insertions, 0 deletions