7.8
HIGH CVSS 3.1
CVE-2026-68257
drm/amdkfd: fix 32-bit overflow in CWSR total size calculation
Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: fix 32-bit overflow in CWSR total size calculation total_cwsr_size was computed in 32-bit before being used as a BO/SVM allocation size. With large ctx_save_restore_area_size and debug_memory_size multiplied by the XCC count, the product can wrap, yielding an undersized CWSR save area that firmware later overruns. Promote total_cwsr_size to u64 and use check_add_overflow()/ check_mul_overflow() in both kfd_queue_acquire_buffers() and kfd_queue_release_buffers(). (cherry picked from commit 319f7e13423ae3f486b9aea82f9ad2d6af0ee608)

INFO

Published Date :

Aug. 10, 2026, 1:20 p.m.

Last Modified :

Aug. 18, 2026, 7:16 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-68257 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Fix integer overflow in CWSR size calculation to prevent firmware overrun.
  • Update to a patched Linux kernel version.
  • Ensure correct size calculations using u64.
  • Apply overflow checks during buffer operations.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-68257 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-68257 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-68257 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-68257 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 18, 2026

    Action Type Old Value New Value
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'b88ffe6593607364a8c06a48c6f29e55437cdf8e', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'abce3276c57e36c955627307469b9f009057a467', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '865532d54eb57b660b1cb1b0e1755776ce21b849', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '2b0386d4293920e690c0e017708f999b93cc729b', 'versionType': 'git'}, {'status': 'affected', 'version': '0', 'lessThan': '6.12.101', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.18.42', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '7.1.6', 'versionType': 'semver'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_queue.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_queue.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '325aa07165394b8e866ffe9ec1d4c99d9195b2f2', 'lessThan': 'b88ffe6593607364a8c06a48c6f29e55437cdf8e', 'versionType': 'git'}, {'status': 'affected', 'version': 'd15deafab5d722afb9e2f83c5edcdef9d9d98bd1', 'lessThan': 'abce3276c57e36c955627307469b9f009057a467', 'versionType': 'git'}, {'status': 'affected', 'version': 'd15deafab5d722afb9e2f83c5edcdef9d9d98bd1', 'lessThan': '865532d54eb57b660b1cb1b0e1755776ce21b849', 'versionType': 'git'}, {'status': 'affected', 'version': 'd15deafab5d722afb9e2f83c5edcdef9d9d98bd1', 'lessThan': '2b0386d4293920e690c0e017708f999b93cc729b', 'versionType': 'git'}, {'status': 'affected', 'version': '63600103d2ac5c09fdeec5b931b396e4e0efd5d8', 'versionType': 'git'}, {'status': 'affected', 'version': '6.12.59', 'lessThan': '6.12.101', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.17.9', 'lessThan': '6.18', 'versionType': 'semver'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_queue.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.18', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_queue.c'], 'defaultStatus': 'affected'}]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 17, 2026

    Action Type Old Value New Value
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'b88ffe6593607364a8c06a48c6f29e55437cdf8e', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'abce3276c57e36c955627307469b9f009057a467', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '865532d54eb57b660b1cb1b0e1755776ce21b849', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '2b0386d4293920e690c0e017708f999b93cc729b', 'versionType': 'git'}, {'status': 'affected', 'version': '0', 'lessThan': '6.12.101', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.18.42', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '7.1.6', 'versionType': 'semver'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_queue.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc4', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_queue.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'b88ffe6593607364a8c06a48c6f29e55437cdf8e', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'abce3276c57e36c955627307469b9f009057a467', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '865532d54eb57b660b1cb1b0e1755776ce21b849', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '2b0386d4293920e690c0e017708f999b93cc729b', 'versionType': 'git'}, {'status': 'affected', 'version': '0', 'lessThan': '6.12.101', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.18.42', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '7.1.6', 'versionType': 'semver'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_queue.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_queue.c'], 'defaultStatus': 'affected'}]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 13, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 10, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'b88ffe6593607364a8c06a48c6f29e55437cdf8e', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'abce3276c57e36c955627307469b9f009057a467', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '865532d54eb57b660b1cb1b0e1755776ce21b849', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '2b0386d4293920e690c0e017708f999b93cc729b', 'versionType': 'git'}, {'status': 'affected', 'version': '0', 'lessThan': '6.12.101', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.18.42', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '7.1.6', 'versionType': 'semver'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_queue.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc4', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/gpu/drm/amd/amdkfd/kfd_queue.c'], 'defaultStatus': 'affected'}]
    Added Description In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: fix 32-bit overflow in CWSR total size calculation total_cwsr_size was computed in 32-bit before being used as a BO/SVM allocation size. With large ctx_save_restore_area_size and debug_memory_size multiplied by the XCC count, the product can wrap, yielding an undersized CWSR save area that firmware later overruns. Promote total_cwsr_size to u64 and use check_add_overflow()/ check_mul_overflow() in both kfd_queue_acquire_buffers() and kfd_queue_release_buffers(). (cherry picked from commit 319f7e13423ae3f486b9aea82f9ad2d6af0ee608)
    Added Reference https://git.kernel.org/stable/c/2b0386d4293920e690c0e017708f999b93cc729b
    Added Reference https://git.kernel.org/stable/c/865532d54eb57b660b1cb1b0e1755776ce21b849
    Added Reference https://git.kernel.org/stable/c/abce3276c57e36c955627307469b9f009057a467
    Added Reference https://git.kernel.org/stable/c/b88ffe6593607364a8c06a48c6f29e55437cdf8e
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.