{
  "cveId": "CVE-2024-49970",
  "url": "https://patchblox.com/security/cve/CVE-2024-49970",
  "summary": "CVE-2024-49970 is fixed in linux on 1 platform, first by DEBIAN-CVE-2024-49970, released October 21, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "drm/amd/display: Implement bounds check for stream encoder creation in DCN401",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  drm/amd/display: Implement bounds check for stream encoder creation in DCN401  \u0027stream_enc_regs\u0027 array is an array of dcn10_stream_enc_registers structures. The array is initialized with four elements, corresponding to the four calls to stream_enc_regs() in the array initializer. This means that valid indices for this array are 0, 1, 2, and 3.  The error message \u0027stream_enc_regs\u0027 4 \u003C= 5 below, is indicating that there is an attempt to access this array with an index of 5, which is out of bounds. This could lead to undefined behavior  Here, eng_id is used as an index to access the stream_enc_regs array. If eng_id is 5, this would result in an out-of-bounds access on the stream_enc_regs array.  Thus fixing Buffer overflow error in dcn401_stream_encoder_create  Found by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn401/dcn401_resource.c:1209 dcn401_stream_encoder_create() error: buffer overflow \u0027stream_enc_regs\u0027 4 \u003C= 5",
  "published": "2024-10-21T18:15:17Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "cwe": "Improper Validation of Array Index",
  "epss": 0.00295,
  "epssPercentile": 0.22274,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-49970",
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.11.4-1",
      "fix": "DEBIAN-CVE-2024-49970",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-49970",
      "released": "2024-10-21T18:15:17Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.11.4-1",
      "fix": "DEBIAN-CVE-2024-49970",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-49970",
      "released": "2024-10-21T18:15:17Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}