# CVE-2026-80540: drm/amdgpu: Fix UVD decode image min size calculation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-08-26T14:37:13.966Z
- **Modified:** 2026-10-16T20:17:58.250Z

## Who should check

- Anyone running Linux \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< bc7397a033ac52f6d8c9bb6510d61694b2a3fce7; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< d058f7a6709441afe1784eecd8c0643dd84750bc; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< b7549e3f96c78921751c4b3e69af729662130d83; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 60539d517e8439621532d8c01091ac049c596b4b; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 271a7da84a6262a09de549912dcf6a749d169cb6; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 25ee120f3803ad9e416ef9f76f4c3234cc4d645b; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 5cbd8af02b0b9c8723fa30edcf6fccab5170af8d; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< b8bb9ba3f101a1b0011f785a577a4a0a38371174
- Anyone running Linux 4.2

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

## Affected and fixed versions

- Linux: \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< bc7397a033ac52f6d8c9bb6510d61694b2a3fce7; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< d058f7a6709441afe1784eecd8c0643dd84750bc; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< b7549e3f96c78921751c4b3e69af729662130d83; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 60539d517e8439621532d8c01091ac049c596b4b; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 271a7da84a6262a09de549912dcf6a749d169cb6; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 25ee120f3803ad9e416ef9f76f4c3234cc4d645b; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 5cbd8af02b0b9c8723fa30edcf6fccab5170af8d; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< b8bb9ba3f101a1b0011f785a577a4a0a38371174 (cvelist)
- Linux: 4.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80540. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80540.md
Affected: Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < bc7397a033ac52f6d8c9bb6510d61694b2a3fce7; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < d058f7a6709441afe1784eecd8c0643dd84750bc; >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < b7549e3f96c78921751c4b3e69af729662130d83; >= d38ceaf99ed015f2a0b9af3…
Fixed in: Linux 60539d517e8439621532d8c01091ac049c596b4b, Linux 271a7da84a6262a09de549912dcf6a749d169cb6, Linux 25ee120f3803ad9e416ef9f76f4c3234cc4d645b, Linux 5cbd8af02b0b9c8723fa30edcf6fccab5170af8d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80540 being exploited?

There is no confirmed exploitation: CVE-2026-80540 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80540?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-80540?

Linux \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< bc7397a033ac52f6d8c9bb6510d61694b2a3fce7; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< d058f7a6709441afe1784eecd8c0643dd84750bc; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< b7549e3f96c78921751c4b3e69af729662130d83; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 60539d517e8439621532d8c01091ac049c596b4b; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 271a7da84a6262a09de549912dcf6a749d169cb6; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 25ee120f3803ad9e416ef9f76f4c3234cc4d645b; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< 5cbd8af02b0b9c8723fa30edcf6fccab5170af8d; \>= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, \< b8bb9ba3f101a1b0011f785a577a4a0a38371174; Linux 4.2.

### Is there a fix for CVE-2026-80540?

Yes. Fixed in Linux 60539d517e8439621532d8c01091ac049c596b4b, Linux 271a7da84a6262a09de549912dcf6a749d169cb6, Linux 25ee120f3803ad9e416ef9f76f4c3234cc4d645b, Linux 5cbd8af02b0b9c8723fa30edcf6fccab5170af8d. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-80540?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/bc7397a033ac52f6d8c9bb6510d61694b2a3fce7>
- other: <https://git.kernel.org/stable/c/d058f7a6709441afe1784eecd8c0643dd84750bc>
- other: <https://git.kernel.org/stable/c/b7549e3f96c78921751c4b3e69af729662130d83>
- other: <https://git.kernel.org/stable/c/60539d517e8439621532d8c01091ac049c596b4b>
- other: <https://git.kernel.org/stable/c/271a7da84a6262a09de549912dcf6a749d169cb6>
- other: <https://git.kernel.org/stable/c/25ee120f3803ad9e416ef9f76f4c3234cc4d645b>
- other: <https://git.kernel.org/stable/c/5cbd8af02b0b9c8723fa30edcf6fccab5170af8d>
- other: <https://git.kernel.org/stable/c/b8bb9ba3f101a1b0011f785a577a4a0a38371174>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80540>

HTML: <https://flawdb.com/CVE-2026-80540> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80540>
