---
id: CVE-2026-80540
title: 'drm/amdgpu: Fix UVD decode image min size calculation'
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'
cvssSource: cna
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    bc7397a033ac52f6d8c9bb6510d61694b2a3fce7
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    d058f7a6709441afe1784eecd8c0643dd84750bc
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    b7549e3f96c78921751c4b3e69af729662130d83
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    60539d517e8439621532d8c01091ac049c596b4b
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    271a7da84a6262a09de549912dcf6a749d169cb6
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    25ee120f3803ad9e416ef9f76f4c3234cc4d645b
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    5cbd8af02b0b9c8723fa30edcf6fccab5170af8d
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    b8bb9ba3f101a1b0011f785a577a4a0a38371174
  - Linux 4.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T19:16:48.122962Z'
published: '2026-08-26'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T19:26:25.254Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-80540'
references:
  - url: 'https://git.kernel.org/stable/c/bc7397a033ac52f6d8c9bb6510d61694b2a3fce7'
  - url: 'https://git.kernel.org/stable/c/d058f7a6709441afe1784eecd8c0643dd84750bc'
  - url: 'https://git.kernel.org/stable/c/b7549e3f96c78921751c4b3e69af729662130d83'
  - url: 'https://git.kernel.org/stable/c/60539d517e8439621532d8c01091ac049c596b4b'
  - url: 'https://git.kernel.org/stable/c/271a7da84a6262a09de549912dcf6a749d169cb6'
  - url: 'https://git.kernel.org/stable/c/25ee120f3803ad9e416ef9f76f4c3234cc4d645b'
  - url: 'https://git.kernel.org/stable/c/5cbd8af02b0b9c8723fa30edcf6fccab5170af8d'
  - url: 'https://git.kernel.org/stable/c/b8bb9ba3f101a1b0011f785a577a4a0a38371174'
tags:
  - cve.org
epss: 0.00129
epssPercentile: 0.02275
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)

## Affected

- `Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < bc7397a033ac52f6d8c9bb6510d61694b2a3fce7`
- `Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < d058f7a6709441afe1784eecd8c0643dd84750bc`
- `Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < b7549e3f96c78921751c4b3e69af729662130d83`
- `Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 60539d517e8439621532d8c01091ac049c596b4b`
- `Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 271a7da84a6262a09de549912dcf6a749d169cb6`
- `Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 25ee120f3803ad9e416ef9f76f4c3234cc4d645b`
- `Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 5cbd8af02b0b9c8723fa30edcf6fccab5170af8d`
- `Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 < b8bb9ba3f101a1b0011f785a577a4a0a38371174`
- `Linux 4.2`

## Remediation

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