Alexander Usyskin bcbc0b2e27 mei: protect mei_cl_mtu from null dereference
A receive callback is queued while the client is still connected
but can still be called after the client was disconnected. Upon
disconnect cl->me_cl is set to NULL, hence we need to check
that ME client is not-NULL in mei_cl_mtu to avoid
null dereference.

Cc: <stable@vger.kernel.org>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20201029095444.957924-2-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-03 10:13:48 +01:00
..
2020-08-18 15:44:44 +02:00
2020-08-18 15:44:43 +02:00
2020-07-29 16:21:13 +02:00
2020-07-29 16:21:13 +02:00
2019-11-07 09:35:49 +01:00
2020-08-18 15:44:44 +02:00
2020-08-18 15:44:44 +02:00
2020-07-29 16:21:13 +02:00