drm/msm: Fix null pointer dereference on pointer edp
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ab5b0107ccf3821a6837b0f2819270d6fa0b278f · < 91a340768b012f5b910a203a805b97a345b3db37| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/msm: Fix null pointer dereference on pointer edp
The initialization of pointer dev dereferences pointer edp before edp is null checked, so there is a potential null pointer deference issue. Fix this by only dereferencing edp after edp has been null checked.
Addresses-Coverity: ("Dereference before null check")
From the CVE record · Linux
The Linux kernel's drm/msm code dereferences an edp pointer before checking whether it is null, creating a potential null pointer dereference. The input does not establish how an attacker could trigger it or specify network access, authentication, or user-interaction requirements.
Engineers running the Linux kernel should check whether their version contains the affected drm/msm code; affected versions were not provided.