CVE-2026-74447 (GCVE-0-2026-74447)

Vulnerability from cvelistv5 – Published: 2026-08-15 12:26 – Updated: 2026-08-17 05:47
VLAI
Title
drm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment eop_ring_buffer_size in struct queue_properties is a u32. In kfd_queue_acquire_buffers() the expected EOP buffer size is computed as ALIGN(eop_ring_buffer_size, PAGE_SIZE); ALIGN uses typeof(x), so the addition is done in 32-bit. A user-supplied size of 0xFFFFF001 wraps to 0, causing kfd_queue_buffer_get() to skip its exact-size check (gated on size != 0) and accept any BO mapped at the address. On GFX8/GFX9 the MQD cp_hqd_eop_control is then programmed for an 8KB EOP ring backed by a 4KB BO, so CP EOP writes can land past the buffer and fault the GPU. Cast the operand to u64 so the alignment is computed in 64-bit; the size check in kfd_queue_buffer_get() then rejects the oversized request. (cherry picked from commit ae443117b742c357bfef3a7bddabf76fcf86e9ef)
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: ee0dc6c66a913260311876a4b2b53fe0b9bc3f94 , < 273548eb997c6be85230c1236b18784b09f6203c (git)
Affected: acfc84cfa70aca5b970faf152979bc97b9f8b0c0 , < 6dc0b4b39ed4f11ef70f76ecea8537e35f45342b (git)
Affected: 42ea9cf2f16b7131cb7302acb3dac510968f8bdc , < 7c54bd225d83bc1bcb44430ed4b4d3a5c36b1961 (git)
Affected: 42ea9cf2f16b7131cb7302acb3dac510968f8bdc , < 83463a96ea3c7d8ae636a4d6a0ba63c9ce410724 (git)
Affected: c6ce687077cc67e4f3cbd0c89cb356fbbce91f4c (git)
Affected: 6.12.75 , < 6.12.103 (semver)
Affected: 6.18.16 , < 6.18.44 (semver)
Affected: 6.19.6 , < 6.20 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 7.0
Unaffected: 0 , < 7.0 (semver)
Unaffected: 6.12.103 , ≤ 6.12.* (semver)
Unaffected: 6.18.44 , ≤ 6.18.* (semver)
Unaffected: 7.1.8 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdkfd/kfd_queue.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "273548eb997c6be85230c1236b18784b09f6203c",
              "status": "affected",
              "version": "ee0dc6c66a913260311876a4b2b53fe0b9bc3f94",
              "versionType": "git"
            },
            {
              "lessThan": "6dc0b4b39ed4f11ef70f76ecea8537e35f45342b",
              "status": "affected",
              "version": "acfc84cfa70aca5b970faf152979bc97b9f8b0c0",
              "versionType": "git"
            },
            {
              "lessThan": "7c54bd225d83bc1bcb44430ed4b4d3a5c36b1961",
              "status": "affected",
              "version": "42ea9cf2f16b7131cb7302acb3dac510968f8bdc",
              "versionType": "git"
            },
            {
              "lessThan": "83463a96ea3c7d8ae636a4d6a0ba63c9ce410724",
              "status": "affected",
              "version": "42ea9cf2f16b7131cb7302acb3dac510968f8bdc",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "c6ce687077cc67e4f3cbd0c89cb356fbbce91f4c",
              "versionType": "git"
            },
            {
              "lessThan": "6.12.103",
              "status": "affected",
              "version": "6.12.75",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18.44",
              "status": "affected",
              "version": "6.18.16",
              "versionType": "semver"
            },
            {
              "lessThan": "6.20",
              "status": "affected",
              "version": "6.19.6",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdkfd/kfd_queue.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.0"
            },
            {
              "lessThan": "7.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.103",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.44",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.103",
                  "versionStartIncluding": "6.12.75",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.44",
                  "versionStartIncluding": "6.18.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.8",
                  "versionStartIncluding": "7.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "7.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.19.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment\n\neop_ring_buffer_size in struct queue_properties is a u32. In\nkfd_queue_acquire_buffers() the expected EOP buffer size is computed as\nALIGN(eop_ring_buffer_size, PAGE_SIZE); ALIGN uses typeof(x), so the\naddition is done in 32-bit. A user-supplied size of 0xFFFFF001 wraps to\n0, causing kfd_queue_buffer_get() to skip its exact-size check (gated on\nsize != 0) and accept any BO mapped at the address. On GFX8/GFX9 the MQD\ncp_hqd_eop_control is then programmed for an 8KB EOP ring backed by a 4KB\nBO, so CP EOP writes can land past the buffer and fault the GPU.\n\nCast the operand to u64 so the alignment is computed in 64-bit; the size\ncheck in kfd_queue_buffer_get() then rejects the oversized request.\n\n(cherry picked from commit ae443117b742c357bfef3a7bddabf76fcf86e9ef)"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - Exploitation requires local ioctl access to /dev/kfd (KFD_IOC_CREATE_QUEUE) after opening the AMDGPU render node; there is no network, adjacent-wireless, or physical-device path to the vulnerable kfd_queue_acquire_buffers() code.\nAC:L - An attacker who can open /dev/kfd and map GPU buffers can reliably bypass the EOP size check with eop_buffer_size=0xFFFFF001 (32-bit ALIGN wraps to 0) and trigger CP EOP writes by submitting compute work on the created queue.\nPR:L - Only a local unprivileged user with AMDGPU/KFD access (typically membership in the render group for /dev/dri/renderD* and /dev/kfd) is required; no real-root or init-namespace capabilities are needed.\nUI:N - No victim interaction is required; the attacker drives the full chain via their own KFD and DRM file descriptors, GPU memory mappings, and queue submission.\nS:U - The bug corrupts GPU virtual memory within the attacker\u0027s own process VMID and can fault or reset the shared GPU; it does not cross a VM/host, IOMMU, or sandbox security boundary into another authority.\nC:H - CP hardware performs out-of-bounds EOP writes up to 8KB into a 4KB backing object, corrupting adjacent GPU-mapped memory that can be read back or chained into further memory disclosure primitives.\nI:H - The MQD is programmed with an 8KB EOP ring while only a 4KB buffer is validated, causing the GPU command processor to write attacker-triggered data past the buffer end into adjacent GPU mappings.\nA:H - EOP writes beyond the undersized buffer cause GPU VM faults that can hang the device and schedule amdgpu_amdkfd_gpu_reset(), denying GPU service to all co-located workloads on shared cloud/HPC/desktop GPUs."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:47:18.735Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/273548eb997c6be85230c1236b18784b09f6203c"
        },
        {
          "url": "https://git.kernel.org/stable/c/6dc0b4b39ed4f11ef70f76ecea8537e35f45342b"
        },
        {
          "url": "https://git.kernel.org/stable/c/7c54bd225d83bc1bcb44430ed4b4d3a5c36b1961"
        },
        {
          "url": "https://git.kernel.org/stable/c/83463a96ea3c7d8ae636a4d6a0ba63c9ce410724"
        }
      ],
      "title": "drm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74447",
    "datePublished": "2026-08-15T12:26:53.305Z",
    "dateReserved": "2026-08-15T05:44:03.898Z",
    "dateUpdated": "2026-08-17T05:47:18.735Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74447",
      "date": "2026-08-28",
      "epss": "0.00129",
      "percentile": "0.02786"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-74447\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-15T13:17:49.287\",\"lastModified\":\"2026-08-17T06:19:40.513\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment\\n\\neop_ring_buffer_size in struct queue_properties is a u32. In\\nkfd_queue_acquire_buffers() the expected EOP buffer size is computed as\\nALIGN(eop_ring_buffer_size, PAGE_SIZE); ALIGN uses typeof(x), so the\\naddition is done in 32-bit. A user-supplied size of 0xFFFFF001 wraps to\\n0, causing kfd_queue_buffer_get() to skip its exact-size check (gated on\\nsize != 0) and accept any BO mapped at the address. On GFX8/GFX9 the MQD\\ncp_hqd_eop_control is then programmed for an 8KB EOP ring backed by a 4KB\\nBO, so CP EOP writes can land past the buffer and fault the GPU.\\n\\nCast the operand to u64 so the alignment is computed in 64-bit; the size\\ncheck in kfd_queue_buffer_get() then rejects the oversized request.\\n\\n(cherry picked from commit ae443117b742c357bfef3a7bddabf76fcf86e9ef)\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/gpu/drm/amd/amdkfd/kfd_queue.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"ee0dc6c66a913260311876a4b2b53fe0b9bc3f94\",\"lessThan\":\"273548eb997c6be85230c1236b18784b09f6203c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"acfc84cfa70aca5b970faf152979bc97b9f8b0c0\",\"lessThan\":\"6dc0b4b39ed4f11ef70f76ecea8537e35f45342b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"42ea9cf2f16b7131cb7302acb3dac510968f8bdc\",\"lessThan\":\"7c54bd225d83bc1bcb44430ed4b4d3a5c36b1961\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"42ea9cf2f16b7131cb7302acb3dac510968f8bdc\",\"lessThan\":\"83463a96ea3c7d8ae636a4d6a0ba63c9ce410724\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c6ce687077cc67e4f3cbd0c89cb356fbbce91f4c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6.12.75\",\"lessThan\":\"6.12.103\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.18.16\",\"lessThan\":\"6.18.44\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.19.6\",\"lessThan\":\"6.20\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/gpu/drm/amd/amdkfd/kfd_queue.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"7.0\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"7.0\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.103\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.44\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.8\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/273548eb997c6be85230c1236b18784b09f6203c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6dc0b4b39ed4f11ef70f76ecea8537e35f45342b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7c54bd225d83bc1bcb44430ed4b4d3a5c36b1961\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/83463a96ea3c7d8ae636a4d6a0ba63c9ce410724\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-21T08:45:01+00:00",
      "cve": "CVE-2026-74447",
      "id": "CVE-2026-74447",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_affected": "198",
      "product_status:known_not_affected": "76",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: drm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74447.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…