CVE-2026-68108

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

Published Aug 10, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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)

Analysis

AI-generated

Technical impact

Linux kernel DRM driver for AMD GPUs (amdgpu VCE) contains an integer overflow in image size calculation. Malicious VCE command streams with dimensions such as 65536×65536 trigger a 32‑bit overflow that wraps the computed buffer size to zero, bypassing validation. This allows the GPU firmware to access memory out of bounds, potentially corrupting memory or enabling privilege escalation. The underlying weakness is an integer overflow leading to 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. The advisory provides a CVSS score of 8.8, indicating high severity, and the EPSS score is less than 1%, indicating a low but non‑zero likelihood of exploitation. 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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel update that includes the 64‑bit check commit cbe408dba581755ad1279a487ec786d8927d778d; this patch eliminates the integer overflow and the resulting buffer overflow in VCE image size calculations.
  • Reboot the system after upgrading so the new kernel and amdgpu driver are active and the fix is enforced.
  • If an immediate kernel upgrade is not possible, disable VCE support by setting the module parameter amdgpu.vce=0; this blocks the vulnerable code path.

Generated by OpenCVE AI on October 20, 2026 at 10:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4777-1 linux security update
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8917-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8918-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-190
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

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

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H'}

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-122
CWE-680
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:58 PM
Reserved
Jul 30, 2026, 9:28 AM
Status
Received
Published
Aug 10, 2026, 1:19 PM
Modified
Oct 19, 2026, 9:17 PM
Severity
Moderate
Public date
Aug 10, 2026, 11:58 AM