Hi,

This series fixes bug introduced by anonymous inode eptdev code and
rework the exception handing paths. 

And it tries to address a long suffering issue which may be backported
to stable kernels. 

Change for v3:
- Split it into 3 patches:
  1/3: Fix legacy bug.
  2/3: Fix new bug introduced by anonymous eptdev code.
  3/3: Rework error handling code.
Link to v2:
https://lore.kernel.org/all/[email protected]/

Change for v2:
- Add put_device() when __rpmsg_eptdev_open() failed.
Link to v1:
https://lore.kernel.org/all/[email protected]/

Dawei Li (3):
  rpmsg: char: Remove put_device() in rpmsg_eptdev_add()
  rpmsg: char: Fix UAF and memory leak in
    rpmsg_anonymous_eptdev_create()
  rpmsg: char: Rework exception handling of rpmsg_eptdev_add()

 drivers/rpmsg/rpmsg_char.c | 61 +++++++++++++++++++++-----------------
 1 file changed, 34 insertions(+), 27 deletions(-)

-- 
2.25.1


Reply via email to