{
  "id": "CVE-2026-68257",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-68257",
  "published_at": "2026-08-10T12:01:30.547Z",
  "title": "drm/amdkfd: fix 32-bit overflow in CWSR total size calculation",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: fix 32-bit overflow in CWSR total size calculation\n\ntotal_cwsr_size was computed in 32-bit before being used as a BO/SVM\nallocation size.\nWith large ctx_save_restore_area_size and debug_memory_size\nmultiplied by the XCC count, the product can wrap,\nyielding an undersized CWSR save area that firmware later overruns.\n\nPromote total_cwsr_size to u64 and use check_add_overflow()/\ncheck_mul_overflow() in both kfd_queue_acquire_buffers() and\nkfd_queue_release_buffers().\n\n(cherry picked from commit 319f7e13423ae3f486b9aea82f9ad2d6af0ee608)",
  "cwe": "CWE-190",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 325aa07165394b8e866ffe9ec1d4c99d9195b2f2, \u003c b88ffe6593607364a8c06a48c6f29e55437cdf8e",
          "\u003e= d15deafab5d722afb9e2f83c5edcdef9d9d98bd1, \u003c abce3276c57e36c955627307469b9f009057a467",
          "\u003e= d15deafab5d722afb9e2f83c5edcdef9d9d98bd1, \u003c 865532d54eb57b660b1cb1b0e1755776ce21b849",
          "\u003e= d15deafab5d722afb9e2f83c5edcdef9d9d98bd1, \u003c 2b0386d4293920e690c0e017708f999b93cc729b",
          "63600103d2ac5c09fdeec5b931b396e4e0efd5d8",
          "\u003e= 6.12.59, \u003c 6.12.101",
          "\u003e= 6.17.9, \u003c 6.18"
        ],
        "fixed_in": [
          "b88ffe6593607364a8c06a48c6f29e55437cdf8e",
          "abce3276c57e36c955627307469b9f009057a467",
          "865532d54eb57b660b1cb1b0e1755776ce21b849",
          "2b0386d4293920e690c0e017708f999b93cc729b",
          "6.12.101",
          "6.18"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.18"
        ],
        "fixed_in": [
          "0",
          "6.12.101",
          "6.18.42",
          "7.1.6",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to b88ffe6593607364a8c06a48c6f29e55437cdf8e or abce3276c57e36c955627307469b9f009057a467 or 865532d54eb57b660b1cb1b0e1755776ce21b849 or 2b0386d4293920e690c0e017708f999b93cc729b or 6.12.101 or 6.18 or later.",
      "Upgrade Linux to 0 or 6.12.101 or 6.18.42 or 7.1.6 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
