drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc (Linux Linux)

CVE-2022-48749
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc The function performs a check on the "ctx" input parameter, however, it is used before the check. Initialize the "base" variable after the sanity check to avoid a possible NULL pointer dereference. Addresses-Coverity-ID: 1493866 ("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 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b < 93a6e920d8ccb4df846c03b6e72f7e08843d294c ; affected 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b < 8f069f6dde518dfebe86e848508c07e497bd9298 ; affected 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b < 1ebc18836d5df09061657f8c548e594cbb519476 ; affected 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b < 170b22234d5495f5e0844246e23f004639ee89ba
Linux · Linuxaffected 5.8 ; unaffected 0 < 5.8 ; unaffected 5.10.96 ≤ 5.10.* ; unaffected 5.15.19 ≤ 5.15.* ; unaffected 5.16.5 ≤ 5.16.* ; unaffected 5.17 ≤ *

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