# CVE-2026-80887: drm/vmwgfx: use check_add_overflow for shader size+offset bound

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-09-04T17:11:04.063Z
- Modified: 2026-11-06T17:20:00.220Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 668b206601c5f5063e03b76784a0d3024fa2b249 before 1bbe7751f5ebac383405ef29a66622d65bd505d3; from 668b206601c5f5063e03b76784a0d3024fa2b249 before d3f44438aa805270aaead3b6840ccaea0f4c11f9; from 668b206601c5f5063e03b76784a0d3024fa2b249 before cfd163169af3be56eaef113c680ea251f0d09189; from 668b206601c5f5063e03b76784a0d3024fa2b249 before 5c725901908eb1e52a16fc0e2373cb761df42d21; from 668b206601c5f5063e03b76784a0d3024fa2b249 before 54d56d5b42d2e4c72ba6e365e9774da90698aa22; 6.4 (not affected: before 6.4; from 6.6.151 up to 6.6.*; from 6.12.103 up to 6.12.*; from 6.18.44 up to 6.18.*; from 7.1.8 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/1bbe7751f5ebac383405ef29a66622d65bd505d3>
- <https://git.kernel.org/stable/c/d3f44438aa805270aaead3b6840ccaea0f4c11f9>
- <https://git.kernel.org/stable/c/cfd163169af3be56eaef113c680ea251f0d09189>
- <https://git.kernel.org/stable/c/5c725901908eb1e52a16fc0e2373cb761df42d21>
- <https://git.kernel.org/stable/c/54d56d5b42d2e4c72ba6e365e9774da90698aa22>

## Sources

- CVE List: [CVE-2026-80887](https://www.cve.org/CVERecord?id=CVE-2026-80887), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-80887](https://nvd.nist.gov/vuln/detail/CVE-2026-80887), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-80887 · Whole record: https://cve.day/CVE-2026-80887.json · Rebuilt by cve.day 2026-11-25T22:59:36.383Z
