---
id: CVE-2026-80540
title: |-
  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
summary: |-
  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 com…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: Red Hat
product: Red Hat Enterprise Linux 9
affected:
  - enterprise_linux 10
  - enterprise_linux 6
  - enterprise_linux 7
  - enterprise_linux 8
  - enterprise_linux 9
published: '2026-08-26'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T20:17:58.250'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-80540'
references:
  - url: 'https://git.kernel.org/stable/c/25ee120f3803ad9e416ef9f76f4c3234cc4d645b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/271a7da84a6262a09de549912dcf6a749d169cb6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5cbd8af02b0b9c8723fa30edcf6fccab5170af8d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/60539d517e8439621532d8c01091ac049c596b4b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b7549e3f96c78921751c4b3e69af729662130d83'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b8bb9ba3f101a1b0011f785a577a4a0a38371174'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/bc7397a033ac52f6d8c9bb6510d61694b2a3fce7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d058f7a6709441afe1784eecd8c0643dd84750bc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80540.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-80540'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2524487'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-80540'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-80540'
  - url: 'https://kernelcve.org/list/?q=CVE-2026-80540'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2026082605-CVE-2026-80540-2460@gregkh/T
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - cve.org
  - score-dispute
epss: 0.00129
epssPercentile: 0.02541
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T19:16:48.122962Z'
scores:
  nvd: 7.8
  vendor: 5.5
  cna: 7.8
ingestedAt: '2026-10-16T19:46:24.321Z'
---

## Overview

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)

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-10-26 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80540.json)
