Bug 2528788 (CVE-2026-80887) - CVE-2026-80887 kernel: drm/vmwgfx: use check_add_overflow for shader size+offset bound
Summary: CVE-2026-80887 kernel: drm/vmwgfx: use check_add_overflow for shader size+off...
Keywords:
Status: NEW
Alias: CVE-2026-80887
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-04 17:33 UTC by OSIDB Bzimport
Modified: 2026-11-11 11:33 UTC (History)
17 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:81552 0 None None None 2026-10-12 23:06:55 UTC
Red Hat Product Errata RHSA-2026:82806 0 None None None 2026-10-14 08:36:32 UTC
Red Hat Product Errata RHSA-2026:82807 0 None None None 2026-10-14 08:51:26 UTC
Red Hat Product Errata RHSA-2026:88477 0 None None None 2026-10-23 00:37:20 UTC
Red Hat Product Errata RHSA-2026:89197 0 None None None 2026-10-27 22:03:19 UTC
Red Hat Product Errata RHSA-2026:97873 0 None None None 2026-11-10 22:14:27 UTC
Red Hat Product Errata RHSA-2026:98608 0 None None None 2026-11-11 11:33:32 UTC

Description OSIDB Bzimport 2026-09-04 17:33:49 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/vmwgfx: use check_add_overflow for shader size+offset bound

vmw_shader_define() validates the user-supplied shader window against
its backing buffer with

	(u64)buffer->tbo.base.size < (u64)size + (u64)offset

drm_vmw_shader_create_arg::offset is __u64 in the uapi; when it is
near U64_MAX the unsigned addition wraps and the resulting tiny value
passes the check.  The unbounded offset is then stored in
res->guest_memory_offset and forwarded to host SVGA shader-create
commands.

Use check_add_overflow() to detect the wrap and compare the resulting
endpoint against the buffer size.

Comment 5 Jon Orris 2026-10-12 23:06:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:81552 https://access.redhat.com/errata/RHSA-2026:81552

Comment 6 Jon Orris 2026-10-14 08:36:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:82806 https://access.redhat.com/errata/RHSA-2026:82806

Comment 7 Jon Orris 2026-10-14 08:51:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:82807 https://access.redhat.com/errata/RHSA-2026:82807

Comment 8 Jon Orris 2026-10-23 00:37:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:88477 https://access.redhat.com/errata/RHSA-2026:88477

Comment 9 Jon Orris 2026-10-27 22:03:17 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.22

Via RHSA-2026:89197 https://access.redhat.com/errata/RHSA-2026:89197

Comment 12 errata-xmlrpc 2026-11-10 22:14:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:97873 https://access.redhat.com/errata/RHSA-2026:97873

Comment 13 errata-xmlrpc 2026-11-11 11:33:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:98608 https://access.redhat.com/errata/RHSA-2026:98608


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