drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 5c8290284402bf7d2c12269402b3177b899c78b7 · < 2b7e7df1eacd280e561ede3e977853606871c951| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable
The function performs a check on the "phy" input parameter, however, it is used before the check.
Initialize the "dev" variable after the sanity check to avoid a possible NULL pointer dereference.
Addresses-Coverity-ID: 1493860 ("Null pointer dereference")
From the CVE record · Linux
The Linux kernel’s msm_dsi_phy_enable function uses its phy parameter before checking whether it is valid. A NULL phy parameter could cause a NULL pointer dereference. The input does not establish how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions were not specified.