All reports
Medium

kernel: drm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-89818

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-21

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check If the supplied msg[2] (num_buffers) is 0x3FFFFFFF, the expression 6 + num_buffers * 4 wraps to 2 and the bounds check passes, letting the parser loop far past the end of the message BO. Triggering it additionally requires a ~4GiB mapping so that msg[1] survives the earlier "header does not fit in BO" check. Rewrite the test in division form, which is overflow-free by construction. Also update the message to reflect that msg is invalid.

A flaw was found in the Linux kernel's drm/amdgpu/vcn component. An integer overflow vulnerability exists in the dec_msg buffer count check. A local attacker could exploit this by providing a specially crafted message, causing the buffer count expression to wrap around. This allows the parser to read or write beyond the intended buffer boundaries, potentially leading to memory corruption and a denial of service.