[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190402134904.588-1-m.grzeschik@pengutronix.de>
Date: Tue, 2 Apr 2019 15:49:01 +0200
From: Michael Grzeschik <m.grzeschik@...gutronix.de>
To: p.zabel@...gutronix.de, airlied@...ux.ie,
gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org, linux@...linux.org.uk,
dri-devel@...ts.freedesktop.org, rafael@...nel.org,
kernel@...gutronix.de
Subject: [PATCH 0/3] Fix for drm_mode_config_cleanup issue
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
Powered by blists - more mailing lists