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

Massimiliano Pellizzer massimiliano.pellizzer at canonical.com
Thu Nov 14 13:40:17 UTC 2024


[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




More information about the kernel-team mailing list