CVE-2026-80887

Source
https://cve.org/CVERecord?id=CVE-2026-80887
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80887.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-80887
Downstream
Published
2026-09-04T17:11:04.063Z
Modified
2026-09-06T03:46:56.980603803Z
Summary
drm/vmwgfx: use check_add_overflow for shader size+offset bound
Details

In the Linux kernel, the following vulnerability has been resolved:

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

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

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

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

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80887.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
668b206601c5f5063e03b76784a0d3024fa2b249
Fixed
1bbe7751f5ebac383405ef29a66622d65bd505d3
Fixed
d3f44438aa805270aaead3b6840ccaea0f4c11f9
Fixed
cfd163169af3be56eaef113c680ea251f0d09189
Fixed
5c725901908eb1e52a16fc0e2373cb761df42d21
Fixed
54d56d5b42d2e4c72ba6e365e9774da90698aa22

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80887.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.6.151
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.103
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.44
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80887.json"