Skip to content

drm/atmel-hlcdc: fix memory bugs

Ludovic Desroches dri-devel linux-arm-kernel lkml 1 version Applied

Status from this message: Applied to drm-misc-next.

Get series with b4
b4 am [email protected] change-id 20251024-lcd_fixes_mainlining-a1234d81a768

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2drm/atmel-hlcdc: fix memory leak from the atomic_destroy_state callbackdrivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c+1 -20 replies
2/2drm/atmel-hlcdc: fix use-after-free of drm_crtc_commit after releasedrivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c+1 -20 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchManikandan Muralidharan
SeriesR-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] drm/atmel-hlcdc: fix memory bugs

These two patches fix a memory leak and a use after free bugs.

The memory leak bug had been reported by several users. There were some attempts to fix it in the past, but the resolutions proposed caused other breakages.

---
Ludovic Desroches (2):
drm/atmel-hlcdc: fix memory leak from the atomic_destroy_state callback drm/atmel-hlcdc: fix use-after-free of drm_crtc_commit after release

 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

---
base-commit: 72fb0170ef1f45addf726319c52a0562b6913707
change-id: 20251024-lcd_fixes_mainlining-a1234d81a768

Best regards,

Signature · 1 line
Ludovic Desroches <[email protected]>