Lucene search

K
vulnrichmentLinuxVULNRICHMENT: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
github.com
5
linux kernel vulnerability
drm/msm/dpu
parameter check
dpu_setup_dspp_pcc
null pointer dereference
addresses-coverity-id

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

5.1%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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

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

AI Score

6.8

Confidence

Low

EPSS

0

Percentile

5.1%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial