Lucene search

K
cvelistLinuxCVELIST:CVE-2024-26648
HistoryMar 26, 2024 - 5:50 p.m.

CVE-2024-26648 drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay()

2024-03-2617:50:01
Linux
www.cve.org
linux kernel
vulnerability
resolved
drm/amd/display
edp_setup_replay
variable dereferencing

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay()

In edp_setup_replay(), ‘struct dc *dc’ & ‘struct dmub_replay *replay’
was dereferenced before the pointer ‘link’ & ‘replay’ NULL check.

Fixes the below:
drivers/gpu/drm/amd/amdgpu/…/display/dc/link/protocols/link_edp_panel_control.c:947 edp_setup_replay() warn: variable dereferenced before check ‘link’ (see line 933)

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/amd/display/dc/link/protocols/link_edp_panel_control.c"
    ],
    "versions": [
      {
        "version": "1da177e4c3f4",
        "lessThan": "22ae604aea14",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "c02d257c6541",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "7073934f5d73",
        "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/amd/display/dc/link/protocols/link_edp_panel_control.c"
    ],
    "versions": [
      {
        "version": "6.6.15",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.3",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.7 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

Related for CVELIST:CVE-2024-26648