# CVE-2026-68106: drm/amdgpu: fix division by zero with invalid uvd dimensions

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-10T11:58:23.108Z
- Modified: 2026-12-01T18:11:46.737Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 004d0453cfef16f056cb7b8bc04f69f19cf9df32; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 00ee64910ecf748cc15b23bbcbea472c203ec1e8; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 81c9b4921f62d1642b9d775524ae9240e521a5ed; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 52f9a588296432accf2982f7d258192a37562f4f; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before a00946b5ab7c25da5685ca9c58f50ff6f43c0fdf; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before ffb33d466a68cea3e8a3dbed04d79037a3cbabd1; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before be725ab23aa45c11a5afef3e2a9f6d8c084ae5dc; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 0c01c811be47e6b146552dd59bfedbea8f09b8f4; 4.2 (not affected: before 4.2; from 5.10.265 up to 5.10.*; from 5.15.216 up to 5.15.*; from 6.1.183 up to 6.1.*; from 6.6.148 up to 6.6.*; from 6.12.101 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 4.2 before 5.10.265; from 5.11 before 5.15.216; from 5.16 before 6.1.183; from 6.2 before 6.6.148; from 6.7 before 6.12.101; from 6.13 before 6.18.42; from 6.19 before 7.1.6; 7.2

## References

- <https://git.kernel.org/stable/c/004d0453cfef16f056cb7b8bc04f69f19cf9df32> (patch)
- <https://git.kernel.org/stable/c/00ee64910ecf748cc15b23bbcbea472c203ec1e8> (patch)
- <https://git.kernel.org/stable/c/81c9b4921f62d1642b9d775524ae9240e521a5ed> (patch)
- <https://git.kernel.org/stable/c/52f9a588296432accf2982f7d258192a37562f4f> (patch)
- <https://git.kernel.org/stable/c/a00946b5ab7c25da5685ca9c58f50ff6f43c0fdf> (patch)
- <https://git.kernel.org/stable/c/ffb33d466a68cea3e8a3dbed04d79037a3cbabd1> (patch)
- <https://git.kernel.org/stable/c/be725ab23aa45c11a5afef3e2a9f6d8c084ae5dc> (patch)
- <https://git.kernel.org/stable/c/0c01c811be47e6b146552dd59bfedbea8f09b8f4> (patch)

## Sources

- CVE List: [CVE-2026-68106](https://www.cve.org/CVERecord?id=CVE-2026-68106), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-68106](https://nvd.nist.gov/vuln/detail/CVE-2026-68106), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-68106 · Whole record: https://cve.day/CVE-2026-68106.json · Rebuilt by cve.day 2026-12-01T18:17:13.828Z
