Lucene search

K
cvelistLinuxCVELIST:CVE-2024-35788
HistoryMay 17, 2024 - 12:24 p.m.

CVE-2024-35788 drm/amd/display: Fix bounds check for dcn35 DcfClocks

2024-05-1712:24:38
Linux
www.cve.org
linux kernel
vulnerability
resolved
drm/amd/display
bounds check
dcn35
dcfclocks
array index
out-of-bounds
access

7.5 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.5%

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

drm/amd/display: Fix bounds check for dcn35 DcfClocks

[Why]
NumFclkLevelsEnabled is used for DcfClocks bounds check
instead of designated NumDcfClkLevelsEnabled.
That can cause array index out-of-bounds access.

[How]
Use designated variable for dcn35 DcfClocks bounds check.

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/clk_mgr/dcn35/dcn35_clk_mgr.c"
    ],
    "versions": [
      {
        "version": "a8edc9cc0b14",
        "lessThan": "c373f233dab4",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a8edc9cc0b14",
        "lessThan": "f6e163e9c3d5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a8edc9cc0b14",
        "lessThan": "2f10d4a51bbc",
        "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/clk_mgr/dcn35/dcn35_clk_mgr.c"
    ],
    "versions": [
      {
        "version": "6.9",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.9",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.12",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.3",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      }
    ]
  }
]

7.5 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.5%