The vmw_surface_define_ioctl function in drivers/gpu/drm/vmwgfx/vmwgfx_surface.c in the Linux kernel through 4.10.6 does not validate addition of certain levels data, which allows local users to trigger an integer overflow and out-of-bounds write, and cause a denial of service (system hang or crash) or possibly gain privileges, via a crafted ioctl call for a /dev/dri/renderD* device.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1436798 | issue tracking patch |
https://access.redhat.com/errata/RHSA-2018:1062 | third party advisory vendor advisory |
https://access.redhat.com/errata/RHSA-2018:0676 | third party advisory vendor advisory |
https://lists.freedesktop.org/archives/dri-devel/2017-March/137094.html | third party advisory patch |
http://www.securityfocus.com/bid/97177 | vdb entry third party advisory |