Files
CVEs-PoC/2017/CVE-2017-9605.md
T
2024-05-26 14:27:05 +02:00

19 lines
1.1 KiB
Markdown

### [CVE-2017-9605](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9605)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/thdusdl1219/CVE-Study
- https://github.com/vincent-deng/veracode-container-security-finding-parser