Bug 2535231 (CVE-2026-89818) - CVE-2026-89818 kernel: drm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check
Summary: CVE-2026-89818 kernel: drm/amdgpu/vcn: fix integer overflow in dec_msg buffer...
Keywords:
Status: NEW
Alias: CVE-2026-89818
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-16 11:37 UTC by OSIDB Bzimport
Modified: 2026-11-01 04:32 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-16 11:37:56 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.