5.5med

CVE-2017-9605

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…

Published 9 y ago · modified 4 mo ago · JSON

CVSS
5.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.4%
percentile 34%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

0.40% probability of exploitation in the next 30 days, higher than 34% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.05.5CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD2.04.9AV:L/AC:L/Au:N/C:C/I:N/A:N

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Technology feeds
Linux kernel (RSS, critical only)

References

  • debian.org /security/2017/dsa-3927 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • github.com /torvalds/linux/commit/07678eca2cf9c9a18584e546c2b2a0d0c9a3150c · x_refsource_CONFIRM, x_transferred
  • debian.org /security/2017/dsa-3945 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • securityfocus.com /bid/99095 · vdb-entry, x_refsource_BID, x_transferred
  • git.kernel.org /cgit/linux/kernel/git/torvalds/linux.git/commit/?id=07678eca2cf9c9a18584e546c2b2a0d0c9a31 · x_refsource_CONFIRM, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.