Lucene search

K
cvelistLinuxCVELIST:CVE-2024-39498
HistoryJul 12, 2024 - 12:20 p.m.

CVE-2024-39498 drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2

2024-07-1212:20:32
Linux
www.cve.org
10
linux kernel
drm/mst
vulnerability fix
null pointer
dereference
commit
regression
recovery
input parameter

EPSS

0

Percentile

9.3%

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

drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2

[Why]
Commit:

  • commit 5aa1dfcdf0a4 (“drm/mst: Refactor the flow for payload allocation/removement”)
    accidently overwrite the commit
  • commit 54d217406afe (“drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2”)
    which cause regression.

[How]
Recover the original NULL fix and remove the unnecessary input parameter ‘state’ for
drm_dp_add_payload_part2().

(cherry picked from commit 4545614c1d8da603e57b60dd66224d81b6ffc305)

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_helpers.c",
      "drivers/gpu/drm/display/drm_dp_mst_topology.c",
      "drivers/gpu/drm/i915/display/intel_dp_mst.c",
      "drivers/gpu/drm/nouveau/dispnv50/disp.c",
      "include/drm/display/drm_dp_mst_helper.h"
    ],
    "versions": [
      {
        "version": "5aa1dfcdf0a4",
        "lessThan": "8e21de5f99b2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "5aa1dfcdf0a4",
        "lessThan": "5a507b7d2be1",
        "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_helpers.c",
      "drivers/gpu/drm/display/drm_dp_mst_topology.c",
      "drivers/gpu/drm/i915/display/intel_dp_mst.c",
      "drivers/gpu/drm/nouveau/dispnv50/disp.c",
      "include/drm/display/drm_dp_mst_helper.h"
    ],
    "versions": [
      {
        "version": "6.7",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.7",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.6",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

9.3%