Lucene search

K
cvelistLinuxCVELIST:CVE-2024-44955
HistorySep 04, 2024 - 6:35 p.m.

CVE-2024-44955 drm/amd/display: Don't refer to dc_sink in is_dsc_need_re_compute

2024-09-0418:35:54
Linux
www.cve.org
3
linux kernel
drm/amd/display
vulnerability
dc_sink
null pointer
dereference
resolved

EPSS

0

Percentile

9.6%

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

drm/amd/display: Don’t refer to dc_sink in is_dsc_need_re_compute

[Why]
When unplug one of monitors connected after mst hub, encounter null pointer dereference.

It’s due to dc_sink get released immediately in early_unregister() or detect_ctx(). When
commit new state which directly referring to info stored in dc_sink will cause null pointer
dereference.

[how]
Remove redundant checking condition. Relevant condition should already be covered by checking
if dsc_aux is null or not. Also reset dsc_aux to NULL when the connector is disconnected.

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/amdgpu_dm/amdgpu_dm_mst_types.c"
    ],
    "versions": [
      {
        "version": "1da177e4c3f4",
        "lessThan": "39b217193729",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "fcf6a49d7992",
        "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/amdgpu_dm/amdgpu_dm_mst_types.c"
    ],
    "versions": [
      {
        "version": "6.10.5",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

9.6%