{"id":"CVE-2026-68257","aliases":["CVE-2026-68257"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdkfd: fix 32-bit overflow in CWSR total size calculation","summary":"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)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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)","source":"cvelist"}],"published":"2026-08-10T12:01:30.547Z","modified":"2026-10-19T21:17:59.620Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"325aa07165394b8e866ffe9ec1d4c99d9195b2f2","fixed":"b88ffe6593607364a8c06a48c6f29e55437cdf8e","status":"affected"},{"type":"git","introduced":"d15deafab5d722afb9e2f83c5edcdef9d9d98bd1","fixed":"abce3276c57e36c955627307469b9f009057a467","status":"affected"},{"type":"git","introduced":"d15deafab5d722afb9e2f83c5edcdef9d9d98bd1","fixed":"865532d54eb57b660b1cb1b0e1755776ce21b849","status":"affected"},{"type":"git","introduced":"d15deafab5d722afb9e2f83c5edcdef9d9d98bd1","fixed":"2b0386d4293920e690c0e017708f999b93cc729b","status":"affected"},{"type":"git","version":"63600103d2ac5c09fdeec5b931b396e4e0efd5d8","status":"affected"},{"type":"semver","introduced":"6.12.59","fixed":"6.12.101","status":"affected"},{"type":"semver","introduced":"6.17.9","fixed":"6.18","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b88ffe6593607364a8c06a48c6f29e55437cdf8e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/abce3276c57e36c955627307469b9f009057a467","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/865532d54eb57b660b1cb1b0e1755776ce21b849","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b0386d4293920e690c0e017708f999b93cc729b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:46:15.764Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68257","url":"https://www.cve.org/CVERecord?id=CVE-2026-68257","licence":"CVE Terms of Use","modified":"2026-10-19T20:58:58.377Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68257","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68257","licence":"Public domain","modified":"2026-10-19T21:17:59.620Z"}],"updatedAt":"2026-11-25T22:59:32.061Z","epss":{"score":0.00138,"percentile":0.03442,"date":"2026-12-01T12:00:22.000Z"}}