NULL pointer dereference in Linux

CVE-2022-48749

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

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, 13.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 4259ff7ae509ed880b3a7bb685972c3a3bf4b74b, 5.8, 0
  • Linux Kernel — versions 5.17

Weakness classification (CWE)

References