drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 324bb707d2a53256f3c04ba2e86048427e2a822c · < f22def5970c423ea7f87d5247bd0ef91416b0658| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference
In tpg110_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 TPO TPG110 panel driver does not check whether drm_mode_duplicate() fails in tpg110_get_modes(). If it fails, the driver can dereference a null pointer. The input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running the Linux kernel should check whether their kernel includes the affected TPO TPG110 panel driver; affected versions are not specified.