drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 89c78134cc54dff016c83367912eb055637fa50c · < 46d2ef272957879cbe30a884574320e7f7d78692| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes
In psb_intel_lvds_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a possible NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd.
From the CVE record · Linux
The Linux kernel’s drm/gma500 driver may dereference a NULL pointer in psb_intel_lvds_get_modes() if drm_mode_duplicate() fails. The input does not establish how an attacker could trigger the failure or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the drm/gma500 driver should check their versions; affected versions are not specified.