Lucene search

K
cvelistLinuxCVELIST:CVE-2024-42227
HistoryJul 30, 2024 - 7:47 a.m.

CVE-2024-42227 drm/amd/display: Fix overlapping copy within dml_core_mode_programming

2024-07-3007:47:08
Linux
www.cve.org
5
linux kernel
vulnerability
drm/amd/display
fix
overlapping copy
dml_core_mode_programming
unexpected behavior
memmove
cve

EPSS

0

Percentile

9.4%

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

drm/amd/display: Fix overlapping copy within dml_core_mode_programming

[WHY]
&mode_lib->mp.Watermark and &locals->Watermark are
the same address. memcpy may lead to unexpected behavior.

[HOW]
memmove should be used.

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/dml2/display_mode_core.c"
    ],
    "versions": [
      {
        "version": "1da177e4c3f4",
        "lessThan": "9342da15f249",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "f1fd8a0a54e6",
        "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/dml2/display_mode_core.c"
    ],
    "versions": [
      {
        "version": "6.9.9",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

9.4%