drm/vmwgfx: Fix invalid reads in fence signaled events
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8b7de6aa84682a3396544fd88cd457f95484573a · < 7b5fd3af4a250dd0a2a558e07b43478748eb5d22| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/vmwgfx: Fix invalid reads in fence signaled events
Correctly set the length of the drm_event to the size of the structure that's actually used.
The length of the drm_event was set to the parent structure instead of to the drm_vmw_event_fence which is supposed to be read. drm_read uses the length parameter to copy the event to the user space thus resuling in oob reads.
From the CVE record · Linux
The Linux kernel's vmwgfx driver sets the wrong length for fence signaled events. When drm_read copies one of these events to user space, it can read beyond the event structure.
Engineers running the Linux kernel with the vmwgfx driver should check their systems; affected versions were not specified.