Skip to content

drm/exynos: vidi: fix various memory corruption bugs

Jeongjun Park dri-devel linux-arm-kernel linux-samsung-soc lkml stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/exynos: vidi: use priv->vidi_dev for ctx lookup in vidi_connection_ioctl()drivers/gpu/drm/exynos/exynos_drm_drv.h drivers/gpu/drm/exynos/exynos_drm_vidi.c+14 -10 replies
2/2drm/exynos: vidi: fix to avoid directly dereferencing user pointerdrivers/gpu/drm/exynos/exynos_drm_vidi.c+18 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 6.19.y 6.18.y 0/2] drm/exynos: vidi: fix various memory corruption bugs

This backport patch should have been backported along with commit 52b330799e2d ("drm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to memory alloc/free"), but was written separately because some commits were missing.

https://lore.kernel.org/all/[email protected]/

After this patch is backported, we plan to write additional patches to backport to the remaining longterm kernels.

Jeongjun Park (2):
drm/exynos: vidi: use priv->vidi_dev for ctx lookup in vidi_connection_ioctl() drm/exynos: vidi: fix to avoid directly dereferencing user pointer

 drivers/gpu/drm/exynos/exynos_drm_drv.h  |  1 +
 drivers/gpu/drm/exynos/exynos_drm_vidi.c | 36 +++++++++++++++++++++++++++++++-----
 2 files changed, 32 insertions(+), 5 deletions(-)