{"id":"CVE-2026-80887","aliases":["CVE-2026-80887"],"related":[],"kind":"vulnerability","state":"published","title":"drm/vmwgfx: use check_add_overflow for shader size+offset bound","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: use check_add_overflow for shader size+offset bound\n\nvmw_shader_define() validates the user-supplied shader window against\nits backing buffer with\n\n\t(u64)buffer->tbo.base.size < (u64)size + (u64)offset\n\ndrm_vmw_shader_create_arg::offset is __u64 in the uapi; when it is\nnear U64_MAX the unsigned addition wraps and the resulting tiny value\npasses the check.  The unbounded offset is then stored in\nres->guest_memory_offset and forwarded to host SVGA shader-create\ncommands.\n\nUse check_add_overflow() to detect the wrap and compare the resulting\nendpoint against the buffer size.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: use check_add_overflow for shader size+offset bound\n\nvmw_shader_define() validates the user-supplied shader window against\nits backing buffer with\n\n\t(u64)buffer->tbo.base.size < (u64)size + (u64)offset\n\ndrm_vmw_shader_create_arg::offset is __u64 in the uapi; when it is\nnear U64_MAX the unsigned addition wraps and the resulting tiny value\npasses the check.  The unbounded offset is then stored in\nres->guest_memory_offset and forwarded to host SVGA shader-create\ncommands.\n\nUse check_add_overflow() to detect the wrap and compare the resulting\nendpoint against the buffer size.","source":"cvelist"}],"published":"2026-09-04T17:11:04.063Z","modified":"2026-11-06T17:20:00.220Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"668b206601c5f5063e03b76784a0d3024fa2b249","fixed":"1bbe7751f5ebac383405ef29a66622d65bd505d3","status":"affected"},{"type":"git","introduced":"668b206601c5f5063e03b76784a0d3024fa2b249","fixed":"d3f44438aa805270aaead3b6840ccaea0f4c11f9","status":"affected"},{"type":"git","introduced":"668b206601c5f5063e03b76784a0d3024fa2b249","fixed":"cfd163169af3be56eaef113c680ea251f0d09189","status":"affected"},{"type":"git","introduced":"668b206601c5f5063e03b76784a0d3024fa2b249","fixed":"5c725901908eb1e52a16fc0e2373cb761df42d21","status":"affected"},{"type":"git","introduced":"668b206601c5f5063e03b76784a0d3024fa2b249","fixed":"54d56d5b42d2e4c72ba6e365e9774da90698aa22","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"6.6.151","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.103","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/1bbe7751f5ebac383405ef29a66622d65bd505d3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3f44438aa805270aaead3b6840ccaea0f4c11f9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cfd163169af3be56eaef113c680ea251f0d09189","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5c725901908eb1e52a16fc0e2373cb761df42d21","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/54d56d5b42d2e4c72ba6e365e9774da90698aa22","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T17:04:20.331Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80887","url":"https://www.cve.org/CVERecord?id=CVE-2026-80887","licence":"CVE Terms of Use","modified":"2026-11-06T17:05:55.796Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80887","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80887","licence":"Public domain","modified":"2026-11-06T17:20:00.220Z"}],"updatedAt":"2026-11-25T22:59:36.383Z","epss":{"score":0.00174,"percentile":0.07187,"date":"2026-12-01T12:00:22.000Z"}}