ACK: [SRU][F][PATCH 0/1] CVE-2023-52821

Yuxuan Luo yuxuan.luo at canonical.com
Wed Nov 20 18:56:07 UTC 2024


On Thu, Nov 14, 2024 at 02:40:17PM +0100, Massimiliano Pellizzer wrote:

Acked-by: Yuxuan Luo <yuxuan.luo at canonical.com>

> [Impact]
> 
> drm/panel: fix a possible null pointer dereference
> 
> In versatile_panel_get_modes(), the return value of drm_mode_duplicate()
> is assigned to mode, which will lead to a NULL pointer dereference
> on failure of drm_mode_duplicate(). Add a check to avoid npd.
> 
> [Fix]
> 
> Noble:  Not affected
> Jammy:  Fixed
> Focal:	Backported from mainline
> Bionic: Not affected
> Xenial: Not affected
> 
> [Test Case]
> 
> Compile tested only.
> 
> [Where problems could occur]
> 
> A regression here is unlikely due to the very limited
> scope of the patch.
> 
> Ma Ke (1):
>   drm/panel: fix a possible null pointer dereference
> 
>  drivers/gpu/drm/panel/panel-arm-versatile.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> -- 
> 2.43.0
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list