{"id":"CVE-2026-68257","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-68257","summary":"drm/amdkfd: fix 32-bit overflow in CWSR total size calculation","details":"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)","published":"2026-08-10T12:01:30.547Z","modified":"2026-08-14T04:04:00.463493069Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Linux","name":"Kernel","fixedVersion":"6.12.101"}],"fix":null,"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2b0386d4293920e690c0e017708f999b93cc729b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/865532d54eb57b660b1cb1b0e1755776ce21b849"},{"type":"WEB","url":"https://git.kernel.org/stable/c/abce3276c57e36c955627307469b9f009057a467"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b88ffe6593607364a8c06a48c6f29e55437cdf8e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68257.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68257"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-14T04:04:00.463493069Z"}}