summaryrefslogtreecommitdiffstats
path: root/drivers/misc/habanalabs/gaudi/gaudi_coresight.c
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2020-10-29 11:54:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-03 10:13:48 +0100
commitbcbc0b2e275f0a797de11a10eff495b4571863fc (patch)
tree4b5c88280d4194ac1ce38394bd943ccf623ac0b8 /drivers/misc/habanalabs/gaudi/gaudi_coresight.c
parent3cea11cd5e3b00d91caf0b4730194039b45c5891 (diff)
downloadlinux-stable-bcbc0b2e275f0a797de11a10eff495b4571863fc.tar.gz
linux-stable-bcbc0b2e275f0a797de11a10eff495b4571863fc.tar.bz2
linux-stable-bcbc0b2e275f0a797de11a10eff495b4571863fc.zip
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>
Diffstat (limited to 'drivers/misc/habanalabs/gaudi/gaudi_coresight.c')
0 files changed, 0 insertions, 0 deletions