[char-misc-next 0/3] mei: bus: null derefence in rx

From: Tomas Winkler
Date: Thu Oct 29 2020 - 05:55:16 EST


Fix race in receive callback for drivers on me client
bus, that results in null dereferencing and improve
the error handling.
The first patch 'mei: protect mei_cl_mtu from null dereference'
itself is sufficient to prevent the failure and is intended
for stable.


Alexander Usyskin (3):
mei: protect mei_cl_mtu from null dereference
mei: bus: do not start a read for disconnected clients
mei: bus: deinitialize callback functions on init failure

drivers/misc/mei/bus.c | 18 ++++++++++++++----
drivers/misc/mei/client.h | 4 ++--
2 files changed, 16 insertions(+), 6 deletions(-)

--
2.25.4