{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-68257","id":"CVE-2026-68257","title":"drm/amdkfd: fix 32-bit overflow in CWSR total size calculation","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\nP","descriptionLong":"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","updated":"2026-11-17T07:03:28.106072172Z","reserved":"2026-07-30T09:28:09.378Z","status":"Received","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"325aa07165394b8e866ffe9ec1d4c99d9195b2f2","lessThan":"b88ffe6593607364a8c06a48c6f29e55437cdf8e","status":"affected","versionType":"git"},{"version":"d15deafab5d722afb9e2f83c5edcdef9d9d98bd1","lessThan":"abce3276c57e36c955627307469b9f009057a467","status":"affected","versionType":"git"},{"version":"d15deafab5d722afb9e2f83c5edcdef9d9d98bd1","lessThan":"865532d54eb57b660b1cb1b0e1755776ce21b849","status":"affected","versionType":"git"},{"version":"d15deafab5d722afb9e2f83c5edcdef9d9d98bd1","lessThan":"2b0386d4293920e690c0e017708f999b93cc729b","status":"affected","versionType":"git"},{"version":"63600103d2ac5c09fdeec5b931b396e4e0efd5d8","status":"affected","versionType":"git"},{"version":"6.12.59","lessThan":"6.12.101","status":"affected","versionType":"semver"},{"version":"6.17.9","lessThan":"6.18","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","lessThan":"6.18","status":"unaffected","versionType":"semver"},{"version":"6.12.101","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.42","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.6","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-190"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b88ffe6593607364a8c06a48c6f29e55437cdf8e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/abce3276c57e36c955627307469b9f009057a467","tags":["web"]},{"url":"https://git.kernel.org/stable/c/865532d54eb57b660b1cb1b0e1755776ce21b849","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2b0386d4293920e690c0e017708f999b93cc729b","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68257.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68257","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00138,"epssPercentile":0.03326,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-68257","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68257","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-68257","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-68257","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}