CVE-2026-80887

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

N/A
Published: September 4, 2026 at 05:11 PM UTC
Updated: September 4, 2026 at 06:36 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.4 ≤ v < 6.12.1036.4 ≤ v < 6.18.446.4 ≤ v < 6.6.1516.4 ≤ v < 7.1.86.4 ≤ v < 7.26.4668b206601c5f5063e03b76784a0d3024fa2b249
Vendor states this is fixed in 1bbe7751f5ebac383405ef29a66622d65bd505d3 (fixed)
Vendor states this is fixed in 54d56d5b42d2e4c72ba6e365e9774da90698aa22 (fixed)
Vendor states this is fixed in 5c725901908eb1e52a16fc0e2373cb761df42d21 (fixed)
Vendor states this is fixed in cfd163169af3be56eaef113c680ea251f0d09189 (fixed)
Vendor states this is fixed in d3f44438aa805270aaead3b6840ccaea0f4c11f9 (fixed)
Vendor states this is fixed in 6.12.103 (unaffected)
Vendor states this is fixed in 6.18.44 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)
Vendor states this is fixed in 6.6.151 (unaffected)
Vendor states this is fixed in 7.1.8 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card