Description
In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu/vce: fix integer overflow in image size

Fix a security vulnerability where malicious VCE command streams
with oversized dimensions (e.g. 65536×65536) cause 32-bit integer
overflow, wrapping the calculated buffer size to 0. This bypasses
validation and allows GPU firmware to perform out-of-bound memory
access.

The fix uses 64-bit arithmetic to detect overflow and rejects
invalid dimensions before they reach the hardware.

V2: remove redundant check
V3: modify max height value
V4: remove size64

(cherry picked from commit cbe408dba581755ad1279a487ec786d8927d778d)
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Linux kernel DRM driver for AMD GPUs (amdgpu VCE) contains an integer overflow in the calculation of image buffer size. Malicious VCE command streams with dimensions such as 65536×65536 cause a 32‑bit overflow that wraps the computed size to zero. This bypasses size validation and allows GPU firmware to perform out‑of‑bounds memory reads or writes, potentially leading to memory corruption or privilege escalation. The underlying weakness is an integer overflow that results in a buffer overflow.

Affected Systems

All Linux kernel deployments that include the amdgpu driver with VCE support and that have not yet incorporated the patch committing to the 64‑bit check (e.g., kernels from the time of the original commit to the current unpatched release). Specific versions are not enumerated in the advisory, so any kernel lacking the commit ID cbe408dba581755ad1279a487ec786d8927d778d is considered affected.

Risk and Exploitability

The vulnerability enables an attacker to supply malformed VCE command streams that will be processed by the GPU firmware. Because the overflow occurs before kernel‑level bounds checking, memory corruption can happen at the GPU firmware level. The exploit is likely local or requires the attacker to be able to influence the VCE command stream; a remote exploit would require an additional vector to inject such streams. No CVSS score is provided in the advisory, and the EPSS score is not available. The vulnerability is not listed in CISA’s KEV catalog, which suggests that no confirmed widespread exploitation has been reported at the time of the advisory.

Generated by OpenCVE AI on August 10, 2026 at 13:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a release that includes the fix commit cbe408dba581755ad1279a487ec786d8927d778d, thereby eliminating the integer overflow in VCE image size calculations.
  • Reboot the system so that the updated kernel and amdgpu driver are loaded and the fix is active.
  • If an immediate kernel upgrade is not possible, disable VCE support in the amdgpu driver by setting the module parameter amdgpu.vce=0 to prevent malformed command streams from reaching the hardware.

Generated by OpenCVE AI on August 10, 2026 at 13:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122
CWE-680

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/vce: fix integer overflow in image size Fix a security vulnerability where malicious VCE command streams with oversized dimensions (e.g. 65536×65536) cause 32-bit integer overflow, wrapping the calculated buffer size to 0. This bypasses validation and allows GPU firmware to perform out-of-bound memory access. The fix uses 64-bit arithmetic to detect overflow and rejects invalid dimensions before they reach the hardware. V2: remove redundant check V3: modify max height value V4: remove size64 (cherry picked from commit cbe408dba581755ad1279a487ec786d8927d778d)
Title drm/amdgpu/vce: fix integer overflow in image size
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-10T11:58:25.241Z

Reserved: 2026-07-30T09:28:09.368Z

Link: CVE-2026-68108

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T14:00:08Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

  • CWE-680

    Integer Overflow to Buffer Overflow