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

Ludovic Desroches posted 2 patches 3 months, 2 weeks ago
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
[PATCH 0/2] drm/atmel-hlcdc: fix memory bugs
Posted by Ludovic Desroches 3 months, 2 weeks ago
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.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
---
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,
-- 
Ludovic Desroches <ludovic.desroches@microchip.com>
Re: [PATCH 0/2] drm/atmel-hlcdc: fix memory bugs
Posted by Manikandan.M@microchip.com 2 weeks, 3 days ago
On 24/10/25 9:44 pm, Ludovic Desroches wrote:
> 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.
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>

Applied to drm-misc-next.

Thanks!
> ---
> 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,

-- 
Thanks and Regards,
Manikandan M.

Re: [PATCH 0/2] drm/atmel-hlcdc: fix memory bugs
Posted by Manikandan.M@microchip.com 1 month ago
On 24/10/25 9:44 pm, Ludovic Desroches wrote:
> 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.
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
> ---
> 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(-)
> ---

For the Entire series,

Reviewed-by: Manikandan Muralidharan <manikandan.m@microchip.com>

Thanks Ludovic.

> base-commit: 72fb0170ef1f45addf726319c52a0562b6913707
> change-id: 20251024-lcd_fixes_mainlining-a1234d81a768
> 
> Best regards,

-- 
Thanks and Regards,
Manikandan M.