CVE-2022-48756

drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 5c8290284402bf7d2c12269402b3177b899c78b7 < 6d9f8ba28f3747ca0f910a363e46f1114856dbbe ; affected 5c8290284402bf7d2c12269402b3177b899c78b7 < ca63eeb70fcb53c42e1fe54e1735a54d8e7759fd ; affected 5c8290284402bf7d2c12269402b3177b899c78b7 < 581317b1f001b7509041544d7019b75571daa100 ; affected 5c8290284402bf7d2c12269402b3177b899c78b7 < 79c0b5287ded74f4eacde4dfd8aa0a76cbd853b5 ; affected 5c8290284402bf7d2c12269402b3177b899c78b7 < 56480fb10b976581a363fd168dc2e4fbee87a1a7 ; affected 5c8290284402bf7d2c12269402b3177b899c78b7 < 2b7e7df1eacd280e561ede3e977853606871c951
Linux · Linuxaffected 4.3 ; unaffected 0 < 4.3 ; unaffected 4.14.265 ≤ 4.14.* ; unaffected 4.19.228 ≤ 4.19.* ; unaffected 5.4.176 ≤ 5.4.* ; unaffected 5.10.96 ≤ 5.10.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD