CVE-2026-68106

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

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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)

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 004d0453cfef16f056cb7b8bc04f69f19cf9df32 ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 00ee64910ecf748cc15b23bbcbea472c203ec1e8 ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 81c9b4921f62d1642b9d775524ae9240e521a5ed ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 52f9a588296432accf2982f7d258192a37562f4f ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < a00946b5ab7c25da5685ca9c58f50ff6f43c0fdf ; affected d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < ffb33d466a68cea3e8a3dbed04d79037a3cbabd1
Linux · Linuxaffected 4.2 ; unaffected 0 < 4.2 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.148 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD