linux/drivers/misc/mei
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
..
hdcp mei: hdcp: fix mei_hdcp_verify_mprime() input parameter 2020-08-18 15:39:38 +02:00
bus-fixup.c mei: bus: unconditionally enable clients with vtag support 2020-08-18 15:44:44 +02:00
bus.c mei: bus: use zero vtag for bus clients. 2020-08-18 15:44:44 +02:00
client.c mei: handle tx queue flushing for vtag connections 2020-08-18 15:44:44 +02:00
client.h mei: protect mei_cl_mtu from null dereference 2020-11-03 10:13:48 +01:00
debugfs.c mei: add vtag support bit in client properties 2020-08-18 15:44:43 +02:00
dma-ring.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hbm.c mei: add support for mei extended header. 2020-08-18 15:44:43 +02:00
hbm.h mei: hbm: add capabilities message 2020-08-18 15:44:43 +02:00
hw-me-regs.h mei: me: add MEI device for KBP with ITPS capability 2020-06-29 18:40:26 +02:00
hw-me.c mei: add device kind to sysfs 2020-07-29 16:21:13 +02:00
hw-me.h mei: add device kind to sysfs 2020-07-29 16:21:13 +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: hw: use sizeof of variable instead of struct type 2020-07-23 19:33:09 +02:00
hw-txe.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw-virtio.c mei: virtio: virtualization frontend driver 2020-08-18 15:44:44 +02:00
hw.h mei: hw: Replace zero-length array with flexible-array member 2020-10-30 16:57:41 -05:00
init.c mei: abstract fw status register read. 2019-11-07 09:35:49 +01:00
interrupt.c mei: add support for mei extended header. 2020-08-18 15:44:43 +02:00
Kconfig mei: virtio: virtualization frontend driver 2020-08-18 15:44:44 +02:00
main.c mei: add connect with vtag ioctl 2020-08-18 15:44:44 +02:00
Makefile mei: virtio: virtualization frontend driver 2020-08-18 15:44:44 +02:00
mei_dev.h mei: add a vtag map for each client 2020-08-18 15:44:44 +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
pci-me.c mei: add device kind to sysfs 2020-07-29 16:21:13 +02:00
pci-txe.c PM: sleep: core: Rename DPM_FLAG_NEVER_SKIP 2020-04-24 21:33:09 +02:00