Files
linux-st/fs
Enzo Matsumiya 9e3c9efa7c cifs: fix small mempool leak in SMB2_negotiate()
commit 27893dfc12 upstream.

In some cases of failure (dialect mismatches) in SMB2_negotiate(), after
the request is sent, the checks would return -EIO when they should be
rather setting rc = -EIO and jumping to neg_exit to free the response
buffer from mempool.

Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Cc: stable@vger.kernel.org
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-08 12:28:04 +02:00
..
2022-08-17 14:24:07 +02:00
2022-06-29 09:03:25 +02:00
2022-07-02 16:41:14 +02:00
2022-06-09 10:22:55 +02:00
2022-06-09 10:23:09 +02:00
2022-07-02 16:41:17 +02:00
2022-07-12 16:35:08 +02:00
2022-07-02 16:41:17 +02:00