NULL pointer dereference in Linux

CVE-2022-48756

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")

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 11.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 5c8290284402bf7d2c12269402b3177b899c78b7, 4.3, 0
  • Linux Kernel — versions 5.17

Weakness classification (CWE)

References