Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-68257

published high CVSS 3.1 · 7.8

drm/amdkfd: fix 32-bit overflow in CWSR total size calculation

Published
10 Aug 2026, 12:01:30 UTC
Updated
19 Oct 2026, 20:58:58 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux325aa07165394b8e866ffe9ec1d4c99d9195b2f2 to < b88ffe6593607364a8c06a48c6f29e55437cdf8e · d15deafab5d722afb9e2f83c5edcdef9d9d98bd1 to < abce3276c57e36c955627307469b9f009057a467 · d15deafab5d722afb9e2f83c5edcdef9d9d98bd1 to < 865532d54eb57b660b1cb1b0e1755776ce21b849 · d15deafab5d722afb9e2f83c5edcdef9d9d98bd1 to < 2b0386d4293920e690c0e017708f999b93cc729b · 63600103d2ac5c09fdeec5b931b396e4e0efd5d8 · 6.12.59 to < 6.12.101 · 6.17.9 to < 6.18 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.12.101 through 6.12.* (unaffected · semver) · 6.18.42 through 6.18.* (unaffected · semver) · 7.1.6 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-211.60.1.el10_2 ALSA-2026:71602
Debian bookworm linux-6.12 Advisory build 6.12.101-1~deb12u1 DLA-4745-1
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
AlmaLinux 10 kernel-doc Advisory build 6.12.0-211.60.1.el10_2 ALSA-2026:71602
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 kernel Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-debug Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-devel Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-doc Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-headers Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-modules Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-tools Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 libperf Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 perf Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 python3-perf Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 rtla Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
AlmaLinux 9 rv Advisory build 5.14.0-687.52.1.el9_8 ALSA-2026:71700
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-211.60.1.el10_2 ELSA-2026-71602

Package entries are limited to the first 100 builds and 100 linked advisories.

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)

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

29

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Triggered through the AMDKFD_IOC_CREATE_QUEUE ioctl on the local /dev/kfd character device; the attacker-controlled ctx_save_restore_size field comes straight from the ioctl argument struct with no remote reachability. AC:L - The overflow is pure deterministic arithmetic on a value the attacker fully controls — passing ctx_save_restore_size near 2^32 (or /NUM_XCC on multi-XCC MI300 parts) reliably wraps total_cwsr_size to 0 or a small value on every attempt, with no race or layout dependency. PR:L - Requires only an unprivileged local account with access to /dev/kfd, which is granted to the render group and is routinely available to ordinary users on ROCm hosts, GPU compute nodes, containers, Steam Deck/desktop and Chrome OS style systems; no capabilities are checked on this path. UI:N - The attacker creates the malicious compute queue entirely from its own process via a single ioctl; no action by any other user or administrator is needed. S:U - The undersized CWSR area and the resulting firmware overrun stay within the kernel/GPU driver security authority of the same machine; there is no hypervisor or IOMMU boundary crossed. C:H - With validation bypassed, CP firmware save/restore reads span memory adjacent to the tiny validated buffer and load it into wave state the attacker's shader can read back, and get_wave_state copies per-XCC control-stack contents out of the unvalidated region, giving a broad out-of-bounds disclosure primitive. I:H - The queue is programmed with the full unwrapped save size and per-XCC base offsets, so firmware performs large out-of-bounds writes of wave/control-stack data beyond the buffer that was actually validated and reference-counted, and the bypassed queue_refcount lets those buffers be unmapped or freed while the queue is live — an attacker-influenced memory-corruption primitive. A:H - Overrunning the CWSR save area drives the GPU into unmapped VA on preemption, causing VM faults, queue hangs and driver-initiated GPU resets that take down all GPU workloads on the machine, including other tenants on shared compute nodes.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 325aa07165394b8e866ffe9ec1d4c99d9195b2f2 to < b88ffe6593607364a8c06a48c6f29e55437cdf8e (affected · git)d15deafab5d722afb9e2f83c5edcdef9d9d98bd1 to < abce3276c57e36c955627307469b9f009057a467 (affected · git)d15deafab5d722afb9e2f83c5edcdef9d9d98bd1 to < 865532d54eb57b660b1cb1b0e1755776ce21b849 (affected · git)d15deafab5d722afb9e2f83c5edcdef9d9d98bd1 to < 2b0386d4293920e690c0e017708f999b93cc729b (affected · git)63600103d2ac5c09fdeec5b931b396e4e0efd5d8 (affected · git)6.12.59 to < 6.12.101 (affected · semver)6.17.9 to < 6.18 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.18 (affected)0 to < 6.18 (unaffected · semver)6.12.101 through 6.12.* (unaffected · semver)6.18.42 through 6.18.* (unaffected · semver)7.1.6 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-190 CWE-190 Integer Overflow or Wraparound (CISA-ADP · adp)

References

4

Provider assertions

2

Linux · cna

drm/amdkfd: fix 32-bit overflow in CWSR total size calculation

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
e3a8ef6a97937419a4d1d09eca54cfdf232bfd386611dc8d9dff14d27c55c625
Ingested
19 Oct 2026, 21:04:33 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected