drm/v3d: Fix potential memory leak 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: Fix potential memory leak in the performance extension
If fetching of userspace memory fails during the main loop, all drm sync objs looked up until that point will be leaked because of the missing drm_syncobj_put.
Fix it by exporting and using a common cleanup helper.
(cherry picked from commit 484de39fa5f5b7bd0c5f2e2c5265167250ef7501)
From the CVE record · Linux
The Linux kernel's drm/v3d performance extension can leak DRM sync objects if fetching userspace memory fails during its main loop. A local userspace operation that triggers this failure can cause the leak; the input does not specify authentication or additional user-interaction requirements.
Engineers running Linux kernels with the drm/v3d performance extension should check whether their kernel includes the fix; affected versions are not specified.