CVE-2023-52821Published May 21, 2024 · May 21Updated Oct 28
drm/panel: fix a possible null pointer dereference
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f40f5b87d974655984ce545515e5c9e57b371b3c · < 924e5814d1f84e6fa5cb19c6eceb69f066225229| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
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.
From the CVE record · Linux
The Linux kernel's versatile_panel_get_modes() can dereference a NULL pointer if drm_mode_duplicate() fails. The input does not specify an attacker action or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the affected drm/panel code should check their deployments; affected versions are not specified.