lkml.org 
[lkml]   [2019]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] Fix for drm_mode_config_cleanup issue
Date
Fix the issue: "drm/imx: Crash in drm_mode_config_cleanup".

Which was documented here:

https://www.spinics.net/lists/dri-devel/msg189388.html

And tried to address with this:

https://patchwork.kernel.org/patch/10633297/
https://patchwork.kernel.org/patch/10633299/

This series fixes the possible case of use after free by adding action
functions to the devres cleanup path. So it will ensure the generic
cleanup code will not use the already freed memory.


Michael Grzeschik (3):
ipuv3-crtc: add remove action for devres data
ipuv3-ldb: add init list head on bind
ipuv3-ldb: add remove action for devres data

drivers/gpu/drm/imx/imx-ldb.c | 35 ++++++++++++++++++++++++++++++++
drivers/gpu/drm/imx/ipuv3-crtc.c | 12 +++++++++++
2 files changed, 47 insertions(+)

--
2.20.1

\
 
 \ /
  Last update: 2019-04-02 15:49    [W:0.067 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site