lkml.org 
[lkml]   [2020]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[char-misc-next 0/3] mei: bus: null derefence in rx
Date
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

\
 
 \ /
  Last update: 2020-10-29 10:56    [W:0.070 / U:0.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site