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.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 3.19 | 4.1.40 |
| linux / linux_kernel | 3.3 | 3.10.107 |
| linux / linux_kernel | 3.17 | 3.18.50 |
| linux / linux_kernel | 3.11 | 3.12.74 |
| linux / linux_kernel | 3.13 | 3.16.44 |
| linux / linux_kernel | 3.2 | 3.2.89 |
| linux / linux_kernel | 4.2 | 4.4.61 |
| linux / linux_kernel | 4.5 | 4.9.22 |
| linux / linux_kernel | 4.10 | 4.10.10 |