CVE-2017-9605

kernel: Uninitialized kernel memory leak in vmw_gb_surface_define_ioctl function

Published Jun 13, 2017 CVSS 3.0 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-3927-1 linux security update
Debian DSA Debian DSA DSA-3945-1 linux security update
EUVD EUVD EUVD-2017-18536 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.
Ubuntu USN Ubuntu USN USN-3358-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3359-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3360-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3360-2 Linux kernel (Trusty HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3364-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3364-2 Linux kernel (Xenial HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3364-3 Linux kernel (AWS, GKE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3371-1 Linux kernel (HWE) kernel vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 5:11 PM
Reserved
Jun 13, 2017, 12:00 AM
Status
Modified
Published
Jun 13, 2017, 7:29 PM
Modified
Jun 17, 2026, 1:28 AM
Severity
Low
Public date
Jun 2, 2017, 12:00 AM