drm/v3d: Validate passed in drm syncobj handles in the timestamp extension
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/v3d: Validate passed in drm syncobj handles in the timestamp extension
If userspace provides an unknown or invalid handle anywhere in the handle array the rest of the driver will not handle that well.
Fix it by checking handle was looked up successfully or otherwise fail the extension by jumping into the existing unwind.
(cherry picked from commit 8d1276d1b8f738c3afe1457d4dff5cc66fc848a3)
From the CVE record · Linux
The Linux kernel’s drm/v3d timestamp extension did not validate syncobj handles in a userspace-provided array. A local userspace caller could pass an unknown or invalid handle, which the rest of the driver would not handle properly. The input does not specify authentication requirements or user interaction.
Engineers running Linux kernels with the drm/v3d driver should check whether their kernel includes the fix; affected versions are not specified.