Lucene search

K
cvelistLinuxCVELIST:CVE-2024-27045
HistoryMay 01, 2024 - 12:54 p.m.

CVE-2024-27045 drm/amd/display: Fix a potential buffer overflow in 'dp_dsc_clock_en_read()'

2024-05-0112:54:18
Linux
www.cve.org
7
linux kernel vulnerability
buffer overflow
drm/amd/display fix
dp_dsc_clock_en_read
snprintf restriction

AI Score

8

Confidence

High

EPSS

0

Percentile

10.3%

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

drm/amd/display: Fix a potential buffer overflow in ‘dp_dsc_clock_en_read()’

Tell snprintf() to store at most 10 bytes in the output buffer
instead of 30.

Fixes the below:
drivers/gpu/drm/amd/amdgpu/…/display/amdgpu_dm/amdgpu_dm_debugfs.c:1508 dp_dsc_clock_en_read() error: snprintf() is printing too much 30 vs 10

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_debugfs.c"
    ],
    "versions": [
      {
        "version": "c06e09b76639",
        "lessThan": "ff28893c96c5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c06e09b76639",
        "lessThan": "440f05983741",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c06e09b76639",
        "lessThan": "d346b3e5b25c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c06e09b76639",
        "lessThan": "ad76fd30557d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c06e09b76639",
        "lessThan": "eb9327af3621",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c06e09b76639",
        "lessThan": "cf114d8d4a8d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c06e09b76639",
        "lessThan": "4b09715f1504",
        "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_debugfs.c"
    ],
    "versions": [
      {
        "version": "5.9",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.9",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.214",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.153",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.83",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.23",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.11",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.2",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

8

Confidence

High

EPSS

0

Percentile

10.3%