CVE-2026-68257
drm/amdkfd: fix 32-bit overflow in CWSR total size calculation
Reported by linux · Published August 10, 2026
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)
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-rt-debuginfo | errata.rockylinux.org | 6.12.0-211.60.1.el10, 5.14.0-687.52.1.el9 |
| kernel-debug-modules | errata.rockylinux.org | 6.12.0-211.60.1.el10, 5.14.0-687.52.1.el9 |
| kernel-rt-debug-core | errata.rockylinux.org | 6.12.0-211.60.1.el10 |
| kernel-doc | errata.rockylinux.org | 6.12.0-211.60.1.el10, 5.14.0-687.52.1.el9 |
| kernel-debug-devel-matched | errata.rockylinux.org | 6.12.0-211.60.1.el10 |
| kernel-rt-64k-devel | errata.rockylinux.org | 5.14.0-687.52.1.el9 |
| kernel-debug-debuginfo | errata.rockylinux.org | 6.12.0-211.60.1.el10, 5.14.0-687.52.1.el9 |
| kernel-zfcpdump-devel-matched | errata.rockylinux.org | 5.14.0-687.52.1.el9 |
| kernel-tools-libs | errata.rockylinux.org | 6.12.0-211.60.1.el10 |
| rv | errata.rockylinux.org | 6.12.0-211.60.1.el10 |
| kernel-devel | errata.rockylinux.org | 6.12.0-211.60.1.el10, 5.14.0-687.52.1.el9 |
| kernel-modules | errata.rockylinux.org | 6.12.0-211.60.1.el10 |
46 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 325aa07165394b8e866ffe9ec1d4c99d9195b2f2, d15deafab5d722afb9e2f83c5edcdef9d9d98bd1, d15deafab5d722afb9e2f83c5edcdef9d9d98bd1 |
| Linux | Linux | 6.18, 0, 6.12.101 |
| linux | linux_kernel | 6.12.59, 6.18, 6.18 |
| Linux | Linux | *, *, * |
Timeline
- Aug 10, 2026 CVE Published
- Aug 11, 2026 Coalition ESS Score
- Aug 16, 2026 Security Advisory (3 in total, the first dated here)
- Aug 24, 2026 EPSS Score (8 in total, the first dated here)
- Sep 25, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-68257
vulnetix vdb fixes CVE-2026-68257
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68257/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart