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 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/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/3drm/exynos: vidi: fix to avoid directly dereferencing user pointerdrivers/gpu/drm/exynos/exynos_drm_vidi.c+18 -40 replies
3/3drm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to memory alloc/freedrivers/gpu/drm/exynos/exynos_drm_vidi.c+32 -60 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.12.y 0/3] drm/exynos: vidi: fix various memory corruption bugs

This backport patch is for 6.12.y only and fixes a bug in the Exynos VIDI driver.

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

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 | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 64 insertions(+), 11 deletions(-)