KernelScan.io

HIGH Introduced in 4.2

amdgpu UvdMsg Overflow

CVE-2026-80909

CVSS 7.8 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

01

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Reject UVD message with invalid number of h265 refs Same change as for h264, avoids overflow later when calculating min dpb size. (cherry picked from commit a4b0720e4f1601f97f59a2be9c1b4b94fa6527d5)

02

Engine v0.6.0

Risk summary

A local user with access to an AMD GPU device node can submit a crafted H.265 video decode message with an excessive reference count, causing an integer overflow in buffer size validation. This can lead to out-of-bounds writes to GPU memory, resulting in memory corruption, potential information disclosure, or a kernel panic. Systems without AMD GPUs or without GPU access for unprivileged users are not affected.

Affecteddrivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c (amdgpu UVD driver)

Vulnerability analysis

When the AMD GPU UVD driver processes an H.265 video decode command, it derives a buffer count from a user-supplied message field without checking that the value is within the H.265 specification limit. An excessively large count causes an integer overflow when multiplied by the frame image size, producing a deceptively small minimum buffer size that passes the driver's validation. The subsequent decode operation can then write beyond the allocated GPU buffer, corrupting memory. The fix adds a bounds check that rejects any reference count exceeding the specification maximum before the size calculation is performed. This path is reachable locally by any user with access to the AMD GPU DRM device node, which on many systems is available to non-root users through render device permissions.

03

BranchIntroducedFixed inPatch commit
5.104.25.10.2661facad2a78c1
5.154.25.15.217499907e5d46e
6.14.26.1.184cbf1c84bf5ca
6.124.26.12.1052abcdc5f7385
6.184.26.18.46e304c3e0d9ce
6.64.26.6.153a930c54cb672
7.14.27.1.100acdf1a575f5
mainline4.27.29fca434208f1
cip/4.194.24.19.325-cip1365bdd72a2459a
cip/4.19-rt4.24.19.325-cip136-rt505bdd72a2459a
cip/4.44.24.4.302-cip11579db815be5fe
cip/4.4-rt4.24.4.302-cip115-rt6379db815be5fe
cip/5.104.25.10.268-cip771facad2a78c1
cip/5.10-rt4.25.10.268-cip77-rt341facad2a78c1
cip/6.14.26.1.187-cip60cbf1c84bf5ca
cip/6.1-rt4.26.1.189-cip61-rt32cbf1c84bf5ca
cip/6.124.26.12.108-cip312abcdc5f7385

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.108-cip31
cip/6.1Fixed in 6.1.187-cip60
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.268-cip77
cip/5.10-rtFixed in 5.10.268-cip77-rt34
cip/4.19Fixed in 4.19.325-cip136
cip/4.19-rtFixed in 4.19.325-cip136-rt50
cip/4.4Fixed in 4.4.302-cip115
cip/4.4-rtFixed in 4.4.302-cip115-rt63