Name | CVE-2017-9605 |
Description | The vmw_gb_surface_define_ioctl function (accessible via DRM_IOCTL_VMW_GB_SURFACE_CREATE) in drivers/gpu/drm/vmwgfx/vmwgfx_surface.c in the Linux kernel through 4.11.4 defines a backup_handle variable but does not give it an initial value. If one attempts to create a GB surface, with a previously allocated DMA buffer to be used as a backup buffer, the backup_handle variable does not get written to and is then later returned to user space, allowing local users to obtain sensitive information from uninitialized kernel memory via a crafted ioctl call. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-3927-1, DSA-3945-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
linux (PTS) | bullseye | 5.10.223-1 | fixed |
bullseye (security) | 5.10.234-1 | fixed | |
bookworm | 6.1.129-1 | fixed | |
bookworm (security) | 6.1.128-1 | fixed | |
trixie | 6.12.17-1 | fixed | |
sid | 6.12.19-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
linux | source | wheezy | (not affected) | |||
linux | source | jessie | 3.16.43-2+deb8u3 | DSA-3945-1 | ||
linux | source | stretch | 4.9.30-2+deb9u3 | DSA-3927-1 | ||
linux | source | (unstable) | 4.11.6-1 |
[wheezy] - linux <not-affected> (Vulnerable code not present)
https://www.openwall.com/lists/oss-security/2017/06/13/2
Fixed by: https://git.kernel.org/linus/07678eca2cf9c9a18584e546c2b2a0d0c9a3150c (v4.12-rc5)