linux/drivers/misc/mei
Alexander Usyskin 23253c31c6 mei: do not access freed cb in blocking write
The mei_cl_write function is giving up on a write cb ownership after it
was sent or queued. The write cb is then freed in the completion
handler. Especially during blocking write mei_cl_write function waits
for the completion handler and then access the freed memory to fetch the
written size.  The quick fix is to store the buffer size prior to
sending, the size is not altered during the flow.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-08-03 17:19:09 -07:00
..
amthif.c mei: drop iamthif_mtu from device structure 2015-05-24 11:13:48 -07:00
bus.c mei: nfc: fix deadlock on shutdown/suspend path 2015-07-07 15:04:12 -07:00
client.c mei: do not access freed cb in blocking write 2015-08-03 17:19:09 -07:00
client.h mei: support for fixed address clients 2015-05-24 11:13:48 -07:00
debugfs.c mei: export hbm features to debugfs under devstate 2015-05-24 11:20:20 -07:00
hbm.c mei: support for fixed address clients 2015-05-24 11:13:48 -07:00
hbm.h mei: fix hbm MEI_HBM_STARTED ambiguity 2014-11-07 09:59:08 -08:00
hw-me-regs.h mei: read and print all six FW status registers 2014-11-26 19:06:41 -08:00
hw-me.c mei: me: wait for power gating exit confirmation 2015-06-13 19:48:02 -07:00
hw-me.h mei: me: change power gating function name conventions 2015-03-01 19:36:59 -08:00
hw-txe-regs.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.c mei: me: wait for power gating exit confirmation 2015-06-13 19:48:02 -07:00
hw-txe.h mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
hw.h mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
init.c mei: nfc: fix deadlock on shutdown/suspend path 2015-07-07 15:04:12 -07:00
interrupt.c mei: support for fixed address clients 2015-05-24 11:13:48 -07:00
Kconfig mei: fix compilation error with missing WATCHDOG_CORE 2014-02-14 10:13:46 -08:00
main.c mei: prevent unloading mei hw modules while the device is opened. 2015-07-22 21:31:05 -07:00
Makefile mei: me: add io register tracing 2015-03-01 19:36:59 -08:00
mei_dev.h mei: me: wait for power gating exit confirmation 2015-06-13 19:48:02 -07:00
mei-trace.c mei: me: add io register tracing 2015-03-01 19:36:59 -08:00
mei-trace.h mei: trace: remove unused TRACE_SYSTEM_STRING 2015-04-13 15:27:19 +02:00
nfc.c mei: nfc: fix deadlock on shutdown/suspend path 2015-07-07 15:04:12 -07:00
pci-me.c Char/Misc driver patches for 4.1-rc1 2015-04-21 09:42:58 -07:00
pci-txe.c mei: txe: fix incorrect indentation 2015-05-24 11:13:49 -07:00
wd.c mei: add a reference from the host client to the me client 2015-05-24 11:13:10 -07:00