diff options
author | Sean Anderson <sean.anderson@linux.dev> | 2024-08-09 22:35:53 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2024-10-30 15:17:33 +0300 |
commit | 2e07c88914fc5289c21820b1aa94f058feb38197 (patch) | |
tree | 010554118c5f613ed79ef5cb011541d98e6cafd9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e91191efe75a94ae10fac4b384962068a8151886 (diff) | |
download | linux-2e07c88914fc5289c21820b1aa94f058feb38197.tar.xz |
drm: zynqmp_kms: Unplug DRM device before removal
Prevent userspace accesses to the DRM device from causing
use-after-frees by unplugging the device before we remove it. This
causes any further userspace accesses to result in an error without
further calls into this driver's internals.
Fixes: d76271d22694 ("drm: xlnx: DRM/KMS driver for Xilinx ZynqMP DisplayPort Subsystem")
Closes: https://lore.kernel.org/dri-devel/4d8f4c9b-2efb-4774-9a37-2f257f79b2c9@linux.dev/
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240809193600.3360015-2-sean.anderson@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions