1
0
Fork 0
alistair23-linux/drivers/misc/mei
Alexander Usyskin 761fb68292 mei: protect mei_cl_mtu from null dereference
commit bcbc0b2e27 upstream.

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-18 19:20:30 +01:00
..
hdcp mei: hdcp: bind only with i915 on the same PCH 2020-02-01 09:34:35 +00:00
Kconfig mei: hdcp: use own Kconfig file 2019-04-25 19:33:34 +02:00
Makefile mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
bus-fixup.c mei: avoid FW version request on Ibex Peak and earlier 2019-10-04 17:38:50 +02:00
bus.c mei: bus: don't clean driver pointer 2020-07-22 09:33:13 +02:00
client.c mei: release me_cl object reference 2020-05-27 17:46:47 +02:00
client.h mei: protect mei_cl_mtu from null dereference 2020-11-18 19:20:30 +01:00
debugfs.c Driver Core and debugfs changes for 5.3-rc1 2019-07-12 12:24:03 -07:00
dma-ring.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hbm.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hbm.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw-me-regs.h mei: me: add cedar fork device ids 2020-04-08 09:08:42 +02:00
hw-me.c mei: avoid FW version request on Ibex Peak and earlier 2019-10-04 17:38:50 +02:00
hw-me.h mei: avoid FW version request on Ibex Peak and earlier 2019-10-04 17:38:50 +02:00
hw-txe-regs.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw-txe.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw-txe.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
init.c mei: expose device state in sysfs 2019-04-25 19:33:34 +02:00
interrupt.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
main.c drivers: Introduce device lookup variants by device type 2019-07-30 13:07:42 +02:00
mei-trace.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
mei-trace.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
mei_dev.h mei: avoid FW version request on Ibex Peak and earlier 2019-10-04 17:38:50 +02:00
pci-me.c mei: me: add cedar fork device ids 2020-04-08 09:08:42 +02:00
pci-txe.c mei: Use dev_get_drvdata where possible 2019-07-30 20:32:53 +02:00