drm/v3d: Validate passed in drm syncobj handles in the performance 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 performance 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 a546b7e4d73c23838d7e4d2c92882b3ca902d213)
From the CVE record · Linux
The Linux kernel’s drm/v3d performance extension did not validate every DRM syncobj handle supplied in a handle array. Local userspace can submit an unknown or invalid handle, which the rest of the driver does not handle well; the input does not specify an authentication requirement or user interaction.
Engineers running Linux kernels with the drm/v3d driver should check their exposure; affected versions are not specified.