Skip to content

mei: bus: null derefence in rx

Tomas Winkler lkml stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mei: protect mei_cl_mtu from null dereferencedrivers/misc/mei/client.h+2 -20 replies
2/3mei: bus: do not start a read for disconnected clientsdrivers/misc/mei/bus.c+6 -20 replies
3/3mei: bus: deinitialize callback functions on init failuredrivers/misc/mei/bus.c+8 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.25.4