Lucene search

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

CVE-2024-26647 drm/amd/display: Fix late derefrence 'dsc' check in 'link_set_dsc_pps_packet()'

2024-03-2617:50:01
Linux
www.cve.org
1
linux kernel
drm/amd/display
vulnerability
link_set_dsc_pps_packet
dereference

7.5 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

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

drm/amd/display: Fix late derefrence ‘dsc’ check in ‘link_set_dsc_pps_packet()’

In link_set_dsc_pps_packet(), ‘struct display_stream_compressor *dsc’
was dereferenced in a DC_LOGGER_INIT(dsc->ctx->logger); before the ‘dsc’
NULL pointer check.

Fixes the below:
drivers/gpu/drm/amd/amdgpu/…/display/dc/link/link_dpms.c:905 link_set_dsc_pps_packet() warn: variable dereferenced before check ‘dsc’ (see line 903)

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/link_dpms.c"
    ],
    "versions": [
      {
        "version": "1da177e4c3f4",
        "lessThan": "6aa5ede66651",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "cf656fc7276e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "3bb9b1f958c3",
        "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/link_dpms.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"
      }
    ]
  }
]

7.5 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%