Ronnie Sahlberg 8b6c58458e cifs: verify that tcon is valid before dereference in cifs_kill_sb
On umount, cifs_sb->tlink_tree might contain entries that do not represent
a valid tcon.
Check the tcon for error before we dereference it.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Cc: stable@vger.kernel.org
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Reported-by: Xiaoli Feng <xifeng@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2022-04-14 00:07:36 -05:00
..
2021-06-20 21:28:17 -05:00
2022-04-04 22:40:14 -05:00
2020-06-01 00:10:18 -05:00
2022-01-19 11:21:08 -06:00
2022-02-13 14:56:16 -06:00
2022-03-18 09:29:05 +00:00
2022-03-18 09:29:05 +00:00
2022-01-19 11:21:08 -06:00
2019-01-24 09:37:33 -06:00
2021-04-25 16:28:23 -05:00