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

drm/amdgpu: fix division by zero with invalid uvd dimensions

When width or height is less than 16, width_in_mb or height_in_mb
becomes 0, leading to fs_in_mb being 0. This causes a division by
zero when calculating num_dpb_buffer in H264 and H264 Perf decode
paths.

Add validation to reject frames with width < 16 or height < 16
before performing any calculations that depend on these values.

V2: Format change - move up all vaiable definitions.
V3: Use warn_once to avoid spam.

(cherry picked from commit 3e41d26c70b0a459d041cc19482a226c4b7423cb)
Published: 2026-08-10
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A division by zero error in the Linux kernel AMDGPU driver occurs when H264 decoding processes frames whose width or height is less than 16 pixels. The driver calculates buffer sizes from these dimensions without validating them, causing an invalid division and a kernel crash. This flaw satisfies the definition of improper input validation and leads directly to a denial of service by crashing the operating system. No exploit code has been published, but the issue can be triggered by crafting a malicious H264 stream that contains framed dimensions below the threshold.

Affected Systems

The vulnerability affects all Linux kernel releases that include the AMDGPU driver with the buggy calculation before the patch is applied. Any such system—regardless of distribution—running a kernel that incorporates the affected code path is at risk. Because the affected code is identical across all kernel versions prior to the commit that adds frame‑size validation, the scope is broad across all unpatched AMDGPU-enabled kernels. Specific version numbers are not listed in the CVE record.

Risk and Exploitability

The flaw results in an immediate kernel crash, and its CVSS score of 7.8 indicates high severity. The EPSS score is less than 1%, indicating a very low but non‑zero exploitation probability, and the vulnerability is not listed in the CISA KEV catalog, so no widespread exploitation has been documented. The likely attack vector is the delivery of crafted H264 video data to the AMDGPU decoder, which could be achieved remotely through media services or locally by any application that processes such content. While no formal exploit has been published, the kernel crash can be reliably triggered by malformed frames, making the vulnerability a significant risk to availability.

Generated by OpenCVE AI on August 14, 2026 at 02:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that contains the AMDGPU driver fix described in the commit logs
  • If an update is not immediately available, restrict or disable H264 decoding for frames with dimensions less than 16 pixels using driver configuration or input validation hooks
  • Monitor kernel logs for OOPS or panic messages that indicate crashes triggered by the driver, as early detection can prompt timely responses

Generated by OpenCVE AI on August 14, 2026 at 02: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
History

Wed, 19 Aug 2026 16:45:00 +0000


Thu, 13 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

cvssV3_1

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


Thu, 13 Aug 2026 09:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Mon, 10 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-369

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: fix division by zero with invalid uvd dimensions When width or height is less than 16, width_in_mb or height_in_mb becomes 0, leading to fs_in_mb being 0. This causes a division by zero when calculating num_dpb_buffer in H264 and H264 Perf decode paths. Add validation to reject frames with width < 16 or height < 16 before performing any calculations that depend on these values. V2: Format change - move up all vaiable definitions. V3: Use warn_once to avoid spam. (cherry picked from commit 3e41d26c70b0a459d041cc19482a226c4b7423cb)
Title drm/amdgpu: fix division by zero with invalid uvd dimensions
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-19T16:29:19.954Z

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

Link: CVE-2026-68106

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:19:55.347

Modified: 2026-08-19T17:20:28.713

Link: CVE-2026-68106

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-10T11:58:23Z

Links: CVE-2026-68106 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T02:30:17Z

Weaknesses