Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48749
HistoryJun 20, 2024 - 11:13 a.m.

CVE-2022-48749 drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc

2024-06-2011:13:31
Linux
www.cve.org
1
linux kernel
vulnerability
resolution
drm/msm/dpu
parameter check
dpu_setup_dspp_pcc
null pointer
dereference

0.0004 Low

EPSS

Percentile

15.7%

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

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.c"
    ],
    "versions": [
      {
        "version": "4259ff7ae509",
        "lessThan": "93a6e920d8cc",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4259ff7ae509",
        "lessThan": "8f069f6dde51",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4259ff7ae509",
        "lessThan": "1ebc18836d5d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4259ff7ae509",
        "lessThan": "170b22234d54",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dspp.c"
    ],
    "versions": [
      {
        "version": "5.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.8",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.96",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.19",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16.5",
        "lessThanOrEqual": "5.16.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.17",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

0.0004 Low

EPSS

Percentile

15.7%

Related for CVELIST:CVE-2022-48749