[PATCH 0/3] Fix for drm_mode_config_cleanup issue
From: Michael Grzeschik
Date: Tue Apr 02 2019 - 09:49:24 EST
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