CVE-2026-68106

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

State
Published
Severity
7.8 High
Published
Aug 10, 2026
Updated
Oct 19, 2026
Reserved
Jul 30, 2026

Read the record on cve.org

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)

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 004d0453cfef16f056cb7b8bc04f69f19cf9df32Affected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 00ee64910ecf748cc15b23bbcbea472c203ec1e8Affected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 81c9b4921f62d1642b9d775524ae9240e521a5edAffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 52f9a588296432accf2982f7d258192a37562f4fAffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before a00946b5ab7c25da5685ca9c58f50ff6f43c0fdfAffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before ffb33d466a68cea3e8a3dbed04d79037a3cbabd1Affected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before be725ab23aa45c11a5afef3e2a9f6d8c084ae5dcAffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 0c01c811be47e6b146552dd59bfedbea8f09b8f4Affected
LinuxLinux
  • 4.2Affected
  • before 4.2Not affected
  • 5.10.265 through 5.10.*Not affected
  • 5.15.216 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.148 through 6.6.*Not affected
  • 6.12.101 through 6.12.*Not affected
  • 6.18.42 through 6.18.*Not affected
  • 7.1.6 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.