CVE-2026-80540

drm/amdgpu: Fix UVD decode image min size calculation

Published Aug 26, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Fix UVD decode image min size calculation

This needs to use pitch instead of width. Also reject pitch
over 4096 to avoid overflow.

(cherry picked from commit b41c8cb12e202b220353332ab87dc01a11f69304)

Analysis

AI-generated

Technical impact

The Linux kernel’s AMDGPU driver miscomputes the minimum size required for a UVD decode image by using the width value instead of the pitch. When a pitch greater than 4096 is supplied, the calculation overflows, enabling a buffer overflow that can corrupt memory or cause a crash. This flaw is restricted to the UVD decoding path and does not affect normal CPU operations. Based on the description, it is inferred that an attacker would need local or privileged access to supply a decode request with an oversized pitch, as the vulnerable code runs in kernel space.

Affected Systems

Any Linux system running a kernel predating the commit that corrects the pitch calculation is affected. The vulnerability manifests only when the AMDGPU driver is used for decoding UVD streams; systems that never employ the UVD hardware decoder or that run a kernel containing the patch are not vulnerable.

Risk and Exploitability

The CVSS score of 7.8 indicates a medium‑to‑high severity. EPSS score of <1% and the bug is not listed in the CISA KEV catalog, indicating no publicly known exploits. The likely attack vector is local exploitation via an application that can instruct the AMDGPU driver to produce a UVD decode request; successful exploitation could lead to a denial of service or, if the memory write occurs in privileged memory, potential privilege escalation. The vulnerability is limited to systems using the affected kernel and AMDGPU driver, and would not impact other kernel modules or unrelated hardware.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the commit correcting the UVD decode image size calculation, as referenced in the provided git logs
  • If an immediate kernel update is infeasible, disable the UVD hardware decoder in the AMDGPU driver or revert to software decoding to bypass the vulnerable code path
  • Ensure that any custom or third‑party AMDGPU driver configurations enforce a maximum pitch of 4096 or less so the overflow condition cannot be triggered

Generated by OpenCVE AI on August 28, 2026 at 17:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DLA Debian DLA DLA-4788-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel 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-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
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-680
Type Values Removed Values Added
Weaknesses CWE-680
Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Metrics 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'}

Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix UVD decode image min size calculation This needs to use pitch instead of width. Also reject pitch over 4096 to avoid overflow. (cherry picked from commit b41c8cb12e202b220353332ab87dc01a11f69304)
Title drm/amdgpu: Fix UVD decode image min size calculation
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 16, 2026, 7:26 PM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Aug 26, 2026, 3:17 PM
Modified
Oct 16, 2026, 8:17 PM
Severity
Moderate
Public date
Aug 26, 2026, 12:00 AM