drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe · < 2d209b2f862f6b8bff549ede541590a8d119da23| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes
In cdv_intel_lvds_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
In the Linux kernel’s drm/gma500 driver, cdv_intel_lvds_get_modes() can dereference a NULL pointer if drm_mode_duplicate() fails. This can cause a kernel fault; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running the Linux kernel should check whether their version includes the drm/gma500 fix; affected versions are not specified.