[PATCH 6.1.y 5.15.y 5.10.y 0/3] drm/exynos: vidi: fix various memory corruption bugs

From: Jeongjun Park

Date: Fri Feb 27 2026 - 00:34:27 EST


This backport patch applies to the rest of the longterm kernel and fixes
a bug in the Exynos VIDI driver.

https://lore.kernel.org/all/20260119082553.195181-1-aha310510@xxxxxxxxx/

Jeongjun Park (3):
drm/exynos: vidi: use priv->vidi_dev for ctx lookup in vidi_connection_ioctl()
drm/exynos: vidi: fix to avoid directly dereferencing user pointer
drm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to memory alloc/free

drivers/gpu/drm/exynos/exynos_drm_drv.h | 1 +
drivers/gpu/drm/exynos/exynos_drm_vidi.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------
2 files changed, 60 insertions(+), 13 deletions(-)