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.
Severity
Not rated by the source.
Dates
Published
2026-09-04 18:17 UTC
Modified
2026-11-07 10:02 UTC
Affected packages and fixes
linux
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 6.12.105-1 (ecosystem)
Fixed versions
6.12.105-1
Fix
Fixed version 6.12.105-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
linux
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 7.1.8-1 (ecosystem)
Fixed versions
7.1.8-1
Fix
Fixed version 7.1.8-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.